--- ChangeLog | 5 +++++ lib/regcomp.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog index 5980ba1..b3e202a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2012-12-29 Paul Eggert <egg...@cs.ucla.edu> + regex: port to C89 + Reported by Aharon Robbins in + <http://sourceware.org/ml/libc-alpha/2012-12/msg00456.html>. + * lib/regcomp.c (init_word_char): Declaration before statement. + regex: merge glibc changes Also, copy the license wording from glibc. This simplifies merging changes. gnulib-tool will change the wording to GPL as diff --git a/lib/regcomp.c b/lib/regcomp.c index 3e2165b..398df66 100644 --- a/lib/regcomp.c +++ b/lib/regcomp.c @@ -953,10 +953,10 @@ static void internal_function init_word_char (re_dfa_t *dfa) { - dfa->word_ops_used = 1; int i = 0; int j; int ch = 0; + dfa->word_ops_used = 1; if (BE (dfa->map_notascii == 0, 1)) { bitset_word_t bits0 = 0x00000000; -- 1.7.11.7