From 6adc15f574fd12e097fc8c96e969d0092243069e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 27 Aug 2000 19:05:19 +0000 Subject: Update. * locale/findlocale.c (free_mem): Add cast to avoid warning. --- intl/dcigettext.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'intl/dcigettext.c') diff --git a/intl/dcigettext.c b/intl/dcigettext.c index 864b787cea..da6d88a492 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -524,8 +524,7 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) /* When this is a SUID binary we must not allow accessing files outside the dedicated directories. */ - if (ENABLE_SECURE - && memchr (single_locale, '/', single_locale) != NULL) + if (ENABLE_SECURE && strchr (single_locale, '/') != NULL) /* Ingore this entry. */ continue; } -- cgit v1.2.3