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>2014-01-25 00:38:49 +0400
committerChristopher Faylor <me@cgf.cx>2014-01-25 00:38:49 +0400
commit0a37e4496322a00eb010fd25c87543f6bc94c8f9 (patch)
treefe1194b10e9f729806e69eff4b2abee8ff9cdbbd
parent0388ee3d90900bf61e33c3adcec4b27be4891974 (diff)
* winf.cc (linebuf::fromargv): Treat '=' as a special character.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/winf.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index c79b6bfd0..f5c31d56c 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2014-01-24 Christopher Faylor <me.cygwin2014@cgf.cx>
+
+ * winf.cc (linebuf::fromargv): Treat '=' as a special character.
+
2014-01-23 Corinna Vinschen <corinna@vinschen.de>
* security.h (open_local_policy): Remove declaration.
diff --git a/winsup/cygwin/winf.cc b/winsup/cygwin/winf.cc
index 26307a27d..7b24245b6 100644
--- a/winsup/cygwin/winf.cc
+++ b/winsup/cygwin/winf.cc
@@ -75,7 +75,7 @@ linebuf::fromargv (av& newargv, const char *real_path, bool cmdlenoverflow_ok)
a = i ? newargv[i] : (char *) real_path;
int len = strlen (a);
- if (len != 0 && !strpbrk (a, " \t\n\r\""))
+ if (len != 0 && !strpbrk (a, " \t\n\r\"="))
add (a, len);
else
{