Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-07-16 08:37:43 +0400
committerChristopher Faylor <me@cgf.cx>2000-07-16 08:37:43 +0400
commit2768430b64d4e6689d923669c2c5af2ffcdebaaa (patch)
tree55ceb60b91112b7bf89163e2950fb1e554a5ac54 /winsup/cygwin
parent01e6597b1c1f688b7a3206fc17c22476c69e08db (diff)
Slightly more efficient version of previous change.
Diffstat (limited to 'winsup/cygwin')
-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;