about summary refs log tree commit diff
path: root/locale/findlocale.c
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 /locale/findlocale.c
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.
Diffstat (limited to 'locale/findlocale.c')
-rw-r--r--locale/findlocale.c1
1 files changed, 0 insertions, 1 deletions
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)