mirror of git://sourceware.org/git/glibc.git
2002-08-26 Roland McGrath <roland@redhat.com>
* locale/programs/ld-ctype.c (ctype_read): When given a repertoire name of "", store a null pointer instead.
This commit is contained in:
parent
26c91f01fa
commit
d9cab009a1
|
|
@ -2796,6 +2796,9 @@ with character code range values one must use the absolute ellipsis `...'"));
|
||||||
|| now->val.str.startmb == NULL)
|
|| now->val.str.startmb == NULL)
|
||||||
goto translit_syntax;
|
goto translit_syntax;
|
||||||
repertoire_name = now->val.str.startmb;
|
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. */
|
/* Save the include statement for later processing. */
|
||||||
include_stmt = (struct translit_include_t *)
|
include_stmt = (struct translit_include_t *)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue