Verified Commit a5e9e0bd authored by Camil Staps's avatar Camil Staps
Browse files

Do not add quotes around arguments for CreateProcess when...

Do not add quotes around arguments for CreateProcess when QUOTE_SPAWN_ARGUMENTS is set (these are already added elsewhere)
parent a1a025f6
Pipeline #45989 passed with stage
in 47 seconds
......@@ -3863,10 +3863,14 @@ static int link_project (P_NODE first_project_node,char *options_file_name,char
}
*cmd++=' ';
#ifndef QUOTE_SPAWN_ARGUMENTS
*cmd++='"';
#endif
for (char *c=*arg; *c; c++)
*cmd++=*c;
#ifndef QUOTE_SPAWN_ARGUMENTS
*cmd++='"';
#endif
}
*cmd='\0';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment