mkstemp: More documentation.
[gnulib.git] / ChangeLog
index f1006b5..da9c637 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,86 @@
+2011-04-27  Bruno Haible  <bruno@clisp.org>
+
+       mkstemp: More documentation.
+       * doc/posix-functions/mkstemp.texi: Document header file problem on
+       MacOS X.
+
+2011-04-27  Bruno Haible  <bruno@clisp.org>
+
+       mkstemp: Tweak configure message when cross-compiling.
+       * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): When cross-compiling, qualify the
+       result as a guess.
+
+2011-04-27  Bruno Haible  <bruno@clisp.org>
+
+       clean-temp: Clarify what it does.
+       * lib/clean-temp.h: Add more comments.
+       * doc/posix-functions/mkstemp.texi: Tweak reference to 'clean-temp'
+       module.
+       * doc/glibc-functions/mkostemp.texi: Mention 'clean-temp' here too.
+       * doc/glibc-functions/mkstemps.texi: Likewise.
+       * doc/glibc-functions/mkostemps.texi: Likewise.
+
+2011-04-27  Eric Blake  <eblake@redhat.com>
+
+       fchdir: avoid extra chdir and fix test
+       * modules/fchdir (Depends-on): Add dosname, filenamecat-lgpl,
+       getcwd-lgpl.
+       * lib/fchdir.c (get_name): Any absolute name will do; it does not
+       have to be canonical.
+       (canonicalize_file_name): Drop unused macro.
+       * m4/dup2.m4 (gl_REPLACE_DUP2): Ensure dup2 is replaced.
+
+       filenamecat-lgpl: fix licence
+       * modules/filenamecat-lgpl (License): Mark as LGPLv2+, as intended
+       when it was first created.
+
+       linkat, renameat: add missing dependency
+       * modules/linkat (Depends-on): Require getcwd-lgpl.
+       * modules/renameat (Depends-on): Likewise.
+
+       tests: reduce dependencies
+       * tests/test-linkat.c (main): Use lighter-weight getcwd.
+       * tests/test-renameat.c (main): Likewise.
+       * modules/linkat-tests (Depends-on): Relax dependency.
+       * modules/renameat-tests (Depends-on): Likewise.
+       * modules/fchdir-tests (Depends-on): Likewise.  Also make cloexec
+       dependency explicit.
+
+       save-cwd: reduce default dependency
+       * modules/save-cwd (Depends-on): Use getcwd-lgpl.
+       * lib/save-cwd.c: Update comments.
+       * NEWS: Document the semantic change.
+
+       getcwd: enhance tests
+       * tests/test-getcwd-lgpl.c: New file, taken from...
+       * tests/test-getcwd.c: ...old contents.  Rewrite this file to
+       repeat long path stress tests from m4 probe.
+       * modules/getcwd-lgpl-tests: New module.
+       * modules/getcwd-tests (Depends-on): Depend on lgpl tests.
+       * m4/getcwd-abort-bug.m4: Update comment.
+       * m4/getcwd-path-max.m4: Likewise.
+
+       getcwd-lgpl: new module
+       * modules/getcwd-lgpl: New module.
+       * lib/getcwd-lgpl.c: New file.
+       * doc/posix-functions/getcwd.texi (getcwd): Document it.
+       * MODULES.html.sh (lacking POSIX:2008): Likewise.
+       * modules/getcwd (configure.ac): Set C witness.
+       * m4/getcwd.m4 (gl_FUNC_GETCWD_LGPL): New macro.
+
+       getcwd: tweak comments
+       * m4/getcwd-abort-bug.m4: Fix comments.
+       * m4/getcwd-path-max.m4: Likewise.
+       * m4/getcwd.m4: Likewise.
+
+2011-04-27  Reuben Thomas  <rrt@sc3d.org>
+       and Eric Blake  <eblake@redhat.com>
+
+       mkstemp: replace if system version uses wrong permissions
+       * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Add test for non-owner
+       read/write mode bits set in file created by mkstemp.
+       * doc/posix-functions/mkstemp.texi (mkstemp): Document the fix.
+
 2011-04-27  Eric Blake  <eblake@redhat.com>
 
        passfd: avoid compiler warning