mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Update.
1999-09-21 Ulrich Drepper <drepper@cygnus.com> * locale/programs/repertoire.c (repertoire_find_value): Abort if rep parameter is NULL. (repertoire_find_symbol): Likewise. (repertoire_find_seq): Likewise.
This commit is contained in:
parent
3fa27fcb00
commit
5b5255f197
@ -1,3 +1,10 @@
|
||||
1999-09-21 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* locale/programs/repertoire.c (repertoire_find_value): Abort if
|
||||
rep parameter is NULL.
|
||||
(repertoire_find_symbol): Likewise.
|
||||
(repertoire_find_seq): Likewise.
|
||||
|
||||
1999-09-20 Jean-Louis Martineau <martinea@IRO.UMontreal.CA>
|
||||
|
||||
* nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
|
||||
|
@ -465,6 +465,9 @@ repertoire_find_value (const struct repertoire_t *rep, const char *name,
|
||||
{
|
||||
void *result;
|
||||
|
||||
if (rep == NULL)
|
||||
error (5, 0, _("FATAL: no repertoire map specified"));
|
||||
|
||||
if (find_entry ((hash_table *) &rep->char_table, name, len, &result) < 0)
|
||||
return ILLEGAL_CHAR_VALUE;
|
||||
|
||||
@ -477,6 +480,9 @@ repertoire_find_symbol (const struct repertoire_t *rep, uint32_t ucs)
|
||||
{
|
||||
void *result;
|
||||
|
||||
if (rep == NULL)
|
||||
error (5, 0, _("FATAL: no repertoire map specified"));
|
||||
|
||||
if (find_entry ((hash_table *) &rep->reverse_table, &ucs, sizeof (ucs),
|
||||
&result) < 0)
|
||||
return NULL;
|
||||
@ -490,6 +496,9 @@ repertoire_find_seq (const struct repertoire_t *rep, uint32_t ucs)
|
||||
{
|
||||
void *result;
|
||||
|
||||
if (rep == NULL)
|
||||
error (5, 0, _("FATAL: no repertoire map specified"));
|
||||
|
||||
if (find_entry ((hash_table *) &rep->seq_table, &ucs, sizeof (ucs),
|
||||
&result) < 0)
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user