This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/posix regcomp.c
- From: drepper at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 24 Nov 2003 19:29:18 -0000
- Subject: libc/posix regcomp.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2003-11-24 19:29:18
Modified files:
posix : regcomp.c
Log message:
(free_dfa_content): Free sb_char.
(init_dfa): Don't initialize word_char unnecessarily.
Initialize sb_char.
(duplicate_node): Don't duplicate !word_char CHARACTERs with
NEXT_WORD_CONSTRAINT constraint or word_char CHARACTERs with
NEXT_NOTWORD_CONSTRAINT. Return -1 in *new_idx instead.
(duplicate_node_closure): Handle clone_dest == -1 from
duplicate_node.
(peek_token): Initialize word_char bit.
(parse_expression, parse_dup_op): Add comments.
(parse_bracket_exp): Don't set bitmask bits for multi-byte char
starting bytes here at the beginning. Mask off the bits right
before creating SIMPLE_BRACKET.
(build_charclass_op): Likewise.