]> git.ipfire.org Git - thirdparty/glibc.git/commit - posix/regex_internal.c
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 16 Nov 2003 07:14:28 +0000 (07:14 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 16 Nov 2003 07:14:28 +0000 (07:14 +0000)
commitf0c7c524bb92cdc42cc4e0f7ba1ddda865a4494c
treef06d459ac9d5a2d7c02591cd5375dd7ad6ff7a1e
parent2def87644d44b41bb908d4ed150a110d4d9399ea
Update.

* posix/regex_internal.h: Add forward declaration of re_dfa_t.
Replace last two parameters of re_string_allocate and
re_string_construct with pointer to DFA.
(re_dfa_t): Add map_notascii field.
* posix/regcomp.c (re_compile_internal): Add call of
re_string_construct.
(init_dfa): Initialize mpa_notascii.
* posix/regex_internal.c: Adjust definitions of re_string_allocate
and re_string_construct.
Pass DFA to re_string_construct.  Adjust definition.  Initialize
map_notascii field.
(build_wcs_upper_buffer): If map_notascii is zero use simplfied
method to map ASCII values to upper case.
* posix/regex.c: Include localeinfo.h.
* posix/regexec.c: Adjust call of re_string_allocate.

* locale/langinfo.h: Add _NL_CTYPE_MAP_TO_NONASCII.
* locale/localeinfo.h (LIMAGIC): Change value.
* locale/categories.def. Add entry for _NL_CTYPE_MAP_TO_NONASCII.
* locale/C-ctype.h: Likewise.
* locale/programs/ld-ctype.c: Compute whether any mapping maps from
ASCII to non-ASCII value.  Write out that value.
13 files changed:
ChangeLog
locale/C-ctype.c
locale/categories.def
locale/langinfo.h
locale/localeinfo.h
locale/programs/ld-ctype.c
localedata/ChangeLog
localedata/Makefile
posix/regcomp.c
posix/regex.c
posix/regex_internal.c
posix/regex_internal.h
posix/regexec.c