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

From: Andrey Chernov <ache_at_nagual.pp.ru>
Date: Sat, 7 Jul 2007 23:18:35 +0400
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/
Received on Sat Jul 07 2007 - 17:18:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC