Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Sun, 21 Jul 1996 11:09:45 +0000 (11:09 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 21 Jul 1996 11:09:45 +0000 (11:09 +0000)
commit9e0f40723e678100cc556776919a4cbf69770bc9
tree33729e4b27d416add2fcf4177a34cf09b7913388
parentc199a24feb079bf0f81f8cedcfe55e99c47ac415
Sun Jul 21 06:48:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/setenv.c (__environ): Change conditional for #define
from [!HAVE_GNU_LD] to [!_LIBC].
[_LIBC]: Include <libc-lock.h> and define a lock.
(LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
(setenv, unsetenv): Use them.
sysdeps/generic/setenv.c