summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-11-17 03:42:45 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-11-17 03:42:45 +0000
commitd7209a2f7cb2f7b7a683db42e078c1ff818dac4c (patch)
treed851251bdab73310ff526fadec263cf74822d23d
parent2b88597a04aefb8275f44a2091bcd2285afc665d (diff)
downloadcoreutils-d7209a2f7cb2f7b7a683db42e078c1ff818dac4c.tar.xz
* xgetcwd.c: Work around Solaris 9 bug.
-rw-r--r--lib/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index f447f86ca..8fc22f032 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,10 @@
2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
+ * xgetcwd.c: Include <limits.h>, 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.