mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
de4a40d07f
* 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. |
||
---|---|---|
.. | ||
alpha | ||
am29k | ||
arm | ||
generic | ||
gnu | ||
hppa | ||
i370 | ||
i386 | ||
i860 | ||
i960 | ||
ieee754 | ||
m68k | ||
m88k | ||
mach | ||
mips | ||
mvs | ||
posix | ||
powerpc | ||
rs6000 | ||
sparc | ||
standalone | ||
tahoe | ||
unix | ||
vax | ||
wordsize-32 | ||
wordsize-64 | ||
z8000 |