cpp token_buffer not being NULL terminated causes fixproto bugs

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Sun Apr 30 20:57:00 GMT 2000

 > From: Zack Weinberg <zack@wolery.cumb.org>
 > SunOS 4 doesn't define STDC_0_IN_SYSTEM_HEADERS.  Maybe it should.
 > (Only Solaris 2.x uses that define at the moment, but several other
 > platforms could benefit - see my other message last Friday.)
 > Anyway, I took out that change and the other changes for glibc's
 > getopt.h.  Here's the patch I did commit:

On reflection, it seems to me that we *want* fixproto to work on the
STDC==0 clauses of system headers, on the presumption that the STDC==1
clauses are already prototyped.  I think this was the original purpose
of the define, so I'm glad you left it in.

Thanks for working on this.

Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

More information about the Gcc-patches mailing list