Mercurial > gnulib
changeset 36925:8acaa468fb1d
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 29 Dec 2012 22:52:17 -0800 |
parents | a513875946a3 |
children | c04eb0943c22 |
files | ChangeLog lib/regcomp.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sat Dec 29 21:10:29 2012 -0800 +++ b/ChangeLog Sat Dec 29 22:52:17 2012 -0800 @@ -1,5 +1,10 @@ 2012-12-29 Paul Eggert <eggert@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
--- a/lib/regcomp.c Sat Dec 29 21:10:29 2012 -0800 +++ b/lib/regcomp.c Sat Dec 29 22:52:17 2012 -0800 @@ -953,10 +953,10 @@ 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;