[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: (no subject) (msvcrt.getenv)
From:       Francois Gouget <fgouget () free ! fr>
Date:       2001-11-20 21:30:51
[Download RAW message or body]

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@free.fr        http://fgouget.free.fr/
                  Dieu dit: "M-x Lumière". Et la lumière fut.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic