[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Environment handling broken in /bin/sh with changes to {get,set,put}env()



On Sat, Jul 07, 2007 at 01:51:11PM -0500, Sean C. Farley wrote:
> I agree that it would be faster for a subset of an existing environ.  On
> the other hand, in the case of emptying the environment, my method would
> be faster since no deallocation, allocation nor setenv() calls would be
> called assuming putenv() was not used.  I could try a few tests to see
> what is faster in which case, but I do not think environ changes happen
> often enough to make speed a factor.

Well, lets go with that.

-- 
http://ache.pp.ru/
_______________________________________________
freebsd-current_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org