Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/stdlib



Module Name:    src
Committed By:   tron
Date:           Sat Oct  2 16:56:03 UTC 2010

Modified Files:
        src/lib/libc/stdlib: putenv.c setenv.c

Log Message:
Restore binary compatibility with application which use putenv(3) on
contant strings (e.g. postdrop(1)):
- Don't write to the environment string passed to putenv(3).
- Don't overwrite the value of an existing in setenv(3) unless the memory
  was actually allocated by setenv(3).


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/stdlib/putenv.c
cvs rdiff -u -r1.39 -r1.40 src/lib/libc/stdlib/setenv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index