/* -*- buffer-read-only: t -*- vi: set ro:
- *
+ *
* DO NOT EDIT THIS FILE (fixincl.x)
- *
- * It has been AutoGen-ed August 8, 2016 at 08:46:37 PM by AutoGen 5.18
+ *
+ * It has been AutoGen-ed Saturday August 13, 2016 at 02:05:44 PM EDT
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT SVN-MERGE THIS FILE, EITHER Mon Aug 8 20:46:37 CEST 2016
+/* DO NOT SVN-MERGE THIS FILE, EITHER Sat 13 Aug 2016 14:05:44 EDT
*
* You must regenerate it. Use the ./genfixes script.
*
* 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 236 fixup descriptions.
+ * This file contains 237 fixup descriptions.
*
* See README for more information.
*
"# define\tUINT_%164_MAX\t__UINT64_MAX__",
(char*)NULL };
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
+ * Description of Hpux_Longjmp fix
+ */
+tSCC zHpux_LongjmpName[] =
+ "hpux_longjmp";
+
+/*
+ * File name selection pattern
+ */
+tSCC zHpux_LongjmpList[] =
+ "setjmp.h\0";
+/*
+ * Machine/OS name selection pattern
+ */
+tSCC* apzHpux_LongjmpMachs[] = {
+ "*-hp-hpux*",
+ (const char*)NULL };
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zHpux_LongjmpSelect0[] =
+ "^[ \t]*extern[ \t]+void.*longjmp[ \t]+__\\(\\(.*int\\)\\)";
+
+#define HPUX_LONGJMP_TEST_CT 1
+static tTestDesc aHpux_LongjmpTests[] = {
+ { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
+
+/*
+ * Fix Command Arguments for Hpux_Longjmp
+ */
+static const char* apzHpux_LongjmpPatch[] = {
+ "format",
+ "%0 __attribute__ ((__noreturn__))",
+ (char*)NULL };
+
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux_Systime fix
*
* List of all fixes
*/
-#define REGEX_COUNT 274
+#define REGEX_COUNT 275
#define MACH_LIST_SIZE_LIMIT 187
-#define FIX_COUNT 236
+#define FIX_COUNT 237
/*
* Enumerate the fixes
HPUX_PTHREAD_INITIALIZERS_FIXIDX,
HPUX_SPU_INFO_FIXIDX,
HPUX_STDINT_LEAST_FAST_FIXIDX,
+ HPUX_LONGJMP_FIXIDX,
HPUX_SYSTIME_FIXIDX,
HUGE_VAL_HEX_FIXIDX,
HUGE_VALF_HEX_FIXIDX,
HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
+ { zHpux_LongjmpName, zHpux_LongjmpList,
+ apzHpux_LongjmpMachs,
+ HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+ aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
+
{ zHpux_SystimeName, zHpux_SystimeList,
apzHpux_SystimeMachs,
HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,