[patch] Error on setenv(..., NULL, ...)
Paul Eggert
eggert@cs.ucla.edu
Fri Mar 13 17:17:00 GMT 2015
Roland McGrath wrote:
> I'm a bit surprised the compiler actually figures out
> that VALLEN cannot be used uninitialized and doesn't emit the warning.
> But great if so.
Yes, GCC got smarter about that sort of thing quite some time ago -- I don't
remember exactly when. If this causes a problem with older GCCs I suppose
someone will let us know. In the meantime I installed the patch.
More information about the Libc-alpha
mailing list