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

Paul Pluzhnikov ppluzhnikov@google.com
Mon Mar 16 04:33:00 GMT 2015


On Sun, Mar 15, 2015 at 9:11 PM, Paul Eggert <eggert@cs.ucla.edu> wrote:

> When I tried to use those macros, I still got the warning and the build
> still failed.
...
> I was using GCC 4.9.2 20150212 (Red Hat 4.9.2-6), for what that's worth.

I see. I reproduced that "bad behavior" using GCC trunk @r221169, but
it works as I expected using GCC 4.8.2-19ubuntu1. That seems like a
GCC mis-feature.


-- 
Paul Pluzhnikov



More information about the Libc-alpha mailing list