This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cpp token_buffer not being NULL terminated causes fixproto bugs


 > 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
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]