freebsd-nq/lib/libc/regex
Daniel C. Sobral 8f9e434f46 altoffset() always returned whenever it recursed, because at the end
of the processing of the recursion, "scan" would be pointing to O_CH
(or O_QUEST), which would then be interpreted as being the end character
for altoffset().

We avoid this by properly increasing scan before leaving the switch.

Without this, something like (a?b?)?cc would result in a g->moffset of
1 instead of 2.

I added a case to the soon-to-be-imported regex(3) test code to catch
this error.
2000-07-09 17:45:30 +00:00
..
cclass.h Use locale for character classes instead of hardcoded values 1996-08-11 11:42:03 +00:00
cname.h General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
COPYRIGHT
engine.c Since g->moffset points to the _maximum_ offset at which the must 2000-07-09 17:36:53 +00:00
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
re_format.7 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
regcomp.c altoffset() always returned whenever it recursed, because at the end 2000-07-09 17:45:30 +00:00
regerror.c remove <ctype.h> - not needed 1999-07-26 05:50:43 +00:00
regex2.h Enhance the optimization provided by pre-matching. Fix style bugs with 2000-07-02 10:58:07 +00:00
regex.3 Remove from the notes a bug that it's said to have been fixed. 2000-07-02 10:34:25 +00:00
regexec.c int -> long changes that reduce the diffs with the NetBSD version to 1998-05-14 21:45:18 +00:00
regfree.c Since we have modified charjump to be CHAR_MIN-based, we have to 2000-07-08 09:45:17 +00:00
utils.h
WHATSNEW