[committed] fixincludes: less va_list rewriting

Mike Stump mrs@apple.com
Fri Oct 29 22:13:00 GMT 2004


On Friday, October 29, 2004, at 11:24  AM, Zack Weinberg wrote:
> At Thu, 28 Oct 2004 19:48:22 -0700,
> Mike Stump wrote:
>>
>> We can avoid rewriting va_list, if the file included <stdarg.h> or if
>> there is some other form of protection.
>
> This is wrong, or at least, too simplistic.

I've backed out the change.

Let's start again...

Below is a change to fixincludes that splits out the clients from the 
stdio.h change, and only on the clients, includes two bypasses that 
occur on darwin.

Tested on darwin.  Would be good if someone can test on HP-UX 11.11 or 
the system that motivated:

2004-08-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

         * fixinc/inclhack.def (stdio_va_list): Also fix com_err.h, 
cps.h,
         curses.h, krb5.h, lc_core.h, pfmt.h, wchar.h and 
curses_colr/curses.h.

Ok?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixinc-1a.diffs.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041029/08a66e8c/attachment.txt>


More information about the Gcc-patches mailing list