case-sensitiveness of environment problem

egor duda deo@LOGOS-M.RU
Sun Apr 15 23:20:00 GMT 2001


Hi!

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

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

egor.            mailto:deo@logos-m.ru icq 5165414 fidonet 2:5020/496.19
env-case-crash.diff
env-case-crash.ChangeLog

-------------- next part --------------
2001-04-15  Egor Duda  <deo@logos-m.ru>

	* environ.cc (winenv): Remove external reference to environment
	cache to avoid crash when environment contains 'Path' and 'PATH'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: env-case-crash.diff
Type: text/x-diff
Size: 563 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010415/dfb77e08/attachment.bin>


More information about the Cygwin-patches mailing list