[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {un,}setenv fixes
From: |
Eric Blake |
Subject: |
Re: {un,}setenv fixes |
Date: |
Mon, 16 Nov 2009 21:34:34 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAksCJ9oACgkQ84KuGfSFAYAJuACg1Tjey1bVlwcj+bfuFT3hsuGv
yH4AoKkZv8w+Vfm8HdGQQFq0pZ68QoA1
=Tj66
-----END PGP SIGNATURE-----