summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-05-25 15:15:14 -0600
committerEric Blake <eblake@redhat.com>2011-05-25 15:19:16 -0600
commit1622b36b4ae889ea79ddc444e86fea31cd91755b (patch)
tree9a213cd569b9df0513fdb3943f5a46c9c0592f30 /ChangeLog
parent9d196fad055a448c5732a8e950cc044b353d2615 (diff)
downloadgnulib-1622b36b4ae889ea79ddc444e86fea31cd91755b.tar.gz
getcwd: work around mingw bug
mingw getcwd(buf, 0) fails with ERANGE, instead of the required EINVAL. Since we're already replacing getcwd on mingw, the workaround is trivial. * lib/getcwd-lgpl.c (rpl_getcwd): Guarantee correct error. * doc/posix-functions/getcwd.texi (getcwd): Document it. Reported by Matthias Bolte. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 390d4e808d..e3c4d221a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-25 Eric Blake <eblake@redhat.com>
+
+ getcwd: work around mingw bug
+ * lib/getcwd-lgpl.c (rpl_getcwd): Guarantee correct error.
+ * doc/posix-functions/getcwd.texi (getcwd): Document it.
+ Reported by Matthias Bolte.
+
2011-05-24 Paul Eggert <eggert@cs.ucla.edu>
test-intprops: disable -Wtype-limits diagnostics