X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=fixincludes%2Ffixincl.x;h=3aeba916e0ce806824de26b68018fc39ef9b53b7;hb=1f3c1218bfd3a70e45c7ccd6803e07495e8bdbe4;hp=e5994a269d65da60f88a1c2b57d6e1d8bc7db1b2;hpb=1cb3e86dd7e2322e27ac8c4b08985df1273d9d76;p=pf3gnuchains%2Fgcc-fork.git diff --git a/fixincludes/fixincl.x b/fixincludes/fixincl.x index e5994a269d6..3aeba916e0c 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 Tuesday October 31, 2006 at 08:47:53 AM PST + * It has been AutoGen-ed Tuesday June 5, 2007 at 02:48:40 PM PDT * From the definitions inclhack.def * and the template file fixincl */ -/* DO NOT CVS-MERGE THIS FILE, EITHER Tue Oct 31 08:47:53 PST 2006 +/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Jun 5 14:48:40 PDT 2007 * * 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 203 fixup descriptions. + * This file contains 209 fixup descriptions. * * See README for more information. * @@ -52,7 +52,7 @@ tSCC zAab_Darwin7_9_Long_Double_FuncsName[] = * File name selection pattern */ tSCC zAab_Darwin7_9_Long_Double_FuncsList[] = - "|architecture/ppc/math.h|"; + "architecture/ppc/math.h\0"; /* * Machine/OS name selection pattern */ @@ -166,7 +166,7 @@ tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] = * File name selection pattern */ tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -204,7 +204,7 @@ tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] = * File name selection pattern */ tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] = - "|asm/posix_types.h|"; + "asm/posix_types.h\0"; /* * Machine/OS name selection pattern */ @@ -260,7 +260,7 @@ tSCC zAab_Fd_Zero_Gnu_Types_HName[] = * File name selection pattern */ tSCC zAab_Fd_Zero_Gnu_Types_HList[] = - "|gnu/types.h|"; + "gnu/types.h\0"; /* * Machine/OS name selection pattern */ @@ -304,7 +304,7 @@ tSCC zAab_Fd_Zero_Selectbits_HName[] = * File name selection pattern */ tSCC zAab_Fd_Zero_Selectbits_HList[] = - "|selectbits.h|"; + "selectbits.h\0"; /* * Machine/OS name selection pattern */ @@ -352,7 +352,7 @@ tSCC zAab_Solaris_Sys_Varargs_HName[] = * File name selection pattern */ tSCC zAab_Solaris_Sys_Varargs_HList[] = - "|sys/varargs.h|"; + "sys/varargs.h\0"; /* * Machine/OS name selection pattern */ @@ -384,7 +384,7 @@ tSCC zAab_Sun_MemcpyName[] = * File name selection pattern */ tSCC zAab_Sun_MemcpyList[] = - "|memory.h|"; + "memory.h\0"; /* * Machine/OS name selection pattern */ @@ -576,7 +576,7 @@ tSCC zAab_Ultrix_Ansi_CompatName[] = * File name selection pattern */ tSCC zAab_Ultrix_Ansi_CompatList[] = - "|ansi_compat.h|"; + "ansi_compat.h\0"; /* * Machine/OS name selection pattern */ @@ -610,7 +610,7 @@ tSCC zAab_Ultrix_LimitsName[] = * File name selection pattern */ tSCC zAab_Ultrix_LimitsList[] = - "|limits.h|"; + "limits.h\0"; /* * Machine/OS name selection pattern */ @@ -641,7 +641,7 @@ tSCC zAab_Ultrix_MemoryName[] = * File name selection pattern */ tSCC zAab_Ultrix_MemoryList[] = - "|memory.h|"; + "memory.h\0"; /* * Machine/OS name selection pattern */ @@ -672,7 +672,7 @@ tSCC zAab_Ultrix_StringName[] = * File name selection pattern */ tSCC zAab_Ultrix_StringList[] = - "|string.h|"; + "string.h\0"; /* * Machine/OS name selection pattern */ @@ -703,7 +703,7 @@ tSCC zAix_PthreadName[] = * File name selection pattern */ tSCC zAix_PthreadList[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -740,7 +740,7 @@ tSCC zAix_SysmachineName[] = * File name selection pattern */ tSCC zAix_SysmachineList[] = - "|sys/machine.h|"; + "sys/machine.h\0"; /* * Machine/OS name selection pattern */ @@ -775,7 +775,7 @@ tSCC zAix_SyswaitName[] = * File name selection pattern */ tSCC zAix_SyswaitList[] = - "|sys/wait.h|"; + "sys/wait.h\0"; /* * Machine/OS name selection pattern */ @@ -814,7 +814,7 @@ tSCC zAix_Syswait_2Name[] = * File name selection pattern */ tSCC zAix_Syswait_2List[] = - "|sys/wait.h|"; + "sys/wait.h\0"; /* * Machine/OS name selection pattern */ @@ -849,7 +849,7 @@ tSCC zAix_VolatileName[] = * File name selection pattern */ tSCC zAix_VolatileList[] = - "|sys/signal.h|"; + "sys/signal.h\0"; /* * Machine/OS name selection pattern */ @@ -884,7 +884,7 @@ tSCC zAlpha___AssertName[] = * File name selection pattern */ tSCC zAlpha___AssertList[] = - "|assert.h|"; + "assert.h\0"; /* * Machine/OS name selection pattern */ @@ -957,7 +957,7 @@ tSCC zAlpha___Extern_Prefix_StandardsName[] = * File name selection pattern */ tSCC zAlpha___Extern_Prefix_StandardsList[] = - "|standards.h|"; + "standards.h\0"; /* * Machine/OS name selection pattern */ @@ -994,7 +994,7 @@ tSCC zAlpha___Extern_Prefix_Sys_StatName[] = * File name selection pattern */ tSCC zAlpha___Extern_Prefix_Sys_StatList[] = - "|sys/stat.h|sys/mount.h|"; + "sys/stat.h\0sys/mount.h\0"; /* * Machine/OS name selection pattern */ @@ -1031,7 +1031,7 @@ tSCC zAlpha_AssertName[] = * File name selection pattern */ tSCC zAlpha_AssertList[] = - "|assert.h|"; + "assert.h\0"; /* * Machine/OS name selection pattern */ @@ -1101,7 +1101,7 @@ tSCC zAlpha_GetoptName[] = * File name selection pattern */ tSCC zAlpha_GetoptList[] = - "|stdio.h|stdlib.h|"; + "stdio.h\0stdlib.h\0"; /* * Machine/OS name selection pattern */ @@ -1136,7 +1136,7 @@ tSCC zAlpha_ParensName[] = * File name selection pattern */ tSCC zAlpha_ParensList[] = - "|sym.h|"; + "sym.h\0"; /* * Machine/OS name selection pattern */ @@ -1171,7 +1171,7 @@ tSCC zAlpha_PthreadName[] = * File name selection pattern */ tSCC zAlpha_PthreadList[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -1210,7 +1210,7 @@ tSCC zAlpha_Pthread_GccName[] = * File name selection pattern */ tSCC zAlpha_Pthread_GccList[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -1250,7 +1250,7 @@ tSCC zAlpha_Pthread_InitName[] = * File name selection pattern */ tSCC zAlpha_Pthread_InitList[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -1291,7 +1291,7 @@ tSCC zAlpha_SbrkName[] = * File name selection pattern */ tSCC zAlpha_SbrkList[] = - "|unistd.h|"; + "unistd.h\0"; /* * Machine/OS name selection pattern */ @@ -1326,7 +1326,7 @@ tSCC zAlpha_WcharName[] = * File name selection pattern */ tSCC zAlpha_WcharList[] = - "|wchar.h|"; + "wchar.h\0"; /* * Machine/OS name selection pattern */ @@ -1363,7 +1363,7 @@ tSCC zAvoid_Bool_DefineName[] = * File name selection pattern */ tSCC zAvoid_Bool_DefineList[] = - "|curses.h|curses_colr/curses.h|term.h|tinfo.h|"; + "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0"; /* * Machine/OS name selection pattern */ @@ -1408,7 +1408,7 @@ tSCC zAvoid_Bool_TypeName[] = * File name selection pattern */ tSCC zAvoid_Bool_TypeList[] = - "|curses.h|curses_colr/curses.h|term.h|tinfo.h|"; + "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0"; /* * Machine/OS name selection pattern */ @@ -1501,7 +1501,7 @@ tSCC zBad_Struct_TermName[] = * File name selection pattern */ tSCC zBad_Struct_TermList[] = - "|curses.h|"; + "curses.h\0"; /* * Machine/OS name selection pattern */ @@ -1536,7 +1536,7 @@ tSCC zBadquoteName[] = * File name selection pattern */ tSCC zBadquoteList[] = - "|sundev/vuid_event.h|"; + "sundev/vuid_event.h\0"; /* * Machine/OS name selection pattern */ @@ -1571,7 +1571,7 @@ tSCC zBroken_Assert_StdioName[] = * File name selection pattern */ tSCC zBroken_Assert_StdioList[] = - "|assert.h|"; + "assert.h\0"; /* * Machine/OS name selection pattern */ @@ -1613,7 +1613,7 @@ tSCC zBroken_Assert_StdlibName[] = * File name selection pattern */ tSCC zBroken_Assert_StdlibList[] = - "|assert.h|"; + "assert.h\0"; /* * Machine/OS name selection pattern */ @@ -1657,7 +1657,7 @@ tSCC zBroken_CabsName[] = * File name selection pattern */ tSCC zBroken_CabsList[] = - "|math.h|architecture/ppc/math.h|architecture/i386/math.h|"; + "math.h\0architecture/*/math.h\0"; /* * Machine/OS name selection pattern */ @@ -1676,10 +1676,9 @@ static tTestDesc aBroken_CabsTests[] = { /* * Fix Command Arguments for Broken_Cabs */ -static const char* apzBroken_CabsPatch[] = { - "format", - "", - "^extern[ \t]+double[ \t]+cabs[ \t]*\\([^\\)]*\\);", +static const char* apzBroken_CabsPatch[] = { "sed", + "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//", + "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//", (char*)NULL }; /* * * * * * * * * * * * * * * * * * * * * * * * * * @@ -1693,7 +1692,7 @@ tSCC zBroken_NanName[] = * File name selection pattern */ tSCC zBroken_NanList[] = - "|architecture/ppc/math.h|architecture/i386/math.h|"; + "architecture/ppc/math.h\0architecture/*/math.h\0"; /* * Machine/OS name selection pattern */ @@ -1735,7 +1734,7 @@ tSCC zBsd_Stdio_Attrs_ConflictName[] = * File name selection pattern */ tSCC zBsd_Stdio_Attrs_ConflictList[] = - "|stdio.h|"; + "stdio.h\0"; /* * Machine/OS name selection pattern */ @@ -1843,7 +1842,7 @@ tSCC zCxx_UnreadyName[] = * File name selection pattern */ tSCC zCxx_UnreadyList[] = - "|sys/mman.h|rpc/types.h|"; + "sys/mman.h\0rpc/types.h\0"; /* * Machine/OS name selection pattern */ @@ -1890,7 +1889,7 @@ tSCC zDarwin_Gcc4_BreakageName[] = * File name selection pattern */ tSCC zDarwin_Gcc4_BreakageList[] = - "|AvailabilityMacros.h|"; + "AvailabilityMacros.h\0"; /* * Machine/OS name selection pattern */ @@ -1927,7 +1926,7 @@ tSCC zDarwin_Private_ExternName[] = * File name selection pattern */ tSCC zDarwin_Private_ExternList[] = - "|mach-o/dyld.h|"; + "mach-o/dyld.h\0"; /* * Machine/OS name selection pattern */ @@ -1965,7 +1964,7 @@ tSCC zDec_Intern_AsmName[] = * File name selection pattern */ tSCC zDec_Intern_AsmList[] = - "|c_asm.h|"; + "c_asm.h\0"; /* * Machine/OS name selection pattern */ @@ -2037,7 +2036,7 @@ tSCC zEcd_CursorName[] = * File name selection pattern */ tSCC zEcd_CursorList[] = - "|sunwindow/win_lock.h|sunwindow/win_cursor.h|"; + "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0"; /* * Machine/OS name selection pattern */ @@ -2072,7 +2071,7 @@ tSCC zException_StructureName[] = * File name selection pattern */ tSCC zException_StructureList[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -2114,7 +2113,7 @@ tSCC zFreebsd_Gcc3_BreakageName[] = * File name selection pattern */ tSCC zFreebsd_Gcc3_BreakageList[] = - "|sys/cdefs.h|"; + "sys/cdefs.h\0"; /* * Machine/OS name selection pattern */ @@ -2158,7 +2157,7 @@ tSCC zFreebsd_Gcc4_BreakageName[] = * File name selection pattern */ tSCC zFreebsd_Gcc4_BreakageList[] = - "|sys/cdefs.h|"; + "sys/cdefs.h\0"; /* * Machine/OS name selection pattern */ @@ -2186,6 +2185,175 @@ static const char* apzFreebsd_Gcc4_BreakagePatch[] = { /* * * * * * * * * * * * * * * * * * * * * * * * * * * + * Description of Glibc_C99_Inline_1 fix + */ +tSCC zGlibc_C99_Inline_1Name[] = + "glibc_c99_inline_1"; + +/* + * File name selection pattern + */ +tSCC zGlibc_C99_Inline_1List[] = + "features.h\0*/features.h\0"; +/* + * Machine/OS name selection pattern + */ +#define apzGlibc_C99_Inline_1Machs (const char**)NULL + +/* + * content selection pattern - do fix if pattern found + */ +tSCC zGlibc_C99_Inline_1Select0[] = + "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$"; + +#define GLIBC_C99_INLINE_1_TEST_CT 1 +static tTestDesc aGlibc_C99_Inline_1Tests[] = { + { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, }; + +/* + * Fix Command Arguments for Glibc_C99_Inline_1 + */ +static const char* apzGlibc_C99_Inline_1Patch[] = { + "format", + "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)", + (char*)NULL }; + +/* * * * * * * * * * * * * * * * * * * * * * * * * * + * + * Description of Glibc_C99_Inline_2 fix + */ +tSCC zGlibc_C99_Inline_2Name[] = + "glibc_c99_inline_2"; + +/* + * File name selection pattern + */ +tSCC zGlibc_C99_Inline_2List[] = + "sys/stat.h\0*/sys/stat.h\0"; +/* + * Machine/OS name selection pattern + */ +#define apzGlibc_C99_Inline_2Machs (const char**)NULL + +/* + * content selection pattern - do fix if pattern found + */ +tSCC zGlibc_C99_Inline_2Select0[] = + "extern __inline__ int"; + +#define GLIBC_C99_INLINE_2_TEST_CT 1 +static tTestDesc aGlibc_C99_Inline_2Tests[] = { + { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, }; + +/* + * Fix Command Arguments for Glibc_C99_Inline_2 + */ +static const char* apzGlibc_C99_Inline_2Patch[] = { "sed", + "-e", "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\ +extern\\\n\ +#endif\\\n\ +__inline__ int \\1/", + "-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\ +extern\\\n\ +#endif\\\n\ +__inline__ int __REDIRECT\\1 (\\2/", + "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\ +extern\\\n\ +#endif\\\n\ +__inline__ int/", + (char*)NULL }; + +/* * * * * * * * * * * * * * * * * * * * * * * * * * + * + * Description of Glibc_C99_Inline_3 fix + */ +tSCC zGlibc_C99_Inline_3Name[] = + "glibc_c99_inline_3"; + +/* + * File name selection pattern + */ +tSCC zGlibc_C99_Inline_3List[] = + "bits/string2.h\0*/bits/string2.h\0"; +/* + * Machine/OS name selection pattern + */ +#define apzGlibc_C99_Inline_3Machs (const char**)NULL + +/* + * content selection pattern - do fix if pattern found + */ +tSCC zGlibc_C99_Inline_3Select0[] = + "extern __inline"; + +/* + * content bypass pattern - skip fix if pattern found + */ +tSCC zGlibc_C99_Inline_3Bypass0[] = + "__STDC_VERSION__"; + +#define GLIBC_C99_INLINE_3_TEST_CT 2 +static tTestDesc aGlibc_C99_Inline_3Tests[] = { + { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL }, + { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, }; + +/* + * Fix Command Arguments for Glibc_C99_Inline_3 + */ +static const char* apzGlibc_C99_Inline_3Patch[] = { + "format", + "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)", + "^# ifdef __cplusplus$", + (char*)NULL }; + +/* * * * * * * * * * * * * * * * * * * * * * * * * * + * + * Description of Glibc_C99_Inline_4 fix + */ +tSCC zGlibc_C99_Inline_4Name[] = + "glibc_c99_inline_4"; + +/* + * File name selection pattern + */ +tSCC zGlibc_C99_Inline_4List[] = + "sys/sysmacros.h\0*/sys/sysmacros.h\0"; +/* + * Machine/OS name selection pattern + */ +#define apzGlibc_C99_Inline_4Machs (const char**)NULL + +/* + * content selection pattern - do fix if pattern found + */ +tSCC zGlibc_C99_Inline_4Select0[] = + "extern __inline"; + +/* + * content bypass pattern - skip fix if pattern found + */ +tSCC zGlibc_C99_Inline_4Bypass0[] = + "__STDC_VERSION__"; + +#define GLIBC_C99_INLINE_4_TEST_CT 2 +static tTestDesc aGlibc_C99_Inline_4Tests[] = { + { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL }, + { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, }; + +/* + * Fix Command Arguments for Glibc_C99_Inline_4 + */ +static const char* apzGlibc_C99_Inline_4Patch[] = { + "format", + "\n\ +#ifdef __GNUC_GNU_INLINE__\n\ +extern\n\ +#endif\n", + "(^| )extern ", + (char*)NULL }; + +/* * * * * * * * * * * * * * * * * * * * * * * * * * + * * Description of Glibc_Mutex_Init fix */ tSCC zGlibc_Mutex_InitName[] = @@ -2195,7 +2363,7 @@ tSCC zGlibc_Mutex_InitName[] = * File name selection pattern */ tSCC zGlibc_Mutex_InitList[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -2234,7 +2402,7 @@ tSCC zGnu_TypesName[] = * File name selection pattern */ tSCC zGnu_TypesList[] = - "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|"; + "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0"; /* * Machine/OS name selection pattern */ @@ -2277,7 +2445,7 @@ tSCC zHp_InlineName[] = * File name selection pattern */ tSCC zHp_InlineList[] = - "|sys/spinlock.h|machine/machparam.h|"; + "sys/spinlock.h\0machine/machparam.h\0"; /* * Machine/OS name selection pattern */ @@ -2313,7 +2481,7 @@ tSCC zHp_SysfileName[] = * File name selection pattern */ tSCC zHp_SysfileList[] = - "|sys/file.h|"; + "sys/file.h\0"; /* * Machine/OS name selection pattern */ @@ -2349,7 +2517,7 @@ tSCC zHpux10_Cpp_Pow_InlineName[] = * File name selection pattern */ tSCC zHpux10_Cpp_Pow_InlineList[] = - "|fixinc-test-limits.h|math.h|"; + "fixinc-test-limits.h\0math.h\0"; /* * Machine/OS name selection pattern */ @@ -2391,7 +2559,7 @@ tSCC zHpux11_Cpp_Pow_InlineName[] = * File name selection pattern */ tSCC zHpux11_Cpp_Pow_InlineList[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -2419,6 +2587,50 @@ static const char* apzHpux11_Cpp_Pow_InlinePatch[] = { /* * * * * * * * * * * * * * * * * * * * * * * * * * * + * Description of Hppa_Hpux_Fp_Macros fix + */ +tSCC zHppa_Hpux_Fp_MacrosName[] = + "hppa_hpux_fp_macros"; + +/* + * File name selection pattern + */ +tSCC zHppa_Hpux_Fp_MacrosList[] = + "math.h\0"; +/* + * Machine/OS name selection pattern + */ +tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = { + "hppa*-hp-hpux11*", + (const char*)NULL }; + +/* + * content selection pattern - do fix if pattern found + */ +tSCC zHppa_Hpux_Fp_MacrosSelect0[] = + "#[ \t]*define[ \t]*FP_NORMAL.*\n\ +#[ \t]*define[ \t]*FP_ZERO.*\n\ +#[ \t]*define[ \t]*FP_INFINITE.*\n\ +#[ \t]*define[ \t]*FP_SUBNORMAL.*\n\ +#[ \t]*define[ \t]*FP_NAN.*\n"; + +#define HPPA_HPUX_FP_MACROS_TEST_CT 1 +static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = { + { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, }; + +/* + * Fix Command Arguments for Hppa_Hpux_Fp_Macros + */ +static const char* apzHppa_Hpux_Fp_MacrosPatch[] = { + "format", + "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\ +#if defined(_INCLUDE_HPUX_SOURCE) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\ +%0#endif\n\n\ +#ifdef _INCLUDE_HPUX_SOURCE\n", + (char*)NULL }; + +/* * * * * * * * * * * * * * * * * * * * * * * * * * + * * Description of Hpux10_Ctype_Declarations1 fix */ tSCC zHpux10_Ctype_Declarations1Name[] = @@ -2428,7 +2640,7 @@ tSCC zHpux10_Ctype_Declarations1Name[] = * File name selection pattern */ tSCC zHpux10_Ctype_Declarations1List[] = - "|ctype.h|"; + "ctype.h\0"; /* * Machine/OS name selection pattern */ @@ -2477,7 +2689,7 @@ tSCC zHpux10_Ctype_Declarations2Name[] = * File name selection pattern */ tSCC zHpux10_Ctype_Declarations2List[] = - "|ctype.h|"; + "ctype.h\0"; /* * Machine/OS name selection pattern */ @@ -2544,7 +2756,7 @@ tSCC zHpux10_Stdio_DeclarationsName[] = * File name selection pattern */ tSCC zHpux10_Stdio_DeclarationsList[] = - "|stdio.h|"; + "stdio.h\0"; /* * Machine/OS name selection pattern */ @@ -2593,7 +2805,7 @@ tSCC zHpux11_AbsName[] = * File name selection pattern */ tSCC zHpux11_AbsList[] = - "|stdlib.h|"; + "stdlib.h\0"; /* * Machine/OS name selection pattern */ @@ -2630,7 +2842,7 @@ tSCC zHpux11_FabsfName[] = * File name selection pattern */ tSCC zHpux11_FabsfList[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -2710,7 +2922,7 @@ tSCC zHpux11_SnprintfName[] = * File name selection pattern */ tSCC zHpux11_SnprintfList[] = - "|stdio.h|"; + "stdio.h\0"; /* * Machine/OS name selection pattern */ @@ -2745,7 +2957,7 @@ tSCC zHpux11_Uint32_CName[] = * File name selection pattern */ tSCC zHpux11_Uint32_CList[] = - "|inttypes.h|"; + "inttypes.h\0"; /* * Machine/OS name selection pattern */ @@ -2780,7 +2992,7 @@ tSCC zHpux11_VsnprintfName[] = * File name selection pattern */ tSCC zHpux11_VsnprintfList[] = - "|stdio.h|"; + "stdio.h\0"; /* * Machine/OS name selection pattern */ @@ -2815,7 +3027,7 @@ tSCC zHpux8_Bogus_InlinesName[] = * File name selection pattern */ tSCC zHpux8_Bogus_InlinesList[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -2859,7 +3071,7 @@ tSCC zHpux_Ctype_MacrosName[] = * File name selection pattern */ tSCC zHpux_Ctype_MacrosList[] = - "|ctype.h|"; + "ctype.h\0"; /* * Machine/OS name selection pattern */ @@ -2894,7 +3106,7 @@ tSCC zHpux_HtonlName[] = * File name selection pattern */ tSCC zHpux_HtonlList[] = - "|netinet/in.h|"; + "netinet/in.h\0"; /* * Machine/OS name selection pattern */ @@ -2934,7 +3146,7 @@ tSCC zHpux_Long_DoubleName[] = * File name selection pattern */ tSCC zHpux_Long_DoubleList[] = - "|stdlib.h|"; + "stdlib.h\0"; /* * Machine/OS name selection pattern */ @@ -2976,7 +3188,7 @@ tSCC zHpux_SystimeName[] = * File name selection pattern */ tSCC zHpux_SystimeList[] = - "|sys/time.h|"; + "sys/time.h\0"; /* * Machine/OS name selection pattern */ @@ -3011,7 +3223,7 @@ tSCC zHpux_Spu_InfoName[] = * File name selection pattern */ tSCC zHpux_Spu_InfoList[] = - "|ia64/sys/getppdp.h|"; + "ia64/sys/getppdp.h\0"; /* * Machine/OS name selection pattern */ @@ -3050,7 +3262,7 @@ tSCC zHpux11_Extern_SendfileName[] = * File name selection pattern */ tSCC zHpux11_Extern_SendfileList[] = - "|sys/socket.h|"; + "sys/socket.h\0"; /* * Machine/OS name selection pattern */ @@ -3089,7 +3301,7 @@ tSCC zHpux11_Extern_SendpathName[] = * File name selection pattern */ tSCC zHpux11_Extern_SendpathList[] = - "|sys/socket.h|"; + "sys/socket.h\0"; /* * Machine/OS name selection pattern */ @@ -3128,7 +3340,7 @@ tSCC zHpux_Extern_ErrnoName[] = * File name selection pattern */ tSCC zHpux_Extern_ErrnoList[] = - "|errno.h|"; + "errno.h\0"; /* * Machine/OS name selection pattern */ @@ -3172,7 +3384,7 @@ tSCC zHpux_Pthread_InitializersName[] = * File name selection pattern */ tSCC zHpux_Pthread_InitializersList[] = - "|sys/pthread.h|"; + "sys/pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -3212,7 +3424,7 @@ tSCC zHuge_Val_HexName[] = * File name selection pattern */ tSCC zHuge_Val_HexList[] = - "|bits/huge_val.h|"; + "bits/huge_val.h\0"; /* * Machine/OS name selection pattern */ @@ -3254,7 +3466,7 @@ tSCC zHuge_Valf_HexName[] = * File name selection pattern */ tSCC zHuge_Valf_HexList[] = - "|bits/huge_val.h|"; + "bits/huge_val.h\0"; /* * Machine/OS name selection pattern */ @@ -3296,7 +3508,7 @@ tSCC zHuge_Vall_HexName[] = * File name selection pattern */ tSCC zHuge_Vall_HexList[] = - "|bits/huge_val.h|"; + "bits/huge_val.h\0"; /* * Machine/OS name selection pattern */ @@ -3338,7 +3550,7 @@ tSCC zInt_Abort_Free_And_ExitName[] = * File name selection pattern */ tSCC zInt_Abort_Free_And_ExitList[] = - "|stdlib.h|"; + "stdlib.h\0"; /* * Machine/OS name selection pattern */ @@ -3448,7 +3660,7 @@ tSCC zIp_Missing_SemiName[] = * File name selection pattern */ tSCC zIp_Missing_SemiList[] = - "|netinet/ip.h|"; + "netinet/ip.h\0"; /* * Machine/OS name selection pattern */ @@ -3482,7 +3694,7 @@ tSCC zIrix___RestrictName[] = * File name selection pattern */ tSCC zIrix___RestrictList[] = - "|internal/sgimacros.h|"; + "internal/sgimacros.h\0"; /* * Machine/OS name selection pattern */ @@ -3522,7 +3734,7 @@ tSCC zIrix___Generic1Name[] = * File name selection pattern */ tSCC zIrix___Generic1List[] = - "|internal/math_core.h|"; + "internal/math_core.h\0"; /* * Machine/OS name selection pattern */ @@ -3564,7 +3776,7 @@ tSCC zIrix___Generic2Name[] = * File name selection pattern */ tSCC zIrix___Generic2List[] = - "|internal/math_core.h|"; + "internal/math_core.h\0"; /* * Machine/OS name selection pattern */ @@ -3604,7 +3816,7 @@ tSCC zIrix_Asm_ApostropheName[] = * File name selection pattern */ tSCC zIrix_Asm_ApostropheList[] = - "|sys/asm.h|"; + "sys/asm.h\0"; /* * Machine/OS name selection pattern */ @@ -3640,7 +3852,7 @@ tSCC zIrix_Limits_ConstName[] = * File name selection pattern */ tSCC zIrix_Limits_ConstList[] = - "|fixinc-test-limits.h|limits.h|"; + "fixinc-test-limits.h\0limits.h\0"; /* * Machine/OS name selection pattern */ @@ -3675,7 +3887,7 @@ tSCC zIrix_Socklen_TName[] = * File name selection pattern */ tSCC zIrix_Socklen_TList[] = - "|sys/socket.h|"; + "sys/socket.h\0"; /* * Machine/OS name selection pattern */ @@ -3717,7 +3929,7 @@ tSCC zIrix_Stdio_Va_ListName[] = * File name selection pattern */ tSCC zIrix_Stdio_Va_ListList[] = - "|stdio.h|internal/stdio_core.h|"; + "stdio.h\0internal/stdio_core.h\0"; /* * Machine/OS name selection pattern */ @@ -3752,7 +3964,7 @@ tSCC zIrix_WcsftimeName[] = * File name selection pattern */ tSCC zIrix_WcsftimeList[] = - "|internal/wchar_core.h|"; + "internal/wchar_core.h\0"; /* * Machine/OS name selection pattern */ @@ -3791,7 +4003,7 @@ tSCC zIsc_FmodName[] = * File name selection pattern */ tSCC zIsc_FmodList[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -3826,7 +4038,7 @@ tSCC zIsc_Omits_With_StdcName[] = * File name selection pattern */ tSCC zIsc_Omits_With_StdcList[] = - "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|"; + "stdio.h\0math.h\0ctype.h\0sys/limits.h\0sys/fcntl.h\0sys/dirent.h\0"; /* * Machine/OS name selection pattern */ @@ -3861,7 +4073,7 @@ tSCC zKandr_ConcatName[] = * File name selection pattern */ tSCC zKandr_ConcatList[] = - "|sparc/asm_linkage.h|sun3/asm_linkage.h|sun3x/asm_linkage.h|sun4/asm_linkage.h|sun4c/asm_linkage.h|sun4m/asm_linkage.h|sun4c/debug/asm_linkage.h|sun4m/debug/asm_linkage.h|arm/as_support.h|arm/mc_type.h|arm/xcb.h|dev/chardefmac.h|dev/ps_irq.h|dev/screen.h|dev/scsi.h|sys/tty.h|Xm.acorn/XmP.h|bsd43/bsd43_.h|"; + "sparc/asm_linkage.h\0sun*/asm_linkage.h\0arm/as_support.h\0arm/mc_type.h\0arm/xcb.h\0dev/chardefmac.h\0dev/ps_irq.h\0dev/screen.h\0dev/scsi.h\0sys/tty.h\0Xm.acorn/XmP.h\0bsd43/bsd43_.h\0"; /* * Machine/OS name selection pattern */ @@ -3896,7 +4108,7 @@ tSCC zLibc1_G_Va_ListName[] = * File name selection pattern */ tSCC zLibc1_G_Va_ListList[] = - "|_G_config.h|"; + "_G_config.h\0"; /* * Machine/OS name selection pattern */ @@ -3933,7 +4145,7 @@ tSCC zLibc1_Ifdefd_MemxName[] = * File name selection pattern */ tSCC zLibc1_Ifdefd_MemxList[] = - "|testing.h|string.h|"; + "testing.h\0string.h\0"; /* * Machine/OS name selection pattern */ @@ -3981,7 +4193,7 @@ tSCC zLinux_Ia64_UcontextName[] = * File name selection pattern */ tSCC zLinux_Ia64_UcontextList[] = - "|sys/ucontext.h|"; + "sys/ucontext.h\0"; /* * Machine/OS name selection pattern */ @@ -4018,7 +4230,7 @@ tSCC zLynxos_No_Warning_In_Sys_Time_HName[] = * File name selection pattern */ tSCC zLynxos_No_Warning_In_Sys_Time_HList[] = - "|sys/time.h|"; + "sys/time.h\0"; /* * Machine/OS name selection pattern */ @@ -4053,7 +4265,7 @@ tSCC zLynxos_Missing_PutenvName[] = * File name selection pattern */ tSCC zLynxos_Missing_PutenvList[] = - "|stdlib.h|"; + "stdlib.h\0"; /* * Machine/OS name selection pattern */ @@ -4173,7 +4385,7 @@ tSCC zMath_ExceptionName[] = * File name selection pattern */ tSCC zMath_ExceptionList[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -4220,7 +4432,7 @@ tSCC zMath_Huge_Val_From_Dbl_MaxName[] = * File name selection pattern */ tSCC zMath_Huge_Val_From_Dbl_MaxList[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -4265,7 +4477,7 @@ tSCC zNested_Auth_DesName[] = * File name selection pattern */ tSCC zNested_Auth_DesList[] = - "|rpc/rpc.h|"; + "rpc/rpc.h\0"; /* * Machine/OS name selection pattern */ @@ -4300,7 +4512,7 @@ tSCC zNested_MotorolaName[] = * File name selection pattern */ tSCC zNested_MotorolaList[] = - "|sys/limits.h|limits.h|"; + "sys/limits.h\0limits.h\0"; /* * Machine/OS name selection pattern */ @@ -4337,7 +4549,7 @@ tSCC zNested_Sys_LimitsName[] = * File name selection pattern */ tSCC zNested_Sys_LimitsList[] = - "|sys/limits.h|"; + "sys/limits.h\0"; /* * Machine/OS name selection pattern */ @@ -4363,6 +4575,47 @@ static const char* apzNested_Sys_LimitsPatch[] = { "sed", /* * * * * * * * * * * * * * * * * * * * * * * * * * * + * Description of Netbsd_C99_Inline_1 fix + */ +tSCC zNetbsd_C99_Inline_1Name[] = + "netbsd_c99_inline_1"; + +/* + * File name selection pattern + */ +tSCC zNetbsd_C99_Inline_1List[] = + "signal.h\0"; +/* + * Machine/OS name selection pattern + */ +tSCC* apzNetbsd_C99_Inline_1Machs[] = { + "*-*-netbsd*", + (const char*)NULL }; + +/* + * content selection pattern - do fix if pattern found + */ +tSCC zNetbsd_C99_Inline_1Select0[] = + "extern __inline int"; + +#define NETBSD_C99_INLINE_1_TEST_CT 1 +static tTestDesc aNetbsd_C99_Inline_1Tests[] = { + { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, }; + +/* + * Fix Command Arguments for Netbsd_C99_Inline_1 + */ +static const char* apzNetbsd_C99_Inline_1Patch[] = { + "format", + "extern\n\ +#ifdef __GNUC_STDC_INLINE__\n\ +__attribute__((__gnu_inline__))\n\ +#endif\n\ +__inline int", + (char*)NULL }; + +/* * * * * * * * * * * * * * * * * * * * * * * * * * + * * Description of Netbsd_Extra_Semicolon fix */ tSCC zNetbsd_Extra_SemicolonName[] = @@ -4372,7 +4625,7 @@ tSCC zNetbsd_Extra_SemicolonName[] = * File name selection pattern */ tSCC zNetbsd_Extra_SemicolonList[] = - "|sys/cdefs.h|"; + "sys/cdefs.h\0"; /* * Machine/OS name selection pattern */ @@ -4409,7 +4662,7 @@ tSCC zNext_Math_PrefixName[] = * File name selection pattern */ tSCC zNext_Math_PrefixList[] = - "|ansi/math.h|"; + "ansi/math.h\0"; /* * Machine/OS name selection pattern */ @@ -4445,7 +4698,7 @@ tSCC zNext_TemplateName[] = * File name selection pattern */ tSCC zNext_TemplateList[] = - "|bsd/libc.h|"; + "bsd/libc.h\0"; /* * Machine/OS name selection pattern */ @@ -4481,7 +4734,7 @@ tSCC zNext_VolitileName[] = * File name selection pattern */ tSCC zNext_VolitileList[] = - "|ansi/stdlib.h|"; + "ansi/stdlib.h\0"; /* * Machine/OS name selection pattern */ @@ -4517,7 +4770,7 @@ tSCC zNext_Wait_UnionName[] = * File name selection pattern */ tSCC zNext_Wait_UnionList[] = - "|sys/wait.h|"; + "sys/wait.h\0"; /* * Machine/OS name selection pattern */ @@ -4552,7 +4805,7 @@ tSCC zNodeent_SyntaxName[] = * File name selection pattern */ tSCC zNodeent_SyntaxList[] = - "|netdnet/dnetdb.h|"; + "netdnet/dnetdb.h\0"; /* * Machine/OS name selection pattern */ @@ -4587,7 +4840,7 @@ tSCC zObstack_Lvalue_CastName[] = * File name selection pattern */ tSCC zObstack_Lvalue_CastList[] = - "|obstack.h|"; + "obstack.h\0"; /* * Machine/OS name selection pattern */ @@ -4622,7 +4875,7 @@ tSCC zOsf_Namespace_AName[] = * File name selection pattern */ tSCC zOsf_Namespace_AList[] = - "|reg_types.h|sys/lc_core.h|"; + "reg_types.h\0sys/lc_core.h\0"; /* * Machine/OS name selection pattern */ @@ -4667,7 +4920,7 @@ tSCC zOsf_Namespace_CName[] = * File name selection pattern */ tSCC zOsf_Namespace_CList[] = - "|regex.h|"; + "regex.h\0"; /* * Machine/OS name selection pattern */ @@ -4721,7 +4974,7 @@ tSCC zPthread_Page_SizeName[] = * File name selection pattern */ tSCC zPthread_Page_SizeList[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -4756,7 +5009,7 @@ tSCC zPthread_Incomplete_Struct_ArgumentName[] = * File name selection pattern */ tSCC zPthread_Incomplete_Struct_ArgumentList[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -4792,7 +5045,7 @@ tSCC zRead_Ret_TypeName[] = * File name selection pattern */ tSCC zRead_Ret_TypeList[] = - "|stdio.h|"; + "stdio.h\0"; /* * Machine/OS name selection pattern */ @@ -4829,7 +5082,7 @@ tSCC zRpc_Xdr_Lvalue_Cast_AName[] = * File name selection pattern */ tSCC zRpc_Xdr_Lvalue_Cast_AList[] = - "|rpc/xdr.h|"; + "rpc/xdr.h\0"; /* * Machine/OS name selection pattern */ @@ -4865,7 +5118,7 @@ tSCC zRpc_Xdr_Lvalue_Cast_BName[] = * File name selection pattern */ tSCC zRpc_Xdr_Lvalue_Cast_BList[] = - "|rpc/xdr.h|"; + "rpc/xdr.h\0"; /* * Machine/OS name selection pattern */ @@ -4901,7 +5154,7 @@ tSCC zRs6000_DoubleName[] = * File name selection pattern */ tSCC zRs6000_DoubleList[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -4939,7 +5192,7 @@ tSCC zRs6000_FchmodName[] = * File name selection pattern */ tSCC zRs6000_FchmodList[] = - "|sys/stat.h|"; + "sys/stat.h\0"; /* * Machine/OS name selection pattern */ @@ -4974,7 +5227,7 @@ tSCC zRs6000_ParamName[] = * File name selection pattern */ tSCC zRs6000_ParamList[] = - "|stdio.h|unistd.h|"; + "stdio.h\0unistd.h\0"; /* * Machine/OS name selection pattern */ @@ -5009,7 +5262,7 @@ tSCC zSco_MathName[] = * File name selection pattern */ tSCC zSco_MathList[] = - "|math.h|ansi/math.h|posix/math.h|xpg4/math.h|xpg4v2/math.h|xpg4plus/math.h|ods_30_compat/math.h|oldstyle/math.h|"; + "math.h\0*/math.h\0"; /* * Machine/OS name selection pattern */ @@ -5063,7 +5316,7 @@ tSCC zSco_RegsetName[] = * File name selection pattern */ tSCC zSco_RegsetList[] = - "|sys/regset.h|"; + "sys/regset.h\0"; /* * Machine/OS name selection pattern */ @@ -5100,7 +5353,7 @@ tSCC zSco_Static_FuncName[] = * File name selection pattern */ tSCC zSco_Static_FuncList[] = - "|sys/stat.h|"; + "sys/stat.h\0"; /* * Machine/OS name selection pattern */ @@ -5143,7 +5396,7 @@ tSCC zSco_UtimeName[] = * File name selection pattern */ tSCC zSco_UtimeList[] = - "|sys/times.h|"; + "sys/times.h\0"; /* * Machine/OS name selection pattern */ @@ -5180,7 +5433,7 @@ tSCC zSolaris_Math_1Name[] = * File name selection pattern */ tSCC zSolaris_Math_1List[] = - "|iso/math_c99.h|"; + "iso/math_c99.h\0"; /* * Machine/OS name selection pattern */ @@ -5223,7 +5476,7 @@ tSCC zSolaris_Math_2Name[] = * File name selection pattern */ tSCC zSolaris_Math_2List[] = - "|iso/math_c99.h|"; + "iso/math_c99.h\0"; /* * Machine/OS name selection pattern */ @@ -5266,7 +5519,7 @@ tSCC zSolaris_Math_3Name[] = * File name selection pattern */ tSCC zSolaris_Math_3List[] = - "|iso/math_c99.h|"; + "iso/math_c99.h\0"; /* * Machine/OS name selection pattern */ @@ -5309,7 +5562,7 @@ tSCC zSolaris_Math_4Name[] = * File name selection pattern */ tSCC zSolaris_Math_4List[] = - "|iso/math_c99.h|"; + "iso/math_c99.h\0"; /* * Machine/OS name selection pattern */ @@ -5362,7 +5615,7 @@ tSCC zSolaris_Math_5Name[] = * File name selection pattern */ tSCC zSolaris_Math_5List[] = - "|iso/math_c99.h|"; + "iso/math_c99.h\0"; /* * Machine/OS name selection pattern */ @@ -5407,7 +5660,7 @@ tSCC zSolaris_Math_6Name[] = * File name selection pattern */ tSCC zSolaris_Math_6List[] = - "|iso/math_c99.h|"; + "iso/math_c99.h\0"; /* * Machine/OS name selection pattern */ @@ -5452,7 +5705,7 @@ tSCC zSolaris_Math_7Name[] = * File name selection pattern */ tSCC zSolaris_Math_7List[] = - "|iso/math_c99.h|"; + "iso/math_c99.h\0"; /* * Machine/OS name selection pattern */ @@ -5503,7 +5756,7 @@ tSCC zSolaris_Math_8Name[] = * File name selection pattern */ tSCC zSolaris_Math_8List[] = - "|iso/math_c99.h|"; + "iso/math_c99.h\0"; /* * Machine/OS name selection pattern */ @@ -5550,7 +5803,7 @@ tSCC zSolaris_Math_9Name[] = * File name selection pattern */ tSCC zSolaris_Math_9List[] = - "|iso/math_c99.h|"; + "iso/math_c99.h\0"; /* * Machine/OS name selection pattern */ @@ -5593,7 +5846,7 @@ tSCC zSolaris_Mutex_Init_1Name[] = * File name selection pattern */ tSCC zSolaris_Mutex_Init_1List[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -5628,7 +5881,7 @@ tSCC zSolaris_Mutex_Init_2Name[] = * File name selection pattern */ tSCC zSolaris_Mutex_Init_2List[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -5672,7 +5925,7 @@ tSCC zSolaris_Rwlock_Init_1Name[] = * File name selection pattern */ tSCC zSolaris_Rwlock_Init_1List[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -5714,7 +5967,7 @@ tSCC zSolaris_Once_Init_1Name[] = * File name selection pattern */ tSCC zSolaris_Once_Init_1List[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -5752,7 +6005,7 @@ tSCC zSolaris_Once_Init_2Name[] = * File name selection pattern */ tSCC zSolaris_Once_Init_2List[] = - "|pthread.h|"; + "pthread.h\0"; /* * Machine/OS name selection pattern */ @@ -5795,7 +6048,7 @@ tSCC zSolaris_SocketName[] = * File name selection pattern */ tSCC zSolaris_SocketList[] = - "|sys/socket.h|"; + "sys/socket.h\0"; /* * Machine/OS name selection pattern */ @@ -5831,7 +6084,7 @@ tSCC zSolaris_Stdio_TagName[] = * File name selection pattern */ tSCC zSolaris_Stdio_TagList[] = - "|stdio_tag.h|"; + "stdio_tag.h\0"; /* * Machine/OS name selection pattern */ @@ -5872,7 +6125,7 @@ tSCC zSolaris_UnistdName[] = * File name selection pattern */ tSCC zSolaris_UnistdList[] = - "|unistd.h|"; + "unistd.h\0"; /* * Machine/OS name selection pattern */ @@ -5916,7 +6169,7 @@ tSCC zSolaris_WidecName[] = * File name selection pattern */ tSCC zSolaris_WidecList[] = - "|widec.h|"; + "widec.h\0"; /* * Machine/OS name selection pattern */ @@ -5962,7 +6215,7 @@ tSCC zStatsswtchName[] = * File name selection pattern */ tSCC zStatsswtchList[] = - "|rpcsvc/rstat.h|"; + "rpcsvc/rstat.h\0"; /* * Machine/OS name selection pattern */ @@ -5997,7 +6250,7 @@ tSCC zStdio_Stdarg_HName[] = * File name selection pattern */ tSCC zStdio_Stdarg_HList[] = - "|stdio.h|"; + "stdio.h\0"; /* * Machine/OS name selection pattern */ @@ -6035,7 +6288,7 @@ tSCC zStdio_Va_ListName[] = * File name selection pattern */ tSCC zStdio_Va_ListList[] = - "|stdio.h|internal/stdio_core.h|internal/wchar_core.h|"; + "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0"; /* * Machine/OS name selection pattern */ @@ -6084,7 +6337,7 @@ tSCC zStdio_Va_List_ClientsName[] = * File name selection pattern */ tSCC zStdio_Va_List_ClientsList[] = - "|com_err.h|cps.h|curses.h|krb5.h|lc_core.h|pfmt.h|wchar.h|curses_colr/curses.h|"; + "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0"; /* * Machine/OS name selection pattern */ @@ -6184,7 +6437,7 @@ tSCC zStrict_Ansi_Not_CtdName[] = * File name selection pattern */ tSCC zStrict_Ansi_Not_CtdList[] = - "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|"; + "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0"; /* * Machine/OS name selection pattern */ @@ -6265,7 +6518,7 @@ tSCC zStruct_FileName[] = * File name selection pattern */ tSCC zStruct_FileList[] = - "|rpc/xdr.h|"; + "rpc/xdr.h\0"; /* * Machine/OS name selection pattern */ @@ -6301,7 +6554,7 @@ tSCC zStruct_SockaddrName[] = * File name selection pattern */ tSCC zStruct_SockaddrList[] = - "|rpc/auth.h|"; + "rpc/auth.h\0"; /* * Machine/OS name selection pattern */ @@ -6347,7 +6600,7 @@ tSCC zSun_Auth_ProtoName[] = * File name selection pattern */ tSCC zSun_Auth_ProtoList[] = - "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|"; + "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0"; /* * Machine/OS name selection pattern */ @@ -6394,7 +6647,7 @@ tSCC zSun_Bogus_IfdefName[] = * File name selection pattern */ tSCC zSun_Bogus_IfdefList[] = - "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|"; + "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0"; /* * Machine/OS name selection pattern */ @@ -6429,7 +6682,7 @@ tSCC zSun_CatmacroName[] = * File name selection pattern */ tSCC zSun_CatmacroList[] = - "|pixrect/memvar.h|"; + "pixrect/memvar.h\0"; /* * Machine/OS name selection pattern */ @@ -6468,7 +6721,7 @@ tSCC zSun_MallocName[] = * File name selection pattern */ tSCC zSun_MallocList[] = - "|malloc.h|"; + "malloc.h\0"; /* * Machine/OS name selection pattern */ @@ -6506,7 +6759,7 @@ tSCC zSun_Rusers_SemiName[] = * File name selection pattern */ tSCC zSun_Rusers_SemiList[] = - "|rpcsvc/rusers.h|"; + "rpcsvc/rusers.h\0"; /* * Machine/OS name selection pattern */ @@ -6540,7 +6793,7 @@ tSCC zSun_SignalName[] = * File name selection pattern */ tSCC zSun_SignalList[] = - "|sys/signal.h|signal.h|"; + "sys/signal.h\0signal.h\0"; /* * Machine/OS name selection pattern */ @@ -6579,7 +6832,7 @@ tSCC zSunos_StrlenName[] = * File name selection pattern */ tSCC zSunos_StrlenList[] = - "|strings.h|"; + "strings.h\0"; /* * Machine/OS name selection pattern */ @@ -6614,7 +6867,7 @@ tSCC zSvr4_Disable_OptName[] = * File name selection pattern */ tSCC zSvr4_Disable_OptList[] = - "|string.h|"; + "string.h\0"; /* * Machine/OS name selection pattern */ @@ -6648,7 +6901,7 @@ tSCC zSvr4_GetcwdName[] = * File name selection pattern */ tSCC zSvr4_GetcwdList[] = - "|stdlib.h|unistd.h|prototypes.h|"; + "stdlib.h\0unistd.h\0prototypes.h\0"; /* * Machine/OS name selection pattern */ @@ -6683,7 +6936,7 @@ tSCC zSvr4_KrnlName[] = * File name selection pattern */ tSCC zSvr4_KrnlList[] = - "|fs/rfs/rf_cache.h|sys/erec.h|sys/err.h|sys/char.h|sys/getpages.h|sys/map.h|sys/cmn_err.h|sys/kdebugger.h|"; + "fs/rfs/rf_cache.h\0sys/erec.h\0sys/err.h\0sys/char.h\0sys/getpages.h\0sys/map.h\0sys/cmn_err.h\0sys/kdebugger.h\0"; /* * Machine/OS name selection pattern */ @@ -6722,7 +6975,7 @@ tSCC zSvr4_ProfilName[] = * File name selection pattern */ tSCC zSvr4_ProfilList[] = - "|stdlib.h|unistd.h|"; + "stdlib.h\0unistd.h\0"; /* * Machine/OS name selection pattern */ @@ -6764,7 +7017,7 @@ tSCC zSvr4_Sighandler_TypeName[] = * File name selection pattern */ tSCC zSvr4_Sighandler_TypeList[] = - "|sys/signal.h|"; + "sys/signal.h\0"; /* * Machine/OS name selection pattern */ @@ -6799,7 +7052,7 @@ tSCC zSvr4_Undeclared_GetrngeName[] = * File name selection pattern */ tSCC zSvr4_Undeclared_GetrngeList[] = - "|regexp.h|"; + "regexp.h\0"; /* * Machine/OS name selection pattern */ @@ -6843,7 +7096,7 @@ tSCC zSysv68_StringName[] = * File name selection pattern */ tSCC zSysv68_StringList[] = - "|testing.h|string.h|"; + "testing.h\0string.h\0"; /* * Machine/OS name selection pattern */ @@ -6887,7 +7140,7 @@ tSCC zSysz_Stdlib_For_SunName[] = * File name selection pattern */ tSCC zSysz_Stdlib_For_SunList[] = - "|stdlib.h|"; + "stdlib.h\0"; /* * Machine/OS name selection pattern */ @@ -6929,7 +7182,7 @@ tSCC zThread_KeywordName[] = * File name selection pattern */ tSCC zThread_KeywordList[] = - "|pthread.h|bits/sigthread.h|"; + "pthread.h\0bits/sigthread.h\0"; /* * Machine/OS name selection pattern */ @@ -6964,7 +7217,7 @@ tSCC zTinfo_CplusplusName[] = * File name selection pattern */ tSCC zTinfo_CplusplusList[] = - "|tinfo.h|"; + "tinfo.h\0"; /* * Machine/OS name selection pattern */ @@ -6999,7 +7252,7 @@ tSCC zUltrix_Atexit_ParamName[] = * File name selection pattern */ tSCC zUltrix_Atexit_ParamList[] = - "|stdlib.h|"; + "stdlib.h\0"; /* * Machine/OS name selection pattern */ @@ -7034,7 +7287,7 @@ tSCC zUltrix_Atof_ParamName[] = * File name selection pattern */ tSCC zUltrix_Atof_ParamList[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -7069,7 +7322,7 @@ tSCC zUltrix_ConstName[] = * File name selection pattern */ tSCC zUltrix_ConstList[] = - "|stdio.h|"; + "stdio.h\0"; /* * Machine/OS name selection pattern */ @@ -7105,7 +7358,7 @@ tSCC zUltrix_Const2Name[] = * File name selection pattern */ tSCC zUltrix_Const2List[] = - "|stdio.h|"; + "stdio.h\0"; /* * Machine/OS name selection pattern */ @@ -7141,7 +7394,7 @@ tSCC zUltrix_Const3Name[] = * File name selection pattern */ tSCC zUltrix_Const3List[] = - "|stdio.h|"; + "stdio.h\0"; /* * Machine/OS name selection pattern */ @@ -7177,7 +7430,7 @@ tSCC zUltrix_Fix_FixprotoName[] = * File name selection pattern */ tSCC zUltrix_Fix_FixprotoList[] = - "|sys/utsname.h|"; + "sys/utsname.h\0"; /* * Machine/OS name selection pattern */ @@ -7214,7 +7467,7 @@ tSCC zUltrix_IfdefName[] = * File name selection pattern */ tSCC zUltrix_IfdefList[] = - "|sys/file.h|"; + "sys/file.h\0"; /* * Machine/OS name selection pattern */ @@ -7249,7 +7502,7 @@ tSCC zUltrix_LocaleName[] = * File name selection pattern */ tSCC zUltrix_LocaleList[] = - "|locale.h|"; + "locale.h\0"; /* * Machine/OS name selection pattern */ @@ -7283,7 +7536,7 @@ tSCC zUltrix_Math_IfdefName[] = * File name selection pattern */ tSCC zUltrix_Math_IfdefList[] = - "|sys/limits.h|float.h|math.h|"; + "sys/limits.h\0float.h\0math.h\0"; /* * Machine/OS name selection pattern */ @@ -7318,7 +7571,7 @@ tSCC zUltrix_Nested_IoctlName[] = * File name selection pattern */ tSCC zUltrix_Nested_IoctlList[] = - "|sys/ioctl.h|"; + "sys/ioctl.h\0"; /* * Machine/OS name selection pattern */ @@ -7352,7 +7605,7 @@ tSCC zUltrix_Nested_SvcName[] = * File name selection pattern */ tSCC zUltrix_Nested_SvcList[] = - "|rpc/svc.h|"; + "rpc/svc.h\0"; /* * Machine/OS name selection pattern */ @@ -7386,7 +7639,7 @@ tSCC zUltrix_StatName[] = * File name selection pattern */ tSCC zUltrix_StatList[] = - "|sys/stat.h|"; + "sys/stat.h\0"; /* * Machine/OS name selection pattern */ @@ -7425,7 +7678,7 @@ tSCC zUltrix_StaticName[] = * File name selection pattern */ tSCC zUltrix_StaticList[] = - "|machine/cpu.h|"; + "machine/cpu.h\0"; /* * Machine/OS name selection pattern */ @@ -7461,7 +7714,7 @@ tSCC zUltrix_StdlibName[] = * File name selection pattern */ tSCC zUltrix_StdlibList[] = - "|stdlib.h|"; + "stdlib.h\0"; /* * Machine/OS name selection pattern */ @@ -7502,7 +7755,7 @@ tSCC zUltrix_StringsName[] = * File name selection pattern */ tSCC zUltrix_StringsList[] = - "|strings.h|"; + "strings.h\0"; /* * Machine/OS name selection pattern */ @@ -7536,7 +7789,7 @@ tSCC zUltrix_Strings2Name[] = * File name selection pattern */ tSCC zUltrix_Strings2List[] = - "|strings.h|"; + "strings.h\0"; /* * Machine/OS name selection pattern */ @@ -7578,7 +7831,7 @@ tSCC zUltrix_Sys_TimeName[] = * File name selection pattern */ tSCC zUltrix_Sys_TimeList[] = - "|sys/time.h|"; + "sys/time.h\0"; /* * Machine/OS name selection pattern */ @@ -7632,7 +7885,7 @@ tSCC zUltrix_UnistdName[] = * File name selection pattern */ tSCC zUltrix_UnistdList[] = - "|unistd.h|"; + "unistd.h\0"; /* * Machine/OS name selection pattern */ @@ -7669,7 +7922,7 @@ tSCC zUnicosmk_RestrictName[] = * File name selection pattern */ tSCC zUnicosmk_RestrictList[] = - "|stdio.h|stdlib.h|wchar.h|"; + "stdio.h\0stdlib.h\0wchar.h\0"; /* * Machine/OS name selection pattern */ @@ -7706,7 +7959,7 @@ tSCC zUw7_Byteorder_FixName[] = * File name selection pattern */ tSCC zUw7_Byteorder_FixList[] = - "|arpa/inet.h|"; + "arpa/inet.h\0"; /* * Machine/OS name selection pattern */ @@ -7756,7 +8009,7 @@ tSCC zVa_I960_MacroName[] = * File name selection pattern */ tSCC zVa_I960_MacroList[] = - "|arch/i960/archI960.h|"; + "arch/i960/archI960.h\0"; /* * Machine/OS name selection pattern */ @@ -7791,7 +8044,7 @@ tSCC zVoid_NullName[] = * File name selection pattern */ tSCC zVoid_NullList[] = - "|curses.h|dbm.h|locale.h|stdio.h|stdlib.h|string.h|time.h|unistd.h|sys/dir.h|sys/param.h|sys/types.h|"; + "curses.h\0dbm.h\0locale.h\0stdio.h\0stdlib.h\0string.h\0time.h\0unistd.h\0sys/dir.h\0sys/param.h\0sys/types.h\0"; /* * Machine/OS name selection pattern */ @@ -7833,7 +8086,7 @@ tSCC zVxworks_Gcc_ProblemName[] = * File name selection pattern */ tSCC zVxworks_Gcc_ProblemList[] = - "|types/vxTypesBase.h|"; + "types/vxTypesBase.h\0"; /* * Machine/OS name selection pattern */ @@ -7882,7 +8135,7 @@ tSCC zVxworks_Needs_VxtypesName[] = * File name selection pattern */ tSCC zVxworks_Needs_VxtypesList[] = - "|time.h|"; + "time.h\0"; /* * Machine/OS name selection pattern */ @@ -7917,7 +8170,7 @@ tSCC zVxworks_Needs_VxworksName[] = * File name selection pattern */ tSCC zVxworks_Needs_VxworksList[] = - "|sys/stat.h|"; + "sys/stat.h\0"; /* * Machine/OS name selection pattern */ @@ -7965,7 +8218,7 @@ tSCC zVxworks_TimeName[] = * File name selection pattern */ tSCC zVxworks_TimeList[] = - "|time.h|"; + "time.h\0"; /* * Machine/OS name selection pattern */ @@ -8015,7 +8268,7 @@ tSCC zWindiss_Math1Name[] = * File name selection pattern */ tSCC zWindiss_Math1List[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -8043,7 +8296,7 @@ tSCC zWindiss_Math2Name[] = * File name selection pattern */ tSCC zWindiss_Math2List[] = - "|math.h|"; + "math.h\0"; /* * Machine/OS name selection pattern */ @@ -8106,7 +8359,7 @@ tSCC zX11_ClassName[] = * File name selection pattern */ tSCC zX11_ClassList[] = - "|X11/ShellP.h|"; + "X11/ShellP.h\0"; /* * Machine/OS name selection pattern */ @@ -8152,7 +8405,7 @@ tSCC zX11_Class_UsageName[] = * File name selection pattern */ tSCC zX11_Class_UsageList[] = - "|Xm/BaseClassI.h|"; + "Xm/BaseClassI.h\0"; /* * Machine/OS name selection pattern */ @@ -8194,7 +8447,7 @@ tSCC zX11_NewName[] = * File name selection pattern */ tSCC zX11_NewList[] = - "|Xm/Traversal.h|"; + "Xm/Traversal.h\0"; /* * Machine/OS name selection pattern */ @@ -8234,7 +8487,7 @@ tSCC zX11_SprintfName[] = * File name selection pattern */ tSCC zX11_SprintfList[] = - "|X11/Xmu.h|X11/Xmu/Xmu.h|"; + "X11/Xmu.h\0X11/Xmu/Xmu.h\0"; /* * Machine/OS name selection pattern */ @@ -8265,9 +8518,9 @@ static const char* apzX11_SprintfPatch[] = { * * List of all fixes */ -#define REGEX_COUNT 246 +#define REGEX_COUNT 254 #define MACH_LIST_SIZE_LIMIT 261 -#define FIX_COUNT 203 +#define FIX_COUNT 209 /* * Enumerate the fixes @@ -8323,12 +8576,17 @@ typedef enum { EXCEPTION_STRUCTURE_FIXIDX, FREEBSD_GCC3_BREAKAGE_FIXIDX, FREEBSD_GCC4_BREAKAGE_FIXIDX, + GLIBC_C99_INLINE_1_FIXIDX, + GLIBC_C99_INLINE_2_FIXIDX, + GLIBC_C99_INLINE_3_FIXIDX, + GLIBC_C99_INLINE_4_FIXIDX, GLIBC_MUTEX_INIT_FIXIDX, GNU_TYPES_FIXIDX, HP_INLINE_FIXIDX, HP_SYSFILE_FIXIDX, HPUX10_CPP_POW_INLINE_FIXIDX, HPUX11_CPP_POW_INLINE_FIXIDX, + HPPA_HPUX_FP_MACROS_FIXIDX, HPUX10_CTYPE_DECLARATIONS1_FIXIDX, HPUX10_CTYPE_DECLARATIONS2_FIXIDX, HPUX10_STDIO_DECLARATIONS_FIXIDX, @@ -8378,6 +8636,7 @@ typedef enum { NESTED_AUTH_DES_FIXIDX, NESTED_MOTOROLA_FIXIDX, NESTED_SYS_LIMITS_FIXIDX, + NETBSD_C99_INLINE_1_FIXIDX, NETBSD_EXTRA_SEMICOLON_FIXIDX, NEXT_MATH_PREFIX_FIXIDX, NEXT_TEMPLATE_FIXIDX, @@ -8661,7 +8920,7 @@ tFixDesc fixDescList[ FIX_COUNT ] = { { zBroken_CabsName, zBroken_CabsList, apzBroken_CabsMachs, - BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, + BROKEN_CABS_TEST_CT, FD_MACH_ONLY, aBroken_CabsTests, apzBroken_CabsPatch, 0 }, { zBroken_NanName, zBroken_NanList, @@ -8729,6 +8988,26 @@ tFixDesc fixDescList[ FIX_COUNT ] = { FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 }, + { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List, + apzGlibc_C99_Inline_1Machs, + GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, + aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 }, + + { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List, + apzGlibc_C99_Inline_2Machs, + GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY, + aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 }, + + { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List, + apzGlibc_C99_Inline_3Machs, + GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, + aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 }, + + { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List, + apzGlibc_C99_Inline_4Machs, + GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, + aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 }, + { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList, apzGlibc_Mutex_InitMachs, GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY, @@ -8759,6 +9038,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = { HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 }, + { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList, + apzHppa_Hpux_Fp_MacrosMachs, + HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, + aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 }, + { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List, apzHpux10_Ctype_Declarations1Machs, HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, @@ -9004,6 +9288,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = { NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY, aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 }, + { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List, + apzNetbsd_C99_Inline_1Machs, + NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE, + aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 }, + { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList, apzNetbsd_Extra_SemicolonMachs, NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,