*
* DO NOT EDIT THIS FILE (fixincl.x)
*
- * It has been AutoGen-ed August 17, 2023 at 10:16:38 AM by AutoGen 5.18.12
+ * It has been AutoGen-ed June 4, 2024 at 02:35:55 PM by AutoGen 5.18.16
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Aug 17 10:16:38 CEST 2023
+/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Jun 4 14:35:55 CEST 2024
*
* You must regenerate it. Use the ./genfixes script.
*
tSCC zDarwin_Os_Trace_2Select0[] =
"typedef.*\\^os_trace_payload_t.*";
-#define DARWIN_OS_TRACE_2_TEST_CT 1
+/*
+ * content bypass pattern - skip fix if pattern found
+ */
+tSCC zDarwin_Os_Trace_2Bypass0[] =
+ "#ifdef __BLOCKS__";
+
+#define DARWIN_OS_TRACE_2_TEST_CT 2
static tTestDesc aDarwin_Os_Trace_2Tests[] = {
+ { TT_NEGREP, zDarwin_Os_Trace_2Bypass0, (regex_t*)NULL },
{ TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
/*
"#define __has_attribute.*\n\
#endif";
-#define DARWIN_OS_BASE_1_TEST_CT 1
+/*
+ * content bypass pattern - skip fix if pattern found
+ */
+tSCC zDarwin_Os_Base_1Bypass0[] =
+ "#define __has_extension";
+
+#define DARWIN_OS_BASE_1_TEST_CT 2
static tTestDesc aDarwin_Os_Base_1Tests[] = {
+ { TT_NEGREP, zDarwin_Os_Base_1Bypass0, (regex_t*)NULL },
{ TT_EGREP, zDarwin_Os_Base_1Select0, (regex_t*)NULL }, };
/*
tSCC zDarwin_Dispatch_Object_1Select0[] =
"typedef void.*\\^dispatch_block_t.*";
-#define DARWIN_DISPATCH_OBJECT_1_TEST_CT 1
+/*
+ * content bypass pattern - skip fix if pattern found
+ */
+tSCC zDarwin_Dispatch_Object_1Bypass0[] =
+ "#ifdef __BLOCKS__";
+
+#define DARWIN_DISPATCH_OBJECT_1_TEST_CT 2
static tTestDesc aDarwin_Dispatch_Object_1Tests[] = {
+ { TT_NEGREP, zDarwin_Dispatch_Object_1Bypass0, (regex_t*)NULL },
{ TT_EGREP, zDarwin_Dispatch_Object_1Select0, (regex_t*)NULL }, };
/*
"#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
#define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
-#define DARWIN_STDINT_7_TEST_CT 1
+/*
+ * content bypass pattern - skip fix if pattern found
+ */
+tSCC zDarwin_Stdint_7Bypass0[] =
+ "#ifdef __LP64__";
+
+#define DARWIN_STDINT_7_TEST_CT 2
static tTestDesc aDarwin_Stdint_7Tests[] = {
+ { TT_NEGREP, zDarwin_Stdint_7Bypass0, (regex_t*)NULL },
{ TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
/*
*
* List of all fixes
*/
-#define REGEX_COUNT 313
+#define REGEX_COUNT 317
#define MACH_LIST_SIZE_LIMIT 187
#define FIX_COUNT 274
mach = "*-*-darwin*";
files = os/trace.h;
select = "typedef.*\\^os_trace_payload_t.*";
+ bypass = "#ifdef __BLOCKS__";
c_fix = format;
c_fix_arg = "#if __BLOCKS__\n%0\n#endif";
test_text = "typedef void (^os_trace_payload_t)(xpc_object_t xdict);";
#define __has_attribute.*
#endif
OS_BASE_1_SEL;
+ bypass = "#define __has_extension";
c_fix = format;
c_fix_arg = <<- OS_BASE_1_FIX
%0
mach = "*-*-darwin*";
files = dispatch/object.h;
select = "typedef void.*\\^dispatch_block_t.*";
+ bypass = "#ifdef __BLOCKS__";
c_fix = format;
c_fix_arg = "#if __BLOCKS__\n%0\n#endif";
test_text = <<- DISPATCH_OBJECT_1_TEST
"#endif";
select = "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n"
"#define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
+ bypass = '#ifdef __LP64__';
test_text = "#define INTMAX_C(v) (v ## LL)\n"
"#define UINTMAX_C(v) (v ## ULL)";
};