From: Paul Eggert Date: Sat, 20 Aug 2005 01:03:31 +0000 (+0000) Subject: Recent regex patches. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1122a27ec42a7425ff3c18db93816112a2c7562;p=pspp Recent regex patches. --- diff --git a/config/ChangeLog b/config/ChangeLog index 15b6f62ce3..61bee05278 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,9 @@ +2005-08-19 Paul Eggert + + * srclist.txt: Comment out $LIBCSRC/posix/regex_internal.c, + $LIBCSRC/posix/regexec.c. + Add glibc bug 1217 for regcomp.c. + 2005-08-15 Paul Eggert * srclist.txt: Comment out $LIBCSRC/posix/regex.h. diff --git a/lib/ChangeLog b/lib/ChangeLog index 3f6d105c9e..eac25c4e54 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,25 @@ +2005-08-19 Paul Eggert + + * regex_internal.c (re_acquire_state, re_acquire_state_context) + [defined lint]: Suppress bogus uninitialized-variable warnings. + + * regcomp.c (duplicate_node): Return new index, not an error code, + and let the caller return REG_ESPACE if out of space. This + removes an uninitialied-variable warning with GCC 4.0.1, and also + avoids taking the address of a local variable. All callers + changed. + +2005-08-19 Jim Meyering + + * regexec.c (proceed_next_node): Redo local variables to + avoid GCC shadowing warnings. + +2005-08-19 Paul Eggert + + * regex_internal.c (re_string_realloc_buffers, re_node_set_insert): + (re_node_set_insert_last, re_dfa_add_node): + Rename local variables to avoid GCC shadowing warnings. + 2005-08-18 Bruno Haible * strstr.c (strstr): Fix return value in multibyte case. @@ -13,6 +35,10 @@ %0Ns wouldn't work. Before this change, `date -d @-22 +%05s' would print `00-22'. Now, it prints `-0022', as it should. +2005-08-17 Paul Eggert + + * regex.h: Remove useless space-before-tab. From coreutils. + 2005-08-17 Bruno Haible * strcasestr.h: New file.