From 0a37e4496322a00eb010fd25c87543f6bc94c8f9 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 24 Jan 2014 20:38:49 +0000 Subject: [PATCH] * winf.cc (linebuf::fromargv): Treat '=' as a special character. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/winf.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * winf.cc (linebuf::fromargv): Treat '=' as a special character. + 2014-01-23 Corinna Vinschen * 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 {