Fix putenv and unsetenv on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Sat, 8 Dec 2012 18:27:37 +0000 (20:27 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 8 Dec 2012 18:27:37 +0000 (20:27 +0200)
commiteb99fd320ca2fc749908ed00e74abffa9166b042
treee833fb978e372b65be10e352b8d12cb5b0072b0d
parent823218f58bee24cff294e93a2dff9fd7d7477e66
Fix putenv and unsetenv on MS-Windows.

 src/w32.c (unsetenv): Return 0 if the input string is too long.

 nt/inc/ms-w32.h (sys_putenv): Add prototype.
nt/ChangeLog
nt/inc/ms-w32.h
src/ChangeLog
src/w32.c