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:   enami
Date:           Tue Oct  5 02:23:39 UTC 2010

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

Log Message:
Avoid unnecessary malloc().  Since __findenv() kindly treats
equal sign as an end of string, we can pass the string of
form "key=value" to lookup "key".

To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/stdlib/putenv.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