summaryrefslogtreecommitdiff
path: root/compat/snprintf.c
diff options
context:
space:
mode:
authorLibravatar Karsten Blees <blees@dcon.de>2014-07-17 17:37:58 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-07-21 09:32:49 -0700
commit38d2750126f326c21b06d63e7c21b05d3a6b74f7 (patch)
tree5de0d47a2057c0bd844c356dfbb536df6b23d172 /compat/snprintf.c
parentWin32: fix environment memory leaks (diff)
downloadtgif-38d2750126f326c21b06d63e7c21b05d3a6b74f7.tar.xz
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> Signed-off-by: Stepan Kasal <kasal@ucw.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/snprintf.c')
0 files changed, 0 insertions, 0 deletions