regex: port to mingw's recent addition of undeclared alarm
[gnulib.git] / ChangeLog
index b3c2bd4..addadee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,118 @@
+2013-03-11  Eric Blake  <eblake@redhat.com>
+
+       regex: port to mingw's recent addition of undeclared alarm
+       * doc/posix-functions/alarm.texi (alarm): Document that alarm
+       exists but still doesn't work in newer mingw.
+       * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Check for alarm declaration,
+       not existence.  Ensure SIGALRM is not trapped.
+       * m4/mktime.m4 (gl_FUNC_MKTIME): Likewise.
+       * m4/regex.m4 (gl_REGEX): Likewise.
+       * m4/remainderf.m4 (gl_FUNC_REMAINDERF_WORKS): Likewise.
+       * tests/test-regex.c (main): Use correct probe for alarm.
+
+       putenv: avoid compilation warning on mingw
+       * lib/putenv.c (_unsetenv): Protect variable declaration.
+       (putenv): Fix indentation.
+
+2013-03-11  Gary V. Vaughan  <gary@gnu.org>
+
+       unistd: don't prevent Tru64 Unix from using gnulib strtod.
+       * lib/unistd.in.h: be careful not to include un-needed system
+       stdlib.h from here, because that prevents gnulib stdlib.h from
+       defining rpl_strtod correctly.
+
+2013-03-09  Gary V. Vaughan  <gary@gnu.org>
+
+       vasprintf-posix-tests: allow rounding 1.51 to 1, per the previous
+       changesets, but for the 'precision 0' test.
+       * tests/test-vasprintf-posix.c (test_function): Don't insist on
+       round-to-even, since POSIX says rounding is implementation-defined
+       and OS X 10.8.2 rounds 1.51 to 1 here.
+
+       vasprintf-posix-tests: allow rounding 1.5 to 1, per the previous
+       changeset.
+       * tests/test-vasprintf-posix.c (test_function): Don't insist on
+       round-to-even, since POSIX says rounding is implementation-defined
+       and OS X 10.8.2 rounds 1.5 to 1 here.
+
+2013-03-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       vasnprintf-posix-tests: allow rounding 1.5 to 1
+       * tests/test-vasnprintf-posix.c (test_function): Don't insist on
+       round-to-even, since POSIX says rounding is implementation-defined
+       and OS X 10.8.2 rounds 1.5 to 1 here.  Reported by Gary V. Vaughan in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00019.html>.
+
+       bootstrap: port to FreeBSD
+       * build-aux/bootstrap (bootstrap_sync): Port sh -c usage to shells
+       that treat '--' differently.  Reported by Mats Erik Andersson in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00012.html>.
+
+2013-03-08  Gary V. Vaughan  <gary@gnu.org>
+
+       regex: rename remaining __attribute calls to __attribute__.
+       2012-02-25 changed definition of __attribute, but left some uses
+       unchanged, preventing compilation of regex module on most non-gcc
+       environments.
+       * lib/regcomp.c (re_set_fastmap, seek_collating_symbol_entry)
+       (lookup_collation_sequence_value, build_range_exp)
+       (build_collating_symbol): Set attributes with newly renamed
+       __attribute__ decorator.
+       * lib/regex_internal.c (re_string_peek_byte_case)
+       (re_node_set_compare, re_node_set_contains): Likewise.
+       * lib/regexec.c (acquire_init_state_context): Likewise.
+
+2013-03-06  Bruno Haible  <bruno@clisp.org>
+
+       execute: Revert last change, but use a different condition.
+       * lib/execute.c (nonintr_close, nonintr_open): Reintroduce, but only
+       on Windows.
+
+2013-03-05  Eric Blake  <eblake@redhat.com>
+
+       execute: drop dead code
+       * lib/execute.c (nonintr_close, nonintr_open): Delete.
+
+2013-03-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       non-recursive-gnulib-prefix-hack: port coreutils 8.21 to HP NonStop
+       * m4/non-recursive-gnulib-prefix-hack.m4
+       (gl_NON_RECURSIVE_GNULIB_PREFIX_HACK): Don't mess with ALLOCA.
+       Problem reported for HP NonStop + coreutils 8.21 by Joachim Schmitz in
+       <http://bugs.gnu.org/10305#237>.
+
+2013-03-04  Eric Blake  <eblake@redhat.com>
+
+       test-getsockopt: avoid compiler warning
+       * tests/test-getsockopt.c (includes): Ensure close is declared.
+
+2013-03-02  Bruno Haible  <bruno@clisp.org>
+
+       sys_types: Avoid autoconf warning about gl_SYS_TYPES_H.
+       * m4/sys_types_h.m4 (gl_SYS_TYPES_H): Define through AC_DEFUN_ONCE.
+
+2013-03-02  Bruno Haible  <bruno@clisp.org>
+
+       gettext: Update to version 0.18.2.
+       * m4/intl.m4, m4/po.m4: Update from gettext-0.18.2. In particular:
+       2012-12-07  Stefano Lattarini  <stefano.lattarini@gmailcom>
+               * intl.m4, po.m4: Bump requirement in AC_PREREQ to 2.60.
+
+2013-02-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       regex: merge patches from libc
+
+       2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
+       * lib/regex_internal.h (__attribute__): Rename from __attribute.
+       All uses changed.
+       (bitset_not, bitset_merge, bitset_mask, re_string_char_size_at)
+       (re_string_wchar_at, re_string_elem_size_at):
+       Mark function as possibly unused.
+
+       2013-02-12  Andreas Schwab  <schwab@suse.de>  [BZ #11561]
+       * lib/regcomp.c (parse_bracket_exp) [_LIBC]: When looking up collating
+       elements compare against the byte sequence of it, not its name.
+
 2013-02-21  Paul Eggert  <eggert@cs.ucla.edu>
 
        putenv: port better to native Windows
 
 2013-01-29  Andreas Schwab  <schwab@suse.de>
 
-       regex: fix buffer overrun in regexp matcher
+       regex: fix buffer overrun in regexp matcher [BZ #15078]
        * lib/regexec.c (extend_buffers): Add parameter min_len.
        (check_matching): Pass minimum needed length.
        (clean_state_log_if_needed): Likewise.