renameat: port to Solaris 10, which declares renameat in unistd.h
[pspp] / ChangeLog
index 22a22dfa601a9b2b2c1cf5f26fa858d0e36fc923..38888bf12d3e0cc4737aa2577a74c001fa4c1c55 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,216 @@
+2010-10-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       renameat: port to Solaris 10, which declares renameat in unistd.h
+
+       * lib/renameat.c: Include unistd.h before stdio.h, because
+       Solaris 10 declares renameat in unistd.h.  Problem encountered
+       when building GNU tar 1.24 on Solaris 10.
+
+2010-10-26  Christian Weisgerber  <naddy@mips.inka.de>  (tiny change)
+
+       fdopendir: fix C89 compilation
+       * lib/fdopendir.c (fd_clone_opendir): Move declaration for older
+       compilers.
+
+2010-10-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       inttostr: simplify by removing unnecessary redundancy
+       * lib/anytostr.c: Don't include verify.h.
+       (anytostr): Don't verify that TYPE_SIGNED (inttype) equals
+       inttype_is_signed.  Instead, disable the bogus GCC warnings, so that
+       there's no need for inttype_is_signed and for calling TYPE_SIGNED.
+       * lib/imaxtostr.c (inttype_is_signed): Remove; no longer needed.
+       * lib/inttostr.c, lib/offtostr.c, lib/uinttostr.c, lib/umaxtostr.c:
+       Likewise.
+       * modules/inttostr (Depends-on): Remove 'verify'.
+
+2010-10-23  Bruno Haible  <bruno@clisp.org>
+
+       nl_langinfo: Mention problem with CRNCYSTR on NetBSD 5.0.
+       * doc/posix-functions/nl_langinfo.texi: Mention problem with CRNCYSTR.
+       Reported by Eric Blake.
+
+2010-10-23  Bruno Haible  <bruno@clisp.org>
+
+       Tests: Fix LOCALE_JA on MirBSD 10.
+       * m4/locale-ja.m4 (gt_LOCALE_JA): Reject a locale identifier that leads
+       to an UTF-8 locale.
+       * m4/locale-fr.m4 (gt_LOCALE_FR): Likewise.
+       * m4/locale-zh.m4 (gt_LOCALE_ZH_CN): Likewise.
+       Reported by Eric Blake.
+
+2010-10-21  Bruno Haible  <bruno@clisp.org>
+
+       nl_langinfo test: Avoid test failure on NetBSD 5.
+       * tests/test-nl_langinfo.c (main): Relax test of nl_langinfo(CRNCYSTR).
+       Reported by Eric Blake.
+
+2010-10-21  Eric Blake  <eblake@redhat.com>
+
+       c-stack: work around libsigsegv 2.8 bug
+       * lib/c-stack.c (SIGSTKSZ): Increase size to avoid alternate stack
+       overflow on at least PowerPC64.
+
+2010-10-17  Bruno Haible  <bruno@clisp.org>
+
+       userspec: Drop redundant file.
+       * modules/userspec (Files): Remove lib/inttostr.h.
+
+2010-10-17  Bruno Haible  <bruno@clisp.org>
+
+       nl_langinfo tests: Silence some warnings.
+       * tests/test-nl_langinfo.c: Silence -Wtype-limits warnings.
+       Reported by Jim Meyering.
+
+2010-10-17  Bruno Haible  <bruno@clisp.org>
+
+       Make use of GCC's attribute __alloc_size__.
+       * lib/xalloc.h (ATTRIBUTE_ALLOC_SIZE): New macro.
+       (xmalloc, xzalloc, xcalloc, xrealloc, xmemdup, xnmalloc, xnrealloc,
+       xcharalloc): Declare with ATTRIBUTE_ALLOC_SIZE.
+       * lib/eealloc.h (eemalloc, eerealloc): Declare with attribute
+       __alloc_size__.
+       * lib/pagealign_alloc.h (pagealign_alloc, pagealign_xalloc): Likewise.
+       Suggested by Jim Meyering.
+
+2010-10-16  Joel E. Denny  <joeldenny@joeldenny.org>
+
+       bootstrap: anchor .gitignore entries.
+       * build-aux/bootstrap (insert_sorted_if_absent): Replace all uses
+       with...
+       (insert_vc_ignore): ... this new function, which prepends `/' to
+       all .gitignore entries before passing them to
+       insert_sorted_if_absent.
+
+2010-10-16  Bruno Haible  <bruno@clisp.org>
+
+       nextafter: Fix configure check.
+       * modules/nextafter (configure.ac): Correct expected prototype.
+
+2010-10-16  Bruno Haible  <bruno@clisp.org>
+
+       termios: Update documentation.
+       * doc/posix-headers/termios.texi: Mention remaining mingw problems.
+
+2010-10-16  Bruno Haible  <bruno@clisp.org>
+
+       tests: Make them compile with TinyCC.
+       * tests/test-strstr.c (main): Remove parentheses around array
+       initializer.
+
+2010-10-15  Eric Blake  <eblake@redhat.com>
+
+       ignore-value: make header idempotent
+       * lib/ignore-value.h: Add double-inclusion guards.
+       Reported by Stefan Berger.
+
+2010-10-15  Jim Meyering  <meyering@redhat.com>
+
+       GNUmakefile: handle "stable" target, not "major"
+       * top/GNUmakefile (_is-dist-target): s/major/stable/ to match the
+       lists in maint.mk and announce-gen.  Without this, "make stable"
+       would fail to ensure that $(VERSION) is up to date.
+
+2010-10-15  Ludovic Courtès  <ludo@gnu.org>
+
+       * lib/isnan.c (FUNC): Treat TinyCC (`__TINYC__') like `__SUNPRO_C'
+       & co.
+
+2010-10-14  Bruno Haible  <bruno@clisp.org>
+
+       vasnprintf: Don't set errno to 0.
+       * lib/vasnprintf.c (VASNPRINTF): Save and restore errno around the
+       block that sets it to 0.
+       Reported by Gianluigi Tiesi <sherpya@netfarm.it>.
+
+2010-10-14  Bruno Haible  <bruno@clisp.org>
+
+       socketlib: Fix.
+       * modules/socketlib (Files): Add m4/sys_socket_h.m4. Needed for
+       gl_PREREQ_SYS_H_WINSOCK2.
+       Reported by Ian Beckwith <ianb@erislabs.net>.
+
+2010-10-13  Jim Meyering  <meyering@redhat.com>
+
+       test-select-stdin.c: avoid warn_unused_result warnings
+       * tests/test-select-stdin.c: Include "macros.h".
+       ASSERT that read and fflush succeed.
+
+2010-10-13  Jim Meyering  <meyering@redhat.com>
+
+       git-version-gen: do require git-VC'd files in cwd
+       * build-aux/git-version-gen: Reject a git version string
+       if there are no commits associated with the current directory.
+       This avoids an unlikely false-positive (unrelated dir whose parent
+       repository also contains a tag matching v*), as pointed out
+       by Giuseppe Scrivano in
+       http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/21843/focus=23664
+
+2010-10-13  Paul Eggert  <eggert@cs.ucla.edu>
+
+       argv-iter: omit nonconforming declaration
+       * lib/argv-iter.h (enum argv_iter_err): Omit the useless
+       enum arg_iter_err declaration, which doesn't conform to C99.
+       Solaris 10 cc warns about this.
+
+2010-10-13  Eric Blake  <eblake@redhat.com>
+
+       termios: fix compilation on mingw
+       * m4/termios_h.m4 (gl_TERMIOS_H_DEFAULTS): Set default.
+       (gl_TERMIOS_H): Adjust it on mingw.
+       * modules/termios (Makefile.am): Substitute new key.
+       * lib/termios.in.h (includes): Make include_next conditional.
+       * doc/posix-headers/termios.texi (termios.h): Update
+       documentation.
+       Reported by Daniel P. Berrange.
+
+2010-10-13  Jim Meyering  <meyering@redhat.com>
+
+       git-version-gen: don't require that .git/ be in the current dir
+       * build-aux/git-version-gen: Adjust this script so that it works
+       when run from any working directory beneath the top-level .git/-
+       containing directory.  Inspired by a patch from Giuseppe Scrivano,
+       http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/21843/focus=21847
+
+       test-select: avoid warn_unused_result warnings
+       * tests/test-select.c: Include "macros.h".
+       ASSERT that each call to read, write, and pipe succeeds.
+       While not technically required, also check each "close".
+       * modules/select-tests (Files): Add tests/macros.h.
+
+       test-symlinkat: remove declaration of unused local
+       * tests/test-symlinkat.c (main): Remove unused local, "buf".
+
+       test-inttostr: avoid shadowing warnings
+       * tests/test-inttostr.c (main): Rename local, "buf" to "b",
+       and use malloc rather than the stack for the same reason as
+       mentioned in the comment justifying the other allocation.
+
+2010-10-11  Bruno Haible  <bruno@clisp.org>
+
+       stdlib: Allow multiple gnulib generated replacements to coexist.
+       * lib/stdlib.in.h (struct random_data): Avoid identical redefinition.
+       Reported by Sam Steingold <sds@gnu.org>.
+
+2010-10-11  Jim Meyering  <meyering@redhat.com>
+
+       fix a documentation typo
+       * doc/posix-functions/futimens.texi (futimens): Fix typo: s/itme/item/
+
+2010-10-11  Eric Blake  <eblake@redhat.com>
+
+       futimens: work around Solaris 11 bug
+       * m4/futimens.m4 (gl_FUNC_FUTIMENS): Detect the bug.
+       * tests/test-futimens.h (test_futimens): Enhance, rather than
+       weaken test.
+       * doc/posix-functions/futimens.texi (futimens): Document the bug.
+
+2010-10-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Indentation.
+       * lib/spawn.in.h (verify_POSIX_SPAWN_USEVFORK_no_overlap): Indent
+       higher-level operators more to the left.
+
 2010-10-11  Jim Meyering  <meyering@redhat.com>
 
        test-futimens: avoid unwarranted test failure on Solaris 5.11