Re: [PATCH 1/3] regex: merge glibc changes

2012-02-08 Thread Jim Meyering
Paul Eggert wrote: > * lib/regcomp.c (init_dfa): Tighten overflow checks to test .. Thank you for handling that tedious task!

[PATCH 1/3] regex: merge glibc changes

2012-02-07 Thread Paul Eggert
* lib/regcomp.c (init_dfa): Tighten overflow checks to test for IDX_MAX too, since IDX_MAX can be much less than SIZE_MAX. (init_word_char): Work even if bitset words are not exactly 32 or 64 bits wide. Don't assume there are no padding bits. * lib/regex.c [_LIBC]: Do not include . [!_LIBC]: Add p