From ed3b44d39c69748d586f66179c19dbc2f2d7c808 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 18 Feb 1999 09:15:19 +0000 Subject: Update. * catgets/catgets.c: Correctly handle NLSPATH from environment [PR libc/980]. --- catgets/catgets.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'catgets') 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, . + Contributed by Ulrich Drepper, . 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); -- cgit v1.2.3