Date: Sun, 6 Dec 2009 23:27:24 +0000 (UTC) From: Sean Farley <scf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/stdlib getenv.c Message-ID: <200912062327.nB6NRa3Y094348@repoman.freebsd.org>
index | next in thread | raw e-mail
scf 2009-12-06 23:27:24 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib getenv.c
Log:
SVN rev 200191 on 2009-12-06 23:27:24Z by scf
Change the behavior of setenv(), putenv() and unsetenv() to continue parsing
instead of returning an error if a corrupt (not a "name=value" string) entry
in the environ array is detected when (re)-building the internal
environment. This should prevent applications or libraries from
experiencing issues arising from the expectation that these calls will
complete even with corrupt entries. The behavior is now as it was prior to
7.0.
Reviewed by: jilles
MFC after: 1 week
Revision Changes Path
1.19 +3 -6 src/lib/libc/stdlib/getenv.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912062327.nB6NRa3Y094348>
