From 1622b36b4ae889ea79ddc444e86fea31cd91755b Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 25 May 2011 15:15:14 -0600 Subject: 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 --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 390d4e808d..e3c4d221a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-25 Eric Blake + + 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 test-intprops: disable -Wtype-limits diagnostics -- cgit v1.2.1