Win32: unify environment case-sensitivity
commitc0476303753881de1523bdebc81ceee05d4aebdd
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 22:42:09 +0000 (14 23:42 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 31 Jan 2013 23:46:21 +0000 (31 23:46 +0000)
treebd00f452c72cea83e50c5f04e7cb0b6f2463b590
parent5a37b79276334fd8c9c455550da172313ad37c9a
Win32: unify environment case-sensitivity

The environment on Windows is case-insensitive. Some environment functions
(such as unsetenv and make_augmented_environ) have always used case-
sensitive comparisons instead, while others (getenv, putenv, sorting in
spawn*) were case-insensitive.

Prevent potential inconsistencies by using case-insensitive comparison in
lookup_env (used by putenv, unsetenv and make_augmented_environ).

Signed-off-by: Karsten Blees <blees@dcon.de>
compat/mingw.c