From: Roland McGrath Date: Mon, 26 Aug 2002 11:36:04 +0000 (+0000) Subject: 2002-08-26 Roland McGrath X-Git-Tag: cvs/glibc-2-3~365 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d9cab009a1ef721e09aede79c0ec9442d9ffb72e;p=thirdparty%2Fglibc.git 2002-08-26 Roland McGrath * locale/programs/ld-ctype.c (ctype_read): When given a repertoire name of "", store a null pointer instead. --- diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c index eed2e94732b..2a2c8314815 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -2796,6 +2796,9 @@ with character code range values one must use the absolute ellipsis `...'")); || now->val.str.startmb == NULL) goto translit_syntax; repertoire_name = now->val.str.startmb; + if (repertoire_name[0] == '\0') + /* Ignore the empty string. */ + repertoire_name = NULL; /* Save the include statement for later processing. */ include_stmt = (struct translit_include_t *)