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:   christos
Date:           Fri Oct 31 17:46:04 UTC 2008

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

Log Message:
make __findenv return the offset for the new entry to be inserted when
the string is not found, to avoid an additional scan of the environ array
in setenv.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/lib/libc/stdlib/getenv.c
cvs rdiff -r1.29 -r1.30 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