about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-30 08:53:51 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-30 08:53:51 +0000
commit42fea164a2f975da1b1bb687bf1a50506b59a668 (patch)
treeed8a5adbdd37947455286a700c85b5a65703fad0
parent31879cd8d2dba0a651a891389e93b3c2eb1b33e6 (diff)
downloadglibc-42fea164a2f975da1b1bb687bf1a50506b59a668.tar.gz
glibc-42fea164a2f975da1b1bb687bf1a50506b59a668.tar.xz
glibc-42fea164a2f975da1b1bb687bf1a50506b59a668.zip
Update.
2000-10-30  Ulrich Drepper  <drepper@redhat.com>

	* locale/findlocale.c (_nl_find_locale): Don't store normalized
	name in *NAME.
-rw-r--r--ChangeLog5
-rw-r--r--locale/findlocale.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 677d99e5cd..8716a40187 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-30  Ulrich Drepper  <drepper@redhat.com>
+
+	* locale/findlocale.c (_nl_find_locale): Don't store normalized
+	name in *NAME.
+
 2000-10-29  Ben Collins  <bcollins@debian.org>
 
 	* sysdeps/generic/lockf64.c: In the case of F_TEST, set l_type to
diff --git a/locale/findlocale.c b/locale/findlocale.c
index 5f600b6040..b1f940231f 100644
--- a/locale/findlocale.c
+++ b/locale/findlocale.c
@@ -178,7 +178,6 @@ _nl_find_locale (const char *locale_path, size_t locale_path_len,
       ((struct locale_data *) locale_file->data)->name = __strndup (cp,
 								    endp - cp);
     }
-  *name = (char *) ((struct locale_data *) locale_file->data)->name;
 
   /* Determine whether the user wants transliteration or not.  */
   if ((modifier != NULL && __strcasecmp (modifier, "TRANSLIT") == 0)