src/w32.c (unsetenv): Set up the string passed to _putenv
correctly. See
http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html
for the bug this caused.
+2012-12-31 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (unsetenv): Set up the string passed to _putenv
+ correctly. See
+ http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html
+ for the bug this caused.
+
2012-12-30 Paul Eggert <eggert@cs.ucla.edu>
* coding.c (Qmac): Now static.
/* It is safe to use 'alloca' with 32K size, since the stack is at
least 2MB, and we set it to 8MB in the link command line. */
var = alloca (name_len + 2);
+ strncpy (var, name, name_len);
var[name_len++] = '=';
var[name_len] = '\0';
return _putenv (var);