* locale/programs/ld-collate.c (check_duplicate): Allow repertoire
to be missing.
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.
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);