* dcrt0.cc (build_argv): Strip quotes from argv[0] since it should never be

globified.
This commit is contained in:
Christopher Faylor
2000-07-16 04:34:05 +00:00
parent c77c441991
commit 01e6597b1c
3 changed files with 41 additions and 52 deletions

View File

@@ -439,7 +439,7 @@ build_argv (char *cmd, char **&argv, int &argc, int winshell)
/* Skip over characters until the closing quote */
{
sawquote = cmd;
cmd = quoted (cmd, winshell);
cmd = quoted (cmd, argc > 0 && winshell);
}
if (issep (*cmd)) // End of argument if space
break;