[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: env -u behavior
From: |
Mike Frysinger |
Subject: |
Re: env -u behavior |
Date: |
Mon, 26 Oct 2009 16:53:04 -0400 |
User-agent: |
KMail/1.12.2 (Linux/2.6.31.4; KDE/4.3.2; x86_64; ; ) |
On Monday 26 October 2009 09:12:16 Eric Blake wrote:
> According to Mike Frysinger on 10/24/2009 11:38 PM:
> >> But right now we call putenv("a=b"), which puts "a=b" into the
> >> environment instead of unsetting "a".
> >
> > which is not fine
>
> Glad you agree. How about this patch?
i think the NEWS is a little misleading (it implies that `env` throws the
error rather than unsetenv()), but i guess for all practical purposes, the end
user experience is the same.
otherwise your changes look pretty straightforward to me
-mike
signature.asc
Description: This is a digitally signed message part.