readlink: document portability issue with symlink length
[pspp] / ChangeLog
index 2a0d7f77fde519a6c56f84af53d97de5bc4b94fd..618f1c9ad72194ada3dc2e3c9eaa9776313a7715 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
 2009-09-23  Eric Blake  <ebb9@byu.net>
 
+       readlink: document portability issue with symlink length
+       * doc/posix-functions/lstat.texi (lstat): Mention that some file
+       systems have bogus st_size on symlinks, and mention the
+       areadlink-with-size module.
+       * doc/posix-functions/fstatat.texi (fstatat): Likewise.
+       * doc/posix-functions/readlink.texi (readlink): Mention the
+       areadlink module, and ERANGE failure.
+       * doc/posix-functions/readlinkat.texi (readlinkat): Likewise.
+       * tests/test-readlink.c (main): Relax test for AIX, HP-UX.
+
+       readlink: fix Solaris 9 bug with trailing slash
+       * lib/readlink.c (rpl_readlink): Work around trailing slash bug.
+       * m4/readlink.m4 (gl_FUNC_READLINK): Detect the bug.
+       * doc/posix-functions/readlink.texi (readlink): Document this.
+       * modules/readlink-tests: New test.
+       * tests/test-readlink.c: Likewise.
+
        readlink: fix cygwin 1.5.x bug with return type
        * m4/readlink.m4 (gl_FUNC_READLINK): Require correct signature.
        * lib/unistd.in.h (readlink): Use ssize_t.