cvs commit: src/bin/sh var.c

Andrey Chernov ache at
Mon Apr 30 14:48:08 UTC 2007

On Mon, Apr 30, 2007 at 08:26:45AM -0600, M. Warner Losh wrote:
> Andrey,
> Can you bump the __FreeBSD_version in sys/param.h for these changes
> and document it in the FreeBSD committer's handbook?

Yes, of course, but a bit later. Currently changes are in progress, 
preparing to putenv() rewriting.

Unlike portable soft like gcc, cvs, etc. FreeBSD have a bad habbit 
considering putenv() arg as safe to pass and forget (because 
putenv() was incorrecly implemented via setenv(), which copy the arg), 
there still a lot of places to fix, almost every putenv() usage in FreeBSD 
is unportable... :(


More information about the cvs-src mailing list