diff options
Diffstat (limited to 'fixincludes/fixincl.x')
-rw-r--r-- | fixincludes/fixincl.x | 56 |
1 files changed, 51 insertions, 5 deletions
diff --git a/fixincludes/fixincl.x b/fixincludes/fixincl.x index 6a010d6b706..ece2b87ce5b 100644 --- a/fixincludes/fixincl.x +++ b/fixincludes/fixincl.x @@ -2,11 +2,11 @@ * * DO NOT EDIT THIS FILE (fixincl.x) * - * It has been AutoGen-ed January 12, 2017 at 11:46:34 AM by AutoGen 5.16.2 + * It has been AutoGen-ed Saturday February 11, 2017 at 04:09:01 PM EST * From the definitions inclhack.def * and the template file fixincl */ -/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Jan 12 11:46:34 2017 +/* DO NOT SVN-MERGE THIS FILE, EITHER Sat 11 Feb 2017 16:09:01 EST * * You must regenerate it. Use the ./genfixes script. * @@ -15,7 +15,7 @@ * certain ANSI-incompatible system header files which are fixed to work * correctly with ANSI C and placed in a directory that GNU C will search. * - * This file contains 246 fixup descriptions. + * This file contains 247 fixup descriptions. * * See README for more information. * @@ -4342,6 +4342,46 @@ static const char* apzHpux10_Stdio_DeclarationsPatch[] = { /* * * * * * * * * * * * * * * * * * * * * * * * * * * + * Description of Hppa_Hpux11_Alloca fix + */ +tSCC zHppa_Hpux11_AllocaName[] = + "hppa_hpux11_alloca"; + +/* + * File name selection pattern + */ +tSCC zHppa_Hpux11_AllocaList[] = + "alloca.h\0"; +/* + * Machine/OS name selection pattern + */ +tSCC* apzHppa_Hpux11_AllocaMachs[] = { + "hppa*-*-hpux11*", + (const char*)NULL }; + +/* + * content selection pattern - do fix if pattern found + */ +tSCC zHppa_Hpux11_AllocaSelect0[] = + "#ifndef _STDDEF_INCLUDED"; + +#define HPPA_HPUX11_ALLOCA_TEST_CT 1 +static tTestDesc aHppa_Hpux11_AllocaTests[] = { + { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, }; + +/* + * Fix Command Arguments for Hppa_Hpux11_Alloca + */ +static const char* apzHppa_Hpux11_AllocaPatch[] = { + "format", + "#ifndef _SYS_STDSYMS_INCLUDED\n\ +# include <sys/stdsyms.h>\n\ +#endif /* _SYS_STDSYMS_INCLUDED */\n\n\ +%0", + (char*)NULL }; + +/* * * * * * * * * * * * * * * * * * * * * * * * * * + * * Description of Hpux11_Abs fix */ tSCC zHpux11_AbsName[] = @@ -10062,9 +10102,9 @@ static const char* apzX11_SprintfPatch[] = { * * List of all fixes */ -#define REGEX_COUNT 283 +#define REGEX_COUNT 284 #define MACH_LIST_SIZE_LIMIT 187 -#define FIX_COUNT 246 +#define FIX_COUNT 247 /* * Enumerate the fixes @@ -10170,6 +10210,7 @@ typedef enum { HPUX10_CTYPE_DECLARATIONS1_FIXIDX, HPUX10_CTYPE_DECLARATIONS2_FIXIDX, HPUX10_STDIO_DECLARATIONS_FIXIDX, + HPPA_HPUX11_ALLOCA_FIXIDX, HPUX11_ABS_FIXIDX, HPUX11_LWP_RWLOCK_VALID_FIXIDX, HPUX11_EXTERN_SENDFILE_FIXIDX, @@ -10819,6 +10860,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = { HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 }, + { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList, + apzHppa_Hpux11_AllocaMachs, + HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, + aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 }, + { zHpux11_AbsName, zHpux11_AbsList, apzHpux11_AbsMachs, HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, |