Make regtest work back again.
1 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4 real unsetenv implementation from 1999-07-29 [PR libc/1714].
6 --- glibc-2.1.3/sysdeps/generic/dl-environ.c.jj Thu Jul 23 16:56:52 1998
7 +++ glibc-2.1.3/sysdeps/generic/dl-environ.c Tue May 9 13:48:11 2000
9 -/*Environment handling for dynamic loader.
10 - Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
11 +/* Environment handling for dynamic loader.
12 + Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
13 This file is part of the GNU C Library.
15 The GNU C Library is free software; you can redistribute it and/or
16 @@ -55,7 +55,8 @@ unsetenv (const char *name)
17 const size_t len = strlen (name);
20 - for (ep = _environ; *ep != NULL; ++ep)
23 if (!strncmp (*ep, name, len) && (*ep)[len] == '=')
25 /* Found it. Remove this pointer by moving later ones back. */
26 @@ -66,4 +67,6 @@ unsetenv (const char *name)
28 /* Continue the loop in case NAME appears again. */