Commit a20622d7 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

Make 'cmd /c cl /MUMBLE foo.c' pass /MUMBLE to cl.

parent f8544046
......@@ -56,14 +56,14 @@ HANDLE h;
args[0] = param[0] = '\0';
if (argc > 1) {
for (i=1; i<argc; i++) {
if (argv[i][0] == '/') {
/* interpreter options must come before the command to execute.
* Any options after the command are command options, not interpreter options.
*/
for (i=1; i<argc && argv[i][0] == '/'; i++)
strcat (args, argv[i]);
}
else {
for (; i<argc; i++) {
strcat (param, argv[i]);
strcat (param, " ");
}
}
}
......
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