This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
incorrect switch in CYGWIN variable
- To: Cygwin Mailing List <cygwin at sourceware dot cygnus dot com>
- Subject: incorrect switch in CYGWIN variable
- From: Vadim Egorov <egorovv at 1c dot ru>
- Date: 07 Dec 1999 14:12:50 +0300
Hello,
Incorrect switch in CYGWIN variable causes crash in strcasematch
in the last cygwin snapshot
I believe the following patch fixes this
--- environ.cc.orig Tue Dec 07 12:07:38 1999
+++ environ.cc Tue Dec 07 12:07:51 1999
@@ -375,7 +375,7 @@ parse_options (char *buf)
else
ch = 0;
- for (parse_thing *k = known; k != NULL; k++)
+ for (parse_thing *k = known; k->name != NULL; k++)
if (strcasematch (p, k->name))
{
switch (k->disposition)
--
Regards,
Vadim Egorov
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com