This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/posix regexec.c
- From: drepper at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 28 Dec 2003 23:14:35 -0000
- Subject: libc/posix regexec.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2003-12-28 23:14:34
Modified files:
posix : regexec.c
Log message:
(set_regs): Initialize PREV_INDEX_MATCH and pass it to update_regs.
(update_regs): Use the PREV_INDEX_MATCH parameter, together
with the opt_subexp flag, in order to discard a final empty
match of a repeated subexpression.
(re_copy_regs): Allocate start and end array in one block.
(push_fail_stack): Add missing check for failed memory allocation.