* files which are fixed to work correctly with ANSI C and placed in a
* directory that GNU C will search.
*
- * This file contains 119 fixup descriptions.
+ * This file contains 120 fixup descriptions.
*
* See README-fixinc for more information.
*
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
+ * Description of Hpux11_Fabsf fix
+ */
+#define HPUX11_FABSF_FIXIDX 36
+tSCC zHpux11_FabsfName[] =
+ "hpux11_fabsf";
+
+/*
+ * File name selection pattern
+ */
+tSCC zHpux11_FabsfList[] =
+ "|math.h|";
+/*
+ * Machine/OS name selection pattern
+ */
+#define apzHpux11_FabsfMachs (const char**)NULL
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zHpux11_FabsfSelect0[] =
+ "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
+
+/*
+ * content bypass pattern - skip fix if pattern found
+ */
+tSCC zHpux11_FabsfBypass0[] =
+ "__cplusplus";
+
+#define HPUX11_FABSF_TEST_CT 2
+tTestDesc aHpux11_FabsfTests[] = {
+ { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
+ { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
+
+/*
+ * Fix Command Arguments for Hpux11_Fabsf
+ */
+const char* apzHpux11_FabsfPatch[] = {
+ "format",
+ "#ifndef __cplusplus\n\
+%0\n\
+#endif",
+ (char*)NULL };
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
* Description of Hpux8_Bogus_Inlines fix
*/
-#define HPUX8_BOGUS_INLINES_FIXIDX 36
+#define HPUX8_BOGUS_INLINES_FIXIDX 37
tSCC zHpux8_Bogus_InlinesName[] =
"hpux8_bogus_inlines";
*
* Description of Hpux11_Uint32_C fix
*/
-#define HPUX11_UINT32_C_FIXIDX 37
+#define HPUX11_UINT32_C_FIXIDX 38
tSCC zHpux11_Uint32_CName[] =
"hpux11_uint32_c";
*
* Description of Isc_Omits_With_Stdc fix
*/
-#define ISC_OMITS_WITH_STDC_FIXIDX 38
+#define ISC_OMITS_WITH_STDC_FIXIDX 39
tSCC zIsc_Omits_With_StdcName[] =
"isc_omits_with_stdc";
*
* Description of Io_Quotes_Def fix
*/
-#define IO_QUOTES_DEF_FIXIDX 39
+#define IO_QUOTES_DEF_FIXIDX 40
tSCC zIo_Quotes_DefName[] =
"io_quotes_def";
*
* Description of Io_Quotes_Use fix
*/
-#define IO_QUOTES_USE_FIXIDX 40
+#define IO_QUOTES_USE_FIXIDX 41
tSCC zIo_Quotes_UseName[] =
"io_quotes_use";
*
* Description of Hpux_Maxint fix
*/
-#define HPUX_MAXINT_FIXIDX 41
+#define HPUX_MAXINT_FIXIDX 42
tSCC zHpux_MaxintName[] =
"hpux_maxint";
*
* Description of Hpux_Systime fix
*/
-#define HPUX_SYSTIME_FIXIDX 42
+#define HPUX_SYSTIME_FIXIDX 43
tSCC zHpux_SystimeName[] =
"hpux_systime";
*
* Description of Ip_Missing_Semi fix
*/
-#define IP_MISSING_SEMI_FIXIDX 43
+#define IP_MISSING_SEMI_FIXIDX 44
tSCC zIp_Missing_SemiName[] =
"ip_missing_semi";
*
* Description of Irix_Asm_Apostrophe fix
*/
-#define IRIX_ASM_APOSTROPHE_FIXIDX 44
+#define IRIX_ASM_APOSTROPHE_FIXIDX 45
tSCC zIrix_Asm_ApostropheName[] =
"irix_asm_apostrophe";
*
* Description of Irix_Multiline_Cmnt fix
*/
-#define IRIX_MULTILINE_CMNT_FIXIDX 45
+#define IRIX_MULTILINE_CMNT_FIXIDX 46
tSCC zIrix_Multiline_CmntName[] =
"irix_multiline_cmnt";
*
* Description of Isc_Fmod fix
*/
-#define ISC_FMOD_FIXIDX 46
+#define ISC_FMOD_FIXIDX 47
tSCC zIsc_FmodName[] =
"isc_fmod";
*
* Description of Kandr_Concat fix
*/
-#define KANDR_CONCAT_FIXIDX 47
+#define KANDR_CONCAT_FIXIDX 48
tSCC zKandr_ConcatName[] =
"kandr_concat";
*
* Description of Limits_Ifndefs fix
*/
-#define LIMITS_IFNDEFS_FIXIDX 48
+#define LIMITS_IFNDEFS_FIXIDX 49
tSCC zLimits_IfndefsName[] =
"limits_ifndefs";
*
* Description of Lynx_Void_Int fix
*/
-#define LYNX_VOID_INT_FIXIDX 49
+#define LYNX_VOID_INT_FIXIDX 50
tSCC zLynx_Void_IntName[] =
"lynx_void_int";
*
* Description of Lynxos_Fcntl_Proto fix
*/
-#define LYNXOS_FCNTL_PROTO_FIXIDX 50
+#define LYNXOS_FCNTL_PROTO_FIXIDX 51
tSCC zLynxos_Fcntl_ProtoName[] =
"lynxos_fcntl_proto";
*
* Description of M88k_Bad_Hypot_Opt fix
*/
-#define M88K_BAD_HYPOT_OPT_FIXIDX 51
+#define M88K_BAD_HYPOT_OPT_FIXIDX 52
tSCC zM88k_Bad_Hypot_OptName[] =
"m88k_bad_hypot_opt";
*
* Description of M88k_Bad_S_If fix
*/
-#define M88K_BAD_S_IF_FIXIDX 52
+#define M88K_BAD_S_IF_FIXIDX 53
tSCC zM88k_Bad_S_IfName[] =
"m88k_bad_s_if";
*
* Description of M88k_Multi_Incl fix
*/
-#define M88K_MULTI_INCL_FIXIDX 53
+#define M88K_MULTI_INCL_FIXIDX 54
tSCC zM88k_Multi_InclName[] =
"m88k_multi_incl";
*
* Description of Machine_Ansi_H_Va_List fix
*/
-#define MACHINE_ANSI_H_VA_LIST_FIXIDX 54
+#define MACHINE_ANSI_H_VA_LIST_FIXIDX 55
tSCC zMachine_Ansi_H_Va_ListName[] =
"machine_ansi_h_va_list";
*
* Description of Machine_Name fix
*/
-#define MACHINE_NAME_FIXIDX 55
+#define MACHINE_NAME_FIXIDX 56
tSCC zMachine_NameName[] =
"machine_name";
*
* Description of Math_Exception fix
*/
-#define MATH_EXCEPTION_FIXIDX 56
+#define MATH_EXCEPTION_FIXIDX 57
tSCC zMath_ExceptionName[] =
"math_exception";
*
* Description of Math_Huge_Val_From_Dbl_Max fix
*/
-#define MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX 57
+#define MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX 58
tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
"math_huge_val_from_dbl_max";
*
* Description of Math_Huge_Val_Ifndef fix
*/
-#define MATH_HUGE_VAL_IFNDEF_FIXIDX 58
+#define MATH_HUGE_VAL_IFNDEF_FIXIDX 59
tSCC zMath_Huge_Val_IfndefName[] =
"math_huge_val_ifndef";
*
* Description of Nested_Motorola fix
*/
-#define NESTED_MOTOROLA_FIXIDX 59
+#define NESTED_MOTOROLA_FIXIDX 60
tSCC zNested_MotorolaName[] =
"nested_motorola";
*
* Description of Nested_Sys_Limits fix
*/
-#define NESTED_SYS_LIMITS_FIXIDX 60
+#define NESTED_SYS_LIMITS_FIXIDX 61
tSCC zNested_Sys_LimitsName[] =
"nested_sys_limits";
*
* Description of Nested_Auth_Des fix
*/
-#define NESTED_AUTH_DES_FIXIDX 61
+#define NESTED_AUTH_DES_FIXIDX 62
tSCC zNested_Auth_DesName[] =
"nested_auth_des";
*
* Description of Nested_Ultrix fix
*/
-#define NESTED_ULTRIX_FIXIDX 62
+#define NESTED_ULTRIX_FIXIDX 63
tSCC zNested_UltrixName[] =
"nested_ultrix";
*
* Description of News_Os_Recursion fix
*/
-#define NEWS_OS_RECURSION_FIXIDX 63
+#define NEWS_OS_RECURSION_FIXIDX 64
tSCC zNews_Os_RecursionName[] =
"news_os_recursion";
*
* Description of Next_Math_Prefix fix
*/
-#define NEXT_MATH_PREFIX_FIXIDX 64
+#define NEXT_MATH_PREFIX_FIXIDX 65
tSCC zNext_Math_PrefixName[] =
"next_math_prefix";
*
* Description of Next_Template fix
*/
-#define NEXT_TEMPLATE_FIXIDX 65
+#define NEXT_TEMPLATE_FIXIDX 66
tSCC zNext_TemplateName[] =
"next_template";
*
* Description of Next_Volitile fix
*/
-#define NEXT_VOLITILE_FIXIDX 66
+#define NEXT_VOLITILE_FIXIDX 67
tSCC zNext_VolitileName[] =
"next_volitile";
*
* Description of Next_Wait_Union fix
*/
-#define NEXT_WAIT_UNION_FIXIDX 67
+#define NEXT_WAIT_UNION_FIXIDX 68
tSCC zNext_Wait_UnionName[] =
"next_wait_union";
*
* Description of Nodeent_Syntax fix
*/
-#define NODEENT_SYNTAX_FIXIDX 68
+#define NODEENT_SYNTAX_FIXIDX 69
tSCC zNodeent_SyntaxName[] =
"nodeent_syntax";
*
* Description of Osf_Namespace_A fix
*/
-#define OSF_NAMESPACE_A_FIXIDX 69
+#define OSF_NAMESPACE_A_FIXIDX 70
tSCC zOsf_Namespace_AName[] =
"osf_namespace_a";
*
* Description of Osf_Namespace_B fix
*/
-#define OSF_NAMESPACE_B_FIXIDX 70
+#define OSF_NAMESPACE_B_FIXIDX 71
tSCC zOsf_Namespace_BName[] =
"osf_namespace_b";
*
* Description of Pthread_Page_Size fix
*/
-#define PTHREAD_PAGE_SIZE_FIXIDX 71
+#define PTHREAD_PAGE_SIZE_FIXIDX 72
tSCC zPthread_Page_SizeName[] =
"pthread_page_size";
*
* Description of Read_Ret_Type fix
*/
-#define READ_RET_TYPE_FIXIDX 72
+#define READ_RET_TYPE_FIXIDX 73
tSCC zRead_Ret_TypeName[] =
"read_ret_type";
*
* Description of Rs6000_Double fix
*/
-#define RS6000_DOUBLE_FIXIDX 73
+#define RS6000_DOUBLE_FIXIDX 74
tSCC zRs6000_DoubleName[] =
"rs6000_double";
*
* Description of Rs6000_Fchmod fix
*/
-#define RS6000_FCHMOD_FIXIDX 74
+#define RS6000_FCHMOD_FIXIDX 75
tSCC zRs6000_FchmodName[] =
"rs6000_fchmod";
*
* Description of Rs6000_Param fix
*/
-#define RS6000_PARAM_FIXIDX 75
+#define RS6000_PARAM_FIXIDX 76
tSCC zRs6000_ParamName[] =
"rs6000_param";
*
* Description of Sco_Static_Func fix
*/
-#define SCO_STATIC_FUNC_FIXIDX 76
+#define SCO_STATIC_FUNC_FIXIDX 77
tSCC zSco_Static_FuncName[] =
"sco_static_func";
*
* Description of Sco_Strict_Ansi fix
*/
-#define SCO_STRICT_ANSI_FIXIDX 77
+#define SCO_STRICT_ANSI_FIXIDX 78
tSCC zSco_Strict_AnsiName[] =
"sco_strict_ansi";
*
* Description of Sco_Utime fix
*/
-#define SCO_UTIME_FIXIDX 78
+#define SCO_UTIME_FIXIDX 79
tSCC zSco_UtimeName[] =
"sco_utime";
*
* Description of Sony_Include fix
*/
-#define SONY_INCLUDE_FIXIDX 79
+#define SONY_INCLUDE_FIXIDX 80
tSCC zSony_IncludeName[] =
"sony_include";
*
* Description of Statsswtch fix
*/
-#define STATSSWTCH_FIXIDX 80
+#define STATSSWTCH_FIXIDX 81
tSCC zStatsswtchName[] =
"statsswtch";
*
* Description of Stdio_Stdarg_H fix
*/
-#define STDIO_STDARG_H_FIXIDX 81
+#define STDIO_STDARG_H_FIXIDX 82
tSCC zStdio_Stdarg_HName[] =
"stdio_stdarg_h";
*
* Description of Stdio_Va_List fix
*/
-#define STDIO_VA_LIST_FIXIDX 82
+#define STDIO_VA_LIST_FIXIDX 83
tSCC zStdio_Va_ListName[] =
"stdio_va_list";
*
* Description of Struct_File fix
*/
-#define STRUCT_FILE_FIXIDX 83
+#define STRUCT_FILE_FIXIDX 84
tSCC zStruct_FileName[] =
"struct_file";
*
* Description of Struct_Sockaddr fix
*/
-#define STRUCT_SOCKADDR_FIXIDX 84
+#define STRUCT_SOCKADDR_FIXIDX 85
tSCC zStruct_SockaddrName[] =
"struct_sockaddr";
*
* Description of Sun_Auth_Proto fix
*/
-#define SUN_AUTH_PROTO_FIXIDX 85
+#define SUN_AUTH_PROTO_FIXIDX 86
tSCC zSun_Auth_ProtoName[] =
"sun_auth_proto";
*
* Description of Sun_Bogus_Ifdef fix
*/
-#define SUN_BOGUS_IFDEF_FIXIDX 86
+#define SUN_BOGUS_IFDEF_FIXIDX 87
tSCC zSun_Bogus_IfdefName[] =
"sun_bogus_ifdef";
*
* Description of Sun_Bogus_Ifdef_Sun4c fix
*/
-#define SUN_BOGUS_IFDEF_SUN4C_FIXIDX 87
+#define SUN_BOGUS_IFDEF_SUN4C_FIXIDX 88
tSCC zSun_Bogus_Ifdef_Sun4cName[] =
"sun_bogus_ifdef_sun4c";
*
* Description of Sun_Catmacro fix
*/
-#define SUN_CATMACRO_FIXIDX 88
+#define SUN_CATMACRO_FIXIDX 89
tSCC zSun_CatmacroName[] =
"sun_catmacro";
*
* Description of Sun_Malloc fix
*/
-#define SUN_MALLOC_FIXIDX 89
+#define SUN_MALLOC_FIXIDX 90
tSCC zSun_MallocName[] =
"sun_malloc";
*
* Description of Sun_Rusers_Semi fix
*/
-#define SUN_RUSERS_SEMI_FIXIDX 90
+#define SUN_RUSERS_SEMI_FIXIDX 91
tSCC zSun_Rusers_SemiName[] =
"sun_rusers_semi";
*
* Description of Sun_Signal fix
*/
-#define SUN_SIGNAL_FIXIDX 91
+#define SUN_SIGNAL_FIXIDX 92
tSCC zSun_SignalName[] =
"sun_signal";
*
* Description of Sunos_Matherr_Decl fix
*/
-#define SUNOS_MATHERR_DECL_FIXIDX 92
+#define SUNOS_MATHERR_DECL_FIXIDX 93
tSCC zSunos_Matherr_DeclName[] =
"sunos_matherr_decl";
*
* Description of Sunos_Strlen fix
*/
-#define SUNOS_STRLEN_FIXIDX 93
+#define SUNOS_STRLEN_FIXIDX 94
tSCC zSunos_StrlenName[] =
"sunos_strlen";
*
* Description of Svr4_Getcwd fix
*/
-#define SVR4_GETCWD_FIXIDX 94
+#define SVR4_GETCWD_FIXIDX 95
tSCC zSvr4_GetcwdName[] =
"svr4_getcwd";
*
* Description of Svr4_Profil fix
*/
-#define SVR4_PROFIL_FIXIDX 95
+#define SVR4_PROFIL_FIXIDX 96
tSCC zSvr4_ProfilName[] =
"svr4_profil";
*
* Description of Systypes fix
*/
-#define SYSTYPES_FIXIDX 96
+#define SYSTYPES_FIXIDX 97
tSCC zSystypesName[] =
"systypes";
*
* Description of Systypes_Stdlib_Size_T fix
*/
-#define SYSTYPES_STDLIB_SIZE_T_FIXIDX 97
+#define SYSTYPES_STDLIB_SIZE_T_FIXIDX 98
tSCC zSystypes_Stdlib_Size_TName[] =
"systypes_stdlib_size_t";
*
* Description of Sysv68_String fix
*/
-#define SYSV68_STRING_FIXIDX 98
+#define SYSV68_STRING_FIXIDX 99
tSCC zSysv68_StringName[] =
"sysv68_string";
*
* Description of Sysz_Stdlib_For_Sun fix
*/
-#define SYSZ_STDLIB_FOR_SUN_FIXIDX 99
+#define SYSZ_STDLIB_FOR_SUN_FIXIDX 100
tSCC zSysz_Stdlib_For_SunName[] =
"sysz_stdlib_for_sun";
*
* Description of Sysz_Stdtypes_For_Sun fix
*/
-#define SYSZ_STDTYPES_FOR_SUN_FIXIDX 100
+#define SYSZ_STDTYPES_FOR_SUN_FIXIDX 101
tSCC zSysz_Stdtypes_For_SunName[] =
"sysz_stdtypes_for_sun";
*
* Description of Tinfo_Cplusplus fix
*/
-#define TINFO_CPLUSPLUS_FIXIDX 101
+#define TINFO_CPLUSPLUS_FIXIDX 102
tSCC zTinfo_CplusplusName[] =
"tinfo_cplusplus";
*
* Description of Ultrix_Atof_Param fix
*/
-#define ULTRIX_ATOF_PARAM_FIXIDX 102
+#define ULTRIX_ATOF_PARAM_FIXIDX 103
tSCC zUltrix_Atof_ParamName[] =
"ultrix_atof_param";
*
* Description of Ultrix_Const fix
*/
-#define ULTRIX_CONST_FIXIDX 103
+#define ULTRIX_CONST_FIXIDX 104
tSCC zUltrix_ConstName[] =
"ultrix_const";
*
* Description of Ultrix_Fix_Fixproto fix
*/
-#define ULTRIX_FIX_FIXPROTO_FIXIDX 104
+#define ULTRIX_FIX_FIXPROTO_FIXIDX 105
tSCC zUltrix_Fix_FixprotoName[] =
"ultrix_fix_fixproto";
*
* Description of Ultrix_Ifdef fix
*/
-#define ULTRIX_IFDEF_FIXIDX 105
+#define ULTRIX_IFDEF_FIXIDX 106
tSCC zUltrix_IfdefName[] =
"ultrix_ifdef";
*
* Description of Ultrix_Static fix
*/
-#define ULTRIX_STATIC_FIXIDX 106
+#define ULTRIX_STATIC_FIXIDX 107
tSCC zUltrix_StaticName[] =
"ultrix_static";
*
* Description of Undefine_Null fix
*/
-#define UNDEFINE_NULL_FIXIDX 107
+#define UNDEFINE_NULL_FIXIDX 108
tSCC zUndefine_NullName[] =
"undefine_null";
*
* Description of Unixware7_Byteorder_Fix fix
*/
-#define UNIXWARE7_BYTEORDER_FIX_FIXIDX 108
+#define UNIXWARE7_BYTEORDER_FIX_FIXIDX 109
tSCC zUnixware7_Byteorder_FixName[] =
"unixware7_byteorder_fix";
*
* Description of Va_I960_Macro fix
*/
-#define VA_I960_MACRO_FIXIDX 109
+#define VA_I960_MACRO_FIXIDX 110
tSCC zVa_I960_MacroName[] =
"va_i960_macro";
*
* Description of Void_Null fix
*/
-#define VOID_NULL_FIXIDX 110
+#define VOID_NULL_FIXIDX 111
tSCC zVoid_NullName[] =
"void_null";
*
* Description of Vxworks_Gcc_Problem fix
*/
-#define VXWORKS_GCC_PROBLEM_FIXIDX 111
+#define VXWORKS_GCC_PROBLEM_FIXIDX 112
tSCC zVxworks_Gcc_ProblemName[] =
"vxworks_gcc_problem";
*
* Description of Vxworks_Needs_Vxtypes fix
*/
-#define VXWORKS_NEEDS_VXTYPES_FIXIDX 112
+#define VXWORKS_NEEDS_VXTYPES_FIXIDX 113
tSCC zVxworks_Needs_VxtypesName[] =
"vxworks_needs_vxtypes";
*
* Description of Vxworks_Needs_Vxworks fix
*/
-#define VXWORKS_NEEDS_VXWORKS_FIXIDX 113
+#define VXWORKS_NEEDS_VXWORKS_FIXIDX 114
tSCC zVxworks_Needs_VxworksName[] =
"vxworks_needs_vxworks";
*
* Description of Vxworks_Time fix
*/
-#define VXWORKS_TIME_FIXIDX 114
+#define VXWORKS_TIME_FIXIDX 115
tSCC zVxworks_TimeName[] =
"vxworks_time";
*
* Description of X11_Class fix
*/
-#define X11_CLASS_FIXIDX 115
+#define X11_CLASS_FIXIDX 116
tSCC zX11_ClassName[] =
"x11_class";
*
* Description of X11_Class_Usage fix
*/
-#define X11_CLASS_USAGE_FIXIDX 116
+#define X11_CLASS_USAGE_FIXIDX 117
tSCC zX11_Class_UsageName[] =
"x11_class_usage";
*
* Description of X11_New fix
*/
-#define X11_NEW_FIXIDX 117
+#define X11_NEW_FIXIDX 118
tSCC zX11_NewName[] =
"x11_new";
*
* Description of X11_Sprintf fix
*/
-#define X11_SPRINTF_FIXIDX 118
+#define X11_SPRINTF_FIXIDX 119
tSCC zX11_SprintfName[] =
"x11_sprintf";
*
* List of all fixes
*/
-#define REGEX_COUNT 109
+#define REGEX_COUNT 111
#define MACH_LIST_SIZE_LIMIT 279
-#define FIX_COUNT 119
+#define FIX_COUNT 120
tFixDesc fixDescList[ FIX_COUNT ] = {
{ zAaa_Ki_IfaceName, zAaa_Ki_IfaceList,
HP_SYSFILE_TEST_CT, FD_MACH_ONLY,
aHp_SysfileTests, apzHp_SysfilePatch },
+ { zHpux11_FabsfName, zHpux11_FabsfList,
+ apzHpux11_FabsfMachs,
+ HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+ aHpux11_FabsfTests, apzHpux11_FabsfPatch },
+
{ zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
apzHpux8_Bogus_InlinesMachs,
HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,