This is the mail archive of the
glibc-cvs@sourceware.cygnus.com
mailing list for the glibc project.
libc/sysdeps/generic setenv.c
- To: glibc-cvs@sourceware.cygnus.com
- Subject: libc/sysdeps/generic setenv.c
- From: drepper@sourceware.cygnus.com
- Date: 29 Jul 1999 20:39:50 -0000
CVSROOT: /glibc/cvsfiles
Module name: libc
Changes by: drepper@egcs.cygnus.com 99/07/29 13:39:50
Modified files:
sysdeps/generic: setenv.c
Log message:
Move setenv code in new function __add_to_environ. Add new parameter
specifying already constructed string for the environment.
(setenv): Call __add_to_environ with new parameter set to NULL.
(unsetenv): Really test all elements for duplicated name. Missed those
cases where the two are following each other.