From acb5ee2e561276d64c6e26ef4b82f59a4db5ae90 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 24 May 2000 20:22:51 +0000 Subject: Update. 2000-05-24 Ulrich Drepper * locale/programs/ld-collate.c (struct element_t): Add mbseqorder and wcseqorder members. (struct locale_collate_t): Likewise. (collate_finish): Assign collation sequence value to each character. Create tables for output. (collate_output): Write out tables with collation sequence information. * locale/C-collate.c: Provide C locale data for collation sequence table. * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and _NL_COLLATE_COLLSEQWC. * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and _NL_COLLATE_COLLSEQWC. * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before include fnmatch_loop.c. * posix/fnmatch_loop.c: Don't use strcoll while determining whether character is matched by range expression. Use collation sequence table. Outside glibc fall back on simple character value comparison. --- locale/langinfo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'locale/langinfo.h') diff --git a/locale/langinfo.h b/locale/langinfo.h index 7d1183434a..b5ccac6b88 100644 --- a/locale/langinfo.h +++ b/locale/langinfo.h @@ -248,6 +248,8 @@ enum _NL_COLLATE_SYMB_HASH_SIZEMB, _NL_COLLATE_SYMB_TABLEMB, _NL_COLLATE_SYMB_EXTRAMB, + _NL_COLLATE_COLLSEQMB, + _NL_COLLATE_COLLSEQWC, _NL_NUM_LC_COLLATE, /* LC_CTYPE category: character classification. -- cgit v1.2.3