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.