On Wed, Apr 05, 2000 at 07:06:15PM -0700, Rasmus Lerdorf wrote:
>...
> Yes, but isn't it counter-intuitive to not have unsetenv do this? It
> should at the very least be documented that unsetenv doesn't actually
> unset an env variable.
IIRC, unsetenv() is not available on all platforms. You cannot portably
remove values from the environment.
I'd say: +1 on deprecating the (Un)SetEnv names in favor of some new names
for passing name/value pairs to subprocesses.
Cheers,
-g
--
Greg Stein, http://www.lyra.org/