The NetBSD Project

CVS log for src/lib/libc/compat/stdlib/compat_putenv.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / compat / stdlib

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 22 15:55:41 2012 UTC (12 months, 4 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, agc-symver-base, agc-symver, HEAD
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.1: +20 -6 lines
Diff to previous 1.1 (colored)

use setenv so that we don't leak memory.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 20 17:31:30 2012 UTC (12 months, 4 weeks ago) by christos
Branch: MAIN

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>