(no subject) (msvcrt.getenv)

Francois Gouget fgouget at free.fr
Tue Nov 20 15:30:51 CST 2001


On Tue, 20 Nov 2001, Uwe Bonnes wrote:
> 
> Changelog:
> 	dlls/msvcrt/environ.c: MSVCRT_getenv
> 	Compare for the length of the key and return NULL in case of failure

   Good catch.

   Another thing to keep in mind: IIRC environment strings are not 
case sensitive on Windows. This means that normally
getenv("PATH")==getenv("path") and that putenv("Path") would overwrite
that same environment variable...

   This does not appear to be the case in the current code.

--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                  Dieu dit: "M-x Lumière". Et la lumière fut.







More information about the wine-devel mailing list