summaryrefslogtreecommitdiffstats
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-07-16 04:37:43 +0000
committerChristopher Faylor <me@cgf.cx>2000-07-16 04:37:43 +0000
commit2768430b64d4e6689d923669c2c5af2ffcdebaaa (patch)
tree55ceb60b91112b7bf89163e2950fb1e554a5ac54 /winsup
parent01e6597b1c1f688b7a3206fc17c22476c69e08db (diff)
downloadcygnal-2768430b64d4e6689d923669c2c5af2ffcdebaaa.tar.gz
cygnal-2768430b64d4e6689d923669c2c5af2ffcdebaaa.tar.bz2
cygnal-2768430b64d4e6689d923669c2c5af2ffcdebaaa.zip
Slightly more efficient version of previous change.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index c9266dd65..2d3fa8f7b 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -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, argc > 0 && winshell);
+ cmd = quoted (cmd, winshell && argc > 0);
}
if (issep (*cmd)) // End of argument if space
break;