update debian/copyright
[gnulib.git] / ChangeLog
index 4817bf4..4bb8d23 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,178 @@
+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-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-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-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  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>
+
+       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
+       * tests/test-futimens.h (test_futimens): When provoking EBADF, use an
+       invalid file descriptor, so we don't provoke EFAULT from Solaris 5.11,
+       because it tries to dereference the NULL name argument.
+
+2010-10-11  Bruno Haible  <bruno@clisp.org>
+
+       Indentation.
+       * lib/spawn.in.h (verify_POSIX_SPAWN_USEVFORK_no_overlap): Improve
+       indentation.
+
+2010-10-11  Jim Meyering  <meyering@redhat.com>
+
+       spawn.in.h: make indentation consistent with parentheses
+       * lib/spawn.in.h (verify_POSIX_SPAWN_USEVFORK_no_overlap):
+       Make indentation consistent with parentheses.
+
+2010-10-11  Gary V. Vaughan  <gary@gnu.org>
+
+       Fix mismatched parens in previous commit
+       * lib/spawn.in.h (verify_POSIX_SPAWN_USEVFORK_no_overlap): Fix mismatched
+       parens.
+
+2010-10-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       rewrite int foo[2*X-1] to verify(X) or to int foo[X?1:-1]
+
+       * lib/float+.h (verify_sizeof_flt, verify_sizeof_dbl):
+       (verify_sizeof_ldbl): Rewrite 2*X-1 to X?1:-1.
+       * lib/malloca.c: Include "verify.h".
+       (verify1): Remove, replacing with a verify call.
+       * lib/relocwrapper.c (verify1): Likewise.
+       * lib/vasnprintf.c (mp_limb_verify, mp_twolimb_verify, TCHAR_T_verify):
+       Likewise.
+       * modules/malloca (Depends-on): Add 'verify'.
+       * modules/relocatable-prog-wrapper (Depends-on): Add 'verify'.
+       * modules/vasnprintf (Depends-on): Add 'verify'.
+       * modules/unistdio/u8-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u16-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u32-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/ulc-vasnprintf (Depends-on): Likewise.
+
+       prefer (X ? 1 : -1) when converting from boolean (1,0) to int (1,-1)
+
+       Formerly the style was sometimes 2*X - 1, because the C standard
+       was wrongly thought to disallow ?: in integral constant expressions.
+       * lib/inet_ntop.c (verify_int_size): Rewrite 2*X-7 (!) to 4<=X?1:-1.
+       * lib/signal.in.h (verify_NSIG_constraint): Rewrite 2*X-1 to X?1:-1.
+       * lib/spawn.in.h (verify_POSIX_SPAWN_USEVFORK_no_overlap): Likewise.
+       * lib/stdint.in.h (_verify_intmax_size): Likewise.
+       * lib/time.in.h (struct __time_t_must_be_integral): Rewrite
+       2 * ((time_t) 1 / 2 == 0) - 1 to (time_t) 1; this suffices to
+       verify that time_t cannot be floating.
+
 2010-10-08  Eric Blake  <eblake@redhat.com>
 
        time: enforce recent POSIX ruling that time_t is integral