case-sensitiveness of environment

egor duda
Tue Apr 17 00:20:00 GMT 2001


Monday, 16 April, 2001 egor duda wrote:

ed>   if cygwin environment contains both 'Path' and 'PATH', creating
ed> windows environment from it causes crash due to reallocating memory
ed> object which is externally referenced. this patch fixes that.

ed> i feel that we need a bit more tweaking with environment to deal with
ed> it case-insensitiveness under win32.

hmm, it looks like there's a little we can do here besides just fixing
a crash. as long as application can manipulate environment directly
via 'environ' variable, cygwin1.dll can't guarantee that we won't have
both 'Path' and 'PATH' in the environment.

Egor.   ICQ 5165414 FidoNet 2:5020/496.19

More information about the Cygwin-patches mailing list