inclhack.def (stdio_va_list): Removed _ap fix.

* fixinc/inclhack.def (stdio_va_list): Removed _ap fix.
	(irix_stdio_va_list): Don't require leading printf, IRIX 6.5.21
	introduced some multi-line prototypes.
	* fixinc/fixincl.x: Regenerate.

From-SVN: r72165
This commit is contained in:
Rainer Orth 2003-10-06 20:49:24 +00:00 committed by Rainer Orth
parent e4f7d0a18f
commit 9a557707dd
3 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2003-10-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* fixinc/inclhack.def (stdio_va_list): Removed _ap fix.
(irix_stdio_va_list): Don't require leading printf, IRIX 6.5.21
introduced some multi-line prototypes.
* fixinc/fixincl.x: Regenerate.
2003-10-06 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.h (PREDICATE_CODES): Add stack_operand.

View File

@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed Monday September 1, 2003 at 01:54:41 PM MEST
* It has been AutoGen-ed Monday October 6, 2003 at 09:28:53 PM MEST
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT CVS-MERGE THIS FILE, EITHER Mon Sep 1 13:54:42 MEST 2003
/* DO NOT CVS-MERGE THIS FILE, EITHER Mon Oct 6 21:28:53 MEST 2003
*
* You must regenerate it. Use the ./genfixes script.
*
@ -2610,7 +2610,7 @@ tSCC zIrix_Stdio_Va_ListList[] =
* content selection pattern - do fix if pattern found
*/
tSCC zIrix_Stdio_Va_ListSelect0[] =
"(printf\\(.*), /\\* va_list \\*/ char \\*";
"/\\* va_list \\*/ char \\*";
#define IRIX_STDIO_VA_LIST_TEST_CT 1
static tTestDesc aIrix_Stdio_Va_ListTests[] = {
@ -2621,7 +2621,7 @@ static tTestDesc aIrix_Stdio_Va_ListTests[] = {
*/
static const char* apzIrix_Stdio_Va_ListPatch[] = {
"format",
"%1, __gnuc_va_list",
"__gnuc_va_list",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
@ -4276,7 +4276,6 @@ static tTestDesc aStdio_Va_ListTests[] = {
static const char* apzStdio_Va_ListPatch[] = { "sed",
"-e", "s@ va_list @ __gnuc_va_list @\n\
s@ va_list)@ __gnuc_va_list)@\n\
s@va_list _ap;@__gnuc_va_list _ap;@\n\
s@(va_list)&@(__gnuc_va_list)\\&@\n\
s@ _VA_LIST_));@ __gnuc_va_list));@\n\
s@ __VA_LIST__));@ __gnuc_va_list));@\n\

View File

@ -1480,9 +1480,9 @@ fix = {
files = stdio.h;
files = internal/stdio_core.h;
select = '(printf\(.*), /\* va_list \*/ char \*';
select = '/\* va_list \*/ char \*';
c_fix = format;
c_fix_arg = "%1, __gnuc_va_list";
c_fix_arg = "__gnuc_va_list";
test_text =
"extern int printf( const char *, /* va_list */ char * );";
};
@ -2406,7 +2406,6 @@ fix = {
*/
sed = "s@ va_list @ __gnuc_va_list @\n"
"s@ va_list)@ __gnuc_va_list)@\n"
"s@va_list _ap;@__gnuc_va_list _ap;@\n"
"s@(va_list)&@(__gnuc_va_list)\\&@\n"
"s@ _VA_LIST_));@ __gnuc_va_list));@\n"
"s@ __VA_LIST__));@ __gnuc_va_list));@\n"