aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/w32.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9e9ae468044..3587a9e295b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-11-22 Eli Zaretskii <eliz@gnu.org>
2
3 * w32.c (getcwd): Fix the 2nd argument type, to prevent conflicts
4 with Windows system header.
5
12012-11-21 Paul Eggert <eggert@cs.ucla.edu> 62012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945). 8 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
diff --git a/src/w32.c b/src/w32.c
index da778eb8541..038a442f529 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -908,7 +908,7 @@ static char startup_dir[MAXPATHLEN];
908 908
909/* Get the current working directory. */ 909/* Get the current working directory. */
910char * 910char *
911getcwd (char *dir, size_t dirsize) 911getcwd (char *dir, int dirsize)
912{ 912{
913 if (!dirsize) 913 if (!dirsize)
914 { 914 {