* config/srclist.txt: Add glibc bug 1245.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 26 Aug 2005 05:58:54 +0000 (05:58 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 26 Aug 2005 05:58:54 +0000 (05:58 +0000)
commitf58f44a2f9c2e9b8fc9ea2ca910bd070d1f8bd48
treee26e4d04307406faadd5df867cf76fc7bf79c16a
parent9f08f433fa657d1f5e540594283031f3510132af
* config/srclist.txt: Add glibc bug 1245.

* lib/regexec.c (set_regs): Don't alloca with an unbounded size.

alloca modernization/simplification for regex.
* lib/regex.c: Remove portability cruft for alloca.  This no longer
needs to be at the start of the file, and can be moved into
regex_internal.h and simplified.
* lib/regex_internal.h: Include <alloca.h>.
(__libc_use_alloca) [!defined _LIBC]: New macro.
* lib/regexec.c (build_trtable): Remove "#ifdef _LIBC",
since the code now works outside glibc.
config/ChangeLog
config/srclist.txt
lib/ChangeLog
lib/regex.c
lib/regex_internal.h
lib/regexec.c