summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-11-21 00:56:11 +0100
committerBruno Haible <bruno@clisp.org>2011-11-21 00:56:11 +0100
commit69dba6d784566248205fc990673c14d259c4907f (patch)
tree13a28c016f375c5a7178490ce6c19254e71e76c9 /ChangeLog
parent4b79a20516739258867f4cfc629d6f646f2b260e (diff)
downloadgnulib-69dba6d784566248205fc990673c14d259c4907f.tar.gz
getcwd: Work around getcwd bug on AIX 5..7.
* m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Require AC_CANONICAL_HOST. Assign exit code 31 to the bug seen on AIX 5.1..7.1. Use a different value for gl_cv_func_getcwd_path_max. Move the definition of HAVE_PARTLY_WORKING_GETCWD from here... * m4/getcwd.m4 (gl_FUNC_GETCWD): ... to here. Invoke gl_FUNC_GETCWD_PATH_MAX also when $gl_cv_func_getcwd_null is 'no'. Define HAVE_MINIMALLY_WORKING_GETCWD. * lib/getcwd.c (__getcwd): Don't use the system's getcwd on platforms where it is not even minimally working, that is, on AIX. * tests/test-getcwd.c (test_long_name): Distinguish the same cases as m4/getcwd-path-max.m4. (main): Update exit code computation. * doc/posix-functions/getcwd.texi: Mention list of platforms where getcwd does not handle long file names.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c99b7018bd..d421257268 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
2011-11-20 Bruno Haible <bruno@clisp.org>
+ getcwd: Work around getcwd bug on AIX 5..7.
+ * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Require
+ AC_CANONICAL_HOST. Assign exit code 31 to the bug seen on AIX 5.1..7.1.
+ Use a different value for gl_cv_func_getcwd_path_max. Move the
+ definition of HAVE_PARTLY_WORKING_GETCWD from here...
+ * m4/getcwd.m4 (gl_FUNC_GETCWD): ... to here. Invoke
+ gl_FUNC_GETCWD_PATH_MAX also when $gl_cv_func_getcwd_null is 'no'.
+ Define HAVE_MINIMALLY_WORKING_GETCWD.
+ * lib/getcwd.c (__getcwd): Don't use the system's getcwd on platforms
+ where it is not even minimally working, that is, on AIX.
+ * tests/test-getcwd.c (test_long_name): Distinguish the same cases as
+ m4/getcwd-path-max.m4.
+ (main): Update exit code computation.
+ * doc/posix-functions/getcwd.texi: Mention list of platforms where
+ getcwd does not handle long file names.
+
+2011-11-20 Bruno Haible <bruno@clisp.org>
+
getcwd: Fix bug from 2009-09-10.
* m4/getcwd.m4 (gl_FUNC_GETCWD): Treat "guessing yes" like "yes", not
like "no".