*
* DO NOT EDIT THIS FILE (fixincl.x)
*
- * It has been AutoGen-ed June 12, 2018 at 08:56:43 AM by AutoGen 5.18.12
+ * It has been AutoGen-ed July 23, 2018 at 07:27:34 PM by AutoGen 5.18
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Jun 12 08:56:43 MDT 2018
+/* DO NOT SVN-MERGE THIS FILE, EITHER Mon Jul 23 19:27:34 UTC 2018
*
* 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 250 fixup descriptions.
+ * This file contains 251 fixup descriptions.
*
* See README for more information.
*
"typedef int sig_atomic_t",
(char*)NULL };
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
+ * Description of Aix_Unistd fix
+ */
+tSCC zAix_UnistdName[] =
+ "aix_unistd";
+
+/*
+ * File name selection pattern
+ */
+tSCC zAix_UnistdList[] =
+ "unistd.h\0";
+/*
+ * Machine/OS name selection pattern
+ */
+tSCC* apzAix_UnistdMachs[] = {
+ "*-*-aix*",
+ (const char*)NULL };
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zAix_UnistdSelect0[] =
+ "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
+
+#define AIX_UNISTD_TEST_CT 1
+static tTestDesc aAix_UnistdTests[] = {
+ { TT_EGREP, zAix_UnistdSelect0, (regex_t*)NULL }, };
+
+/*
+ * Fix Command Arguments for Aix_Unistd
+ */
+static const char* apzAix_UnistdPatch[] = {
+ "format",
+ "\tstatic int\t\tgetdtablesize(void)",
+ (char*)NULL };
+
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha___Assert fix
*
* List of all fixes
*/
-#define REGEX_COUNT 288
+#define REGEX_COUNT 289
#define MACH_LIST_SIZE_LIMIT 187
-#define FIX_COUNT 250
+#define FIX_COUNT 251
/*
* Enumerate the fixes
AIX_SYSMACHINE_FIXIDX,
AIX_SYSWAIT_2_FIXIDX,
AIX_VOLATILE_FIXIDX,
+ AIX_UNISTD_FIXIDX,
ALPHA___ASSERT_FIXIDX,
ALPHA_ASSERT_FIXIDX,
ALPHA_GETOPT_FIXIDX,
AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aAix_VolatileTests, apzAix_VolatilePatch, 0 },
+ { zAix_UnistdName, zAix_UnistdList,
+ apzAix_UnistdMachs,
+ AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+ aAix_UnistdTests, apzAix_UnistdPatch, 0 },
+
{ zAlpha___AssertName, zAlpha___AssertList,
apzAlpha___AssertMachs,
ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,