summary refs log tree commit diff
path: root/intl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-27 19:05:19 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-27 19:05:19 +0000
commit6adc15f574fd12e097fc8c96e969d0092243069e (patch)
tree2a4468ba22ed224b27db818001449f098261d2a6 /intl
parent4944d5d63f26970c9a65965f907e49d30bf53ca6 (diff)
downloadglibc-6adc15f574fd12e097fc8c96e969d0092243069e.tar.gz
glibc-6adc15f574fd12e097fc8c96e969d0092243069e.tar.xz
glibc-6adc15f574fd12e097fc8c96e969d0092243069e.zip
Update.
	* locale/findlocale.c (free_mem): Add cast to avoid warning.
Diffstat (limited to 'intl')
-rw-r--r--intl/dcigettext.c3
1 files changed, 1 insertions, 2 deletions
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;
 	}