mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
2002-11-06 Ulrich Drepper <drepper@redhat.com> * posix/regcomp.c: Use tabs instead of spaces. * posix/regexec.c: Likewise. * posix/regex_internal.h: Likewise. * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb.
This commit is contained in:
parent
1b2c262835
commit
15a7d175bc
@ -1,3 +1,11 @@
|
||||
2002-11-06 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* posix/regcomp.c: Use tabs instead of spaces.
|
||||
* posix/regexec.c: Likewise.
|
||||
* posix/regex_internal.h: Likewise.
|
||||
|
||||
* posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb.
|
||||
|
||||
2002-11-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* posix/regcomp.c (re_compile_pattern): Don't set regs_allocated
|
||||
|
@ -405,7 +405,9 @@ re_compile_fastmap_iter (bufp, init_state, fastmap)
|
||||
for (i = 0; i < cset->nmbchars; ++i)
|
||||
{
|
||||
char buf[256];
|
||||
wctomb (buf, cset->mbchars[i]);
|
||||
mbstate_t state;
|
||||
memset (&state, '\0', sizeof (state));
|
||||
__wcrtomb (buf, cset->mbchars[i], &state);
|
||||
re_set_fastmap (fastmap, icase, *(unsigned char *) buf);
|
||||
}
|
||||
}
|
||||
|
@ -523,6 +523,7 @@ static re_dfastate_t *re_acquire_state_context (reg_errcode_t *err,
|
||||
re_dfa_t *dfa,
|
||||
const re_node_set *nodes,
|
||||
unsigned int context);
|
||||
static void free_state (re_dfastate_t *state);
|
||||
|
||||
|
||||
typedef enum
|
||||
|
Loading…
Reference in New Issue
Block a user