bug-gnulib
[Top][All Lists]
Advanced

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

Re: {un,}setenv fixes


From: Jim Meyering
Subject: Re: {un,}setenv fixes
Date: Tue, 17 Nov 2009 07:59:03 +0100

Eric Blake wrote:
> According to Eric Blake on 11/16/2009 11:01 AM:
>> Coreutils got recent reports of a FreeBSD failure on 'env -u a=b', which 
>> should
>> fail because unsetenv should reject invalid environment variable names (kind 
>> of
>> obvious, though, when you realize BSD unsetenv returns void instead of int,
>> contrary to the POSIX signature).  I think this should fix it, although so 
>> far
>> I have only tested it on mingw and Solaris 8 (both functions are missing),
>> cygwin 1.5 (where setenv was broken, but unsetenv worked) and cygwin 1.7 and
>> Solaris 10 (where both functions obey POSIX, at least after today's patch to
>> cygwin).  I'll test on a few more platforms, then push.
>
> Now pushed.

Thanks!  I'll probably make one more coreutils snapshot,
to include this, in case one more day helps...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]