aboutsummaryrefslogtreecommitdiffstats
path: root/nt/inc
diff options
context:
space:
mode:
authorEli Zaretskii2012-12-08 20:27:37 +0200
committerEli Zaretskii2012-12-08 20:27:37 +0200
commita16e75cd3cb27ea5647774bc71625899f35b2fa6 (patch)
tree65306facbe512d0ebe30939c82e774db11bd0cb0 /nt/inc
parent5745a7df2b4abe06d032820f6ec7ddbac9ad5028 (diff)
downloademacs-a16e75cd3cb27ea5647774bc71625899f35b2fa6.tar.gz
emacs-a16e75cd3cb27ea5647774bc71625899f35b2fa6.zip
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. Fixes: debbugs:13070
Diffstat (limited to 'nt/inc')
-rw-r--r--nt/inc/ms-w32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h
index 1cbcb7f88f3..3d68efb804d 100644
--- a/nt/inc/ms-w32.h
+++ b/nt/inc/ms-w32.h
@@ -381,6 +381,7 @@ extern char *get_emacs_configuration_options (void);
381# undef putenv 381# undef putenv
382#endif 382#endif
383#define putenv sys_putenv 383#define putenv sys_putenv
384extern int sys_putenv (char *);
384 385
385extern int getloadavg (double *, int); 386extern int getloadavg (double *, int);
386extern int getpagesize (void); 387extern int getpagesize (void);