[patch] Error on setenv(..., NULL, ...)

Paul Eggert eggert@cs.ucla.edu
Mon Mar 16 00:43:00 GMT 2015


Paul Pluzhnikov wrote:
> So it looks to me like the 2ecccaede9097f867284d352a881d8f226ba4fb7 is
> quite broken, and should be reverted.

I reverted it.  Sorry about that; it had a horrible typo (!= vs ==).  Does the 
attached (untested) patch work for you instead?  It fixes the typo, and also 
pacifies GCC so that GCC does not issue the bogus warning.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-stdlib-setenv.c-__add_to_environ.patch
Type: text/x-patch
Size: 2229 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150316/ed65cf27/attachment.bin>


More information about the Libc-alpha mailing list