This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/posix regex_internal.c
- From: drepper at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 2 Jan 2004 21:17:14 -0000
- Subject: libc/posix regex_internal.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2004-01-02 21:17:14
Modified files:
posix : regex_internal.c
Log message:
(re_string_allocate): Initialize
pstr->word_char and pstr->word_ops_used.
(re_string_context_at): Remove newline_anchor argument.
Use input->newline_anchor instead, swap && conditions.
Only use IS_WIDE_WORD_CHAR if input->word_ops_used != 0.
Use input->word_char bitmap instead of IS_WORD_CHAR.
(re_string_reconstruct): Likewise.
Adjust re_string_context_at caller.
(re_string_construct_common): Don't clear pstr here...
(re_string_construct): ... but only here.
(re_node_set_insert): Remove unused variables.