* files which are fixed to work correctly with ANSI C and placed in a
* directory that GNU C will search.
*
- * This file contains 103 fixup descriptions.
+ * This file contains 104 fixup descriptions.
*
* See README-fixinc for more information.
*
"#ifndef __cplusplus\n",
"-e", "/^typedef[ \t][ \t]*char[ \t][ \t]*bool[ \t]*;/a\\\n"
"#endif\n",
+ "-e", "/^[ ]*typedef[ \t][ \t]*unsigned char[ \t][ \t]*bool[ \t]*;/i\\\n"
+ "#ifndef __cplusplus\n",
+ "-e", "/^[ ]*typedef[ \t][ \t]*unsigned char[ \t][ \t]*bool[ \t]*;/a\\\n"
+ "#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 19 - Else_Label fix
+ * Description 19 - Sco5_Stat_Wrappers fix
+ */
+tSCC zSco5_Stat_WrappersName[] =
+ "Sco5_Stat_Wrappers";
+/*
+ * File name selection pattern
+ */
+tSCC zSco5_Stat_WrappersList[] =
+ "|" "sys/stat.h" "|";
+/*
+ * Machine/OS name selection pattern
+ */
+tSCC* apzSco5_Stat_WrappersMachs[] = {
+ "i*86-*-sco3.2v5*",
+ (const char*)NULL };
+#define SCO5_STAT_WRAPPERS_TEST_CT 0
+#define SCO5_STAT_WRAPPERS_RE_CT 0
+#define aSco5_Stat_WrappersTests (tTestDesc*)NULL
+
+/*
+ * Fix Command Arguments for Sco5_Stat_Wrappers
+ */
+const char* apzSco5_Stat_WrappersPatch[] = { "sed",
+ "-e", "/^static int[ \t]*[a-z]*stat(/i\\\n"
+ "#ifdef __cplusplus\\\n"
+ "extern \"C\"\\\n"
+ "{\\\n"
+ "#endif\\\n",
+ "-e", "/^}$/a\\\n"
+ "#ifdef __cplusplus\\\n"
+ "}\\\n"
+ "#endif /* __cplusplus */\\\n",
+ (char*)NULL };
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
+ * Description 20 - Else_Label fix
*/
tSCC zElse_LabelName[] =
"Else_Label";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 20 - Endif_Label fix
+ * Description 21 - Endif_Label fix
*/
tSCC zEndif_LabelName[] =
"Endif_Label";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 21 - Hp_Inline fix
+ * Description 22 - Hp_Inline fix
*/
tSCC zHp_InlineName[] =
"Hp_Inline";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 22 - Hp_Sysfile fix
+ * Description 23 - Hp_Sysfile fix
*/
tSCC zHp_SysfileName[] =
"Hp_Sysfile";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 23 - Cxx_Unready fix
+ * Description 24 - Cxx_Unready fix
*/
tSCC zCxx_UnreadyName[] =
"Cxx_Unready";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 24 - Hpux_Maxint fix
+ * Description 25 - Hpux_Maxint fix
*/
tSCC zHpux_MaxintName[] =
"Hpux_Maxint";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 25 - Hpux_Systime fix
+ * Description 26 - Hpux_Systime fix
*/
tSCC zHpux_SystimeName[] =
"Hpux_Systime";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 26 - Interactv_Add1 fix
+ * Description 27 - Interactv_Add1 fix
*/
tSCC zInteractv_Add1Name[] =
"Interactv_Add1";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 27 - Interactv_Add2 fix
+ * Description 28 - Interactv_Add2 fix
*/
tSCC zInteractv_Add2Name[] =
"Interactv_Add2";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 28 - Interactv_Add3 fix
+ * Description 29 - Interactv_Add3 fix
*/
tSCC zInteractv_Add3Name[] =
"Interactv_Add3";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 29 - Io_Def_Quotes fix
+ * Description 30 - Io_Def_Quotes fix
*/
tSCC zIo_Def_QuotesName[] =
"Io_Def_Quotes";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 30 - Ioctl_Fix_Ctrl fix
+ * Description 31 - Ioctl_Fix_Ctrl fix
*/
tSCC zIoctl_Fix_CtrlName[] =
"Ioctl_Fix_Ctrl";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 31 - Ip_Missing_Semi fix
+ * Description 32 - Ip_Missing_Semi fix
*/
tSCC zIp_Missing_SemiName[] =
"Ip_Missing_Semi";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 32 - Irix_Multiline_Cmnt fix
+ * Description 33 - Irix_Multiline_Cmnt fix
*/
tSCC zIrix_Multiline_CmntName[] =
"Irix_Multiline_Cmnt";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 33 - Irix_Sockaddr fix
+ * Description 34 - Irix_Sockaddr fix
*/
tSCC zIrix_SockaddrName[] =
"Irix_Sockaddr";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 34 - Irix_Struct__File fix
+ * Description 35 - Irix_Struct__File fix
*/
tSCC zIrix_Struct__FileName[] =
"Irix_Struct__File";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 35 - Isc_Fmod fix
+ * Description 36 - Isc_Fmod fix
*/
tSCC zIsc_FmodName[] =
"Isc_Fmod";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 36 - Motorola_Nested fix
+ * Description 37 - Motorola_Nested fix
*/
tSCC zMotorola_NestedName[] =
"Motorola_Nested";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 37 - Isc_Sys_Limits fix
+ * Description 38 - Isc_Sys_Limits fix
*/
tSCC zIsc_Sys_LimitsName[] =
"Isc_Sys_Limits";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 38 - Kandr_Concat fix
+ * Description 39 - Kandr_Concat fix
*/
tSCC zKandr_ConcatName[] =
"Kandr_Concat";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 39 - Limits_Ifndefs fix
+ * Description 40 - Limits_Ifndefs fix
*/
tSCC zLimits_IfndefsName[] =
"Limits_Ifndefs";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 40 - Lynx_Void_Int fix
+ * Description 41 - Lynx_Void_Int fix
*/
tSCC zLynx_Void_IntName[] =
"Lynx_Void_Int";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 41 - Lynxos_Fcntl_Proto fix
+ * Description 42 - Lynxos_Fcntl_Proto fix
*/
tSCC zLynxos_Fcntl_ProtoName[] =
"Lynxos_Fcntl_Proto";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 42 - M88k_Bad_Hypot_Opt fix
+ * Description 43 - M88k_Bad_Hypot_Opt fix
*/
tSCC zM88k_Bad_Hypot_OptName[] =
"M88k_Bad_Hypot_Opt";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 43 - M88k_Bad_S_If fix
+ * Description 44 - M88k_Bad_S_If fix
*/
tSCC zM88k_Bad_S_IfName[] =
"M88k_Bad_S_If";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 44 - M88k_Multi_Incl fix
+ * Description 45 - M88k_Multi_Incl fix
*/
tSCC zM88k_Multi_InclName[] =
"M88k_Multi_Incl";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 45 - Machine_Name fix
+ * Description 46 - Machine_Name fix
*/
tSCC zMachine_NameName[] =
"Machine_Name";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 46 - Math_Exception fix
+ * Description 47 - Math_Exception fix
*/
tSCC zMath_ExceptionName[] =
"Math_Exception";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 47 - Math_Gcc_Ifndefs fix
+ * Description 48 - Math_Gcc_Ifndefs fix
*/
tSCC zMath_Gcc_IfndefsName[] =
"Math_Gcc_Ifndefs";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 48 - Nested_Comment fix
+ * Description 49 - Nested_Comment fix
*/
tSCC zNested_CommentName[] =
"Nested_Comment";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 49 - News_Os_Recursion fix
+ * Description 50 - News_Os_Recursion fix
*/
tSCC zNews_Os_RecursionName[] =
"News_Os_Recursion";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 50 - Next_Math_Prefix fix
+ * Description 51 - Next_Math_Prefix fix
*/
tSCC zNext_Math_PrefixName[] =
"Next_Math_Prefix";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 51 - Next_Template fix
+ * Description 52 - Next_Template fix
*/
tSCC zNext_TemplateName[] =
"Next_Template";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 52 - Next_Volitile fix
+ * Description 53 - Next_Volitile fix
*/
tSCC zNext_VolitileName[] =
"Next_Volitile";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 53 - Next_Wait_Union fix
+ * Description 54 - Next_Wait_Union fix
*/
tSCC zNext_Wait_UnionName[] =
"Next_Wait_Union";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 54 - Nodeent_Syntax fix
+ * Description 55 - Nodeent_Syntax fix
*/
tSCC zNodeent_SyntaxName[] =
"Nodeent_Syntax";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 55 - Osf_Namespace_A fix
+ * Description 56 - Osf_Namespace_A fix
*/
tSCC zOsf_Namespace_AName[] =
"Osf_Namespace_A";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 56 - Osf_Namespace_B fix
+ * Description 57 - Osf_Namespace_B fix
*/
tSCC zOsf_Namespace_BName[] =
"Osf_Namespace_B";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 57 - Pthread_Page_Size fix
+ * Description 58 - Pthread_Page_Size fix
*/
tSCC zPthread_Page_SizeName[] =
"Pthread_Page_Size";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 58 - Rs6000_Double fix
+ * Description 59 - Rs6000_Double fix
*/
tSCC zRs6000_DoubleName[] =
"Rs6000_Double";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 59 - Rs6000_Fchmod fix
+ * Description 60 - Rs6000_Fchmod fix
*/
tSCC zRs6000_FchmodName[] =
"Rs6000_Fchmod";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 60 - Rs6000_Param fix
+ * Description 61 - Rs6000_Param fix
*/
tSCC zRs6000_ParamName[] =
"Rs6000_Param";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 61 - Sony_Include fix
+ * Description 62 - Sony_Include fix
*/
tSCC zSony_IncludeName[] =
"Sony_Include";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 62 - Statsswtch fix
+ * Description 63 - Statsswtch fix
*/
tSCC zStatsswtchName[] =
"Statsswtch";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 63 - Stdio_Va_List fix
+ * Description 64 - Stdio_Va_List fix
*/
tSCC zStdio_Va_ListName[] =
"Stdio_Va_List";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 64 - Sun_Bogus_Ifdef fix
+ * Description 65 - Sun_Bogus_Ifdef fix
*/
tSCC zSun_Bogus_IfdefName[] =
"Sun_Bogus_Ifdef";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 65 - Sun_Bogus_Ifdef_Sun4c fix
+ * Description 66 - Sun_Bogus_Ifdef_Sun4c fix
*/
tSCC zSun_Bogus_Ifdef_Sun4cName[] =
"Sun_Bogus_Ifdef_Sun4c";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 66 - Sun_Catmacro fix
+ * Description 67 - Sun_Catmacro fix
*/
tSCC zSun_CatmacroName[] =
"Sun_Catmacro";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 67 - Sun_Malloc fix
+ * Description 68 - Sun_Malloc fix
*/
tSCC zSun_MallocName[] =
"Sun_Malloc";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 68 - Sun_Memcpy fix
+ * Description 69 - Sun_Memcpy fix
*/
tSCC zSun_MemcpyName[] =
"Sun_Memcpy";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 69 - Sun_Rusers_Semi fix
+ * Description 70 - Sun_Rusers_Semi fix
*/
tSCC zSun_Rusers_SemiName[] =
"Sun_Rusers_Semi";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 70 - Sun_Signal fix
+ * Description 71 - Sun_Signal fix
*/
tSCC zSun_SignalName[] =
"Sun_Signal";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 71 - Sun_Auth_Proto fix
+ * Description 72 - Sun_Auth_Proto fix
*/
tSCC zSun_Auth_ProtoName[] =
"Sun_Auth_Proto";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 72 - Sunos_Matherr_Decl fix
+ * Description 73 - Sunos_Matherr_Decl fix
*/
tSCC zSunos_Matherr_DeclName[] =
"Sunos_Matherr_Decl";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 73 - Sunos_Strlen fix
+ * Description 74 - Sunos_Strlen fix
*/
tSCC zSunos_StrlenName[] =
"Sunos_Strlen";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 74 - Systypes fix
+ * Description 75 - Systypes fix
*/
tSCC zSystypesName[] =
"Systypes";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 75 - Systypes_For_Aix fix
+ * Description 76 - Systypes_For_Aix fix
*/
tSCC zSystypes_For_AixName[] =
"Systypes_For_Aix";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 76 - Sysv68_String fix
+ * Description 77 - Sysv68_String fix
*/
tSCC zSysv68_StringName[] =
"Sysv68_String";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 77 - Sysz_Stdlib_For_Sun fix
+ * Description 78 - Sysz_Stdlib_For_Sun fix
*/
tSCC zSysz_Stdlib_For_SunName[] =
"Sysz_Stdlib_For_Sun";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 78 - Sysz_Stdtypes_For_Sun fix
+ * Description 79 - Sysz_Stdtypes_For_Sun fix
*/
tSCC zSysz_Stdtypes_For_SunName[] =
"Sysz_Stdtypes_For_Sun";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 79 - Tinfo_Cplusplus fix
+ * Description 80 - Tinfo_Cplusplus fix
*/
tSCC zTinfo_CplusplusName[] =
"Tinfo_Cplusplus";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 80 - Ultrix_Ansi_Compat fix
+ * Description 81 - Ultrix_Ansi_Compat fix
*/
tSCC zUltrix_Ansi_CompatName[] =
"Ultrix_Ansi_Compat";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 81 - Ultrix_Fix_Fixproto fix
+ * Description 82 - Ultrix_Fix_Fixproto fix
*/
tSCC zUltrix_Fix_FixprotoName[] =
"Ultrix_Fix_Fixproto";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 82 - Ultrix_Atof_Param fix
+ * Description 83 - Ultrix_Atof_Param fix
*/
tSCC zUltrix_Atof_ParamName[] =
"Ultrix_Atof_Param";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 83 - Ultrix_Const fix
+ * Description 84 - Ultrix_Const fix
*/
tSCC zUltrix_ConstName[] =
"Ultrix_Const";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 84 - Ultrix_Ifdef fix
+ * Description 85 - Ultrix_Ifdef fix
*/
tSCC zUltrix_IfdefName[] =
"Ultrix_Ifdef";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 85 - Ultrix_Nested_Cmnt fix
+ * Description 86 - Ultrix_Nested_Cmnt fix
*/
tSCC zUltrix_Nested_CmntName[] =
"Ultrix_Nested_Cmnt";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 86 - Ultrix_Static fix
+ * Description 87 - Ultrix_Static fix
*/
tSCC zUltrix_StaticName[] =
"Ultrix_Static";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 87 - Undefine_Null fix
+ * Description 88 - Undefine_Null fix
*/
tSCC zUndefine_NullName[] =
"Undefine_Null";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 88 - Va_I960_Macro fix
+ * Description 89 - Va_I960_Macro fix
*/
tSCC zVa_I960_MacroName[] =
"Va_I960_Macro";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 89 - Void_Null fix
+ * Description 90 - Void_Null fix
*/
tSCC zVoid_NullName[] =
"Void_Null";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 90 - Vxworks_Gcc_Problem fix
+ * Description 91 - Vxworks_Gcc_Problem fix
*/
tSCC zVxworks_Gcc_ProblemName[] =
"Vxworks_Gcc_Problem";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 91 - Vxworks_Needs_Vxtypes fix
+ * Description 92 - Vxworks_Needs_Vxtypes fix
*/
tSCC zVxworks_Needs_VxtypesName[] =
"Vxworks_Needs_Vxtypes";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 92 - Vxworks_Needs_Vxworks fix
+ * Description 93 - Vxworks_Needs_Vxworks fix
*/
tSCC zVxworks_Needs_VxworksName[] =
"Vxworks_Needs_Vxworks";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 93 - Vxworks_Time fix
+ * Description 94 - Vxworks_Time fix
*/
tSCC zVxworks_TimeName[] =
"Vxworks_Time";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 94 - X11_Class fix
+ * Description 95 - X11_Class fix
*/
tSCC zX11_ClassName[] =
"X11_Class";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 95 - X11_Class_Usage fix
+ * Description 96 - X11_Class_Usage fix
*/
tSCC zX11_Class_UsageName[] =
"X11_Class_Usage";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 96 - X11_New fix
+ * Description 97 - X11_New fix
*/
tSCC zX11_NewName[] =
"X11_New";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 97 - X11_Sprintf fix
+ * Description 98 - X11_Sprintf fix
*/
tSCC zX11_SprintfName[] =
"X11_Sprintf";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 98 - Zzz_Ki_Iface fix
+ * Description 99 - Zzz_Ki_Iface fix
*/
tSCC zZzz_Ki_IfaceName[] =
"Zzz_Ki_Iface";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 99 - Zzz_Ki fix
+ * Description 100 - Zzz_Ki fix
*/
tSCC zZzz_KiName[] =
"Zzz_Ki";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 100 - Zzz_Ki_Calls fix
+ * Description 101 - Zzz_Ki_Calls fix
*/
tSCC zZzz_Ki_CallsName[] =
"Zzz_Ki_Calls";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 101 - Zzz_Ki_Defs fix
+ * Description 102 - Zzz_Ki_Defs fix
*/
tSCC zZzz_Ki_DefsName[] =
"Zzz_Ki_Defs";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 102 - Zzz_Bad_Fixes fix
+ * Description 103 - Zzz_Bad_Fixes fix
*/
tSCC zZzz_Bad_FixesName[] =
"Zzz_Bad_Fixes";
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description 103 - Zzz_Time fix
+ * Description 104 - Zzz_Time fix
*/
tSCC zZzz_TimeName[] =
"Zzz_Time";
* List of all fixes
*/
#define REGEX_COUNT 75
-#define FIX_COUNT 103
+#define FIX_COUNT 104
tFixDesc fixDescList[ FIX_COUNT ] = {
{ zAix_SyswaitName, zAix_SyswaitList,
apzAix_SyswaitMachs, (regex_t*)NULL,
ECD_CURSOR_TEST_CT, FD_MACH_ONLY,
aEcd_CursorTests, apzEcd_CursorPatch },
+ { zSco5_Stat_WrappersName, zSco5_Stat_WrappersList,
+ apzSco5_Stat_WrappersMachs, (regex_t*)NULL,
+ SCO5_STAT_WRAPPERS_TEST_CT, FD_MACH_ONLY,
+ aSco5_Stat_WrappersTests, apzSco5_Stat_WrappersPatch },
+
{ zElse_LabelName, zElse_LabelList,
apzElse_LabelMachs, (regex_t*)NULL,
ELSE_LABEL_TEST_CT, FD_MACH_ONLY,
# files which are fixed to work correctly with ANSI C and placed in a
# directory that GNU C will search.
#
-# This script contains 103 fixup scripts.
+# This script contains 104 fixup scripts.
#
# See README-fixinc for more information.
#
' \
-e '/^typedef[ ][ ]*char[ ][ ]*bool[ ]*;/a\
#endif
+' \
+ -e '/^[ ]*typedef[ ][ ]*unsigned char[ ][ ]*bool[ ]*;/i\
+#ifndef __cplusplus
+' \
+ -e '/^[ ]*typedef[ ][ ]*unsigned char[ ][ ]*bool[ ]*;/a\
+#endif
' \
< $infile > ${DESTDIR}/fixinc.tmp
rm -f ${DESTFILE}
#
- # Fix 19: Else_Label
+ # Fix 19: Sco5_Stat_Wrappers
+ #
+ case "${file}" in ./sys/stat.h )
+ case "$target_canonical" in i*86-*-sco3.2v5* )
+ fixlist="${fixlist}
+ sco5_stat_wrappers"
+ if [ ! -r ${DESTFILE} ]
+ then infile=${file}
+ else infile=${DESTFILE} ; fi
+
+ sed -e '/^static int[ ]*[a-z]*stat(/i\
+#ifdef __cplusplus\
+extern "C"\
+{\
+#endif\
+' \
+ -e '/^}$/a\
+#ifdef __cplusplus\
+}\
+#endif /* __cplusplus */\
+' \
+ < $infile > ${DESTDIR}/fixinc.tmp
+ rm -f ${DESTFILE}
+ mv -f ${DESTDIR}/fixinc.tmp ${DESTFILE}
+ ;; # case end for machine type test
+ esac
+ ;; # case end for file name test
+ esac
+
+
+ #
+ # Fix 20: Else_Label
#
if ( test -n "`egrep '^[ ]*#[ ]*else[ ]+[!-.0-~]' ${file}`"
) > /dev/null 2>&1 ; then
#
- # Fix 20: Endif_Label
+ # Fix 21: Endif_Label
#
if ( test -n "`egrep '^[ ]*#[ ]*endif[ ]+[!-.0-z{|}~]' ${file}`"
) > /dev/null 2>&1 ; then
#
- # Fix 21: Hp_Inline
+ # Fix 22: Hp_Inline
#
case "${file}" in ./sys/spinlock.h )
if ( test -n "`egrep 'include.*\"\\.\\./machine/' ${file}`"
#
- # Fix 22: Hp_Sysfile
+ # Fix 23: Hp_Sysfile
#
case "${file}" in ./sys/file.h )
if ( test -n "`egrep 'HPUX_SOURCE' ${file}`"
#
- # Fix 23: Cxx_Unready
+ # Fix 24: Cxx_Unready
#
case "${file}" in ./sys/mman.h | \
./rpc/types.h )
#
- # Fix 24: Hpux_Maxint
+ # Fix 25: Hpux_Maxint
#
case "${file}" in ./sys/param.h )
fixlist="${fixlist}
#
- # Fix 25: Hpux_Systime
+ # Fix 26: Hpux_Systime
#
case "${file}" in ./sys/time.h )
if ( test -n "`egrep '^extern struct sigevent;' ${file}`"
#
- # Fix 26: Interactv_Add1
+ # Fix 27: Interactv_Add1
#
case "${file}" in ./stdio.h | \
./math.h | \
#
- # Fix 27: Interactv_Add2
+ # Fix 28: Interactv_Add2
#
case "${file}" in ./math.h )
if ( test '(' -d /etc/conf/kconfig.d ')' -a \
#
- # Fix 28: Interactv_Add3
+ # Fix 29: Interactv_Add3
#
case "${file}" in ./sys/limits.h )
if ( test '(' -d /etc/conf/kconfig.d ')' -a \
#
- # Fix 29: Io_Def_Quotes
+ # Fix 30: Io_Def_Quotes
#
if ( test -n "`egrep '[ ](_|DES)IO[A-Z]*[ ]*\\( *[^,'\\'']' ${file}`"
) > /dev/null 2>&1 ; then
#
- # Fix 30: Ioctl_Fix_Ctrl
+ # Fix 31: Ioctl_Fix_Ctrl
#
if ( test -n "`egrep 'CTRL[ ]' ${file}`"
) > /dev/null 2>&1 ; then
#
- # Fix 31: Ip_Missing_Semi
+ # Fix 32: Ip_Missing_Semi
#
case "${file}" in ./netinet/ip.h )
fixlist="${fixlist}
#
- # Fix 32: Irix_Multiline_Cmnt
+ # Fix 33: Irix_Multiline_Cmnt
#
case "${file}" in ./sys/types.h )
fixlist="${fixlist}
#
- # Fix 33: Irix_Sockaddr
+ # Fix 34: Irix_Sockaddr
#
case "${file}" in ./rpc/auth.h )
if ( test -n "`egrep 'authdes_create.*struct sockaddr' ${file}`"
#
- # Fix 34: Irix_Struct__File
+ # Fix 35: Irix_Struct__File
#
case "${file}" in ./rpc/xdr.h )
fixlist="${fixlist}
#
- # Fix 35: Isc_Fmod
+ # Fix 36: Isc_Fmod
#
case "${file}" in ./math.h )
if ( test -n "`egrep 'fmod\\(double\\)' ${file}`"
#
- # Fix 36: Motorola_Nested
+ # Fix 37: Motorola_Nested
#
case "${file}" in ./limits.h | \
./sys/limits.h )
#
- # Fix 37: Isc_Sys_Limits
+ # Fix 38: Isc_Sys_Limits
#
case "${file}" in ./sys/limits.h )
if ( test -n "`egrep 'CHILD_MAX' ${file}`"
#
- # Fix 38: Kandr_Concat
+ # Fix 39: Kandr_Concat
#
case "${file}" in ./sparc/asm_linkage.h | \
./sun3/asm_linkage.h | \
#
- # Fix 39: Limits_Ifndefs
+ # Fix 40: Limits_Ifndefs
#
case "${file}" in ./limits.h )
if ( test -z "`egrep 'ifndef[ ]+FLT_MIN' ${file}`"
#
- # Fix 40: Lynx_Void_Int
+ # Fix 41: Lynx_Void_Int
#
case "${file}" in ./curses.h )
if ( test -n "`egrep '#[ ]*define[ ]+void[ ]+int' ${file}`"
#
- # Fix 41: Lynxos_Fcntl_Proto
+ # Fix 42: Lynxos_Fcntl_Proto
#
case "${file}" in ./fcntl.h )
if ( test -n "`egrep 'fcntl.*\\(int, int, int\\)' ${file}`"
#
- # Fix 42: M88k_Bad_Hypot_Opt
+ # Fix 43: M88k_Bad_Hypot_Opt
#
case "${file}" in ./math.h )
case "$target_canonical" in m88k-motorola-sysv3* )
#
- # Fix 43: M88k_Bad_S_If
+ # Fix 44: M88k_Bad_S_If
#
case "${file}" in ./sys/stat.h )
case "$target_canonical" in m88k-*-sysv3* )
#
- # Fix 44: M88k_Multi_Incl
+ # Fix 45: M88k_Multi_Incl
#
case "${file}" in ./time.h )
case "$target_canonical" in m88k-tektronix-sysv3* )
#
- # Fix 45: Machine_Name
+ # Fix 46: Machine_Name
#
if ( test -n "`egrep '^#[ ]*(if|elif).*[^a-zA-Z0-9_](_*[MSRrhim]|[Mbimnpstuv])[a-zA-Z0-9_]' ${file}`"
) > /dev/null 2>&1 ; then
#
- # Fix 46: Math_Exception
+ # Fix 47: Math_Exception
#
case "${file}" in ./math.h )
if ( test -n "`egrep 'struct exception' ${file}`"
#
- # Fix 47: Math_Gcc_Ifndefs
+ # Fix 48: Math_Gcc_Ifndefs
#
case "${file}" in ./math.h )
fixlist="${fixlist}
#
- # Fix 48: Nested_Comment
+ # Fix 49: Nested_Comment
#
case "${file}" in ./rpc/rpc.h )
fixlist="${fixlist}
#
- # Fix 49: News_Os_Recursion
+ # Fix 50: News_Os_Recursion
#
case "${file}" in ./stdlib.h )
if ( test -n "`egrep '#include <stdlib.h>' ${file}`"
#
- # Fix 50: Next_Math_Prefix
+ # Fix 51: Next_Math_Prefix
#
case "${file}" in ./ansi/math.h )
if ( test -n "`egrep '^extern.*double.*__const__.*' ${file}`"
#
- # Fix 51: Next_Template
+ # Fix 52: Next_Template
#
case "${file}" in ./bsd/libc.h )
if ( test -n "`egrep 'template' ${file}`"
#
- # Fix 52: Next_Volitile
+ # Fix 53: Next_Volitile
#
case "${file}" in ./ansi/stdlib.h )
if ( test -n "`egrep 'volatile' ${file}`"
#
- # Fix 53: Next_Wait_Union
+ # Fix 54: Next_Wait_Union
#
case "${file}" in ./sys/wait.h )
if ( test -n "`egrep 'wait\\(union wait' ${file}`"
#
- # Fix 54: Nodeent_Syntax
+ # Fix 55: Nodeent_Syntax
#
case "${file}" in ./netdnet/dnetdb.h )
fixlist="${fixlist}
#
- # Fix 55: Osf_Namespace_A
+ # Fix 56: Osf_Namespace_A
#
case "${file}" in ./reg_types.h | \
./sys/lc_core.h )
#
- # Fix 56: Osf_Namespace_B
+ # Fix 57: Osf_Namespace_B
#
case "${file}" in ./regex.h )
if ( test '(' -r reg_types.h ')' -a \
#
- # Fix 57: Pthread_Page_Size
+ # Fix 58: Pthread_Page_Size
#
case "${file}" in ./pthread.h )
if ( test -n "`egrep '^int __page_size' ${file}`"
#
- # Fix 58: Rs6000_Double
+ # Fix 59: Rs6000_Double
#
case "${file}" in ./math.h )
if ( test -n "`egrep '[^a-zA-Z_]class\\(' ${file}`"
#
- # Fix 59: Rs6000_Fchmod
+ # Fix 60: Rs6000_Fchmod
#
case "${file}" in ./sys/stat.h )
if ( test -n "`egrep 'fchmod\\(char' ${file}`"
#
- # Fix 60: Rs6000_Param
+ # Fix 61: Rs6000_Param
#
case "${file}" in ./stdio.h | \
./unistd.h )
#
- # Fix 61: Sony_Include
+ # Fix 62: Sony_Include
#
case "${file}" in ./machine/machparam.h )
if ( test -n "`egrep '\"\\.\\./machine/endian.h\"' ${file}`"
#
- # Fix 62: Statsswtch
+ # Fix 63: Statsswtch
#
case "${file}" in ./rpcsvc/rstat.h )
if ( test -n "`egrep 'boottime$' ${file}`"
#
- # Fix 63: Stdio_Va_List
+ # Fix 64: Stdio_Va_List
#
case "${file}" in ./stdio.h )
fixlist="${fixlist}
#
- # Fix 64: Sun_Bogus_Ifdef
+ # Fix 65: Sun_Bogus_Ifdef
#
case "${file}" in ./hsfs/hsfs_spec.h | \
./hsfs/iso_spec.h )
#
- # Fix 65: Sun_Bogus_Ifdef_Sun4c
+ # Fix 66: Sun_Bogus_Ifdef_Sun4c
#
case "${file}" in ./hsfs/hsnode.h )
if ( test -n "`egrep '#ifdef __i386__ || __sun4c__' ${file}`"
#
- # Fix 66: Sun_Catmacro
+ # Fix 67: Sun_Catmacro
#
case "${file}" in ./pixrect/memvar.h )
if ( test -n "`egrep '^#define[ ]+CAT(a,b)' ${file}`"
#
- # Fix 67: Sun_Malloc
+ # Fix 68: Sun_Malloc
#
case "${file}" in ./malloc.h )
fixlist="${fixlist}
#
- # Fix 68: Sun_Memcpy
+ # Fix 69: Sun_Memcpy
#
case "${file}" in ./memory.h )
if ( test -n "`egrep '/\\* @\\(#\\)(head/memory.h 50.1 |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2 )\\*/' ${file}`"
#
- # Fix 69: Sun_Rusers_Semi
+ # Fix 70: Sun_Rusers_Semi
#
case "${file}" in ./rpcsvc/rusers.h )
if ( test -n "`egrep '_cnt$' ${file}`"
#
- # Fix 70: Sun_Signal
+ # Fix 71: Sun_Signal
#
case "${file}" in ./sys/signal.h | \
./signal.h )
#
- # Fix 71: Sun_Auth_Proto
+ # Fix 72: Sun_Auth_Proto
#
case "${file}" in ./rpc/auth.h | \
./rpc/clnt.h | \
#
- # Fix 72: Sunos_Matherr_Decl
+ # Fix 73: Sunos_Matherr_Decl
#
case "${file}" in ./math.h )
fixlist="${fixlist}
#
- # Fix 73: Sunos_Strlen
+ # Fix 74: Sunos_Strlen
#
case "${file}" in ./strings.h )
fixlist="${fixlist}
#
- # Fix 74: Systypes
+ # Fix 75: Systypes
#
case "${file}" in ./sys/types.h | \
./stdlib.h | \
#
- # Fix 75: Systypes_For_Aix
+ # Fix 76: Systypes_For_Aix
#
case "${file}" in ./sys/types.h )
if ( test -n "`egrep 'typedef[ ][ ]*[A-Za-z_][ A-Za-z_]*[ ]size_t' ${file}`" -a \
#
- # Fix 76: Sysv68_String
+ # Fix 77: Sysv68_String
#
case "${file}" in ./string.h )
fixlist="${fixlist}
#
- # Fix 77: Sysz_Stdlib_For_Sun
+ # Fix 78: Sysz_Stdlib_For_Sun
#
case "${file}" in ./stdlib.h )
case "$target_canonical" in *-sun* | \
#
- # Fix 78: Sysz_Stdtypes_For_Sun
+ # Fix 79: Sysz_Stdtypes_For_Sun
#
case "${file}" in ./sys/stdtypes.h )
fixlist="${fixlist}
#
- # Fix 79: Tinfo_Cplusplus
+ # Fix 80: Tinfo_Cplusplus
#
case "${file}" in ./tinfo.h )
fixlist="${fixlist}
#
- # Fix 80: Ultrix_Ansi_Compat
+ # Fix 81: Ultrix_Ansi_Compat
#
case "${file}" in ./ansi_compat.h )
if ( test -n "`egrep 'ULTRIX' ${file}`"
#
- # Fix 81: Ultrix_Fix_Fixproto
+ # Fix 82: Ultrix_Fix_Fixproto
#
case "${file}" in ./sys/utsname.h )
if ( test -n "`egrep 'ULTRIX' ${file}`"
#
- # Fix 82: Ultrix_Atof_Param
+ # Fix 83: Ultrix_Atof_Param
#
case "${file}" in ./math.h )
fixlist="${fixlist}
#
- # Fix 83: Ultrix_Const
+ # Fix 84: Ultrix_Const
#
case "${file}" in ./stdio.h )
fixlist="${fixlist}
#
- # Fix 84: Ultrix_Ifdef
+ # Fix 85: Ultrix_Ifdef
#
case "${file}" in ./sys/file.h )
if ( test -n "`egrep '#ifdef KERNEL' ${file}`"
#
- # Fix 85: Ultrix_Nested_Cmnt
+ # Fix 86: Ultrix_Nested_Cmnt
#
case "${file}" in ./rpc/svc.h )
fixlist="${fixlist}
#
- # Fix 86: Ultrix_Static
+ # Fix 87: Ultrix_Static
#
case "${file}" in ./machine/cpu.h )
if ( test -n "`egrep '#include \"r[34]_cpu' ${file}`"
#
- # Fix 87: Undefine_Null
+ # Fix 88: Undefine_Null
#
if ( test -n "`egrep '^#[ ]*define[ ]*[ ]NULL[ ]' ${file}`" -a \
-z "`egrep '#[ ]*(ifn|un)def[ ]*[ ]NULL($|[ ])' ${file}`"
#
- # Fix 88: Va_I960_Macro
+ # Fix 89: Va_I960_Macro
#
case "${file}" in ./arch/i960/archI960.h )
if ( test -n "`egrep '__(vsiz|vali|vpad|alignof__)' ${file}`"
#
- # Fix 89: Void_Null
+ # Fix 90: Void_Null
#
case "${file}" in ./curses.h | \
./dbm.h | \
#
- # Fix 90: Vxworks_Gcc_Problem
+ # Fix 91: Vxworks_Gcc_Problem
#
case "${file}" in ./types/vxTypesBase.h )
if ( test -n "`egrep '__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__' ${file}`"
#
- # Fix 91: Vxworks_Needs_Vxtypes
+ # Fix 92: Vxworks_Needs_Vxtypes
#
case "${file}" in ./time.h )
if ( test -n "`egrep 'uint_t[ ][ ]*_clocks_per_sec' ${file}`"
#
- # Fix 92: Vxworks_Needs_Vxworks
+ # Fix 93: Vxworks_Needs_Vxworks
#
case "${file}" in ./sys/stat.h )
if ( test -n "`egrep '#[ ]define[ ][ ]*__INCstath' ${file}`" -a \
#
- # Fix 93: Vxworks_Time
+ # Fix 94: Vxworks_Time
#
case "${file}" in ./time.h )
if ( test -n "`egrep 'VOIDFUNCPTR' ${file}`" -a \
#
- # Fix 94: X11_Class
+ # Fix 95: X11_Class
#
case "${file}" in ./X11/ShellP.h )
if ( test -z "`egrep '__cplusplus' ${file}`"
#
- # Fix 95: X11_Class_Usage
+ # Fix 96: X11_Class_Usage
#
case "${file}" in ./Xm/BaseClassI.h )
if ( test -z "`egrep '__cplusplus' ${file}`"
#
- # Fix 96: X11_New
+ # Fix 97: X11_New
#
case "${file}" in ./Xm/Traversal.h )
if ( test -z "`egrep '__cplusplus' ${file}`"
#
- # Fix 97: X11_Sprintf
+ # Fix 98: X11_Sprintf
#
case "${file}" in ./X11*/Xmu.h )
fixlist="${fixlist}
#
- # Fix 98: Zzz_Ki_Iface
+ # Fix 99: Zzz_Ki_Iface
#
case "${file}" in ./sys/ki_iface.h )
if ( test -n "`egrep 'These definitions are for HP Internal developers' ${file}`"
#
- # Fix 99: Zzz_Ki
+ # Fix 100: Zzz_Ki
#
case "${file}" in ./sys/ki.h )
if ( test -n "`egrep '11.00 HP-UX LP64' ${file}`"
#
- # Fix 100: Zzz_Ki_Calls
+ # Fix 101: Zzz_Ki_Calls
#
case "${file}" in ./sys/ki_calls.h )
if ( test -n "`egrep 'kthread_create_caller_t' ${file}`"
#
- # Fix 101: Zzz_Ki_Defs
+ # Fix 102: Zzz_Ki_Defs
#
case "${file}" in ./sys/ki_defs.h )
if ( test -n "`egrep 'Kernel Instrumentation Definitions' ${file}`"
#
- # Fix 102: Zzz_Bad_Fixes
+ # Fix 103: Zzz_Bad_Fixes
#
case "${file}" in ./sundev/ipi_error.h )
fixlist="${fixlist}
#
- # Fix 103: Zzz_Time
+ # Fix 104: Zzz_Time
#
case "${file}" in ./sys/time.h )
if ( test -n "`egrep '11.0 and later representation of ki time' ${file}`"