aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-18 09:15:19 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-18 09:15:19 +0000
commited3b44d39c69748d586f66179c19dbc2f2d7c808 (patch)
treeb45164cb17874312d861a056dc27d4d9051451d5
parentd629bceca41fa194caed3ee53b9db063d13f5de4 (diff)
downloadglibc-ed3b44d39c69748d586f66179c19dbc2f2d7c808.tar
glibc-ed3b44d39c69748d586f66179c19dbc2f2d7c808.tar.gz
glibc-ed3b44d39c69748d586f66179c19dbc2f2d7c808.tar.bz2
glibc-ed3b44d39c69748d586f66179c19dbc2f2d7c808.zip
Update.
* catgets/catgets.c: Correctly handle NLSPATH from environment [PR libc/980].
-rw-r--r--ChangeLog3
-rw-r--r--catgets/catgets.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 41429478e9..4c9420cdc5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1999-02-18 Ulrich Drepper <drepper@cygnus.com>
+ * catgets/catgets.c: Correctly handle NLSPATH from environment
+ [PR libc/980].
+
* io/Makefile (routines): Add lock64.
* io/Versions: Add lockf64 for GLIBC_2.1.1.
* sysdeps/generic/lockf64.c: New file.
diff --git a/catgets/catgets.c b/catgets/catgets.c
index b5de2fbb50..55de30ee46 100644
--- a/catgets/catgets.c
+++ b/catgets/catgets.c
@@ -1,6 +1,6 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>.
+ Contributed by Ulrich Drepper, <drepper@gnu.org>.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
@@ -96,7 +96,7 @@ catopen (const char *cat_name, int flag)
else
nlspath = NLSPATH;
- result->nlspath = __strdup (NLSPATH);
+ result->nlspath = __strdup (nlspath);
if (result->nlspath == NULL)
{
free ((void *) result->cat_name);