Date: Sat, 15 Sep 2007 21:48:55 +0000 (UTC) From: Sean Farley <scf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib getenv.c Message-ID: <200709152148.l8FLmtCn016387@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
scf 2007-09-15 21:48:55 UTC FreeBSD src repository Modified files: lib/libc/stdlib getenv.c Log: Skip rebuilding environ in setenv() only upon reuse of an active variable; inactive variables should cause a rebuild of environ, otherwise, exec()'d processes will be missing a variable in environ that has been unset then set. Submitted by: Taku Yamamoto <taku@tackymt.homeip.net> Reviewed by: ache Approved by: wes (mentor) Approved by: re (kensmith) Revision Changes Path 1.11 +2 -2 src/lib/libc/stdlib/getenv.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709152148.l8FLmtCn016387>