diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-07-29 20:40:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-07-29 20:40:05 +0000 |
commit | de4a40d07fd7bed8f57a49a22bf8c110751e80d6 (patch) | |
tree | db8e58d4adfecf1940355709e6a8f115ebbb411d /ChangeLog | |
parent | a827898574892dce3e83ed4b08a51927c16445a5 (diff) | |
download | glibc-de4a40d07fd7bed8f57a49a22bf8c110751e80d6.zip glibc-de4a40d07fd7bed8f57a49a22bf8c110751e80d6.tar.gz glibc-de4a40d07fd7bed8f57a49a22bf8c110751e80d6.tar.bz2 |
Update.
* sysdeps/generic/setenv.c: 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.
* sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
* include/stdlib.h: Add prototype of __add_to_environ.
* stdlib/tst-environ.c: New file.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ 1999-07-29 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/generic/setenv.c: 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. + * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv. + * include/stdlib.h: Add prototype of __add_to_environ. + * stdlib/tst-environ.c: New file. + * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch. * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size |