mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 19:53:32 +08:00
Update.
* locale/programs/ld-collate.c (check_duplicate): Allow repertoire to be missing.
This commit is contained in:
parent
0adb8e479b
commit
289e8e7ea1
@ -1,5 +1,8 @@
|
||||
2000-04-01 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* locale/programs/ld-collate.c (check_duplicate): Allow repertoire
|
||||
to be missing.
|
||||
|
||||
* sysdeps/unix/sysv/linux/init-first.c (init): Add code from
|
||||
former init-first.h. Initialize __libc_multiple_libcs.
|
||||
|
||||
|
@ -347,7 +347,9 @@ check_duplicate (struct linereader *ldfile, struct locale_collate_t *collate,
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (find_entry (&repertoire->char_table, symbol, symbol_len, &ignore) == 0)
|
||||
if (repertoire != NULL
|
||||
&& (find_entry (&repertoire->char_table, symbol, symbol_len, &ignore)
|
||||
== 0))
|
||||
{
|
||||
lr_error (ldfile, _("`%.*s' already defined in repertoire"),
|
||||
(int) symbol_len, symbol);
|
||||
|
Loading…
Reference in New Issue
Block a user