* winf.cc (linebuf::fromargv): Treat '=' as a special character.

This commit is contained in:
Christopher Faylor 2014-01-24 20:38:49 +00:00
parent 0388ee3d90
commit 0a37e44963
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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
{