aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--locale/findlocale.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 677d99e..8716a40 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 5f600b6..b1f9402 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)