diff options
author | Eric Blake <eblake@redhat.com> | 2011-05-25 15:15:14 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-05-25 15:19:16 -0600 |
commit | 1622b36b4ae889ea79ddc444e86fea31cd91755b (patch) | |
tree | 9a213cd569b9df0513fdb3943f5a46c9c0592f30 /ChangeLog | |
parent | 9d196fad055a448c5732a8e950cc044b353d2615 (diff) | |
download | gnulib-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-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |