mirror of git://sourceware.org/git/glibc.git
Update.
* catgets/catgets.c: Correctly handle NLSPATH from environment [PR libc/980].
This commit is contained in:
parent
d629bceca4
commit
ed3b44d39c
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue