From: Paul Eggert Date: Wed, 17 Nov 2004 03:42:45 +0000 (+0000) Subject: * xgetcwd.c: Work around Solaris 9 bug. X-Git-Tag: v5.3.0~372 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7209a2f7cb2f7b7a683db42e078c1ff818dac4c;p=thirdparty%2Fcoreutils.git * xgetcwd.c: Work around Solaris 9 bug. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index f447f86cad..8fc22f0326 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,5 +1,10 @@ 2004-11-16 Paul Eggert + * xgetcwd.c: Include , for PATH_MAX. + (xgetcwd): Set errno correctly when failing. + Work around Solaris 9 bug: getcwd sets errno==ERANGE even though + the failure is actually due to a PATH_MAX problem. + Further getopt changes to make it more likely that glibc will buy the changes back. * getopt.c (POSIXLY_CORRECT): New constant.