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 sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 10 Nov 2004 15:47:11 -0000
- Subject: libc/posix regexec.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2004-11-10 15:47:09
Modified files:
posix : regexec.c
Log message:
(transit_state): Remove the check for out-of-bounds buffers.
(check_matching): Check here for out-of-bounds buffers.
(re_search_internal): Store into match_kind a set of bits
indicating which incantation of fastmap scanning must be
used. Use a switch statement instead of multiple ifs.
Exit the final "for (;;)" with goto free_return unless
the match succeeded, thus simplifying some conditionals.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/posix/regexec.c.diff?cvsroot=glibc&r1=1.68&r2=1.69