chown: work around OpenBSD bug
[pspp] / ChangeLog
index 259f983bc7cdf12862fd6c1b7a4628d182406385..599a94413fa6e8e068301dcb4add0e8d53d3709d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,107 @@
+2009-11-17  Eric Blake  <ebb9@byu.net>
+
+       chown: work around OpenBSD bug
+       * lib/chown.c (rpl_chown): Work around the bug.
+       * lib/lchown.c (rpl_lchown): Attempt to do likewise.
+       * m4/chown.m4 (gl_FUNC_CHOWN): Test for ctime bug.
+       * m4/lchown.m4 (gl_FUNC_LCHOWN): Check for lchmod.
+       * modules/chown (Depends-on): Add stdbool.
+       * modules/lchown (Depends-on): Likewise.
+       * doc/posix-functions/chown.texi (chown): Document the bug.
+       * doc/posix-functions/lchown.texi (lchown): Likewise.
+       * tests/test-lchown.h (test_chown): Relax test.
+
+       mkstemp: avoid conflict with C++ keyword template
+       * lib/mkdtemp.c (mkdtemp): Change spelling of template.
+       * lib/mkostemp.c (mkostemp): Likewise.
+       * lib/mkostemps.c (mkostemps): Likewise.
+       * lib/mkstemp.c (mkstemp): Likewise.
+       * lib/mkstemps.c (mkstemps): Likewise.
+
+       xalloc-die-tests: optimize
+       * tests/test-xalloc-die.sh: Reduce number of processes.
+
+2009-11-17  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool: Support LGPLv3+ licenses in module files.  Tiny
+       patch from ludo@gnu.org (Ludovic Courtès).
+
+2009-11-17  Jim Meyering  <meyering@redhat.com>
+
+       version-etc: use proper license string
+       * modules/version-etc (License): Use LGPL, not LGPLv3+.
+       * modules/version-etc-fsf: Likewise.
+
+2009-11-17  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-xalloc-die.sh: Add license.  Check that nothing is
+       printed to stdout.  Deal with EOL differences.
+
+2009-11-17  Eric Blake  <ebb9@byu.net>
+
+       unsetenv: work around Solaris bug
+       * m4/setenv.m4 (gl_FUNC_UNSETENV): Check for bug.
+       * lib/unsetenv.c (rpl_unsetenv): Work around it.
+       Reported by Jim Meyering.
+
+       vasnprintf: avoid compiler warnings
+       * lib/vasnprintf.c (VASNPRINTF): Avoid shadowing our own local
+       variables.
+       * lib/printf-args.c (PRINTF_FETCHARGS): Avoid type mismatch.
+
+2009-11-17  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/xalloc-die-tests (Makefile.am): Drop XFAIL_TESTS
+       settings since xalloc-die is no longer the self test,
+       xalloc-die.sh is.
+
+2009-11-17  Jim Meyering  <meyering@redhat.com>
+
+       test-xalloc-die.sh: make the code agree with the commit log
+       * tests/test-xalloc-die.sh: Put "." at the front of $PATH, not
+       at the end, just in case you happen to have a test-xalloc-die
+       program in some other PATH directory.
+
+       test-xalloc-die.sh: fix a portability bug
+       * tests/test-xalloc-die.sh: Do not invoke via ./test-xalloc-die.
+       Instead, set PATH to start with "." and invoke via "test-xalloc-die".
+       Otherwise, argv[0] (as often seen in diagnostics) would be too
+       system-dependent, sometimes with, and sometimes without the leading "./".
+
+       version-etc-fsf: relax license to LGPLv3+
+       * modules/version-etc-fsf (License): Relax license.
+
+2009-11-16  Eric Blake  <ebb9@byu.net>
+
+       xalloc-die-tests: avoid printing null pointer
+       * modules/xalloc-die-tests (Files, Makefile.am): Wrap execution in
+       shell script.
+       * tests/test-xalloc-die.c (program_name): Declare.
+       * tests/test-xalloc-die.sh (tmpfiles): New file.
+
+       setenv, unsetenv: work around various bugs
+       * lib/setenv.c (setenv) [!HAVE_SETENV]: Resync from glibc.
+       (setenv) [HAVE_SETENV]: Work around bugs.
+       * lib/unsetenv.c (unsetenv) [HAVE_UNSETENV]: Work around bugs.
+       * m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE, gl_FUNC_UNSETENV): Check
+       for bugs.
+       (gl_FUNC_SETENV): Write in terms of gl_FUNC_SETENV_SEPARATE.
+       * m4/environ.m4 (gl_ENVIRON): Avoid expand-before-require.
+       * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Update defaults.
+       * modules/stdlib (Makefile.am): Update substitutions.
+       * lib/stdlib.in.h (setenv, unsetenv): Update prototypes.
+       * doc/posix-functions/setenv.texi (setenv): Document the bugs.
+       * doc/posix-functions/unsetenv.texi (unsetenv): Likewise.
+       * modules/setenv-tests: New test.
+       * modules/unsetenv-tests: Likewise.
+       * tests/test-setenv.c: New file.
+       * tests/test-unsetenv.c: Likewise.
+
 2009-11-16  Jim Meyering  <meyering@redhat.com>
 
+       version-etc: relax license to LGPLv3+
+       * modules/version-etc (License): Relax license.
+
        better AC_REQUIRE expanded-before-required-warning avoidance
        * m4/chown.m4 (gl_FUNC_CHOWN, gl_FUNC_CHOWN_FOLLOWS_SYMLINK): Define
        with AC_DEFUN_ONCE, rather than AC_DEFUN, to avoid AC_REQUIRE warnings.