svn commit: r200191 - head/lib/libc/stdlib

Sean C. Farley scf at FreeBSD.org
Sun Dec 6 23:55:50 UTC 2009


On Sun, 6 Dec 2009, Sean Farley wrote:

> Author: scf
> Date: Sun Dec  6 23:27:24 2009
> New Revision: 200191
> URL: http://svn.freebsd.org/changeset/base/200191
>
> Log:
>  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.

I will reintroduce the regression test that Brian (green@) wrote with a 
tweak or two shortly.

Sean
-- 
scf at FreeBSD.org


More information about the svn-src-all mailing list