* files which are fixed to work correctly with ANSI C and placed in a
* directory that GNU C will search.
*
- * This file contains 137 fixup descriptions.
+ * This file contains 138 fixup descriptions.
*
* See README for more information.
*
"(const char *, const struct utimbuf *);",
(char*)NULL };
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
+ * Description of Solaris27_Mutex_Init fix
+ */
+#define SOLARIS27_MUTEX_INIT_FIXIDX 94
+tSCC zSolaris27_Mutex_InitName[] =
+ "solaris27_mutex_init";
+
+/*
+ * File name selection pattern
+ */
+tSCC zSolaris27_Mutex_InitList[] =
+ "|pthread.h|";
+/*
+ * Machine/OS name selection pattern
+ */
+#define apzSolaris27_Mutex_InitMachs (const char**)NULL
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zSolaris27_Mutex_InitSelect0[] =
+ "@\\(#\\)pthread.h[ \t]+1.26[ \t]+98/04/12 SMI";
+
+#define SOLARIS27_MUTEX_INIT_TEST_CT 1
+static tTestDesc aSolaris27_Mutex_InitTests[] = {
+ { TT_EGREP, zSolaris27_Mutex_InitSelect0, (regex_t*)NULL }, };
+
+/*
+ * Fix Command Arguments for Solaris27_Mutex_Init
+ */
+static const char* apzSolaris27_Mutex_InitPatch[] = {
+ "format",
+ "%1, {0}}",
+ "(define[ \t]+PTHREAD_MUTEX_INITIALIZER.*),[ \t]*0}$",
+ (char*)NULL };
+
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Statsswtch fix
*/
-#define STATSSWTCH_FIXIDX 94
+#define STATSSWTCH_FIXIDX 95
tSCC zStatsswtchName[] =
"statsswtch";
*
* Description of Stdio_Stdarg_H fix
*/
-#define STDIO_STDARG_H_FIXIDX 95
+#define STDIO_STDARG_H_FIXIDX 96
tSCC zStdio_Stdarg_HName[] =
"stdio_stdarg_h";
*
* Description of Stdio_Va_List fix
*/
-#define STDIO_VA_LIST_FIXIDX 96
+#define STDIO_VA_LIST_FIXIDX 97
tSCC zStdio_Va_ListName[] =
"stdio_va_list";
*
* Description of Struct_File fix
*/
-#define STRUCT_FILE_FIXIDX 97
+#define STRUCT_FILE_FIXIDX 98
tSCC zStruct_FileName[] =
"struct_file";
*
* Description of Struct_Sockaddr fix
*/
-#define STRUCT_SOCKADDR_FIXIDX 98
+#define STRUCT_SOCKADDR_FIXIDX 99
tSCC zStruct_SockaddrName[] =
"struct_sockaddr";
*
* Description of Sun_Auth_Proto fix
*/
-#define SUN_AUTH_PROTO_FIXIDX 99
+#define SUN_AUTH_PROTO_FIXIDX 100
tSCC zSun_Auth_ProtoName[] =
"sun_auth_proto";
*
* Description of Sun_Bogus_Ifdef fix
*/
-#define SUN_BOGUS_IFDEF_FIXIDX 100
+#define SUN_BOGUS_IFDEF_FIXIDX 101
tSCC zSun_Bogus_IfdefName[] =
"sun_bogus_ifdef";
*
* Description of Sun_Catmacro fix
*/
-#define SUN_CATMACRO_FIXIDX 101
+#define SUN_CATMACRO_FIXIDX 102
tSCC zSun_CatmacroName[] =
"sun_catmacro";
*
* Description of Sun_Malloc fix
*/
-#define SUN_MALLOC_FIXIDX 102
+#define SUN_MALLOC_FIXIDX 103
tSCC zSun_MallocName[] =
"sun_malloc";
*
* Description of Sun_Rusers_Semi fix
*/
-#define SUN_RUSERS_SEMI_FIXIDX 103
+#define SUN_RUSERS_SEMI_FIXIDX 104
tSCC zSun_Rusers_SemiName[] =
"sun_rusers_semi";
*
* Description of Sun_Signal fix
*/
-#define SUN_SIGNAL_FIXIDX 104
+#define SUN_SIGNAL_FIXIDX 105
tSCC zSun_SignalName[] =
"sun_signal";
*
* Description of Sunos_Matherr_Decl fix
*/
-#define SUNOS_MATHERR_DECL_FIXIDX 105
+#define SUNOS_MATHERR_DECL_FIXIDX 106
tSCC zSunos_Matherr_DeclName[] =
"sunos_matherr_decl";
*
* Description of Sunos_Strlen fix
*/
-#define SUNOS_STRLEN_FIXIDX 106
+#define SUNOS_STRLEN_FIXIDX 107
tSCC zSunos_StrlenName[] =
"sunos_strlen";
*
* Description of Svr4__P fix
*/
-#define SVR4__P_FIXIDX 107
+#define SVR4__P_FIXIDX 108
tSCC zSvr4__PName[] =
"svr4__p";
*
* Description of Svr4_Getcwd fix
*/
-#define SVR4_GETCWD_FIXIDX 108
+#define SVR4_GETCWD_FIXIDX 109
tSCC zSvr4_GetcwdName[] =
"svr4_getcwd";
*
* Description of Svr4_Profil fix
*/
-#define SVR4_PROFIL_FIXIDX 109
+#define SVR4_PROFIL_FIXIDX 110
tSCC zSvr4_ProfilName[] =
"svr4_profil";
*
* Description of Gnu_Types fix
*/
-#define GNU_TYPES_FIXIDX 110
+#define GNU_TYPES_FIXIDX 111
tSCC zGnu_TypesName[] =
"gnu_types";
*
* Description of Sysv68_String fix
*/
-#define SYSV68_STRING_FIXIDX 111
+#define SYSV68_STRING_FIXIDX 112
tSCC zSysv68_StringName[] =
"sysv68_string";
*
* Description of Sysz_Stdlib_For_Sun fix
*/
-#define SYSZ_STDLIB_FOR_SUN_FIXIDX 112
+#define SYSZ_STDLIB_FOR_SUN_FIXIDX 113
tSCC zSysz_Stdlib_For_SunName[] =
"sysz_stdlib_for_sun";
*
* Description of Tinfo_Cplusplus fix
*/
-#define TINFO_CPLUSPLUS_FIXIDX 113
+#define TINFO_CPLUSPLUS_FIXIDX 114
tSCC zTinfo_CplusplusName[] =
"tinfo_cplusplus";
*
* Description of Ultrix_Atof_Param fix
*/
-#define ULTRIX_ATOF_PARAM_FIXIDX 114
+#define ULTRIX_ATOF_PARAM_FIXIDX 115
tSCC zUltrix_Atof_ParamName[] =
"ultrix_atof_param";
*
* Description of Ultrix_Const fix
*/
-#define ULTRIX_CONST_FIXIDX 115
+#define ULTRIX_CONST_FIXIDX 116
tSCC zUltrix_ConstName[] =
"ultrix_const";
*
* Description of Ultrix_Const2 fix
*/
-#define ULTRIX_CONST2_FIXIDX 116
+#define ULTRIX_CONST2_FIXIDX 117
tSCC zUltrix_Const2Name[] =
"ultrix_const2";
*
* Description of Ultrix_Fix_Fixproto fix
*/
-#define ULTRIX_FIX_FIXPROTO_FIXIDX 117
+#define ULTRIX_FIX_FIXPROTO_FIXIDX 118
tSCC zUltrix_Fix_FixprotoName[] =
"ultrix_fix_fixproto";
*
* Description of Ultrix_Ifdef fix
*/
-#define ULTRIX_IFDEF_FIXIDX 118
+#define ULTRIX_IFDEF_FIXIDX 119
tSCC zUltrix_IfdefName[] =
"ultrix_ifdef";
*
* Description of Ultrix_Math_Ifdef fix
*/
-#define ULTRIX_MATH_IFDEF_FIXIDX 119
+#define ULTRIX_MATH_IFDEF_FIXIDX 120
tSCC zUltrix_Math_IfdefName[] =
"ultrix_math_ifdef";
*
* Description of Ultrix_Nested_Ioctl fix
*/
-#define ULTRIX_NESTED_IOCTL_FIXIDX 120
+#define ULTRIX_NESTED_IOCTL_FIXIDX 121
tSCC zUltrix_Nested_IoctlName[] =
"ultrix_nested_ioctl";
*
* Description of Ultrix_Nested_Svc fix
*/
-#define ULTRIX_NESTED_SVC_FIXIDX 121
+#define ULTRIX_NESTED_SVC_FIXIDX 122
tSCC zUltrix_Nested_SvcName[] =
"ultrix_nested_svc";
*
* Description of Ultrix_Stat fix
*/
-#define ULTRIX_STAT_FIXIDX 122
+#define ULTRIX_STAT_FIXIDX 123
tSCC zUltrix_StatName[] =
"ultrix_stat";
*
* Description of Ultrix_Static fix
*/
-#define ULTRIX_STATIC_FIXIDX 123
+#define ULTRIX_STATIC_FIXIDX 124
tSCC zUltrix_StaticName[] =
"ultrix_static";
*
* Description of Ultrix_Strings fix
*/
-#define ULTRIX_STRINGS_FIXIDX 124
+#define ULTRIX_STRINGS_FIXIDX 125
tSCC zUltrix_StringsName[] =
"ultrix_strings";
*
* Description of Undefine_Null fix
*/
-#define UNDEFINE_NULL_FIXIDX 125
+#define UNDEFINE_NULL_FIXIDX 126
tSCC zUndefine_NullName[] =
"undefine_null";
*
* Description of Uw7_Byteorder_Fix fix
*/
-#define UW7_BYTEORDER_FIX_FIXIDX 126
+#define UW7_BYTEORDER_FIX_FIXIDX 127
tSCC zUw7_Byteorder_FixName[] =
"uw7_byteorder_fix";
*
* Description of Va_I960_Macro fix
*/
-#define VA_I960_MACRO_FIXIDX 127
+#define VA_I960_MACRO_FIXIDX 128
tSCC zVa_I960_MacroName[] =
"va_i960_macro";
*
* Description of Void_Null fix
*/
-#define VOID_NULL_FIXIDX 128
+#define VOID_NULL_FIXIDX 129
tSCC zVoid_NullName[] =
"void_null";
*
* Description of Vxworks_Gcc_Problem fix
*/
-#define VXWORKS_GCC_PROBLEM_FIXIDX 129
+#define VXWORKS_GCC_PROBLEM_FIXIDX 130
tSCC zVxworks_Gcc_ProblemName[] =
"vxworks_gcc_problem";
*
* Description of Vxworks_Needs_Vxtypes fix
*/
-#define VXWORKS_NEEDS_VXTYPES_FIXIDX 130
+#define VXWORKS_NEEDS_VXTYPES_FIXIDX 131
tSCC zVxworks_Needs_VxtypesName[] =
"vxworks_needs_vxtypes";
*
* Description of Vxworks_Needs_Vxworks fix
*/
-#define VXWORKS_NEEDS_VXWORKS_FIXIDX 131
+#define VXWORKS_NEEDS_VXWORKS_FIXIDX 132
tSCC zVxworks_Needs_VxworksName[] =
"vxworks_needs_vxworks";
*
* Description of Vxworks_Time fix
*/
-#define VXWORKS_TIME_FIXIDX 132
+#define VXWORKS_TIME_FIXIDX 133
tSCC zVxworks_TimeName[] =
"vxworks_time";
*
* Description of X11_Class fix
*/
-#define X11_CLASS_FIXIDX 133
+#define X11_CLASS_FIXIDX 134
tSCC zX11_ClassName[] =
"x11_class";
*
* Description of X11_Class_Usage fix
*/
-#define X11_CLASS_USAGE_FIXIDX 134
+#define X11_CLASS_USAGE_FIXIDX 135
tSCC zX11_Class_UsageName[] =
"x11_class_usage";
*
* Description of X11_New fix
*/
-#define X11_NEW_FIXIDX 135
+#define X11_NEW_FIXIDX 136
tSCC zX11_NewName[] =
"x11_new";
*
* Description of X11_Sprintf fix
*/
-#define X11_SPRINTF_FIXIDX 136
+#define X11_SPRINTF_FIXIDX 137
tSCC zX11_SprintfName[] =
"x11_sprintf";
*
* List of all fixes
*/
-#define REGEX_COUNT 144
+#define REGEX_COUNT 145
#define MACH_LIST_SIZE_LIMIT 279
-#define FIX_COUNT 137
+#define FIX_COUNT 138
tFixDesc fixDescList[ FIX_COUNT ] = {
{ zAaa_Ki_IfaceName, zAaa_Ki_IfaceList,
SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aSco_UtimeTests, apzSco_UtimePatch, 0 },
+ { zSolaris27_Mutex_InitName, zSolaris27_Mutex_InitList,
+ apzSolaris27_Mutex_InitMachs,
+ SOLARIS27_MUTEX_INIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+ aSolaris27_Mutex_InitTests, apzSolaris27_Mutex_InitPatch, 0 },
+
{ zStatsswtchName, zStatsswtchList,
apzStatsswtchMachs,
STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,