Source-Changes archive

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

CVS commit: [netbsd-6] src



Module Name:    src
Committed By:   riz
Date:           Mon May  7 16:47:23 UTC 2012

Modified Files:
        src/include [netbsd-6]: stdlib.h
        src/lib/libc/compat/include [netbsd-6]: stdlib.h
        src/lib/libc/compat/stdlib [netbsd-6]: Makefile.inc
Added Files:
        src/lib/libc/compat/stdlib [netbsd-6]: compat_putenv.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #222):
        include/stdlib.h: revision 1.98
        lib/libc/compat/stdlib/Makefile.inc: revision 1.3
        lib/libc/compat/include/stdlib.h: revision 1.5
        lib/libc/compat/stdlib/compat_putenv.c: revision 1.1
        lib/libc/compat/stdlib/compat_putenv.c: revision 1.2
PR/46360: YAMAMOTO Takashi: Restore NetBSD-5 compatibility with putenv()
copying the passed string (which is not ToG compliant), instead of using
it directly in the environment arrat as it should. Needs to be pulled up
to NetBSd-6.
use setenv so that we don't leak memory.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.97.6.1 src/include/stdlib.h
cvs rdiff -u -r1.4 -r1.4.10.1 src/lib/libc/compat/include/stdlib.h
cvs rdiff -u -r1.2 -r1.2.46.1 src/lib/libc/compat/stdlib/Makefile.inc
cvs rdiff -u -r0 -r1.2.2.2 src/lib/libc/compat/stdlib/compat_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