Commit ID: 100568BF70414C190EB
CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/01/05 17:07:35 UTC
Modified files:
lib/libc/stdlib: getenv.c setenv.c
Log message:
make getenv(3) return the last, not the first, match;
make setenv(3) and putenv(3) change the last occurrence;
keep unsetenv(3) removing all occurrences;
mark setenv(3) to remove duplicates as TODO (code’s ugly anyway)
To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.1.1.3 -r1.2 src/lib/libc/stdlib/getenv.c
cvs -R rdiff -kk -upr1.6 -r1.7 src/lib/libc/stdlib/setenv.c