Current-Users archive

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

Re: Some more setenv(3) update



On Wed, Oct 13, 2010 at 05:16:30PM +0200, Nicolas Joly wrote:
> On Wed, Oct 13, 2010 at 04:02:48PM +0100, Matthias Scheler wrote:
> > On Wed, Oct 13, 2010 at 03:49:41PM +0200, Nicolas Joly wrote:
> > > I plan to commit all of this in a few days unless someone objects.
> > 
> > Can you please publish a final diff?
> 
> Sure, attached.

Looks good. Ship it! :-)

> > > And then have a look to putenv which require some care too.
> > 
> > What's wrong with "putenv"? Lack of argument checking?
> 
> Exactly. Just try with NULL string, or something like "=foobar", and
> it doesn't set errno upon failure.

I see. Thanks for taking care of that.

It looks like NetBSD 6.0 might habe a sensible set of function for
changing the environment after all. :-)

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index