Changelog: François Gouget <fgouget@codeweavers.com> * dlls/msvcrt/environ.c getenv is case insensitive -- François Gouget fgouget@codeweavers.com
Index: dlls/msvcrt/environ.c =================================================================== RCS file: /home/wine/wine/dlls/msvcrt/environ.c,v retrieving revision 1.5 diff -u -r1.5 environ.c --- dlls/msvcrt/environ.c 2001/11/23 18:30:19 1.5 +++ dlls/msvcrt/environ.c 2001/12/05 00:34:59 @@ -28,7 +28,7 @@ pos =strchr(pp,'='); if ((pos) && ((pos - pp) == length)) { - if (!strncmp(pp,name,length)) break; + if (!strncasecmp(pp,name,length)) break; } } if ((*pp)&& (pos)) @@ -56,7 +56,7 @@ pos = strchrW(pp,'='); if ((pos) && ((pos - pp) == length)) { - if (!strncmpW(pp,name,length)) + if (!strncmpiW(pp,name,length)) { pp = pos+1; TRACE("got %s\n",debugstr_w(pp));