Work around open() bug on HP-UX 11 and Solaris 9.
[pspp] / ChangeLog
index 0e6fdf69b2f850bcf3c5d5c2450dbe9ee3b4f656..38b642deafd51f1286687135d36bb4e233973afd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-06-11  Bruno Haible  <bruno@clisp.org>
+
+       * m4/open.m4 (gl_FUNC_OPEN): Add test against trailing slash bug.
+       * lib/open.c: Include errno.h.
+       (open): Fail when attempting to write to a file that has a trailing
+       slash.
+       * tests/test-open.c (main): Test against trailing slash bug.
+       * doc/posix-functions/open.texi: Mention the trailing slash bug.
+
 2008-06-10  Bruno Haible  <bruno@clisp.org>
 
        * tests/test-vc-list-files-git.sh: Make double use of 'exit'. Needed