Commit c297b764 by Mark Mitchell Committed by Mark Mitchell

inclhack.def (winidss_valist): Limit applicability.

	* fixinc/inclhack.def (winidss_valist): Limit applicability.
	* fixinc/fixincl.x: Regenerated.
	* fixinc/tests/base/math.h: Update.
	* fixinc/tests/base/testing.h: Likewise.

From-SVN: r53441
parent 0b42c8f8
2002-05-13 Mark Mitchell <mark@codesourcery.com>
* fixinc/inclhack.def (winidss_valist): Limit applicability.
* fixinc/fixincl.x: Regenerated.
* fixinc/tests/base/math.h: Update.
* fixinc/tests/base/testing.h: Likewise.
2002-05-13 Zack Weinberg <zack@codesourcery.com> 2002-05-13 Zack Weinberg <zack@codesourcery.com>
* genattr.c (gen_attr): Don't emit a comma after the last * genattr.c (gen_attr): Don't emit a comma after the last
......
...@@ -5484,8 +5484,16 @@ tSCC zWindiss_ValistName[] = ...@@ -5484,8 +5484,16 @@ tSCC zWindiss_ValistName[] =
tSCC* apzWindiss_ValistMachs[] = { tSCC* apzWindiss_ValistMachs[] = {
"*-*-windiss", "*-*-windiss",
(const char*)NULL }; (const char*)NULL };
#define WINDISS_VALIST_TEST_CT 0
#define aWindiss_ValistTests (tTestDesc*)NULL /*
* content selection pattern - do fix if pattern found
*/
tSCC zWindiss_ValistSelect0[] =
"(#include.*)diab/va_list.h";
#define WINDISS_VALIST_TEST_CT 1
static tTestDesc aWindiss_ValistTests[] = {
{ TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
/* /*
* Fix Command Arguments for Windiss_Valist * Fix Command Arguments for Windiss_Valist
...@@ -5664,7 +5672,7 @@ static const char* apzX11_SprintfPatch[] = { ...@@ -5664,7 +5672,7 @@ static const char* apzX11_SprintfPatch[] = {
* *
* List of all fixes * List of all fixes
*/ */
#define REGEX_COUNT 151 #define REGEX_COUNT 152
#define MACH_LIST_SIZE_LIMIT 279 #define MACH_LIST_SIZE_LIMIT 279
#define FIX_COUNT 145 #define FIX_COUNT 145
......
...@@ -3337,6 +3337,7 @@ fix = { ...@@ -3337,6 +3337,7 @@ fix = {
* WindISS headers include "diab/va_list.h" instead of "stdarg.h" * WindISS headers include "diab/va_list.h" instead of "stdarg.h"
*/ */
fix = { fix = {
select = '(#include.*)diab/va_list.h';
hackname = windiss_valist; hackname = windiss_valist;
sed = "s|diab/va_list.h|stdarg.h|"; sed = "s|diab/va_list.h|stdarg.h|";
mach = "*-*-windiss"; mach = "*-*-windiss";
......
...@@ -130,6 +130,16 @@ extern int matherr(); ...@@ -130,6 +130,16 @@ extern int matherr();
extern double atof(const char *__nptr); extern double atof(const char *__nptr);
#endif /* ULTRIX_ATOF_PARAM_CHECK */ #endif /* ULTRIX_ATOF_PARAM_CHECK */
#if defined( WINDISS_MATH1_CHECK )
#ifndef __GNUC__
#endif /* WINDISS_MATH1_CHECK */
#if defined( WINDISS_MATH2_CHECK )
#endif /* __GNUC__ */
#endif /* WINDISS_MATH2_CHECK */
#ifdef __cplusplus #ifdef __cplusplus
#undef exception #undef exception
#endif #endif
......
...@@ -121,3 +121,8 @@ extern size_t ...@@ -121,3 +121,8 @@ extern size_t
#endif #endif
#endif /* UNDEFINE_NULL_CHECK */ #endif /* UNDEFINE_NULL_CHECK */
#if defined( WINDISS_VALIST_CHECK )
#include <stdarg.h>
#endif /* WINDISS_VALIST_CHECK */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment