From 4944d5d63f26970c9a65965f907e49d30bf53ca6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 27 Aug 2000 18:45:00 +0000 Subject: Update. * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code to determine invalid locale name. * locale/findlocale.c (_nl_find_locale): Likewise. --- locale/findlocale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'locale') diff --git a/locale/findlocale.c b/locale/findlocale.c index 275f7fc..c6adba8 100644 --- a/locale/findlocale.c +++ b/locale/findlocale.c @@ -67,7 +67,7 @@ _nl_find_locale (const char *locale_path, size_t locale_path_len, if (*name == NULL || (*name)[0] == '\0' || (__builtin_expect (__libc_enable_secure, 0) - && memchr (*name, '/', _nl_find_language (*name) - *name) != NULL)) + && memchr (*name, '/', *name) != NULL)) *name = (char *) _nl_C_name; if (__builtin_expect (strcmp (*name, _nl_C_name), 1) == 0 -- cgit v1.1