2 * DO NOT EDIT THIS FILE - it has been generated
4 * Install modified versions of certain ANSI-incompatible system header
5 * files which are fixed to work correctly with ANSI C and placed in a
6 * directory that GNU C will search.
8 * This file contains 104 fixup descriptions.
10 * See README-fixinc for more information.
12 * inclhack copyright (c) 1999 The Free Software Foundation, Inc.
14 * inclhack is free software.
16 * You may redistribute it and/or modify it under the terms of the
17 * GNU General Public License, as published by the Free Software
18 * Foundation; either version 2, or (at your option) any later version.
20 * inclhack is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23 * See the GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
26 * along with inclhack. See the file "COPYING". If not,
27 * write to: The Free Software Foundation, Inc.,
28 * 59 Temple Place - Suite 330,
29 * Boston, MA 02111-1307, USA.
32 * Description 1 - Aix_Syswait fix
34 tSCC zAix_SyswaitName[] =
37 * File name selection pattern
39 tSCC zAix_SyswaitList[] =
42 * Machine/OS name selection pattern
44 #define apzAix_SyswaitMachs (const char**)NULL
47 * content selection pattern - do fix if pattern found
49 tSCC zAix_SyswaitSelect0[] =
52 #define AIX_SYSWAIT_TEST_CT 1
53 #define AIX_SYSWAIT_RE_CT 1
54 tTestDesc aAix_SyswaitTests[] = {
55 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL }, };
58 * Fix Command Arguments for Aix_Syswait
60 const char* apzAix_SyswaitPatch[] = { "sed",
61 "-e", "/^extern pid_t wait3();$/i\\\n\
65 /* * * * * * * * * * * * * * * * * * * * * * * * * *
67 * Description 2 - Aix_Volatile fix
69 tSCC zAix_VolatileName[] =
72 * File name selection pattern
74 tSCC zAix_VolatileList[] =
77 * Machine/OS name selection pattern
79 #define apzAix_VolatileMachs (const char**)NULL
82 * content selection pattern - do fix if pattern found
84 tSCC zAix_VolatileSelect0[] =
85 "typedef volatile int sig_atomic_t";
87 #define AIX_VOLATILE_TEST_CT 1
88 #define AIX_VOLATILE_RE_CT 1
89 tTestDesc aAix_VolatileTests[] = {
90 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
93 * Fix Command Arguments for Aix_Volatile
95 const char* apzAix_VolatilePatch[] = { "sed",
96 "-e", "s/typedef volatile int sig_atomic_t/typedef int sig_atomic_t/",
99 /* * * * * * * * * * * * * * * * * * * * * * * * * *
101 * Description 3 - Alpha_Getopt fix
103 tSCC zAlpha_GetoptName[] =
106 * File name selection pattern
108 tSCC zAlpha_GetoptList[] =
109 "|stdio.h|stdlib.h|";
111 * Machine/OS name selection pattern
113 #define apzAlpha_GetoptMachs (const char**)NULL
116 * content selection pattern - do fix if pattern found
118 tSCC zAlpha_GetoptSelect0[] =
119 "getopt\\(int, char \\*\\[";
121 #define ALPHA_GETOPT_TEST_CT 1
122 #define ALPHA_GETOPT_RE_CT 1
123 tTestDesc aAlpha_GetoptTests[] = {
124 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
127 * Fix Command Arguments for Alpha_Getopt
129 const char* apzAlpha_GetoptPatch[] = { "sed",
130 "-e", "s/getopt(int, char \\*\\[\\],[ ]*char \\*)/getopt(int, char *const[], const char *)/",
133 /* * * * * * * * * * * * * * * * * * * * * * * * * *
135 * Description 4 - Alpha_Parens fix
137 tSCC zAlpha_ParensName[] =
140 * File name selection pattern
142 tSCC zAlpha_ParensList[] =
145 * Machine/OS name selection pattern
147 #define apzAlpha_ParensMachs (const char**)NULL
150 * content selection pattern - do fix if pattern found
152 tSCC zAlpha_ParensSelect0[] =
153 "#ifndef\\(__mips64\\)";
155 #define ALPHA_PARENS_TEST_CT 1
156 #define ALPHA_PARENS_RE_CT 1
157 tTestDesc aAlpha_ParensTests[] = {
158 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
161 * Fix Command Arguments for Alpha_Parens
163 const char* apzAlpha_ParensPatch[] = { "sed",
164 "-e", "s/#ifndef(__mips64)/#ifndef __mips64/",
167 /* * * * * * * * * * * * * * * * * * * * * * * * * *
169 * Description 5 - Alpha_Sbrk fix
171 tSCC zAlpha_SbrkName[] =
174 * File name selection pattern
176 tSCC zAlpha_SbrkList[] =
179 * Machine/OS name selection pattern
181 #define apzAlpha_SbrkMachs (const char**)NULL
184 * content selection pattern - do fix if pattern found
186 tSCC zAlpha_SbrkSelect0[] =
187 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
189 #define ALPHA_SBRK_TEST_CT 1
190 #define ALPHA_SBRK_RE_CT 1
191 tTestDesc aAlpha_SbrkTests[] = {
192 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
195 * Fix Command Arguments for Alpha_Sbrk
197 const char* apzAlpha_SbrkPatch[] = { "sed",
198 "-e", "s/char\\([ \t]*\\*[\t ]*sbrk[ \t]*(\\)/void\\1/",
201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
203 * Description 6 - Arm_Norcroft_Hint fix
205 tSCC zArm_Norcroft_HintName[] =
208 * File name selection pattern
210 tSCC zArm_Norcroft_HintList[] =
213 * Machine/OS name selection pattern
215 #define apzArm_Norcroft_HintMachs (const char**)NULL
218 * content selection pattern - do fix if pattern found
220 tSCC zArm_Norcroft_HintSelect0[] =
223 #define ARM_NORCROFT_HINT_TEST_CT 1
224 #define ARM_NORCROFT_HINT_RE_CT 1
225 tTestDesc aArm_Norcroft_HintTests[] = {
226 { TT_EGREP, zArm_Norcroft_HintSelect0, (regex_t*)NULL }, };
229 * Fix Command Arguments for Arm_Norcroft_Hint
231 const char* apzArm_Norcroft_HintPatch[] = { "sed",
232 "-e", "s/___type p_type/p_type/",
235 /* * * * * * * * * * * * * * * * * * * * * * * * * *
237 * Description 7 - Arm_Wchar fix
239 tSCC zArm_WcharName[] =
242 * File name selection pattern
244 tSCC zArm_WcharList[] =
247 * Machine/OS name selection pattern
249 #define apzArm_WcharMachs (const char**)NULL
252 * content selection pattern - do fix if pattern found
254 tSCC zArm_WcharSelect0[] =
255 "#[ \t]*define[ \t]*__wchar_t";
257 #define ARM_WCHAR_TEST_CT 1
258 #define ARM_WCHAR_RE_CT 1
259 tTestDesc aArm_WcharTests[] = {
260 { TT_EGREP, zArm_WcharSelect0, (regex_t*)NULL }, };
263 * Fix Command Arguments for Arm_Wchar
265 const char* apzArm_WcharPatch[] = { "sed",
266 "-e", "s/\\(#[ \t]*ifndef[ \t]*\\)__wchar_t/\\1_GCC_WCHAR_T/",
267 "-e", "s/\\(#[ \t]*define[ \t]*\\)__wchar_t/\\1_GCC_WCHAR_T/",
270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
272 * Description 8 - Aux_Asm fix
274 tSCC zAux_AsmName[] =
277 * File name selection pattern
279 tSCC zAux_AsmList[] =
282 * Machine/OS name selection pattern
284 #define apzAux_AsmMachs (const char**)NULL
287 * content selection pattern - do fix if pattern found
289 tSCC zAux_AsmSelect0[] =
292 #define AUX_ASM_TEST_CT 1
293 #define AUX_ASM_RE_CT 1
294 tTestDesc aAux_AsmTests[] = {
295 { TT_EGREP, zAux_AsmSelect0, (regex_t*)NULL }, };
298 * Fix Command Arguments for Aux_Asm
300 const char* apzAux_AsmPatch[] = { "sed",
301 "-e", "s|#ifndef NOINLINE|#if !defined(NOINLINE) \\&\\& !defined(__GNUC__)|",
304 /* * * * * * * * * * * * * * * * * * * * * * * * * *
306 * Description 9 - Avoid_Bool fix
308 tSCC zAvoid_BoolName[] =
311 * File name selection pattern
313 tSCC zAvoid_BoolList[] =
314 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
316 * Machine/OS name selection pattern
318 #define apzAvoid_BoolMachs (const char**)NULL
319 #define AVOID_BOOL_TEST_CT 0
320 #define AVOID_BOOL_RE_CT 0
321 #define aAvoid_BoolTests (tTestDesc*)NULL
324 * Fix Command Arguments for Avoid_Bool
326 const char* apzAvoid_BoolPatch[] = { "sed",
327 "-e", "/^#[ \t]*define[ \t][ \t]*bool[ \t][ \t]*char[ \t]*$/i\\\n\
328 #ifndef __cplusplus\n",
329 "-e", "/^#[ \t]*define[ \t][ \t]*bool[ \t][ \t]*char[ \t]*$/a\\\n\
331 "-e", "/^typedef[ \t][ \t]*char[ \t][ \t]*bool[ \t]*;/i\\\n\
332 #ifndef __cplusplus\n",
333 "-e", "/^typedef[ \t][ \t]*char[ \t][ \t]*bool[ \t]*;/a\\\n\
335 "-e", "/^[ ]*typedef[ \t][ \t]*unsigned char[ \t][ \t]*bool[ \t]*;/i\\\n\
336 #ifndef __cplusplus\n",
337 "-e", "/^[ ]*typedef[ \t][ \t]*unsigned char[ \t][ \t]*bool[ \t]*;/a\\\n\
339 "-e", "/^typedef[ \t][ \t]*int[ \t][ \t]*bool[ \t]*;/i\\\n\
340 #ifndef __cplusplus\n",
341 "-e", "/^typedef[ \t][ \t]*int[ \t][ \t]*bool[ \t]*;/a\\\n\
343 "-e", "/^[ ]*typedef[ \t][ \t]*unsigned int[ \t][ \t]*bool[ \t]*;/i\\\n\
344 #ifndef __cplusplus\n",
345 "-e", "/^[ ]*typedef[ \t][ \t]*unsigned int[ \t][ \t]*bool[ \t]*;/a\\\n\
349 /* * * * * * * * * * * * * * * * * * * * * * * * * *
351 * Description 10 - Bad_Struct_Term fix
353 tSCC zBad_Struct_TermName[] =
356 * File name selection pattern
358 tSCC zBad_Struct_TermList[] =
361 * Machine/OS name selection pattern
363 #define apzBad_Struct_TermMachs (const char**)NULL
366 * content selection pattern - do fix if pattern found
368 tSCC zBad_Struct_TermSelect0[] =
369 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
371 #define BAD_STRUCT_TERM_TEST_CT 1
372 #define BAD_STRUCT_TERM_RE_CT 1
373 tTestDesc aBad_Struct_TermTests[] = {
374 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
377 * Fix Command Arguments for Bad_Struct_Term
379 const char* apzBad_Struct_TermPatch[] = { "sed",
380 "-e", "s/^[ \t]*typedef[ \t][ \t]*\\(struct[ \t][ \t]*term[ \t]*;[ \t]*\\)$/\\1/",
383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
385 * Description 11 - Badquote fix
387 tSCC zBadquoteName[] =
390 * File name selection pattern
392 tSCC zBadquoteList[] =
393 "|sundev/vuid_event.h|";
395 * Machine/OS name selection pattern
397 #define apzBadquoteMachs (const char**)NULL
398 #define BADQUOTE_TEST_CT 0
399 #define BADQUOTE_RE_CT 0
400 #define aBadquoteTests (tTestDesc*)NULL
403 * Fix Command Arguments for Badquote
405 const char* apzBadquotePatch[] = { "sed",
406 "-e", "s/doesn't/does not/",
409 /* * * * * * * * * * * * * * * * * * * * * * * * * *
411 * Description 12 - Bad_Lval fix
413 tSCC zBad_LvalName[] =
416 * File name selection pattern
418 tSCC zBad_LvalList[] =
419 "|libgen.h|dirent.h|ftw.h|grp.h|ndbm.h|pthread.h|pwd.h|signal.h|standards.h|stdlib.h|string.h|stropts.h|time.h|unistd.h|";
421 * Machine/OS name selection pattern
423 #define apzBad_LvalMachs (const char**)NULL
426 * content selection pattern - do fix if pattern found
428 tSCC zBad_LvalSelect0[] =
429 "^[ \t]*#[ \t]*pragma[ \t]extern_prefix";
431 #define BAD_LVAL_TEST_CT 1
432 #define BAD_LVAL_RE_CT 1
433 tTestDesc aBad_LvalTests[] = {
434 { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
437 * Fix Command Arguments for Bad_Lval
439 const char* apzBad_LvalPatch[] = { "sed",
440 "-e", "s/^[ \t]*#[ \t]*define[ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
443 /* * * * * * * * * * * * * * * * * * * * * * * * * *
445 * Description 13 - Broken_Assert_Stdio fix
447 tSCC zBroken_Assert_StdioName[] =
448 "Broken_Assert_Stdio";
450 * File name selection pattern
452 tSCC zBroken_Assert_StdioList[] =
455 * Machine/OS name selection pattern
457 #define apzBroken_Assert_StdioMachs (const char**)NULL
460 * content selection pattern - do fix if pattern found
462 tSCC zBroken_Assert_StdioSelect0[] =
466 * content bypass pattern - skip fix if pattern found
468 tSCC zBroken_Assert_StdioBypass0[] =
471 #define BROKEN_ASSERT_STDIO_TEST_CT 2
472 #define BROKEN_ASSERT_STDIO_RE_CT 2
473 tTestDesc aBroken_Assert_StdioTests[] = {
474 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
475 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
478 * Fix Command Arguments for Broken_Assert_Stdio
480 const char* apzBroken_Assert_StdioPatch[] = { "sed",
482 #include <stdio.h>\n",
485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
487 * Description 14 - Broken_Assert_Stdlib fix
489 tSCC zBroken_Assert_StdlibName[] =
490 "Broken_Assert_Stdlib";
492 * File name selection pattern
494 tSCC zBroken_Assert_StdlibList[] =
497 * Machine/OS name selection pattern
499 #define apzBroken_Assert_StdlibMachs (const char**)NULL
502 * content selection pattern - do fix if pattern found
504 tSCC zBroken_Assert_StdlibSelect0[] =
505 "exit *\\(|abort *\\(";
508 * content bypass pattern - skip fix if pattern found
510 tSCC zBroken_Assert_StdlibBypass0[] =
513 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
514 #define BROKEN_ASSERT_STDLIB_RE_CT 2
515 tTestDesc aBroken_Assert_StdlibTests[] = {
516 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
517 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
520 * Fix Command Arguments for Broken_Assert_Stdlib
522 const char* apzBroken_Assert_StdlibPatch[] = { "sed",
524 #ifdef __cplusplus\\\n\
525 #include <stdlib.h>\\\n\
529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
531 * Description 15 - Bsd43_Io_Macros fix
533 tSCC zBsd43_Io_MacrosName[] =
536 * File name selection pattern
538 #define zBsd43_Io_MacrosList (char*)NULL
540 * Machine/OS name selection pattern
542 #define apzBsd43_Io_MacrosMachs (const char**)NULL
545 * content selection pattern - do fix if pattern found
547 tSCC zBsd43_Io_MacrosSelect0[] =
550 #define BSD43_IO_MACROS_TEST_CT 1
551 #define BSD43_IO_MACROS_RE_CT 1
552 tTestDesc aBsd43_Io_MacrosTests[] = {
553 { TT_EGREP, zBsd43_Io_MacrosSelect0, (regex_t*)NULL }, };
556 * Fix Command Arguments for Bsd43_Io_Macros
558 const char* apzBsd43_Io_MacrosPatch[] = { "sed",
559 "-e", "/[ \t]BSD43__IO[A-Z]*[ \t]*(/s/(\\(.\\),/('\\1',/",
560 "-e", "/#[ \t]*define[ \t]*[ \t]BSD43__IO/s/'\\([cgx]\\)'/\\1/g",
563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
565 * Description 16 - Dec_Intern_Asm fix
567 tSCC zDec_Intern_AsmName[] =
570 * File name selection pattern
572 tSCC zDec_Intern_AsmList[] =
575 * Machine/OS name selection pattern
577 #define apzDec_Intern_AsmMachs (const char**)NULL
578 #define DEC_INTERN_ASM_TEST_CT 0
579 #define DEC_INTERN_ASM_RE_CT 0
580 #define aDec_Intern_AsmTests (tTestDesc*)NULL
583 * Fix Command Arguments for Dec_Intern_Asm
585 const char* apzDec_Intern_AsmPatch[] = { "sed",
586 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
588 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
592 /* * * * * * * * * * * * * * * * * * * * * * * * * *
594 * Description 17 - No_Double_Slash fix
596 tSCC zNo_Double_SlashName[] =
599 * File name selection pattern
601 #define zNo_Double_SlashList (char*)NULL
603 * Machine/OS name selection pattern
605 #define apzNo_Double_SlashMachs (const char**)NULL
608 * content selection pattern - do fix if pattern found
610 tSCC zNo_Double_SlashSelect0[] =
614 * perform the 'test' shell command - do fix on success
616 tSCC zNo_Double_SlashTest0[] =
617 "-z `echo ${file} | egrep '(CC|cxx|\\+\\+)/' `";
619 #define NO_DOUBLE_SLASH_TEST_CT 2
620 #define NO_DOUBLE_SLASH_RE_CT 1
621 tTestDesc aNo_Double_SlashTests[] = {
622 { TT_TEST, zNo_Double_SlashTest0, 0 /* unused */ },
623 { TT_EGREP, zNo_Double_SlashSelect0, (regex_t*)NULL }, };
626 * Fix Command Arguments for No_Double_Slash
628 const char* apzNo_Double_SlashPatch[] = { "sed",
630 "-e", "s,[^:]//[^\"].*$,,",
633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
635 * Description 18 - Ecd_Cursor fix
637 tSCC zEcd_CursorName[] =
640 * File name selection pattern
642 tSCC zEcd_CursorList[] =
643 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
645 * Machine/OS name selection pattern
647 #define apzEcd_CursorMachs (const char**)NULL
648 #define ECD_CURSOR_TEST_CT 0
649 #define ECD_CURSOR_RE_CT 0
650 #define aEcd_CursorTests (tTestDesc*)NULL
653 * Fix Command Arguments for Ecd_Cursor
655 const char* apzEcd_CursorPatch[] = { "sed",
656 "-e", "s/ecd.cursor/ecd_cursor/",
659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
661 * Description 19 - Sco5_Stat_Wrappers fix
663 tSCC zSco5_Stat_WrappersName[] =
664 "Sco5_Stat_Wrappers";
666 * File name selection pattern
668 tSCC zSco5_Stat_WrappersList[] =
671 * Machine/OS name selection pattern
673 tSCC* apzSco5_Stat_WrappersMachs[] = {
676 #define SCO5_STAT_WRAPPERS_TEST_CT 0
677 #define SCO5_STAT_WRAPPERS_RE_CT 0
678 #define aSco5_Stat_WrappersTests (tTestDesc*)NULL
681 * Fix Command Arguments for Sco5_Stat_Wrappers
683 const char* apzSco5_Stat_WrappersPatch[] = { "sed",
684 "-e", "/^static int[ \t]*[a-z]*stat(/i\\\n\
685 #ifdef __cplusplus\\\n\
690 #ifdef __cplusplus\\\n\
692 #endif /* __cplusplus */\\\n",
695 /* * * * * * * * * * * * * * * * * * * * * * * * * *
697 * Description 20 - Else_Label fix
699 tSCC zElse_LabelName[] =
702 * File name selection pattern
704 #define zElse_LabelList (char*)NULL
706 * Machine/OS name selection pattern
708 #define apzElse_LabelMachs (const char**)NULL
711 * content selection pattern - do fix if pattern found
713 tSCC zElse_LabelSelect0[] =
714 "^[ \t]*#[ \t]*else[ \t]+[!-.0-~]";
716 #define ELSE_LABEL_TEST_CT 1
717 #define ELSE_LABEL_RE_CT 1
718 tTestDesc aElse_LabelTests[] = {
719 { TT_EGREP, zElse_LabelSelect0, (regex_t*)NULL }, };
722 * Fix Command Arguments for Else_Label
724 const char* apzElse_LabelPatch[] = { "sed",
727 s/\\\\$/\\\\+++fixinc_eol+++/\n\
729 s/\\\\+++fixinc_eol+++/\\\\/g\n\
730 s%^\\([ \t]*#[ \t]*else\\)[ \t]*/[^*].*%\\1%\n\
731 s%^\\([ \t]*#[ \t]*else\\)[ \t]*[^/ \t].*%\\1%",
734 /* * * * * * * * * * * * * * * * * * * * * * * * * *
736 * Description 21 - Endif_Label fix
738 tSCC zEndif_LabelName[] =
741 * File name selection pattern
743 #define zEndif_LabelList (char*)NULL
745 * Machine/OS name selection pattern
747 #define apzEndif_LabelMachs (const char**)NULL
750 * content selection pattern - do fix if pattern found
752 tSCC zEndif_LabelSelect0[] =
753 "^[ \t]*#[ \t]*endif[ \t]+[!-.0-z{|}~]";
755 #define ENDIF_LABEL_TEST_CT 1
756 #define ENDIF_LABEL_RE_CT 1
757 tTestDesc aEndif_LabelTests[] = {
758 { TT_EGREP, zEndif_LabelSelect0, (regex_t*)NULL }, };
761 * Fix Command Arguments for Endif_Label
763 const char* apzEndif_LabelPatch[] = { "sed",
766 s/\\\\$/\\\\+++fixinc_eol+++/\n\
768 s/\\\\+++fixinc_eol+++/\\\\/g\n\
769 s%^\\([ \t]*#[ \t]*endif\\)[ \t]*/[^*].*%\\1%\n\
770 s%^\\([ \t]*#[ \t]*endif\\)[ \t]*\\*[^/].*%\\1%\n\
771 s%^\\([ \t]*#[ \t]*endif\\)[ \t]*[^/* \t].*%\\1%",
774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
776 * Description 22 - Hp_Inline fix
778 tSCC zHp_InlineName[] =
781 * File name selection pattern
783 tSCC zHp_InlineList[] =
786 * Machine/OS name selection pattern
788 #define apzHp_InlineMachs (const char**)NULL
791 * content selection pattern - do fix if pattern found
793 tSCC zHp_InlineSelect0[] =
794 "include.*\"\\.\\./machine/";
796 #define HP_INLINE_TEST_CT 1
797 #define HP_INLINE_RE_CT 1
798 tTestDesc aHp_InlineTests[] = {
799 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
802 * Fix Command Arguments for Hp_Inline
804 const char* apzHp_InlinePatch[] = { "sed",
805 "-e", "s,\"../machine/inline.h\",<machine/inline.h>,",
806 "-e", "s,\"../machine/psl.h\",<machine/psl.h>,",
809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
811 * Description 23 - Hp_Sysfile fix
813 tSCC zHp_SysfileName[] =
816 * File name selection pattern
818 tSCC zHp_SysfileList[] =
821 * Machine/OS name selection pattern
823 #define apzHp_SysfileMachs (const char**)NULL
826 * content selection pattern - do fix if pattern found
828 tSCC zHp_SysfileSelect0[] =
831 #define HP_SYSFILE_TEST_CT 1
832 #define HP_SYSFILE_RE_CT 1
833 tTestDesc aHp_SysfileTests[] = {
834 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
837 * Fix Command Arguments for Hp_Sysfile
839 const char* apzHp_SysfilePatch[] = { "sed",
840 "-e", "s/(\\.\\.\\.)/(struct file * ...)/",
843 /* * * * * * * * * * * * * * * * * * * * * * * * * *
845 * Description 24 - Cxx_Unready fix
847 tSCC zCxx_UnreadyName[] =
850 * File name selection pattern
852 tSCC zCxx_UnreadyList[] =
853 "|sys/mman.h|rpc/types.h|";
855 * Machine/OS name selection pattern
857 #define apzCxx_UnreadyMachs (const char**)NULL
860 * content bypass pattern - skip fix if pattern found
862 tSCC zCxx_UnreadyBypass0[] =
863 "\"C\"|__BEGIN_DECLS";
865 #define CXX_UNREADY_TEST_CT 1
866 #define CXX_UNREADY_RE_CT 1
867 tTestDesc aCxx_UnreadyTests[] = {
868 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL }, };
871 * Fix Command Arguments for Cxx_Unready
873 const char* apzCxx_UnreadyPatch[] = { "sed",
875 #ifdef __cplusplus\\\n\
880 #ifdef __cplusplus\\\n\
885 /* * * * * * * * * * * * * * * * * * * * * * * * * *
887 * Description 25 - Hpux_Maxint fix
889 tSCC zHpux_MaxintName[] =
892 * File name selection pattern
894 tSCC zHpux_MaxintList[] =
897 * Machine/OS name selection pattern
899 #define apzHpux_MaxintMachs (const char**)NULL
900 #define HPUX_MAXINT_TEST_CT 0
901 #define HPUX_MAXINT_RE_CT 0
902 #define aHpux_MaxintTests (tTestDesc*)NULL
905 * Fix Command Arguments for Hpux_Maxint
907 const char* apzHpux_MaxintPatch[] = { "sed",
908 "-e", "/^#[ \t]*define[ \t]*MAXINT[ \t]/i\\\n\
910 "-e", "/^#[ \t]*define[ \t]*MAXINT[ \t]/a\\\n\
914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
916 * Description 26 - Hpux_Systime fix
918 tSCC zHpux_SystimeName[] =
921 * File name selection pattern
923 tSCC zHpux_SystimeList[] =
926 * Machine/OS name selection pattern
928 #define apzHpux_SystimeMachs (const char**)NULL
931 * content selection pattern - do fix if pattern found
933 tSCC zHpux_SystimeSelect0[] =
934 "^extern struct sigevent;";
936 #define HPUX_SYSTIME_TEST_CT 1
937 #define HPUX_SYSTIME_RE_CT 1
938 tTestDesc aHpux_SystimeTests[] = {
939 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
942 * Fix Command Arguments for Hpux_Systime
944 const char* apzHpux_SystimePatch[] = { "sed",
945 "-e", "s/^extern struct sigevent;/struct sigevent;/",
948 /* * * * * * * * * * * * * * * * * * * * * * * * * *
950 * Description 27 - Interactv_Add1 fix
952 tSCC zInteractv_Add1Name[] =
955 * File name selection pattern
957 tSCC zInteractv_Add1List[] =
958 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
960 * Machine/OS name selection pattern
962 #define apzInteractv_Add1Machs (const char**)NULL
965 * perform the 'test' shell command - do fix on success
967 tSCC zInteractv_Add1Test0[] =
968 " -d /etc/conf/kconfig.d";
969 tSCC zInteractv_Add1Test1[] =
970 " -n \"`grep _POSIX_VERSION /usr/include/sys/unistd.h`\"";
972 #define INTERACTV_ADD1_TEST_CT 2
973 #define INTERACTV_ADD1_RE_CT 0
974 tTestDesc aInteractv_Add1Tests[] = {
975 { TT_TEST, zInteractv_Add1Test0, 0 /* unused */ },
976 { TT_TEST, zInteractv_Add1Test1, 0 /* unused */ }, };
979 * Fix Command Arguments for Interactv_Add1
981 const char* apzInteractv_Add1Patch[] = { "sed",
982 "-e", "s/!defined(__STDC__) && !defined(_POSIX_SOURCE)/!defined(_POSIX_SOURCE)/",
985 /* * * * * * * * * * * * * * * * * * * * * * * * * *
987 * Description 28 - Interactv_Add2 fix
989 tSCC zInteractv_Add2Name[] =
992 * File name selection pattern
994 tSCC zInteractv_Add2List[] =
997 * Machine/OS name selection pattern
999 #define apzInteractv_Add2Machs (const char**)NULL
1002 * perform the 'test' shell command - do fix on success
1004 tSCC zInteractv_Add2Test0[] =
1005 " -d /etc/conf/kconfig.d";
1006 tSCC zInteractv_Add2Test1[] =
1007 " -n \"`grep _POSIX_VERSION /usr/include/sys/unistd.h`\"";
1009 #define INTERACTV_ADD2_TEST_CT 2
1010 #define INTERACTV_ADD2_RE_CT 0
1011 tTestDesc aInteractv_Add2Tests[] = {
1012 { TT_TEST, zInteractv_Add2Test0, 0 /* unused */ },
1013 { TT_TEST, zInteractv_Add2Test1, 0 /* unused */ }, };
1016 * Fix Command Arguments for Interactv_Add2
1018 const char* apzInteractv_Add2Patch[] = { "sed",
1019 "-e", "s/fmod(double)/fmod(double, double)/",
1022 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1024 * Description 29 - Interactv_Add3 fix
1026 tSCC zInteractv_Add3Name[] =
1029 * File name selection pattern
1031 tSCC zInteractv_Add3List[] =
1034 * Machine/OS name selection pattern
1036 #define apzInteractv_Add3Machs (const char**)NULL
1039 * perform the 'test' shell command - do fix on success
1041 tSCC zInteractv_Add3Test0[] =
1042 " -d /etc/conf/kconfig.d";
1043 tSCC zInteractv_Add3Test1[] =
1044 " -n \"`grep _POSIX_VERSION /usr/include/sys/unistd.h`\"";
1046 #define INTERACTV_ADD3_TEST_CT 2
1047 #define INTERACTV_ADD3_RE_CT 0
1048 tTestDesc aInteractv_Add3Tests[] = {
1049 { TT_TEST, zInteractv_Add3Test0, 0 /* unused */ },
1050 { TT_TEST, zInteractv_Add3Test1, 0 /* unused */ }, };
1053 * Fix Command Arguments for Interactv_Add3
1055 const char* apzInteractv_Add3Patch[] = { "sed",
1056 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
1057 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
1060 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1062 * Description 30 - Io_Def_Quotes fix
1064 tSCC zIo_Def_QuotesName[] =
1067 * File name selection pattern
1069 #define zIo_Def_QuotesList (char*)NULL
1071 * Machine/OS name selection pattern
1073 #define apzIo_Def_QuotesMachs (const char**)NULL
1076 * content selection pattern - do fix if pattern found
1078 tSCC zIo_Def_QuotesSelect0[] =
1079 "[ \t]*[ \t](_|DES)IO[A-Z]*[ \t]*\\( *[^,']";
1081 #define IO_DEF_QUOTES_TEST_CT 1
1082 #define IO_DEF_QUOTES_RE_CT 1
1083 tTestDesc aIo_Def_QuotesTests[] = {
1084 { TT_EGREP, zIo_Def_QuotesSelect0, (regex_t*)NULL }, };
1087 * Fix Command Arguments for Io_Def_Quotes
1089 const char* apzIo_Def_QuotesPatch[] = { "sed",
1090 "-e", "s/\\([ \t]*[ \t]_IO[A-Z]*[ \t]*(\\)\\([^,']\\),/\\1'\\2',/",
1091 "-e", "s/\\([ \t]*[ \t]DESIO[A-Z]*[ \t]*(\\)\\([^,']\\),/\\1'\\2',/",
1092 "-e", "/#[ \t]*define[ \t]*[ \t]_IO/s/'\\([cgxtf]\\)'/\\1/g",
1093 "-e", "/#[ \t]*define[ \t]*[ \t]DESIOC/s/'\\([cdgx]\\)'/\\1/g",
1096 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1098 * Description 31 - Ioctl_Fix_Ctrl fix
1100 tSCC zIoctl_Fix_CtrlName[] =
1103 * File name selection pattern
1105 #define zIoctl_Fix_CtrlList (char*)NULL
1107 * Machine/OS name selection pattern
1109 #define apzIoctl_Fix_CtrlMachs (const char**)NULL
1112 * content selection pattern - do fix if pattern found
1114 tSCC zIoctl_Fix_CtrlSelect0[] =
1117 #define IOCTL_FIX_CTRL_TEST_CT 1
1118 #define IOCTL_FIX_CTRL_RE_CT 1
1119 tTestDesc aIoctl_Fix_CtrlTests[] = {
1120 { TT_EGREP, zIoctl_Fix_CtrlSelect0, (regex_t*)NULL }, };
1123 * Fix Command Arguments for Ioctl_Fix_Ctrl
1125 const char* apzIoctl_Fix_CtrlPatch[] = { "sed",
1126 "-e", "/[^A-Z0-9_]CTRL[ \t]*(/s/\\([^']\\))/'\\1')/",
1127 "-e", "/[^A-Z0-9]_CTRL[ \t]*(/s/\\([^']\\))/'\\1')/",
1128 "-e", "/#[ \t]*define[ \t]*[ \t]CTRL/s/'\\([cgx]\\)'/\\1/g",
1129 "-e", "/#[ \t]*define[ \t]*[ \t]_CTRL/s/'\\([cgx]\\)'/\\1/g",
1130 "-e", "/#[ \t]*define[ \t]*[ \t]BSD43_CTRL/s/'\\([cgx]\\)'/\\1/g",
1133 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1135 * Description 32 - Ip_Missing_Semi fix
1137 tSCC zIp_Missing_SemiName[] =
1140 * File name selection pattern
1142 tSCC zIp_Missing_SemiList[] =
1145 * Machine/OS name selection pattern
1147 #define apzIp_Missing_SemiMachs (const char**)NULL
1148 #define IP_MISSING_SEMI_TEST_CT 0
1149 #define IP_MISSING_SEMI_RE_CT 0
1150 #define aIp_Missing_SemiTests (tTestDesc*)NULL
1153 * Fix Command Arguments for Ip_Missing_Semi
1155 const char* apzIp_Missing_SemiPatch[] = { "sed",
1156 "-e", "/^struct/,/^};/s/}$/};/",
1159 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1161 * Description 33 - Irix_Multiline_Cmnt fix
1163 tSCC zIrix_Multiline_CmntName[] =
1164 "Irix_Multiline_Cmnt";
1166 * File name selection pattern
1168 tSCC zIrix_Multiline_CmntList[] =
1171 * Machine/OS name selection pattern
1173 #define apzIrix_Multiline_CmntMachs (const char**)NULL
1174 #define IRIX_MULTILINE_CMNT_TEST_CT 0
1175 #define IRIX_MULTILINE_CMNT_RE_CT 0
1176 #define aIrix_Multiline_CmntTests (tTestDesc*)NULL
1179 * Fix Command Arguments for Irix_Multiline_Cmnt
1181 const char* apzIrix_Multiline_CmntPatch[] = { "sed",
1182 "-e", "s@type of the result@type of the result */@",
1183 "-e", "s@of the sizeof@/* of the sizeof@",
1186 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1188 * Description 34 - Irix_Sockaddr fix
1190 tSCC zIrix_SockaddrName[] =
1193 * File name selection pattern
1195 tSCC zIrix_SockaddrList[] =
1198 * Machine/OS name selection pattern
1200 #define apzIrix_SockaddrMachs (const char**)NULL
1203 * content selection pattern - do fix if pattern found
1205 tSCC zIrix_SockaddrSelect0[] =
1206 "authdes_create.*struct sockaddr";
1208 #define IRIX_SOCKADDR_TEST_CT 1
1209 #define IRIX_SOCKADDR_RE_CT 1
1210 tTestDesc aIrix_SockaddrTests[] = {
1211 { TT_EGREP, zIrix_SockaddrSelect0, (regex_t*)NULL }, };
1214 * Fix Command Arguments for Irix_Sockaddr
1216 const char* apzIrix_SockaddrPatch[] = { "sed",
1217 "-e", "/authdes_create.*struct sockaddr/i\\\n\
1218 struct sockaddr;\n",
1221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1223 * Description 35 - Irix_Struct__File fix
1225 tSCC zIrix_Struct__FileName[] =
1226 "Irix_Struct__File";
1228 * File name selection pattern
1230 tSCC zIrix_Struct__FileList[] =
1233 * Machine/OS name selection pattern
1235 #define apzIrix_Struct__FileMachs (const char**)NULL
1236 #define IRIX_STRUCT__FILE_TEST_CT 0
1237 #define IRIX_STRUCT__FILE_RE_CT 0
1238 #define aIrix_Struct__FileTests (tTestDesc*)NULL
1241 * Fix Command Arguments for Irix_Struct__File
1243 const char* apzIrix_Struct__FilePatch[] = { "sed",
1244 "-e", "/xdrstdio_create.*struct __file_s/i\\\n\
1245 struct __file_s;\n",
1248 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1250 * Description 36 - Isc_Fmod fix
1252 tSCC zIsc_FmodName[] =
1255 * File name selection pattern
1257 tSCC zIsc_FmodList[] =
1260 * Machine/OS name selection pattern
1262 #define apzIsc_FmodMachs (const char**)NULL
1265 * content selection pattern - do fix if pattern found
1267 tSCC zIsc_FmodSelect0[] =
1270 #define ISC_FMOD_TEST_CT 1
1271 #define ISC_FMOD_RE_CT 1
1272 tTestDesc aIsc_FmodTests[] = {
1273 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
1276 * Fix Command Arguments for Isc_Fmod
1278 const char* apzIsc_FmodPatch[] = { "sed",
1279 "-e", "s/fmod(double)/fmod(double, double)/",
1282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1284 * Description 37 - Motorola_Nested fix
1286 tSCC zMotorola_NestedName[] =
1289 * File name selection pattern
1291 tSCC zMotorola_NestedList[] =
1292 "|limits.h|sys/limits.h|";
1294 * Machine/OS name selection pattern
1296 tSCC* apzMotorola_NestedMachs[] = {
1297 "m68k-motorola-sysv*",
1298 (const char*)NULL };
1299 #define MOTOROLA_NESTED_TEST_CT 0
1300 #define MOTOROLA_NESTED_RE_CT 0
1301 #define aMotorola_NestedTests (tTestDesc*)NULL
1304 * Fix Command Arguments for Motorola_Nested
1306 const char* apzMotorola_NestedPatch[] = { "sed",
1307 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
1308 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.40282346638528860e+38 \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
1311 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1313 * Description 38 - Isc_Sys_Limits fix
1315 tSCC zIsc_Sys_LimitsName[] =
1318 * File name selection pattern
1320 tSCC zIsc_Sys_LimitsList[] =
1323 * Machine/OS name selection pattern
1325 #define apzIsc_Sys_LimitsMachs (const char**)NULL
1328 * content selection pattern - do fix if pattern found
1330 tSCC zIsc_Sys_LimitsSelect0[] =
1333 #define ISC_SYS_LIMITS_TEST_CT 1
1334 #define ISC_SYS_LIMITS_RE_CT 1
1335 tTestDesc aIsc_Sys_LimitsTests[] = {
1336 { TT_EGREP, zIsc_Sys_LimitsSelect0, (regex_t*)NULL }, };
1339 * Fix Command Arguments for Isc_Sys_Limits
1341 const char* apzIsc_Sys_LimitsPatch[] = { "sed",
1342 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
1343 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
1346 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1348 * Description 39 - Kandr_Concat fix
1350 tSCC zKandr_ConcatName[] =
1353 * File name selection pattern
1355 tSCC zKandr_ConcatList[] =
1356 "|sparc/asm_linkage.h|sun3/asm_linkage.h|sun3x/asm_linkage.h|sun4/asm_linkage.h|sun4c/asm_linkage.h|sun4m/asm_linkage.h|sun4c/debug/asm_linkage.h|sun4m/debug/asm_linkage.h|arm/as_support.h|arm/mc_type.h|arm/xcb.h|dev/chardefmac.h|dev/ps_irq.h|dev/screen.h|dev/scsi.h|sys/tty.h|Xm.acorn/XmP.h|bsd43/bsd43_.h|";
1358 * Machine/OS name selection pattern
1360 #define apzKandr_ConcatMachs (const char**)NULL
1363 * content selection pattern - do fix if pattern found
1365 tSCC zKandr_ConcatSelect0[] =
1368 #define KANDR_CONCAT_TEST_CT 1
1369 #define KANDR_CONCAT_RE_CT 1
1370 tTestDesc aKandr_ConcatTests[] = {
1371 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
1374 * Fix Command Arguments for Kandr_Concat
1376 const char* apzKandr_ConcatPatch[] = { "sed",
1377 "-e", "s|/\\*\\*/|##|g",
1380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1382 * Description 40 - Limits_Ifndefs fix
1384 tSCC zLimits_IfndefsName[] =
1387 * File name selection pattern
1389 tSCC zLimits_IfndefsList[] =
1390 "|limits.h|sys/limits.h|";
1392 * Machine/OS name selection pattern
1394 #define apzLimits_IfndefsMachs (const char**)NULL
1397 * content bypass pattern - skip fix if pattern found
1399 tSCC zLimits_IfndefsBypass0[] =
1400 "ifndef[ \t]+FLT_MIN";
1402 #define LIMITS_IFNDEFS_TEST_CT 1
1403 #define LIMITS_IFNDEFS_RE_CT 1
1404 tTestDesc aLimits_IfndefsTests[] = {
1405 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
1408 * Fix Command Arguments for Limits_Ifndefs
1410 const char* apzLimits_IfndefsPatch[] = { "sed",
1411 "-e", "/[ \t]FLT_MIN[ \t]/i\\\n\
1413 "-e", "/[ \t]FLT_MIN[ \t]/a\\\n\
1415 "-e", "/[ \t]FLT_MAX[ \t]/i\\\n\
1417 "-e", "/[ \t]FLT_MAX[ \t]/a\\\n\
1419 "-e", "/[ \t]FLT_DIG[ \t]/i\\\n\
1421 "-e", "/[ \t]FLT_DIG[ \t]/a\\\n\
1423 "-e", "/[ \t]DBL_MIN[ \t]/i\\\n\
1425 "-e", "/[ \t]DBL_MIN[ \t]/a\\\n\
1427 "-e", "/[ \t]DBL_MAX[ \t]/i\\\n\
1429 "-e", "/[ \t]DBL_MAX[ \t]/a\\\n\
1431 "-e", "/[ \t]DBL_DIG[ \t]/i\\\n\
1433 "-e", "/[ \t]DBL_DIG[ \t]/a\\\n\
1435 "-e", "/^\\(\\/\\*#define\tHUGE_VAL\t3\\.[0-9e+]* *\\)\\/\\*/s//\\1/",
1438 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1440 * Description 41 - Lynx_Void_Int fix
1442 tSCC zLynx_Void_IntName[] =
1445 * File name selection pattern
1447 tSCC zLynx_Void_IntList[] =
1450 * Machine/OS name selection pattern
1452 #define apzLynx_Void_IntMachs (const char**)NULL
1455 * content selection pattern - do fix if pattern found
1457 tSCC zLynx_Void_IntSelect0[] =
1458 "#[ \t]*define[ \t]+void[ \t]+int";
1460 #define LYNX_VOID_INT_TEST_CT 1
1461 #define LYNX_VOID_INT_RE_CT 1
1462 tTestDesc aLynx_Void_IntTests[] = {
1463 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
1466 * Fix Command Arguments for Lynx_Void_Int
1468 const char* apzLynx_Void_IntPatch[] = { "sed",
1469 "-e", "/#[ \t]*define[ \t][ \t]*void[ \t]int/d",
1472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1474 * Description 42 - Lynxos_Fcntl_Proto fix
1476 tSCC zLynxos_Fcntl_ProtoName[] =
1477 "Lynxos_Fcntl_Proto";
1479 * File name selection pattern
1481 tSCC zLynxos_Fcntl_ProtoList[] =
1484 * Machine/OS name selection pattern
1486 #define apzLynxos_Fcntl_ProtoMachs (const char**)NULL
1489 * content selection pattern - do fix if pattern found
1491 tSCC zLynxos_Fcntl_ProtoSelect0[] =
1492 "fcntl.*\\(int, int, int\\)";
1494 #define LYNXOS_FCNTL_PROTO_TEST_CT 1
1495 #define LYNXOS_FCNTL_PROTO_RE_CT 1
1496 tTestDesc aLynxos_Fcntl_ProtoTests[] = {
1497 { TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
1500 * Fix Command Arguments for Lynxos_Fcntl_Proto
1502 const char* apzLynxos_Fcntl_ProtoPatch[] = { "sed",
1503 "-e", "s/\\(fcntl.*(int, int, \\)int)/\\1...)/",
1506 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1508 * Description 43 - M88k_Bad_Hypot_Opt fix
1510 tSCC zM88k_Bad_Hypot_OptName[] =
1511 "M88k_Bad_Hypot_Opt";
1513 * File name selection pattern
1515 tSCC zM88k_Bad_Hypot_OptList[] =
1518 * Machine/OS name selection pattern
1520 tSCC* apzM88k_Bad_Hypot_OptMachs[] = {
1521 "m88k-motorola-sysv3*",
1522 (const char*)NULL };
1523 #define M88K_BAD_HYPOT_OPT_TEST_CT 0
1524 #define M88K_BAD_HYPOT_OPT_RE_CT 0
1525 #define aM88k_Bad_Hypot_OptTests (tTestDesc*)NULL
1528 * Fix Command Arguments for M88k_Bad_Hypot_Opt
1530 const char* apzM88k_Bad_Hypot_OptPatch[] = { "sed",
1531 "-e", "s/extern double floor(), ceil(), fmod(), fabs();/extern double floor(), ceil(), fmod(), fabs _PARAMS((double));/",
1532 "-e", "/^extern double hypot();$/a\\\n\
1533 \\/* Workaround a stupid Motorola optimization if one\\\n\
1534 of x or y is 0.0 and the other is negative! *\\/\\\n\
1535 #ifdef __STDC__\\\n\
1536 static __inline__ double fake_hypot (double x, double y)\\\n\
1538 static __inline__ double fake_hypot (x, y)\\\n\
1542 \treturn fabs (hypot (x, y));\\\n\
1544 #define hypot\tfake_hypot\n",
1547 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1549 * Description 44 - M88k_Bad_S_If fix
1551 tSCC zM88k_Bad_S_IfName[] =
1554 * File name selection pattern
1556 tSCC zM88k_Bad_S_IfList[] =
1559 * Machine/OS name selection pattern
1561 tSCC* apzM88k_Bad_S_IfMachs[] = {
1563 (const char*)NULL };
1566 * content selection pattern - do fix if pattern found
1568 tSCC zM88k_Bad_S_IfSelect0[] =
1569 "#define[ \t]+S_IS[A-Z]*(m)[ \t]";
1571 #define M88K_BAD_S_IF_TEST_CT 1
1572 #define M88K_BAD_S_IF_RE_CT 1
1573 tTestDesc aM88k_Bad_S_IfTests[] = {
1574 { TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
1577 * Fix Command Arguments for M88k_Bad_S_If
1579 const char* apzM88k_Bad_S_IfPatch[] = { "sed",
1580 "-e", "s/^\\(#define[ \t]*S_IS[A-Z]*(m)\\)[ \t]*(m[ \t]*&[ \t]*\\(S_IF[A-Z][A-Z][A-Z][A-Z]*\\)[ \t]*)/\\1 (((m)\\&S_IFMT)==\\2)/",
1581 "-e", "s/^\\(#define[ \t]*S_IS[A-Z]*(m)\\)[ \t]*(m[ \t]*&[ \t]*\\(0[0-9]*\\)[ \t]*)/\\1 (((m)\\&S_IFMT)==\\2)/",
1584 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1586 * Description 45 - M88k_Multi_Incl fix
1588 tSCC zM88k_Multi_InclName[] =
1591 * File name selection pattern
1593 tSCC zM88k_Multi_InclList[] =
1596 * Machine/OS name selection pattern
1598 tSCC* apzM88k_Multi_InclMachs[] = {
1599 "m88k-tektronix-sysv3*",
1600 (const char*)NULL };
1603 * content bypass pattern - skip fix if pattern found
1605 tSCC zM88k_Multi_InclBypass0[] =
1608 #define M88K_MULTI_INCL_TEST_CT 1
1609 #define M88K_MULTI_INCL_RE_CT 1
1610 tTestDesc aM88k_Multi_InclTests[] = {
1611 { TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
1614 * Fix Command Arguments for M88k_Multi_Incl
1616 const char* apzM88k_Multi_InclPatch[] = { "sh", "-c",
1617 "echo Fixing $file, to protect against multiple inclusion. >&2\n\
1618 cpp_wrapper=`echo $file | sed -e 's,\\.,_,g' -e 's,/,_,g'`\n\
1619 echo \"#ifndef __GCC_GOT_${cpp_wrapper}_\"\n\
1620 echo \"#define __GCC_GOT_${cpp_wrapper}_\"\n\
1622 echo \"#endif /* ! __GCC_GOT_${cpp_wrapper}_ */\"",
1625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1627 * Description 46 - Machine_Name fix
1629 tSCC zMachine_NameName[] =
1632 * File name selection pattern
1634 #define zMachine_NameList (char*)NULL
1636 * Machine/OS name selection pattern
1638 #define apzMachine_NameMachs (const char**)NULL
1641 * content selection pattern - do fix if pattern found
1642 * This is a special pattern that not all egrep commands
1643 * are capable of coping with. We use the GNU library, tho :)
1645 tSCC zMachine_NameSelect0[] =
1646 "^#[ \t]*(if|elif).*[^a-zA-Z0-9_](M32|_*MIPSE[LB]|_*SYSTYPE_[A-Z0-9]|_*[Rr][34]000|_*host_mips|_*i386|_*mips|bsd4|is68k|m[68]8k|mc680|news|ns32000|pdp11|pyr|sel|sony_news|sparc|sun|tahoe|tower|u370|u3b|unix|vax)";
1648 #define MACHINE_NAME_TEST_CT 1
1649 #define MACHINE_NAME_RE_CT 1
1650 tTestDesc aMachine_NameTests[] = {
1651 { TT_EGREP, zMachine_NameSelect0, (regex_t*)NULL }, };
1654 * Fix Command Arguments for Machine_Name
1656 const char* apzMachine_NamePatch[] = { "sed",
1659 s/\\\\$/\\\\+++fixinc_eol+++/\n\
1661 s/\\\\+++fixinc_eol+++/\\\\/g\n\
1662 /#[\t ]*[el]*if/ {\n\
1663 \ts/[a-zA-Z0-9_][a-zA-Z0-9_]*/ & /g\n\
1664 \ts/ M32 / __M32__ /g\n\
1665 \ts/ _*MIPSE\\([LB]\\) / __MIPSE\\1__ /g\n\
1666 \ts/ _*SYSTYPE_\\([A-Z0-9]*\\) / __SYSTYPE_\\1__ /g\n\
1667 \ts/ _*\\([Rr][34]\\)000 / __\\1000__ /g\n\
1668 \ts/ _*host_mips / __host_mips__ /g\n\
1669 \ts/ _*i386 / __i386__ /g\n\
1670 \ts/ _*mips / __mips__ /g\n\
1671 \ts/ bsd4\\([0-9]\\) / __bsd4\\1__ /g\n\
1672 \ts/ is68k / __is68k__ /g\n\
1673 \ts/ m68k / __m68k__ /g\n\
1674 \ts/ m88k / __m88k__ /g\n\
1675 \ts/ mc680\\([0-9]\\)0 / __mc680\\10__ /g\n\
1676 \ts/ news\\([0-9]*\\) / __news\\1__ /g\n\
1677 \ts/ ns32000 / __ns32000__ /g\n\
1678 \ts/ pdp11 / __pdp11__ /g\n\
1679 \ts/ pyr / __pyr__ /g\n\
1680 \ts/ sel / __sel__ /g\n\
1681 \ts/ sony_news / __sony_news__ /g\n\
1682 \ts/ sparc / __sparc__ /g\n\
1683 \ts/ sun\\([a-z0-9]*\\) / __sun\\1__ /g\n\
1684 \ts/ tahoe / __tahoe__ /g\n\
1685 \ts/ tower\\([_0-9]*\\) / __tower\\1__ /g\n\
1686 \ts/ u370 / __u370__ /g\n\
1687 \ts/ u3b\\([0-9]*\\) / __u3b\\1__ /g\n\
1688 \ts/ unix / __unix__ /g\n\
1689 \ts/ vax / __vax__ /g\n\
1690 \ts/ \\([a-zA-Z0-9_][a-zA-Z0-9_]*\\) /\\1/g\n\
1694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1696 * Description 47 - Math_Exception fix
1698 tSCC zMath_ExceptionName[] =
1701 * File name selection pattern
1703 tSCC zMath_ExceptionList[] =
1706 * Machine/OS name selection pattern
1708 #define apzMath_ExceptionMachs (const char**)NULL
1711 * content selection pattern - do fix if pattern found
1713 tSCC zMath_ExceptionSelect0[] =
1716 #define MATH_EXCEPTION_TEST_CT 1
1717 #define MATH_EXCEPTION_RE_CT 1
1718 tTestDesc aMath_ExceptionTests[] = {
1719 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
1722 * Fix Command Arguments for Math_Exception
1724 const char* apzMath_ExceptionPatch[] = { "sed",
1725 "-e", "/struct exception/i\\\n\
1726 #ifdef __cplusplus\\\n\
1727 #define exception __math_exception\\\n\
1729 "-e", "/struct exception/a\\\n\
1730 #ifdef __cplusplus\\\n\
1731 #undef exception\\\n\
1733 "-e", "/matherr/i\\\n\
1734 #ifdef __cplusplus\\\n\
1735 #define exception __math_exception\\\n\
1737 "-e", "/matherr/a\\\n\
1738 #ifdef __cplusplus\\\n\
1739 #undef exception\\\n\
1743 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1745 * Description 48 - Math_Gcc_Ifndefs fix
1747 tSCC zMath_Gcc_IfndefsName[] =
1750 * File name selection pattern
1752 tSCC zMath_Gcc_IfndefsList[] =
1755 * Machine/OS name selection pattern
1757 #define apzMath_Gcc_IfndefsMachs (const char**)NULL
1758 #define MATH_GCC_IFNDEFS_TEST_CT 0
1759 #define MATH_GCC_IFNDEFS_RE_CT 0
1760 #define aMath_Gcc_IfndefsTests (tTestDesc*)NULL
1763 * Fix Command Arguments for Math_Gcc_Ifndefs
1765 const char* apzMath_Gcc_IfndefsPatch[] = { "sh", "-c",
1766 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h 2>/dev/null`\n\
1768 \tif ( test -n \"${dbl_max_def}\" \\\n\
1769 \t\t-a -n \"`egrep '#define[ \t]*HUGE_VAL[ \t]+DBL_MAX' $file`\" \\\n\
1770 \t\t-a -z \"`egrep '#define[ \t]+DBL_MAX[ \t]+' $file`\"\n\
1771 \t ) > /dev/null 2>&1\n\
1772 \tthen sed -e '/define[ \t]HUGE_VAL[ \t]DBL_MAX/s/DBL_MAX/$dbl_max_def/'\n\
1773 \telse cat ; fi |\n\
1774 \tsed -e '/define[ \t]HUGE_VAL[ \t]/i\\\n\
1776 ' -e '/define[ \t]HUGE_VAL[ \t]/a\\\n\
1781 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1783 * Description 49 - Nested_Comment fix
1785 tSCC zNested_CommentName[] =
1788 * File name selection pattern
1790 tSCC zNested_CommentList[] =
1793 * Machine/OS name selection pattern
1795 #define apzNested_CommentMachs (const char**)NULL
1796 #define NESTED_COMMENT_TEST_CT 0
1797 #define NESTED_COMMENT_RE_CT 0
1798 #define aNested_CommentTests (tTestDesc*)NULL
1801 * Fix Command Arguments for Nested_Comment
1803 const char* apzNested_CommentPatch[] = { "sed",
1804 "-e", "s@^\\(/\\*.*rpc/auth_des.h>.*\\)/\\*@\\1*/ /*@",
1807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1809 * Description 50 - News_Os_Recursion fix
1811 tSCC zNews_Os_RecursionName[] =
1812 "News_Os_Recursion";
1814 * File name selection pattern
1816 tSCC zNews_Os_RecursionList[] =
1819 * Machine/OS name selection pattern
1821 #define apzNews_Os_RecursionMachs (const char**)NULL
1824 * content selection pattern - do fix if pattern found
1826 tSCC zNews_Os_RecursionSelect0[] =
1827 "#include <stdlib.h>";
1829 #define NEWS_OS_RECURSION_TEST_CT 1
1830 #define NEWS_OS_RECURSION_RE_CT 1
1831 tTestDesc aNews_Os_RecursionTests[] = {
1832 { TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
1835 * Fix Command Arguments for News_Os_Recursion
1837 const char* apzNews_Os_RecursionPatch[] = { "sed",
1838 "-e", "/^#include <stdlib.h>/i\\\n\
1839 #ifdef BOGUS_RECURSION\n",
1840 "-e", "/^#include <stdlib.h>/a\\\n\
1844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1846 * Description 51 - Next_Math_Prefix fix
1848 tSCC zNext_Math_PrefixName[] =
1851 * File name selection pattern
1853 tSCC zNext_Math_PrefixList[] =
1856 * Machine/OS name selection pattern
1858 #define apzNext_Math_PrefixMachs (const char**)NULL
1861 * content selection pattern - do fix if pattern found
1863 tSCC zNext_Math_PrefixSelect0[] =
1864 "^extern.*double.*__const__.*";
1866 #define NEXT_MATH_PREFIX_TEST_CT 1
1867 #define NEXT_MATH_PREFIX_RE_CT 1
1868 tTestDesc aNext_Math_PrefixTests[] = {
1869 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
1872 * Fix Command Arguments for Next_Math_Prefix
1874 const char* apzNext_Math_PrefixPatch[] = { "sed",
1875 "-e", "/^extern.*double.*__const__.*sqrt(/s/__const__//",
1876 "-e", "/^extern.*double.*__const__.*fabs(/s/__const__//",
1877 "-e", "/^extern.*double.*__const__.*cos(/s/__const__//",
1878 "-e", "/^extern.*double.*__const__.*hypot(/s/__const__//",
1879 "-e", "/^extern.*double.*__const__.*sin(/s/__const__//",
1882 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1884 * Description 52 - Next_Template fix
1886 tSCC zNext_TemplateName[] =
1889 * File name selection pattern
1891 tSCC zNext_TemplateList[] =
1894 * Machine/OS name selection pattern
1896 #define apzNext_TemplateMachs (const char**)NULL
1899 * content selection pattern - do fix if pattern found
1901 tSCC zNext_TemplateSelect0[] =
1904 #define NEXT_TEMPLATE_TEST_CT 1
1905 #define NEXT_TEMPLATE_RE_CT 1
1906 tTestDesc aNext_TemplateTests[] = {
1907 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
1910 * Fix Command Arguments for Next_Template
1912 const char* apzNext_TemplatePatch[] = { "sed",
1913 "-e", "/\\(.*template\\)/s/template//",
1914 "-e", "/extern.*volatile.*void.*abort/s/volatile//",
1917 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1919 * Description 53 - Next_Volitile fix
1921 tSCC zNext_VolitileName[] =
1924 * File name selection pattern
1926 tSCC zNext_VolitileList[] =
1929 * Machine/OS name selection pattern
1931 #define apzNext_VolitileMachs (const char**)NULL
1934 * content selection pattern - do fix if pattern found
1936 tSCC zNext_VolitileSelect0[] =
1939 #define NEXT_VOLITILE_TEST_CT 1
1940 #define NEXT_VOLITILE_RE_CT 1
1941 tTestDesc aNext_VolitileTests[] = {
1942 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
1945 * Fix Command Arguments for Next_Volitile
1947 const char* apzNext_VolitilePatch[] = { "sed",
1948 "-e", "/extern.*volatile.*void.*exit/s/volatile//",
1949 "-e", "/extern.*volatile.*void.*abort/s/volatile//",
1952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1954 * Description 54 - Next_Wait_Union fix
1956 tSCC zNext_Wait_UnionName[] =
1959 * File name selection pattern
1961 tSCC zNext_Wait_UnionList[] =
1964 * Machine/OS name selection pattern
1966 #define apzNext_Wait_UnionMachs (const char**)NULL
1969 * content selection pattern - do fix if pattern found
1971 tSCC zNext_Wait_UnionSelect0[] =
1972 "wait\\(union wait";
1974 #define NEXT_WAIT_UNION_TEST_CT 1
1975 #define NEXT_WAIT_UNION_RE_CT 1
1976 tTestDesc aNext_Wait_UnionTests[] = {
1977 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
1980 * Fix Command Arguments for Next_Wait_Union
1982 const char* apzNext_Wait_UnionPatch[] = { "sed",
1983 "-e", "s@wait(union wait@wait(void@",
1986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1988 * Description 55 - Nodeent_Syntax fix
1990 tSCC zNodeent_SyntaxName[] =
1993 * File name selection pattern
1995 tSCC zNodeent_SyntaxList[] =
1996 "|netdnet/dnetdb.h|";
1998 * Machine/OS name selection pattern
2000 #define apzNodeent_SyntaxMachs (const char**)NULL
2001 #define NODEENT_SYNTAX_TEST_CT 0
2002 #define NODEENT_SYNTAX_RE_CT 0
2003 #define aNodeent_SyntaxTests (tTestDesc*)NULL
2006 * Fix Command Arguments for Nodeent_Syntax
2008 const char* apzNodeent_SyntaxPatch[] = { "sed",
2009 "-e", "s/char.*na_addr *$/char *na_addr;/",
2012 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2014 * Description 56 - Osf_Namespace_A fix
2016 tSCC zOsf_Namespace_AName[] =
2019 * File name selection pattern
2021 tSCC zOsf_Namespace_AList[] =
2022 "|reg_types.h|sys/lc_core.h|";
2024 * Machine/OS name selection pattern
2026 #define apzOsf_Namespace_AMachs (const char**)NULL
2029 * perform the 'test' shell command - do fix on success
2031 tSCC zOsf_Namespace_ATest0[] =
2033 tSCC zOsf_Namespace_ATest1[] =
2034 " -r sys/lc_core.h";
2035 tSCC zOsf_Namespace_ATest2[] =
2036 " -n \"`grep '} regex_t;' reg_types.h`\"";
2037 tSCC zOsf_Namespace_ATest3[] =
2038 " -z \"`grep __regex_t regex.h`\"";
2040 #define OSF_NAMESPACE_A_TEST_CT 4
2041 #define OSF_NAMESPACE_A_RE_CT 0
2042 tTestDesc aOsf_Namespace_ATests[] = {
2043 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
2044 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
2045 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
2046 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
2049 * Fix Command Arguments for Osf_Namespace_A
2051 const char* apzOsf_Namespace_APatch[] = { "sed",
2052 "-e", "s/regex_t/__regex_t/g",
2053 "-e", "s/regoff_t/__regoff_t/g",
2054 "-e", "s/regmatch_t/__regmatch_t/g",
2057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2059 * Description 57 - Osf_Namespace_B fix
2061 tSCC zOsf_Namespace_BName[] =
2064 * File name selection pattern
2066 tSCC zOsf_Namespace_BList[] =
2069 * Machine/OS name selection pattern
2071 #define apzOsf_Namespace_BMachs (const char**)NULL
2074 * perform the 'test' shell command - do fix on success
2076 tSCC zOsf_Namespace_BTest0[] =
2078 tSCC zOsf_Namespace_BTest1[] =
2079 " -r sys/lc_core.h";
2080 tSCC zOsf_Namespace_BTest2[] =
2081 " -n \"`grep '} regex_t;' reg_types.h`\"";
2082 tSCC zOsf_Namespace_BTest3[] =
2083 " -z \"`grep __regex_t regex.h`\"";
2085 #define OSF_NAMESPACE_B_TEST_CT 4
2086 #define OSF_NAMESPACE_B_RE_CT 0
2087 tTestDesc aOsf_Namespace_BTests[] = {
2088 { TT_TEST, zOsf_Namespace_BTest0, 0 /* unused */ },
2089 { TT_TEST, zOsf_Namespace_BTest1, 0 /* unused */ },
2090 { TT_TEST, zOsf_Namespace_BTest2, 0 /* unused */ },
2091 { TT_TEST, zOsf_Namespace_BTest3, 0 /* unused */ }, };
2094 * Fix Command Arguments for Osf_Namespace_B
2096 const char* apzOsf_Namespace_BPatch[] = { "sed",
2097 "-e", "/#include <reg_types.h>/a\\\n\
2098 typedef __regex_t\tregex_t;\\\n\
2099 typedef __regoff_t\tregoff_t;\\\n\
2100 typedef __regmatch_t\tregmatch_t;\n",
2103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2105 * Description 58 - Pthread_Page_Size fix
2107 tSCC zPthread_Page_SizeName[] =
2108 "Pthread_Page_Size";
2110 * File name selection pattern
2112 tSCC zPthread_Page_SizeList[] =
2115 * Machine/OS name selection pattern
2117 #define apzPthread_Page_SizeMachs (const char**)NULL
2120 * content selection pattern - do fix if pattern found
2122 tSCC zPthread_Page_SizeSelect0[] =
2125 #define PTHREAD_PAGE_SIZE_TEST_CT 1
2126 #define PTHREAD_PAGE_SIZE_RE_CT 1
2127 tTestDesc aPthread_Page_SizeTests[] = {
2128 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
2131 * Fix Command Arguments for Pthread_Page_Size
2133 const char* apzPthread_Page_SizePatch[] = { "sed",
2134 "-e", "s/^int __page_size/extern int __page_size/",
2137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2139 * Description 59 - Rs6000_Double fix
2141 tSCC zRs6000_DoubleName[] =
2144 * File name selection pattern
2146 tSCC zRs6000_DoubleList[] =
2149 * Machine/OS name selection pattern
2151 #define apzRs6000_DoubleMachs (const char**)NULL
2154 * content selection pattern - do fix if pattern found
2156 tSCC zRs6000_DoubleSelect0[] =
2157 "[^a-zA-Z_]class\\(";
2159 #define RS6000_DOUBLE_TEST_CT 1
2160 #define RS6000_DOUBLE_RE_CT 1
2161 tTestDesc aRs6000_DoubleTests[] = {
2162 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
2165 * Fix Command Arguments for Rs6000_Double
2167 const char* apzRs6000_DoublePatch[] = { "sed",
2168 "-e", "/class[(]/i\\\n\
2169 #ifndef __cplusplus\n",
2170 "-e", "/class[(]/a\\\n\
2174 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2176 * Description 60 - Rs6000_Fchmod fix
2178 tSCC zRs6000_FchmodName[] =
2181 * File name selection pattern
2183 tSCC zRs6000_FchmodList[] =
2186 * Machine/OS name selection pattern
2188 #define apzRs6000_FchmodMachs (const char**)NULL
2191 * content selection pattern - do fix if pattern found
2193 tSCC zRs6000_FchmodSelect0[] =
2196 #define RS6000_FCHMOD_TEST_CT 1
2197 #define RS6000_FCHMOD_RE_CT 1
2198 tTestDesc aRs6000_FchmodTests[] = {
2199 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
2202 * Fix Command Arguments for Rs6000_Fchmod
2204 const char* apzRs6000_FchmodPatch[] = { "sed",
2205 "-e", "s/fchmod(char \\*/fchmod(int/",
2208 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2210 * Description 61 - Rs6000_Param fix
2212 tSCC zRs6000_ParamName[] =
2215 * File name selection pattern
2217 tSCC zRs6000_ParamList[] =
2218 "|stdio.h|unistd.h|";
2220 * Machine/OS name selection pattern
2222 #define apzRs6000_ParamMachs (const char**)NULL
2223 #define RS6000_PARAM_TEST_CT 0
2224 #define RS6000_PARAM_RE_CT 0
2225 #define aRs6000_ParamTests (tTestDesc*)NULL
2228 * Fix Command Arguments for Rs6000_Param
2230 const char* apzRs6000_ParamPatch[] = { "sed",
2231 "-e", "s@rename(const char \\*old, const char \\*new)@rename(const char *_old, const char *_new)@",
2234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2236 * Description 62 - Sony_Include fix
2238 tSCC zSony_IncludeName[] =
2241 * File name selection pattern
2243 tSCC zSony_IncludeList[] =
2244 "|machine/machparam.h|";
2246 * Machine/OS name selection pattern
2248 #define apzSony_IncludeMachs (const char**)NULL
2251 * content selection pattern - do fix if pattern found
2253 tSCC zSony_IncludeSelect0[] =
2254 "\"\\.\\./machine/endian.h\"";
2256 #define SONY_INCLUDE_TEST_CT 1
2257 #define SONY_INCLUDE_RE_CT 1
2258 tTestDesc aSony_IncludeTests[] = {
2259 { TT_EGREP, zSony_IncludeSelect0, (regex_t*)NULL }, };
2262 * Fix Command Arguments for Sony_Include
2264 const char* apzSony_IncludePatch[] = { "sed",
2265 "-e", "s@\"../machine/endian.h\"@<machine/endian.h>@",
2268 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2270 * Description 63 - Statsswtch fix
2272 tSCC zStatsswtchName[] =
2275 * File name selection pattern
2277 tSCC zStatsswtchList[] =
2280 * Machine/OS name selection pattern
2282 #define apzStatsswtchMachs (const char**)NULL
2285 * content selection pattern - do fix if pattern found
2287 tSCC zStatsswtchSelect0[] =
2290 #define STATSSWTCH_TEST_CT 1
2291 #define STATSSWTCH_RE_CT 1
2292 tTestDesc aStatsswtchTests[] = {
2293 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
2296 * Fix Command Arguments for Statsswtch
2298 const char* apzStatsswtchPatch[] = { "sed",
2299 "-e", "s/boottime$/boottime;/",
2302 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2304 * Description 64 - Stdio_Va_List fix
2306 tSCC zStdio_Va_ListName[] =
2309 * File name selection pattern
2311 tSCC zStdio_Va_ListList[] =
2314 * Machine/OS name selection pattern
2316 #define apzStdio_Va_ListMachs (const char**)NULL
2317 #define STDIO_VA_LIST_TEST_CT 0
2318 #define STDIO_VA_LIST_RE_CT 0
2319 #define aStdio_Va_ListTests (tTestDesc*)NULL
2322 * Fix Command Arguments for Stdio_Va_List
2324 const char* apzStdio_Va_ListPatch[] = { "sh", "-c",
2325 "if ( egrep \"__need___va_list\" $file ) > /dev/null 2>&1 ; then\n\
2328 echo \"#define __need___va_list\"\n\
2329 echo \"#include <stdarg.h>\"\n\
2332 sed -e 's@ va_list @ __gnuc_va_list @' \\\n\
2333 -e 's@ va_list)@ __gnuc_va_list)@' \\\n\
2334 -e 's@ _BSD_VA_LIST_));@ __gnuc_va_list));@' \\\n\
2335 -e 's@ _VA_LIST_));@ __gnuc_va_list));@' \\\n\
2336 -e 's@ va_list@ __va_list__@' \\\n\
2337 -e 's@\\*va_list@*__va_list__@' \\\n\
2338 -e 's@ __va_list)@ __gnuc_va_list)@' \\\n\
2339 -e 's@GNUC_VA_LIST@GNUC_Va_LIST@' \\\n\
2340 -e 's@_NEED___VA_LIST@_NEED___Va_LIST@' \\\n\
2341 -e 's@VA_LIST@DUMMY_VA_LIST@' \\\n\
2342 -e 's@_Va_LIST@_VA_LIST@'",
2345 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2347 * Description 65 - Sun_Bogus_Ifdef fix
2349 tSCC zSun_Bogus_IfdefName[] =
2352 * File name selection pattern
2354 tSCC zSun_Bogus_IfdefList[] =
2355 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
2357 * Machine/OS name selection pattern
2359 #define apzSun_Bogus_IfdefMachs (const char**)NULL
2362 * content selection pattern - do fix if pattern found
2364 tSCC zSun_Bogus_IfdefSelect0[] =
2365 "#ifdef __i386__ || __vax__";
2367 #define SUN_BOGUS_IFDEF_TEST_CT 1
2368 #define SUN_BOGUS_IFDEF_RE_CT 1
2369 tTestDesc aSun_Bogus_IfdefTests[] = {
2370 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
2373 * Fix Command Arguments for Sun_Bogus_Ifdef
2375 const char* apzSun_Bogus_IfdefPatch[] = { "sed",
2376 "-e", "s/\\#ifdef __i386__ || __vax__/\\#if __i386__ || __vax__/g",
2379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2381 * Description 66 - Sun_Bogus_Ifdef_Sun4c fix
2383 tSCC zSun_Bogus_Ifdef_Sun4cName[] =
2384 "Sun_Bogus_Ifdef_Sun4c";
2386 * File name selection pattern
2388 tSCC zSun_Bogus_Ifdef_Sun4cList[] =
2391 * Machine/OS name selection pattern
2393 #define apzSun_Bogus_Ifdef_Sun4cMachs (const char**)NULL
2396 * content selection pattern - do fix if pattern found
2398 tSCC zSun_Bogus_Ifdef_Sun4cSelect0[] =
2399 "#ifdef __i386__ || __sun4c__";
2401 #define SUN_BOGUS_IFDEF_SUN4C_TEST_CT 1
2402 #define SUN_BOGUS_IFDEF_SUN4C_RE_CT 1
2403 tTestDesc aSun_Bogus_Ifdef_Sun4cTests[] = {
2404 { TT_EGREP, zSun_Bogus_Ifdef_Sun4cSelect0, (regex_t*)NULL }, };
2407 * Fix Command Arguments for Sun_Bogus_Ifdef_Sun4c
2409 const char* apzSun_Bogus_Ifdef_Sun4cPatch[] = { "sed",
2410 "-e", "s/\\#ifdef __i386__ || __sun4c__/\\#if __i386__ || __sun4c__/g",
2413 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2415 * Description 67 - Sun_Catmacro fix
2417 tSCC zSun_CatmacroName[] =
2420 * File name selection pattern
2422 tSCC zSun_CatmacroList[] =
2423 "|pixrect/memvar.h|";
2425 * Machine/OS name selection pattern
2427 #define apzSun_CatmacroMachs (const char**)NULL
2430 * content selection pattern - do fix if pattern found
2432 tSCC zSun_CatmacroSelect0[] =
2433 "^#define[ \t]+CAT(a,b)";
2435 #define SUN_CATMACRO_TEST_CT 1
2436 #define SUN_CATMACRO_RE_CT 1
2437 tTestDesc aSun_CatmacroTests[] = {
2438 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
2441 * Fix Command Arguments for Sun_Catmacro
2443 const char* apzSun_CatmacroPatch[] = { "sed",
2444 "-e", "/^#define[ \t]CAT(a,b)/ i\\\n\
2445 #ifdef __STDC__ \\\n\
2446 #define CAT(a,b) a##b\\\n\
2448 "-e", "/^#define[ \t]CAT(a,b)/ a\\\n\
2452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2454 * Description 68 - Sun_Malloc fix
2456 tSCC zSun_MallocName[] =
2459 * File name selection pattern
2461 tSCC zSun_MallocList[] =
2464 * Machine/OS name selection pattern
2466 #define apzSun_MallocMachs (const char**)NULL
2467 #define SUN_MALLOC_TEST_CT 0
2468 #define SUN_MALLOC_RE_CT 0
2469 #define aSun_MallocTests (tTestDesc*)NULL
2472 * Fix Command Arguments for Sun_Malloc
2474 const char* apzSun_MallocPatch[] = { "sed",
2475 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
2476 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
2477 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
2478 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
2481 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2483 * Description 69 - Sun_Memcpy fix
2485 tSCC zSun_MemcpyName[] =
2488 * File name selection pattern
2490 tSCC zSun_MemcpyList[] =
2493 * Machine/OS name selection pattern
2495 #define apzSun_MemcpyMachs (const char**)NULL
2498 * content selection pattern - do fix if pattern found
2500 tSCC zSun_MemcpySelect0[] =
2501 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
2503 #define SUN_MEMCPY_TEST_CT 1
2504 #define SUN_MEMCPY_RE_CT 1
2505 tTestDesc aSun_MemcpyTests[] = {
2506 { TT_EGREP, zSun_MemcpySelect0, (regex_t*)NULL }, };
2509 * Fix Command Arguments for Sun_Memcpy
2511 const char* apzSun_MemcpyPatch[] = { "sed",
2513 /* This file was generated by fixincludes */\\\n\
2514 #ifndef __memory_h__\\\n\
2515 #define __memory_h__\\\n\
2517 #ifdef __STDC__\\\n\
2518 extern void *memccpy();\\\n\
2519 extern void *memchr();\\\n\
2520 extern void *memcpy();\\\n\
2521 extern void *memset();\\\n\
2523 extern char *memccpy();\\\n\
2524 extern char *memchr();\\\n\
2525 extern char *memcpy();\\\n\
2526 extern char *memset();\\\n\
2527 #endif /* __STDC__ */\\\n\
2529 extern int memcmp();\\\n\
2531 #endif /* __memory_h__ */\n",
2535 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2537 * Description 70 - Sun_Rusers_Semi fix
2539 tSCC zSun_Rusers_SemiName[] =
2542 * File name selection pattern
2544 tSCC zSun_Rusers_SemiList[] =
2545 "|rpcsvc/rusers.h|";
2547 * Machine/OS name selection pattern
2549 #define apzSun_Rusers_SemiMachs (const char**)NULL
2552 * content selection pattern - do fix if pattern found
2554 tSCC zSun_Rusers_SemiSelect0[] =
2557 #define SUN_RUSERS_SEMI_TEST_CT 1
2558 #define SUN_RUSERS_SEMI_RE_CT 1
2559 tTestDesc aSun_Rusers_SemiTests[] = {
2560 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
2563 * Fix Command Arguments for Sun_Rusers_Semi
2565 const char* apzSun_Rusers_SemiPatch[] = { "sed",
2566 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
2569 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2571 * Description 71 - Sun_Signal fix
2573 tSCC zSun_SignalName[] =
2576 * File name selection pattern
2578 tSCC zSun_SignalList[] =
2579 "|sys/signal.h|signal.h|";
2581 * Machine/OS name selection pattern
2583 #define apzSun_SignalMachs (const char**)NULL
2586 * content selection pattern - do fix if pattern found
2588 tSCC zSun_SignalSelect0[] =
2589 "^void\t\\(\\*signal\\(\\)\\)\\(\\);";
2591 #define SUN_SIGNAL_TEST_CT 1
2592 #define SUN_SIGNAL_RE_CT 1
2593 tTestDesc aSun_SignalTests[] = {
2594 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
2597 * Fix Command Arguments for Sun_Signal
2599 const char* apzSun_SignalPatch[] = { "sed",
2600 "-e", "/^void\t(\\*signal())();$/i\\\n\
2601 #ifdef __cplusplus\\\n\
2602 void\t(*signal(...))(...);\\\n\
2604 "-e", "/^void\t(\\*signal())();$/a\\\n\
2608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2610 * Description 72 - Sun_Auth_Proto fix
2612 tSCC zSun_Auth_ProtoName[] =
2615 * File name selection pattern
2617 tSCC zSun_Auth_ProtoList[] =
2618 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
2620 * Machine/OS name selection pattern
2622 #define apzSun_Auth_ProtoMachs (const char**)NULL
2625 * content selection pattern - do fix if pattern found
2627 tSCC zSun_Auth_ProtoSelect0[] =
2628 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
2631 * content bypass pattern - skip fix if pattern found
2633 tSCC zSun_Auth_ProtoBypass0[] =
2634 "\\(\\*[a-z][a-z_]*\\)\\([ \t]*[a-zA-Z.].*\\)";
2636 #define SUN_AUTH_PROTO_TEST_CT 2
2637 #define SUN_AUTH_PROTO_RE_CT 2
2638 tTestDesc aSun_Auth_ProtoTests[] = {
2639 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
2640 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
2643 * Fix Command Arguments for Sun_Auth_Proto
2645 const char* apzSun_Auth_ProtoPatch[] = { "sed",
2646 "-e", "s/^\\(.*(\\*[a-z][a-z_]*)(\\)\\();.*\\)/\\\n\
2647 #ifdef __cplusplus\\\n\
2654 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2656 * Description 73 - Sunos_Matherr_Decl fix
2658 tSCC zSunos_Matherr_DeclName[] =
2659 "Sunos_Matherr_Decl";
2661 * File name selection pattern
2663 tSCC zSunos_Matherr_DeclList[] =
2666 * Machine/OS name selection pattern
2668 #define apzSunos_Matherr_DeclMachs (const char**)NULL
2669 #define SUNOS_MATHERR_DECL_TEST_CT 0
2670 #define SUNOS_MATHERR_DECL_RE_CT 0
2671 #define aSunos_Matherr_DeclTests (tTestDesc*)NULL
2674 * Fix Command Arguments for Sunos_Matherr_Decl
2676 const char* apzSunos_Matherr_DeclPatch[] = { "sed",
2677 "-e", "/^struct exception/,$b",
2678 "-e", "/matherr/i\\\n\
2679 struct exception;\n",
2682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2684 * Description 74 - Sunos_Strlen fix
2686 tSCC zSunos_StrlenName[] =
2689 * File name selection pattern
2691 tSCC zSunos_StrlenList[] =
2694 * Machine/OS name selection pattern
2696 #define apzSunos_StrlenMachs (const char**)NULL
2697 #define SUNOS_STRLEN_TEST_CT 0
2698 #define SUNOS_STRLEN_RE_CT 0
2699 #define aSunos_StrlenTests (tTestDesc*)NULL
2702 * Fix Command Arguments for Sunos_Strlen
2704 const char* apzSunos_StrlenPatch[] = { "sed",
2705 "-e", "s/int[ \t]*strlen();/__SIZE_TYPE__ strlen();/",
2708 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2710 * Description 75 - Systypes fix
2712 tSCC zSystypesName[] =
2715 * File name selection pattern
2717 tSCC zSystypesList[] =
2718 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
2720 * Machine/OS name selection pattern
2722 #define apzSystypesMachs (const char**)NULL
2725 * content selection pattern - do fix if pattern found
2727 tSCC zSystypesSelect0[] =
2728 "typedef[ \t]+[a-z_][ \ta-z_]*[ \t](size|ptrdiff|wchar)_t";
2730 #define SYSTYPES_TEST_CT 1
2731 #define SYSTYPES_RE_CT 1
2732 tTestDesc aSystypesTests[] = {
2733 { TT_EGREP, zSystypesSelect0, (regex_t*)NULL }, };
2736 * Fix Command Arguments for Systypes
2738 const char* apzSystypesPatch[] = { "sed",
2739 "-e", "/^[ \t]*\\*[ \t]*typedef unsigned int size_t;/N",
2740 "-e", "s/^\\([ \t]*\\*[ \t]*typedef unsigned int size_t;\\n[ \t]*\\*\\/\\)/\\1\\\n\
2741 #ifndef __SIZE_TYPE__\\\n\
2742 #define __SIZE_TYPE__ long unsigned int\\\n\
2744 typedef __SIZE_TYPE__ size_t;\\\n\
2746 "-e", "/typedef[ \t][ \t]*[a-z_][ \ta-z_]*[ \t]size_t/i\\\n\
2747 #ifndef __SIZE_TYPE__\\\n\
2748 #define __SIZE_TYPE__ long unsigned int\\\n\
2750 "-e", "s/typedef[ \t][ \t]*[a-z_][ \ta-z_]*[ \t]size_t/typedef __SIZE_TYPE__ size_t/",
2751 "-e", "/typedef[ \t][ \t]*[a-z_][ \ta-z_]*[ \t]ptrdiff_t/i\\\n\
2752 #ifndef __PTRDIFF_TYPE__\\\n\
2753 #define __PTRDIFF_TYPE__ long int\\\n\
2755 "-e", "s/typedef[ \t][ \t]*[a-z_][ \ta-z_]*[ \t]ptrdiff_t/typedef __PTRDIFF_TYPE__ ptrdiff_t/",
2756 "-e", "/typedef[ \t][ \t]*[a-z_][ \ta-z_]*[ \t]wchar_t/i\\\n\
2757 #ifndef __WCHAR_TYPE__\\\n\
2758 #define __WCHAR_TYPE__ int\\\n\
2760 #ifndef __cplusplus\n",
2761 "-e", "/typedef[ \t][ \t]*[a-z_][ \ta-z_]*[ \t]wchar_t/a\\\n\
2763 "-e", "s/typedef[ \t][ \t]*[a-z_][ \ta-z_]*[ \t]wchar_t/typedef __WCHAR_TYPE__ wchar_t/",
2766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2768 * Description 76 - Systypes_For_Aix fix
2770 tSCC zSystypes_For_AixName[] =
2773 * File name selection pattern
2775 tSCC zSystypes_For_AixList[] =
2778 * Machine/OS name selection pattern
2780 #define apzSystypes_For_AixMachs (const char**)NULL
2783 * content selection pattern - do fix if pattern found
2785 tSCC zSystypes_For_AixSelect0[] =
2786 "typedef[ \t][ \t]*[A-Za-z_][ \tA-Za-z_]*[ \t]size_t";
2789 * content bypass pattern - skip fix if pattern found
2791 tSCC zSystypes_For_AixBypass0[] =
2794 #define SYSTYPES_FOR_AIX_TEST_CT 2
2795 #define SYSTYPES_FOR_AIX_RE_CT 2
2796 tTestDesc aSystypes_For_AixTests[] = {
2797 { TT_NEGREP, zSystypes_For_AixBypass0, (regex_t*)NULL },
2798 { TT_EGREP, zSystypes_For_AixSelect0, (regex_t*)NULL }, };
2801 * Fix Command Arguments for Systypes_For_Aix
2803 const char* apzSystypes_For_AixPatch[] = { "sed",
2804 "-e", "/typedef[ \t][ \t]*[A-Za-z_][ \tA-Za-z_]*[ \t]size_t/i\\\n\
2805 #ifndef _GCC_SIZE_T\\\n\
2806 #define _GCC_SIZE_T\n",
2807 "-e", "/typedef[ \t][ \t]*[A-Za-z_][ \tA-Za-z_]*[ \t]size_t/a\\\n\
2811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2813 * Description 77 - Sysv68_String fix
2815 tSCC zSysv68_StringName[] =
2818 * File name selection pattern
2820 tSCC zSysv68_StringList[] =
2823 * Machine/OS name selection pattern
2825 #define apzSysv68_StringMachs (const char**)NULL
2826 #define SYSV68_STRING_TEST_CT 0
2827 #define SYSV68_STRING_RE_CT 0
2828 #define aSysv68_StringTests (tTestDesc*)NULL
2831 * Fix Command Arguments for Sysv68_String
2833 const char* apzSysv68_StringPatch[] = { "sed",
2834 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
2835 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
2836 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
2837 "-e", "/^extern char$/N",
2838 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
2839 "-e", "/^\tstrncmp(),$/N",
2840 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
2841 extern unsigned int\\\n\
2843 "-e", "/^extern int$/N",
2844 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
2847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2849 * Description 78 - Sysz_Stdlib_For_Sun fix
2851 tSCC zSysz_Stdlib_For_SunName[] =
2852 "Sysz_Stdlib_For_Sun";
2854 * File name selection pattern
2856 tSCC zSysz_Stdlib_For_SunList[] =
2859 * Machine/OS name selection pattern
2861 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
2862 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 0
2863 #define SYSZ_STDLIB_FOR_SUN_RE_CT 0
2864 #define aSysz_Stdlib_For_SunTests (tTestDesc*)NULL
2867 * Fix Command Arguments for Sysz_Stdlib_For_Sun
2869 const char* apzSysz_Stdlib_For_SunPatch[] = { "sed",
2870 "-e", "s/int\tabort/void\tabort/g",
2871 "-e", "s/int\tfree/void\tfree/g",
2872 "-e", "s/char[ \t]*\\*[ \t]*calloc/void \\*\tcalloc/g",
2873 "-e", "s/char[ \t]*\\*[ \t]*malloc/void \\*\tmalloc/g",
2874 "-e", "s/char[ \t]*\\*[ \t]*realloc/void \\*\trealloc/g",
2875 "-e", "s/int[ \t][ \t]*exit/void\texit/g",
2876 "-e", "/typedef[ \ta-zA-Z_]*[ \t]size_t[ \t]*;/i\\\n\
2877 #ifndef _GCC_SIZE_T\\\n\
2878 #define _GCC_SIZE_T\n",
2879 "-e", "/typedef[ \ta-zA-Z_]*[ \t]size_t[ \t]*;/a\\\n\
2883 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2885 * Description 79 - Sysz_Stdtypes_For_Sun fix
2887 tSCC zSysz_Stdtypes_For_SunName[] =
2888 "Sysz_Stdtypes_For_Sun";
2890 * File name selection pattern
2892 tSCC zSysz_Stdtypes_For_SunList[] =
2895 * Machine/OS name selection pattern
2897 #define apzSysz_Stdtypes_For_SunMachs (const char**)NULL
2898 #define SYSZ_STDTYPES_FOR_SUN_TEST_CT 0
2899 #define SYSZ_STDTYPES_FOR_SUN_RE_CT 0
2900 #define aSysz_Stdtypes_For_SunTests (tTestDesc*)NULL
2903 * Fix Command Arguments for Sysz_Stdtypes_For_Sun
2905 const char* apzSysz_Stdtypes_For_SunPatch[] = { "sed",
2906 "-e", "/[\t ]size_t.*;/i\\\n\
2907 #ifndef _GCC_SIZE_T\\\n\
2908 #define _GCC_SIZE_T\n",
2909 "-e", "/[\t ]size_t.*;/a\\\n\
2911 "-e", "/[\t ]ptrdiff_t.*;/i\\\n\
2912 #ifndef _GCC_PTRDIFF_T\\\n\
2913 #define _GCC_PTRDIFF_T\n",
2914 "-e", "/[\t ]ptrdiff_t.*;/a\\\n\
2916 "-e", "/[\t ]wchar_t.*;/i\\\n\
2917 #ifndef _GCC_WCHAR_T\\\n\
2918 #define _GCC_WCHAR_T\n",
2919 "-e", "/[\t ]wchar_t.*;/a\\\n\
2923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2925 * Description 80 - Tinfo_Cplusplus fix
2927 tSCC zTinfo_CplusplusName[] =
2930 * File name selection pattern
2932 tSCC zTinfo_CplusplusList[] =
2935 * Machine/OS name selection pattern
2937 #define apzTinfo_CplusplusMachs (const char**)NULL
2938 #define TINFO_CPLUSPLUS_TEST_CT 0
2939 #define TINFO_CPLUSPLUS_RE_CT 0
2940 #define aTinfo_CplusplusTests (tTestDesc*)NULL
2943 * Fix Command Arguments for Tinfo_Cplusplus
2945 const char* apzTinfo_CplusplusPatch[] = { "sed",
2946 "-e", "s/[ \t]_cplusplus/ __cplusplus/",
2949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2951 * Description 81 - Ultrix_Ansi_Compat fix
2953 tSCC zUltrix_Ansi_CompatName[] =
2954 "Ultrix_Ansi_Compat";
2956 * File name selection pattern
2958 tSCC zUltrix_Ansi_CompatList[] =
2961 * Machine/OS name selection pattern
2963 #define apzUltrix_Ansi_CompatMachs (const char**)NULL
2966 * content selection pattern - do fix if pattern found
2968 tSCC zUltrix_Ansi_CompatSelect0[] =
2971 #define ULTRIX_ANSI_COMPAT_TEST_CT 1
2972 #define ULTRIX_ANSI_COMPAT_RE_CT 1
2973 tTestDesc aUltrix_Ansi_CompatTests[] = {
2974 { TT_EGREP, zUltrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
2977 * Fix Command Arguments for Ultrix_Ansi_Compat
2979 const char* apzUltrix_Ansi_CompatPatch[] = { "sed",
2981 /* This file intentionally left blank. */\n",
2985 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2987 * Description 82 - Ultrix_Fix_Fixproto fix
2989 tSCC zUltrix_Fix_FixprotoName[] =
2990 "Ultrix_Fix_Fixproto";
2992 * File name selection pattern
2994 tSCC zUltrix_Fix_FixprotoList[] =
2997 * Machine/OS name selection pattern
2999 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
3002 * content selection pattern - do fix if pattern found
3004 tSCC zUltrix_Fix_FixprotoSelect0[] =
3007 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
3008 #define ULTRIX_FIX_FIXPROTO_RE_CT 1
3009 tTestDesc aUltrix_Fix_FixprotoTests[] = {
3010 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
3013 * Fix Command Arguments for Ultrix_Fix_Fixproto
3015 const char* apzUltrix_Fix_FixprotoPatch[] = { "sed",
3016 "-e", "/^[ \t]*extern[ \t]*int[ \t]*uname();$/i\\\n\
3020 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3022 * Description 83 - Ultrix_Atof_Param fix
3024 tSCC zUltrix_Atof_ParamName[] =
3025 "Ultrix_Atof_Param";
3027 * File name selection pattern
3029 tSCC zUltrix_Atof_ParamList[] =
3032 * Machine/OS name selection pattern
3034 #define apzUltrix_Atof_ParamMachs (const char**)NULL
3035 #define ULTRIX_ATOF_PARAM_TEST_CT 0
3036 #define ULTRIX_ATOF_PARAM_RE_CT 0
3037 #define aUltrix_Atof_ParamTests (tTestDesc*)NULL
3040 * Fix Command Arguments for Ultrix_Atof_Param
3042 const char* apzUltrix_Atof_ParamPatch[] = { "sed",
3043 "-e", "s@atof(\\([ \t]*char[ \t]*\\*[^)]*\\))@atof(const \\1)@",
3044 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3045 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3046 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3047 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3052 * Description 84 - Ultrix_Const fix
3054 tSCC zUltrix_ConstName[] =
3057 * File name selection pattern
3059 tSCC zUltrix_ConstList[] =
3062 * Machine/OS name selection pattern
3064 #define apzUltrix_ConstMachs (const char**)NULL
3065 #define ULTRIX_CONST_TEST_CT 0
3066 #define ULTRIX_CONST_RE_CT 0
3067 #define aUltrix_ConstTests (tTestDesc*)NULL
3070 * Fix Command Arguments for Ultrix_Const
3072 const char* apzUltrix_ConstPatch[] = { "sed",
3073 "-e", "s@perror( char \\*__s );@perror( const char *__s );@",
3074 "-e", "s@fputs( char \\*__s,@fputs( const char *__s,@",
3075 "-e", "s@fopen( char \\*__filename, char \\*__type );@fopen( const char *__filename, const char *__type );@",
3076 "-e", "s@fwrite( void \\*__ptr,@fwrite( const void *__ptr,@",
3077 "-e", "s@fscanf( FILE \\*__stream, char \\*__format,@fscanf( FILE *__stream, const char *__format,@",
3078 "-e", "s@scanf( char \\*__format,@scanf( const char *__format,@",
3079 "-e", "s@sscanf( char \\*__s, char \\*__format,@sscanf( const char *__s, const char *__format,@",
3080 "-e", "s@popen(char \\*, char \\*);@popen(const char *, const char *);@",
3081 "-e", "s@tempnam(char\\*,char\\*);@tempnam(const char*,const char*);@",
3084 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3086 * Description 85 - Ultrix_Ifdef fix
3088 tSCC zUltrix_IfdefName[] =
3091 * File name selection pattern
3093 tSCC zUltrix_IfdefList[] =
3096 * Machine/OS name selection pattern
3098 #define apzUltrix_IfdefMachs (const char**)NULL
3101 * content selection pattern - do fix if pattern found
3103 tSCC zUltrix_IfdefSelect0[] =
3106 #define ULTRIX_IFDEF_TEST_CT 1
3107 #define ULTRIX_IFDEF_RE_CT 1
3108 tTestDesc aUltrix_IfdefTests[] = {
3109 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
3112 * Fix Command Arguments for Ultrix_Ifdef
3114 const char* apzUltrix_IfdefPatch[] = { "sed",
3115 "-e", "s/#ifdef KERNEL/#if defined(KERNEL)/",
3118 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3120 * Description 86 - Ultrix_Nested_Cmnt fix
3122 tSCC zUltrix_Nested_CmntName[] =
3123 "Ultrix_Nested_Cmnt";
3125 * File name selection pattern
3127 tSCC zUltrix_Nested_CmntList[] =
3130 * Machine/OS name selection pattern
3132 #define apzUltrix_Nested_CmntMachs (const char**)NULL
3133 #define ULTRIX_NESTED_CMNT_TEST_CT 0
3134 #define ULTRIX_NESTED_CMNT_RE_CT 0
3135 #define aUltrix_Nested_CmntTests (tTestDesc*)NULL
3138 * Fix Command Arguments for Ultrix_Nested_Cmnt
3140 const char* apzUltrix_Nested_CmntPatch[] = { "sed",
3141 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
3144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3146 * Description 87 - Ultrix_Static fix
3148 tSCC zUltrix_StaticName[] =
3151 * File name selection pattern
3153 tSCC zUltrix_StaticList[] =
3156 * Machine/OS name selection pattern
3158 #define apzUltrix_StaticMachs (const char**)NULL
3161 * content selection pattern - do fix if pattern found
3163 tSCC zUltrix_StaticSelect0[] =
3164 "#include \"r[34]_cpu";
3166 #define ULTRIX_STATIC_TEST_CT 1
3167 #define ULTRIX_STATIC_RE_CT 1
3168 tTestDesc aUltrix_StaticTests[] = {
3169 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
3172 * Fix Command Arguments for Ultrix_Static
3174 const char* apzUltrix_StaticPatch[] = { "sed",
3175 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
3176 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
3177 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
3180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3182 * Description 88 - Undefine_Null fix
3184 tSCC zUndefine_NullName[] =
3187 * File name selection pattern
3189 #define zUndefine_NullList (char*)NULL
3191 * Machine/OS name selection pattern
3193 #define apzUndefine_NullMachs (const char**)NULL
3196 * content selection pattern - do fix if pattern found
3198 tSCC zUndefine_NullSelect0[] =
3199 "^#[ \t]*define[ \t]*[ \t]NULL[ \t]";
3202 * content bypass pattern - skip fix if pattern found
3204 tSCC zUndefine_NullBypass0[] =
3205 "#[ \t]*(ifn|un)def[ \t]*[ \t]NULL($|[ \t])";
3207 #define UNDEFINE_NULL_TEST_CT 2
3208 #define UNDEFINE_NULL_RE_CT 2
3209 tTestDesc aUndefine_NullTests[] = {
3210 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
3211 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
3214 * Fix Command Arguments for Undefine_Null
3216 const char* apzUndefine_NullPatch[] = { "sed",
3217 "-e", "/^#[ \t]*define[ \t][ \t]*NULL[ \t]/i\\\n\
3221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3223 * Description 89 - Va_I960_Macro fix
3225 tSCC zVa_I960_MacroName[] =
3228 * File name selection pattern
3230 tSCC zVa_I960_MacroList[] =
3231 "|arch/i960/archI960.h|";
3233 * Machine/OS name selection pattern
3235 #define apzVa_I960_MacroMachs (const char**)NULL
3238 * content selection pattern - do fix if pattern found
3240 tSCC zVa_I960_MacroSelect0[] =
3241 "__(vsiz|vali|vpad|alignof__)";
3243 #define VA_I960_MACRO_TEST_CT 1
3244 #define VA_I960_MACRO_RE_CT 1
3245 tTestDesc aVa_I960_MacroTests[] = {
3246 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
3249 * Fix Command Arguments for Va_I960_Macro
3251 const char* apzVa_I960_MacroPatch[] = { "sed",
3252 "-e", "s/__vsiz/__vxvsiz/",
3253 "-e", "s/__vali/__vxvali/",
3254 "-e", "s/__vpad/__vxvpad/",
3255 "-e", "s/__alignof__/__vxalignof__/",
3258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3260 * Description 90 - Void_Null fix
3262 tSCC zVoid_NullName[] =
3265 * File name selection pattern
3267 tSCC zVoid_NullList[] =
3268 "|curses.h|dbm.h|locale.h|stdio.h|stdlib.h|string.h|time.h|unistd.h|sys/dir.h|sys/param.h|sys/types.h|";
3270 * Machine/OS name selection pattern
3272 #define apzVoid_NullMachs (const char**)NULL
3275 * content selection pattern - do fix if pattern found
3277 tSCC zVoid_NullSelect0[] =
3278 "#[ \t]*define[ \t][ \t]*NULL[ \t].*void";
3280 #define VOID_NULL_TEST_CT 1
3281 #define VOID_NULL_RE_CT 1
3282 tTestDesc aVoid_NullTests[] = {
3283 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
3286 * Fix Command Arguments for Void_Null
3288 const char* apzVoid_NullPatch[] = { "sed",
3289 "-e", "s/^#[ \t]*define[ \t]*NULL[ \t]*((void[ \t]*\\*)0)/#define NULL 0/",
3292 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3294 * Description 91 - Vxworks_Gcc_Problem fix
3296 tSCC zVxworks_Gcc_ProblemName[] =
3297 "Vxworks_Gcc_Problem";
3299 * File name selection pattern
3301 tSCC zVxworks_Gcc_ProblemList[] =
3302 "|types/vxTypesBase.h|";
3304 * Machine/OS name selection pattern
3306 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
3309 * content selection pattern - do fix if pattern found
3311 tSCC zVxworks_Gcc_ProblemSelect0[] =
3312 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
3314 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
3315 #define VXWORKS_GCC_PROBLEM_RE_CT 1
3316 tTestDesc aVxworks_Gcc_ProblemTests[] = {
3317 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
3320 * Fix Command Arguments for Vxworks_Gcc_Problem
3322 const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
3323 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
3324 "-e", "/[ \t]size_t/i\\\n\
3325 #ifndef _GCC_SIZE_T\\\n\
3326 #define _GCC_SIZE_T\n",
3327 "-e", "/[ \t]size_t/a\\\n\
3329 "-e", "/[ \t]ptrdiff_t/i\\\n\
3330 #ifndef _GCC_PTRDIFF_T\\\n\
3331 #define _GCC_PTRDIFF_T\n",
3332 "-e", "/[ \t]ptrdiff_t/a\\\n\
3334 "-e", "/[ \t]wchar_t/i\\\n\
3335 #ifndef _GCC_WCHAR_T\\\n\
3336 #define _GCC_WCHAR_T\n",
3337 "-e", "/[ \t]wchar_t/a\\\n\
3341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3343 * Description 92 - Vxworks_Needs_Vxtypes fix
3345 tSCC zVxworks_Needs_VxtypesName[] =
3346 "Vxworks_Needs_Vxtypes";
3348 * File name selection pattern
3350 tSCC zVxworks_Needs_VxtypesList[] =
3353 * Machine/OS name selection pattern
3355 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
3358 * content selection pattern - do fix if pattern found
3360 tSCC zVxworks_Needs_VxtypesSelect0[] =
3361 "uint_t[ \t][ \t]*_clocks_per_sec";
3363 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
3364 #define VXWORKS_NEEDS_VXTYPES_RE_CT 1
3365 tTestDesc aVxworks_Needs_VxtypesTests[] = {
3366 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
3369 * Fix Command Arguments for Vxworks_Needs_Vxtypes
3371 const char* apzVxworks_Needs_VxtypesPatch[] = { "sed",
3372 "-e", "s/uint_t/unsigned int/",
3375 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3377 * Description 93 - Vxworks_Needs_Vxworks fix
3379 tSCC zVxworks_Needs_VxworksName[] =
3380 "Vxworks_Needs_Vxworks";
3382 * File name selection pattern
3384 tSCC zVxworks_Needs_VxworksList[] =
3387 * Machine/OS name selection pattern
3389 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
3392 * content selection pattern - do fix if pattern found
3394 tSCC zVxworks_Needs_VxworksSelect0[] =
3395 "#[ \t]define[ \t][ \t]*__INCstath";
3398 * perform the 'test' shell command - do fix on success
3400 tSCC zVxworks_Needs_VxworksTest0[] =
3401 " -r types/vxTypesOld.h";
3402 tSCC zVxworks_Needs_VxworksTest1[] =
3403 " -n \"`egrep '#include' $file`\"";
3404 tSCC zVxworks_Needs_VxworksTest2[] =
3405 " -n \"`egrep ULONG $file`\"";
3407 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
3408 #define VXWORKS_NEEDS_VXWORKS_RE_CT 1
3409 tTestDesc aVxworks_Needs_VxworksTests[] = {
3410 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
3411 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
3412 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
3413 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
3416 * Fix Command Arguments for Vxworks_Needs_Vxworks
3418 const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
3419 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
3420 #include <types/vxTypesOld.h>\n",
3423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3425 * Description 94 - Vxworks_Time fix
3427 tSCC zVxworks_TimeName[] =
3430 * File name selection pattern
3432 tSCC zVxworks_TimeList[] =
3435 * Machine/OS name selection pattern
3437 #define apzVxworks_TimeMachs (const char**)NULL
3440 * content selection pattern - do fix if pattern found
3442 tSCC zVxworks_TimeSelect0[] =
3446 * perform the 'test' shell command - do fix on success
3448 tSCC zVxworks_TimeTest0[] =
3451 #define VXWORKS_TIME_TEST_CT 2
3452 #define VXWORKS_TIME_RE_CT 1
3453 tTestDesc aVxworks_TimeTests[] = {
3454 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
3455 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
3458 * Fix Command Arguments for Vxworks_Time
3460 const char* apzVxworks_TimePatch[] = { "sed",
3461 "-e", "/VOIDFUNCPTR/i\\\n\
3462 #ifndef __gcc_VOIDFUNCPTR_defined\\\n\
3463 #ifdef __cplusplus\\\n\
3464 typedef void (*__gcc_VOIDFUNCPTR) (...);\\\n\
3466 typedef void (*__gcc_VOIDFUNCPTR) ();\\\n\
3468 #define __gcc_VOIDFUNCPTR_defined\\\n\
3470 "-e", "s/VOIDFUNCPTR/__gcc_VOIDFUNCPTR/g",
3473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3475 * Description 95 - X11_Class fix
3477 tSCC zX11_ClassName[] =
3480 * File name selection pattern
3482 tSCC zX11_ClassList[] =
3485 * Machine/OS name selection pattern
3487 #define apzX11_ClassMachs (const char**)NULL
3490 * content bypass pattern - skip fix if pattern found
3492 tSCC zX11_ClassBypass0[] =
3495 #define X11_CLASS_TEST_CT 1
3496 #define X11_CLASS_RE_CT 1
3497 tTestDesc aX11_ClassTests[] = {
3498 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL }, };
3501 * Fix Command Arguments for X11_Class
3503 const char* apzX11_ClassPatch[] = { "sed",
3504 "-e", "/char \\*class;/i\\\n\
3505 #ifdef __cplusplus\\\n\
3506 \tchar *c_class;\\\n\
3508 "-e", "/char \\*class;/a\\\n\
3512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3514 * Description 96 - X11_Class_Usage fix
3516 tSCC zX11_Class_UsageName[] =
3519 * File name selection pattern
3521 tSCC zX11_Class_UsageList[] =
3522 "|Xm/BaseClassI.h|";
3524 * Machine/OS name selection pattern
3526 #define apzX11_Class_UsageMachs (const char**)NULL
3529 * content bypass pattern - skip fix if pattern found
3531 tSCC zX11_Class_UsageBypass0[] =
3534 #define X11_CLASS_USAGE_TEST_CT 1
3535 #define X11_CLASS_USAGE_RE_CT 1
3536 tTestDesc aX11_Class_UsageTests[] = {
3537 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL }, };
3540 * Fix Command Arguments for X11_Class_Usage
3542 const char* apzX11_Class_UsagePatch[] = { "sed",
3543 "-e", "s/ class[)]/ c_class)/g",
3546 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3548 * Description 97 - X11_New fix
3550 tSCC zX11_NewName[] =
3553 * File name selection pattern
3555 tSCC zX11_NewList[] =
3558 * Machine/OS name selection pattern
3560 #define apzX11_NewMachs (const char**)NULL
3563 * content bypass pattern - skip fix if pattern found
3565 tSCC zX11_NewBypass0[] =
3568 #define X11_NEW_TEST_CT 1
3569 #define X11_NEW_RE_CT 1
3570 tTestDesc aX11_NewTests[] = {
3571 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
3574 * Fix Command Arguments for X11_New
3576 const char* apzX11_NewPatch[] = { "sed",
3577 "-e", "/Widget\told, new;/i\\\n\
3578 #ifdef __cplusplus\\\n\
3579 \tWidget\told, c_new;\\\n\
3581 "-e", "/Widget\told, new;/a\\\n\
3583 "-e", "s/Widget new,/Widget c_new,/g",
3586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3588 * Description 98 - X11_Sprintf fix
3590 tSCC zX11_SprintfName[] =
3593 * File name selection pattern
3595 tSCC zX11_SprintfList[] =
3598 * Machine/OS name selection pattern
3600 #define apzX11_SprintfMachs (const char**)NULL
3601 #define X11_SPRINTF_TEST_CT 0
3602 #define X11_SPRINTF_RE_CT 0
3603 #define aX11_SprintfTests (tTestDesc*)NULL
3606 * Fix Command Arguments for X11_Sprintf
3608 const char* apzX11_SprintfPatch[] = { "sed",
3609 "-e", "s,^extern char \\*\tsprintf();$,#ifndef __STDC__\\\n\
3610 extern char *\tsprintf();\\\n\
3611 #endif /* !defined __STDC__ */,",
3614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3616 * Description 99 - Zzz_Ki_Iface fix
3618 tSCC zZzz_Ki_IfaceName[] =
3621 * File name selection pattern
3623 tSCC zZzz_Ki_IfaceList[] =
3626 * Machine/OS name selection pattern
3628 #define apzZzz_Ki_IfaceMachs (const char**)NULL
3631 * content selection pattern - do fix if pattern found
3633 tSCC zZzz_Ki_IfaceSelect0[] =
3634 "These definitions are for HP Internal developers";
3636 #define ZZZ_KI_IFACE_TEST_CT 1
3637 #define ZZZ_KI_IFACE_RE_CT 1
3638 tTestDesc aZzz_Ki_IfaceTests[] = {
3639 { TT_EGREP, zZzz_Ki_IfaceSelect0, (regex_t*)NULL }, };
3642 * Fix Command Arguments for Zzz_Ki_Iface
3644 const char* apzZzz_Ki_IfacePatch[] = { "sh", "-c",
3645 "echo \"Removing incorrect fix to <$file>\" >&2\n\
3646 rm -f ${DESTDIR}/$file ${DESTDIR}/fixinc.tmp\n\
3650 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3652 * Description 100 - Zzz_Ki fix
3654 tSCC zZzz_KiName[] =
3657 * File name selection pattern
3659 tSCC zZzz_KiList[] =
3662 * Machine/OS name selection pattern
3664 #define apzZzz_KiMachs (const char**)NULL
3667 * content selection pattern - do fix if pattern found
3669 tSCC zZzz_KiSelect0[] =
3672 #define ZZZ_KI_TEST_CT 1
3673 #define ZZZ_KI_RE_CT 1
3674 tTestDesc aZzz_KiTests[] = {
3675 { TT_EGREP, zZzz_KiSelect0, (regex_t*)NULL }, };
3678 * Fix Command Arguments for Zzz_Ki
3680 const char* apzZzz_KiPatch[] = { "sh", "-c",
3681 "echo \"Removing incorrect fix to <$file>\" >&2\n\
3682 rm -f ${DESTDIR}/$file ${DESTDIR}/fixinc.tmp\n\
3686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3688 * Description 101 - Zzz_Ki_Calls fix
3690 tSCC zZzz_Ki_CallsName[] =
3693 * File name selection pattern
3695 tSCC zZzz_Ki_CallsList[] =
3698 * Machine/OS name selection pattern
3700 #define apzZzz_Ki_CallsMachs (const char**)NULL
3703 * content selection pattern - do fix if pattern found
3705 tSCC zZzz_Ki_CallsSelect0[] =
3706 "kthread_create_caller_t";
3708 #define ZZZ_KI_CALLS_TEST_CT 1
3709 #define ZZZ_KI_CALLS_RE_CT 1
3710 tTestDesc aZzz_Ki_CallsTests[] = {
3711 { TT_EGREP, zZzz_Ki_CallsSelect0, (regex_t*)NULL }, };
3714 * Fix Command Arguments for Zzz_Ki_Calls
3716 const char* apzZzz_Ki_CallsPatch[] = { "sh", "-c",
3717 "echo \"Removing incorrect fix to <$file>\" >&2\n\
3718 rm -f ${DESTDIR}/$file ${DESTDIR}/fixinc.tmp\n\
3722 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3724 * Description 102 - Zzz_Ki_Defs fix
3726 tSCC zZzz_Ki_DefsName[] =
3729 * File name selection pattern
3731 tSCC zZzz_Ki_DefsList[] =
3734 * Machine/OS name selection pattern
3736 #define apzZzz_Ki_DefsMachs (const char**)NULL
3739 * content selection pattern - do fix if pattern found
3741 tSCC zZzz_Ki_DefsSelect0[] =
3742 "Kernel Instrumentation Definitions";
3744 #define ZZZ_KI_DEFS_TEST_CT 1
3745 #define ZZZ_KI_DEFS_RE_CT 1
3746 tTestDesc aZzz_Ki_DefsTests[] = {
3747 { TT_EGREP, zZzz_Ki_DefsSelect0, (regex_t*)NULL }, };
3750 * Fix Command Arguments for Zzz_Ki_Defs
3752 const char* apzZzz_Ki_DefsPatch[] = { "sh", "-c",
3753 "echo \"Removing incorrect fix to <$file>\" >&2\n\
3754 rm -f ${DESTDIR}/$file ${DESTDIR}/fixinc.tmp\n\
3758 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3760 * Description 103 - Zzz_Bad_Fixes fix
3762 tSCC zZzz_Bad_FixesName[] =
3765 * File name selection pattern
3767 tSCC zZzz_Bad_FixesList[] =
3768 "|sundev/ipi_error.h|";
3770 * Machine/OS name selection pattern
3772 #define apzZzz_Bad_FixesMachs (const char**)NULL
3773 #define ZZZ_BAD_FIXES_TEST_CT 0
3774 #define ZZZ_BAD_FIXES_RE_CT 0
3775 #define aZzz_Bad_FixesTests (tTestDesc*)NULL
3778 * Fix Command Arguments for Zzz_Bad_Fixes
3780 const char* apzZzz_Bad_FixesPatch[] = { "sh", "-c",
3781 "echo \"Removing incorrect fix to <$file>\" >&2\n\
3782 rm -f ${DESTDIR}/$file ${DESTDIR}/fixinc.tmp\n\
3786 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3788 * Description 104 - Zzz_Time fix
3790 tSCC zZzz_TimeName[] =
3793 * File name selection pattern
3795 tSCC zZzz_TimeList[] =
3798 * Machine/OS name selection pattern
3800 #define apzZzz_TimeMachs (const char**)NULL
3803 * content selection pattern - do fix if pattern found
3805 tSCC zZzz_TimeSelect0[] =
3806 "11.0 and later representation of ki time";
3808 #define ZZZ_TIME_TEST_CT 1
3809 #define ZZZ_TIME_RE_CT 1
3810 tTestDesc aZzz_TimeTests[] = {
3811 { TT_EGREP, zZzz_TimeSelect0, (regex_t*)NULL }, };
3814 * Fix Command Arguments for Zzz_Time
3816 const char* apzZzz_TimePatch[] = { "sh", "-c",
3817 "echo \"Removing incorrect fix to <$file>\" >&2\n\
3818 rm -f ${DESTDIR}/$file ${DESTDIR}/fixinc.tmp\n\
3822 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3826 #define REGEX_COUNT 76
3827 #define FIX_COUNT 104
3828 tFixDesc fixDescList[ FIX_COUNT ] = {
3829 { zAix_SyswaitName, zAix_SyswaitList,
3830 apzAix_SyswaitMachs, (regex_t*)NULL,
3831 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY,
3832 aAix_SyswaitTests, apzAix_SyswaitPatch },
3834 { zAix_VolatileName, zAix_VolatileList,
3835 apzAix_VolatileMachs, (regex_t*)NULL,
3836 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY,
3837 aAix_VolatileTests, apzAix_VolatilePatch },
3839 { zAlpha_GetoptName, zAlpha_GetoptList,
3840 apzAlpha_GetoptMachs, (regex_t*)NULL,
3841 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY,
3842 aAlpha_GetoptTests, apzAlpha_GetoptPatch },
3844 { zAlpha_ParensName, zAlpha_ParensList,
3845 apzAlpha_ParensMachs, (regex_t*)NULL,
3846 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY,
3847 aAlpha_ParensTests, apzAlpha_ParensPatch },
3849 { zAlpha_SbrkName, zAlpha_SbrkList,
3850 apzAlpha_SbrkMachs, (regex_t*)NULL,
3851 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY,
3852 aAlpha_SbrkTests, apzAlpha_SbrkPatch },
3854 { zArm_Norcroft_HintName, zArm_Norcroft_HintList,
3855 apzArm_Norcroft_HintMachs, (regex_t*)NULL,
3856 ARM_NORCROFT_HINT_TEST_CT, FD_MACH_ONLY,
3857 aArm_Norcroft_HintTests, apzArm_Norcroft_HintPatch },
3859 { zArm_WcharName, zArm_WcharList,
3860 apzArm_WcharMachs, (regex_t*)NULL,
3861 ARM_WCHAR_TEST_CT, FD_MACH_ONLY,
3862 aArm_WcharTests, apzArm_WcharPatch },
3864 { zAux_AsmName, zAux_AsmList,
3865 apzAux_AsmMachs, (regex_t*)NULL,
3866 AUX_ASM_TEST_CT, FD_MACH_ONLY,
3867 aAux_AsmTests, apzAux_AsmPatch },
3869 { zAvoid_BoolName, zAvoid_BoolList,
3870 apzAvoid_BoolMachs, (regex_t*)NULL,
3871 AVOID_BOOL_TEST_CT, FD_MACH_ONLY,
3872 aAvoid_BoolTests, apzAvoid_BoolPatch },
3874 { zBad_Struct_TermName, zBad_Struct_TermList,
3875 apzBad_Struct_TermMachs, (regex_t*)NULL,
3876 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY,
3877 aBad_Struct_TermTests, apzBad_Struct_TermPatch },
3879 { zBadquoteName, zBadquoteList,
3880 apzBadquoteMachs, (regex_t*)NULL,
3881 BADQUOTE_TEST_CT, FD_MACH_ONLY,
3882 aBadquoteTests, apzBadquotePatch },
3884 { zBad_LvalName, zBad_LvalList,
3885 apzBad_LvalMachs, (regex_t*)NULL,
3886 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
3887 aBad_LvalTests, apzBad_LvalPatch },
3889 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
3890 apzBroken_Assert_StdioMachs, (regex_t*)NULL,
3891 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY,
3892 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch },
3894 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
3895 apzBroken_Assert_StdlibMachs, (regex_t*)NULL,
3896 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY,
3897 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch },
3899 { zBsd43_Io_MacrosName, zBsd43_Io_MacrosList,
3900 apzBsd43_Io_MacrosMachs, (regex_t*)NULL,
3901 BSD43_IO_MACROS_TEST_CT, FD_MACH_ONLY,
3902 aBsd43_Io_MacrosTests, apzBsd43_Io_MacrosPatch },
3904 { zDec_Intern_AsmName, zDec_Intern_AsmList,
3905 apzDec_Intern_AsmMachs, (regex_t*)NULL,
3906 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
3907 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch },
3909 { zNo_Double_SlashName, zNo_Double_SlashList,
3910 apzNo_Double_SlashMachs, (regex_t*)NULL,
3911 NO_DOUBLE_SLASH_TEST_CT, FD_MACH_ONLY,
3912 aNo_Double_SlashTests, apzNo_Double_SlashPatch },
3914 { zEcd_CursorName, zEcd_CursorList,
3915 apzEcd_CursorMachs, (regex_t*)NULL,
3916 ECD_CURSOR_TEST_CT, FD_MACH_ONLY,
3917 aEcd_CursorTests, apzEcd_CursorPatch },
3919 { zSco5_Stat_WrappersName, zSco5_Stat_WrappersList,
3920 apzSco5_Stat_WrappersMachs, (regex_t*)NULL,
3921 SCO5_STAT_WRAPPERS_TEST_CT, FD_MACH_ONLY,
3922 aSco5_Stat_WrappersTests, apzSco5_Stat_WrappersPatch },
3924 { zElse_LabelName, zElse_LabelList,
3925 apzElse_LabelMachs, (regex_t*)NULL,
3926 ELSE_LABEL_TEST_CT, FD_MACH_ONLY,
3927 aElse_LabelTests, apzElse_LabelPatch },
3929 { zEndif_LabelName, zEndif_LabelList,
3930 apzEndif_LabelMachs, (regex_t*)NULL,
3931 ENDIF_LABEL_TEST_CT, FD_MACH_ONLY,
3932 aEndif_LabelTests, apzEndif_LabelPatch },
3934 { zHp_InlineName, zHp_InlineList,
3935 apzHp_InlineMachs, (regex_t*)NULL,
3936 HP_INLINE_TEST_CT, FD_MACH_ONLY,
3937 aHp_InlineTests, apzHp_InlinePatch },
3939 { zHp_SysfileName, zHp_SysfileList,
3940 apzHp_SysfileMachs, (regex_t*)NULL,
3941 HP_SYSFILE_TEST_CT, FD_MACH_ONLY,
3942 aHp_SysfileTests, apzHp_SysfilePatch },
3944 { zCxx_UnreadyName, zCxx_UnreadyList,
3945 apzCxx_UnreadyMachs, (regex_t*)NULL,
3946 CXX_UNREADY_TEST_CT, FD_MACH_ONLY,
3947 aCxx_UnreadyTests, apzCxx_UnreadyPatch },
3949 { zHpux_MaxintName, zHpux_MaxintList,
3950 apzHpux_MaxintMachs, (regex_t*)NULL,
3951 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY,
3952 aHpux_MaxintTests, apzHpux_MaxintPatch },
3954 { zHpux_SystimeName, zHpux_SystimeList,
3955 apzHpux_SystimeMachs, (regex_t*)NULL,
3956 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY,
3957 aHpux_SystimeTests, apzHpux_SystimePatch },
3959 { zInteractv_Add1Name, zInteractv_Add1List,
3960 apzInteractv_Add1Machs, (regex_t*)NULL,
3961 INTERACTV_ADD1_TEST_CT, FD_MACH_ONLY,
3962 aInteractv_Add1Tests, apzInteractv_Add1Patch },
3964 { zInteractv_Add2Name, zInteractv_Add2List,
3965 apzInteractv_Add2Machs, (regex_t*)NULL,
3966 INTERACTV_ADD2_TEST_CT, FD_MACH_ONLY,
3967 aInteractv_Add2Tests, apzInteractv_Add2Patch },
3969 { zInteractv_Add3Name, zInteractv_Add3List,
3970 apzInteractv_Add3Machs, (regex_t*)NULL,
3971 INTERACTV_ADD3_TEST_CT, FD_MACH_ONLY,
3972 aInteractv_Add3Tests, apzInteractv_Add3Patch },
3974 { zIo_Def_QuotesName, zIo_Def_QuotesList,
3975 apzIo_Def_QuotesMachs, (regex_t*)NULL,
3976 IO_DEF_QUOTES_TEST_CT, FD_MACH_ONLY,
3977 aIo_Def_QuotesTests, apzIo_Def_QuotesPatch },
3979 { zIoctl_Fix_CtrlName, zIoctl_Fix_CtrlList,
3980 apzIoctl_Fix_CtrlMachs, (regex_t*)NULL,
3981 IOCTL_FIX_CTRL_TEST_CT, FD_MACH_ONLY,
3982 aIoctl_Fix_CtrlTests, apzIoctl_Fix_CtrlPatch },
3984 { zIp_Missing_SemiName, zIp_Missing_SemiList,
3985 apzIp_Missing_SemiMachs, (regex_t*)NULL,
3986 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
3987 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch },
3989 { zIrix_Multiline_CmntName, zIrix_Multiline_CmntList,
3990 apzIrix_Multiline_CmntMachs, (regex_t*)NULL,
3991 IRIX_MULTILINE_CMNT_TEST_CT, FD_MACH_ONLY,
3992 aIrix_Multiline_CmntTests, apzIrix_Multiline_CmntPatch },
3994 { zIrix_SockaddrName, zIrix_SockaddrList,
3995 apzIrix_SockaddrMachs, (regex_t*)NULL,
3996 IRIX_SOCKADDR_TEST_CT, FD_MACH_ONLY,
3997 aIrix_SockaddrTests, apzIrix_SockaddrPatch },
3999 { zIrix_Struct__FileName, zIrix_Struct__FileList,
4000 apzIrix_Struct__FileMachs, (regex_t*)NULL,
4001 IRIX_STRUCT__FILE_TEST_CT, FD_MACH_ONLY,
4002 aIrix_Struct__FileTests, apzIrix_Struct__FilePatch },
4004 { zIsc_FmodName, zIsc_FmodList,
4005 apzIsc_FmodMachs, (regex_t*)NULL,
4006 ISC_FMOD_TEST_CT, FD_MACH_ONLY,
4007 aIsc_FmodTests, apzIsc_FmodPatch },
4009 { zMotorola_NestedName, zMotorola_NestedList,
4010 apzMotorola_NestedMachs, (regex_t*)NULL,
4011 MOTOROLA_NESTED_TEST_CT, FD_MACH_ONLY,
4012 aMotorola_NestedTests, apzMotorola_NestedPatch },
4014 { zIsc_Sys_LimitsName, zIsc_Sys_LimitsList,
4015 apzIsc_Sys_LimitsMachs, (regex_t*)NULL,
4016 ISC_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
4017 aIsc_Sys_LimitsTests, apzIsc_Sys_LimitsPatch },
4019 { zKandr_ConcatName, zKandr_ConcatList,
4020 apzKandr_ConcatMachs, (regex_t*)NULL,
4021 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY,
4022 aKandr_ConcatTests, apzKandr_ConcatPatch },
4024 { zLimits_IfndefsName, zLimits_IfndefsList,
4025 apzLimits_IfndefsMachs, (regex_t*)NULL,
4026 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY,
4027 aLimits_IfndefsTests, apzLimits_IfndefsPatch },
4029 { zLynx_Void_IntName, zLynx_Void_IntList,
4030 apzLynx_Void_IntMachs, (regex_t*)NULL,
4031 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY,
4032 aLynx_Void_IntTests, apzLynx_Void_IntPatch },
4034 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
4035 apzLynxos_Fcntl_ProtoMachs, (regex_t*)NULL,
4036 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY,
4037 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch },
4039 { zM88k_Bad_Hypot_OptName, zM88k_Bad_Hypot_OptList,
4040 apzM88k_Bad_Hypot_OptMachs, (regex_t*)NULL,
4041 M88K_BAD_HYPOT_OPT_TEST_CT, FD_MACH_ONLY,
4042 aM88k_Bad_Hypot_OptTests, apzM88k_Bad_Hypot_OptPatch },
4044 { zM88k_Bad_S_IfName, zM88k_Bad_S_IfList,
4045 apzM88k_Bad_S_IfMachs, (regex_t*)NULL,
4046 M88K_BAD_S_IF_TEST_CT, FD_MACH_ONLY,
4047 aM88k_Bad_S_IfTests, apzM88k_Bad_S_IfPatch },
4049 { zM88k_Multi_InclName, zM88k_Multi_InclList,
4050 apzM88k_Multi_InclMachs, (regex_t*)NULL,
4051 M88K_MULTI_INCL_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
4052 aM88k_Multi_InclTests, apzM88k_Multi_InclPatch },
4054 { zMachine_NameName, zMachine_NameList,
4055 apzMachine_NameMachs, (regex_t*)NULL,
4056 MACHINE_NAME_TEST_CT, FD_MACH_ONLY,
4057 aMachine_NameTests, apzMachine_NamePatch },
4059 { zMath_ExceptionName, zMath_ExceptionList,
4060 apzMath_ExceptionMachs, (regex_t*)NULL,
4061 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY,
4062 aMath_ExceptionTests, apzMath_ExceptionPatch },
4064 { zMath_Gcc_IfndefsName, zMath_Gcc_IfndefsList,
4065 apzMath_Gcc_IfndefsMachs, (regex_t*)NULL,
4066 MATH_GCC_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
4067 aMath_Gcc_IfndefsTests, apzMath_Gcc_IfndefsPatch },
4069 { zNested_CommentName, zNested_CommentList,
4070 apzNested_CommentMachs, (regex_t*)NULL,
4071 NESTED_COMMENT_TEST_CT, FD_MACH_ONLY,
4072 aNested_CommentTests, apzNested_CommentPatch },
4074 { zNews_Os_RecursionName, zNews_Os_RecursionList,
4075 apzNews_Os_RecursionMachs, (regex_t*)NULL,
4076 NEWS_OS_RECURSION_TEST_CT, FD_MACH_ONLY,
4077 aNews_Os_RecursionTests, apzNews_Os_RecursionPatch },
4079 { zNext_Math_PrefixName, zNext_Math_PrefixList,
4080 apzNext_Math_PrefixMachs, (regex_t*)NULL,
4081 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY,
4082 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch },
4084 { zNext_TemplateName, zNext_TemplateList,
4085 apzNext_TemplateMachs, (regex_t*)NULL,
4086 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY,
4087 aNext_TemplateTests, apzNext_TemplatePatch },
4089 { zNext_VolitileName, zNext_VolitileList,
4090 apzNext_VolitileMachs, (regex_t*)NULL,
4091 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY,
4092 aNext_VolitileTests, apzNext_VolitilePatch },
4094 { zNext_Wait_UnionName, zNext_Wait_UnionList,
4095 apzNext_Wait_UnionMachs, (regex_t*)NULL,
4096 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY,
4097 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch },
4099 { zNodeent_SyntaxName, zNodeent_SyntaxList,
4100 apzNodeent_SyntaxMachs, (regex_t*)NULL,
4101 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY,
4102 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch },
4104 { zOsf_Namespace_AName, zOsf_Namespace_AList,
4105 apzOsf_Namespace_AMachs, (regex_t*)NULL,
4106 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY,
4107 aOsf_Namespace_ATests, apzOsf_Namespace_APatch },
4109 { zOsf_Namespace_BName, zOsf_Namespace_BList,
4110 apzOsf_Namespace_BMachs, (regex_t*)NULL,
4111 OSF_NAMESPACE_B_TEST_CT, FD_MACH_ONLY,
4112 aOsf_Namespace_BTests, apzOsf_Namespace_BPatch },
4114 { zPthread_Page_SizeName, zPthread_Page_SizeList,
4115 apzPthread_Page_SizeMachs, (regex_t*)NULL,
4116 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY,
4117 aPthread_Page_SizeTests, apzPthread_Page_SizePatch },
4119 { zRs6000_DoubleName, zRs6000_DoubleList,
4120 apzRs6000_DoubleMachs, (regex_t*)NULL,
4121 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY,
4122 aRs6000_DoubleTests, apzRs6000_DoublePatch },
4124 { zRs6000_FchmodName, zRs6000_FchmodList,
4125 apzRs6000_FchmodMachs, (regex_t*)NULL,
4126 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY,
4127 aRs6000_FchmodTests, apzRs6000_FchmodPatch },
4129 { zRs6000_ParamName, zRs6000_ParamList,
4130 apzRs6000_ParamMachs, (regex_t*)NULL,
4131 RS6000_PARAM_TEST_CT, FD_MACH_ONLY,
4132 aRs6000_ParamTests, apzRs6000_ParamPatch },
4134 { zSony_IncludeName, zSony_IncludeList,
4135 apzSony_IncludeMachs, (regex_t*)NULL,
4136 SONY_INCLUDE_TEST_CT, FD_MACH_ONLY,
4137 aSony_IncludeTests, apzSony_IncludePatch },
4139 { zStatsswtchName, zStatsswtchList,
4140 apzStatsswtchMachs, (regex_t*)NULL,
4141 STATSSWTCH_TEST_CT, FD_MACH_ONLY,
4142 aStatsswtchTests, apzStatsswtchPatch },
4144 { zStdio_Va_ListName, zStdio_Va_ListList,
4145 apzStdio_Va_ListMachs, (regex_t*)NULL,
4146 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
4147 aStdio_Va_ListTests, apzStdio_Va_ListPatch },
4149 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
4150 apzSun_Bogus_IfdefMachs, (regex_t*)NULL,
4151 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY,
4152 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch },
4154 { zSun_Bogus_Ifdef_Sun4cName, zSun_Bogus_Ifdef_Sun4cList,
4155 apzSun_Bogus_Ifdef_Sun4cMachs, (regex_t*)NULL,
4156 SUN_BOGUS_IFDEF_SUN4C_TEST_CT, FD_MACH_ONLY,
4157 aSun_Bogus_Ifdef_Sun4cTests, apzSun_Bogus_Ifdef_Sun4cPatch },
4159 { zSun_CatmacroName, zSun_CatmacroList,
4160 apzSun_CatmacroMachs, (regex_t*)NULL,
4161 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY,
4162 aSun_CatmacroTests, apzSun_CatmacroPatch },
4164 { zSun_MallocName, zSun_MallocList,
4165 apzSun_MallocMachs, (regex_t*)NULL,
4166 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
4167 aSun_MallocTests, apzSun_MallocPatch },
4169 { zSun_MemcpyName, zSun_MemcpyList,
4170 apzSun_MemcpyMachs, (regex_t*)NULL,
4171 SUN_MEMCPY_TEST_CT, FD_MACH_ONLY,
4172 aSun_MemcpyTests, apzSun_MemcpyPatch },
4174 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
4175 apzSun_Rusers_SemiMachs, (regex_t*)NULL,
4176 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
4177 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch },
4179 { zSun_SignalName, zSun_SignalList,
4180 apzSun_SignalMachs, (regex_t*)NULL,
4181 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY,
4182 aSun_SignalTests, apzSun_SignalPatch },
4184 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
4185 apzSun_Auth_ProtoMachs, (regex_t*)NULL,
4186 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY,
4187 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch },
4189 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
4190 apzSunos_Matherr_DeclMachs, (regex_t*)NULL,
4191 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY,
4192 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch },
4194 { zSunos_StrlenName, zSunos_StrlenList,
4195 apzSunos_StrlenMachs, (regex_t*)NULL,
4196 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY,
4197 aSunos_StrlenTests, apzSunos_StrlenPatch },
4199 { zSystypesName, zSystypesList,
4200 apzSystypesMachs, (regex_t*)NULL,
4201 SYSTYPES_TEST_CT, FD_MACH_ONLY,
4202 aSystypesTests, apzSystypesPatch },
4204 { zSystypes_For_AixName, zSystypes_For_AixList,
4205 apzSystypes_For_AixMachs, (regex_t*)NULL,
4206 SYSTYPES_FOR_AIX_TEST_CT, FD_MACH_ONLY,
4207 aSystypes_For_AixTests, apzSystypes_For_AixPatch },
4209 { zSysv68_StringName, zSysv68_StringList,
4210 apzSysv68_StringMachs, (regex_t*)NULL,
4211 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
4212 aSysv68_StringTests, apzSysv68_StringPatch },
4214 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
4215 apzSysz_Stdlib_For_SunMachs, (regex_t*)NULL,
4216 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY,
4217 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch },
4219 { zSysz_Stdtypes_For_SunName, zSysz_Stdtypes_For_SunList,
4220 apzSysz_Stdtypes_For_SunMachs, (regex_t*)NULL,
4221 SYSZ_STDTYPES_FOR_SUN_TEST_CT, FD_MACH_ONLY,
4222 aSysz_Stdtypes_For_SunTests, apzSysz_Stdtypes_For_SunPatch },
4224 { zTinfo_CplusplusName, zTinfo_CplusplusList,
4225 apzTinfo_CplusplusMachs, (regex_t*)NULL,
4226 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY,
4227 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch },
4229 { zUltrix_Ansi_CompatName, zUltrix_Ansi_CompatList,
4230 apzUltrix_Ansi_CompatMachs, (regex_t*)NULL,
4231 ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY,
4232 aUltrix_Ansi_CompatTests, apzUltrix_Ansi_CompatPatch },
4234 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
4235 apzUltrix_Fix_FixprotoMachs, (regex_t*)NULL,
4236 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY,
4237 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch },
4239 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
4240 apzUltrix_Atof_ParamMachs, (regex_t*)NULL,
4241 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY,
4242 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch },
4244 { zUltrix_ConstName, zUltrix_ConstList,
4245 apzUltrix_ConstMachs, (regex_t*)NULL,
4246 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY,
4247 aUltrix_ConstTests, apzUltrix_ConstPatch },
4249 { zUltrix_IfdefName, zUltrix_IfdefList,
4250 apzUltrix_IfdefMachs, (regex_t*)NULL,
4251 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY,
4252 aUltrix_IfdefTests, apzUltrix_IfdefPatch },
4254 { zUltrix_Nested_CmntName, zUltrix_Nested_CmntList,
4255 apzUltrix_Nested_CmntMachs, (regex_t*)NULL,
4256 ULTRIX_NESTED_CMNT_TEST_CT, FD_MACH_ONLY,
4257 aUltrix_Nested_CmntTests, apzUltrix_Nested_CmntPatch },
4259 { zUltrix_StaticName, zUltrix_StaticList,
4260 apzUltrix_StaticMachs, (regex_t*)NULL,
4261 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
4262 aUltrix_StaticTests, apzUltrix_StaticPatch },
4264 { zUndefine_NullName, zUndefine_NullList,
4265 apzUndefine_NullMachs, (regex_t*)NULL,
4266 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY,
4267 aUndefine_NullTests, apzUndefine_NullPatch },
4269 { zVa_I960_MacroName, zVa_I960_MacroList,
4270 apzVa_I960_MacroMachs, (regex_t*)NULL,
4271 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY,
4272 aVa_I960_MacroTests, apzVa_I960_MacroPatch },
4274 { zVoid_NullName, zVoid_NullList,
4275 apzVoid_NullMachs, (regex_t*)NULL,
4276 VOID_NULL_TEST_CT, FD_MACH_ONLY,
4277 aVoid_NullTests, apzVoid_NullPatch },
4279 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
4280 apzVxworks_Gcc_ProblemMachs, (regex_t*)NULL,
4281 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
4282 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch },
4284 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
4285 apzVxworks_Needs_VxtypesMachs, (regex_t*)NULL,
4286 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY,
4287 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch },
4289 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
4290 apzVxworks_Needs_VxworksMachs, (regex_t*)NULL,
4291 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
4292 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch },
4294 { zVxworks_TimeName, zVxworks_TimeList,
4295 apzVxworks_TimeMachs, (regex_t*)NULL,
4296 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY,
4297 aVxworks_TimeTests, apzVxworks_TimePatch },
4299 { zX11_ClassName, zX11_ClassList,
4300 apzX11_ClassMachs, (regex_t*)NULL,
4301 X11_CLASS_TEST_CT, FD_MACH_ONLY,
4302 aX11_ClassTests, apzX11_ClassPatch },
4304 { zX11_Class_UsageName, zX11_Class_UsageList,
4305 apzX11_Class_UsageMachs, (regex_t*)NULL,
4306 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY,
4307 aX11_Class_UsageTests, apzX11_Class_UsagePatch },
4309 { zX11_NewName, zX11_NewList,
4310 apzX11_NewMachs, (regex_t*)NULL,
4311 X11_NEW_TEST_CT, FD_MACH_ONLY,
4312 aX11_NewTests, apzX11_NewPatch },
4314 { zX11_SprintfName, zX11_SprintfList,
4315 apzX11_SprintfMachs, (regex_t*)NULL,
4316 X11_SPRINTF_TEST_CT, FD_MACH_ONLY,
4317 aX11_SprintfTests, apzX11_SprintfPatch },
4319 { zZzz_Ki_IfaceName, zZzz_Ki_IfaceList,
4320 apzZzz_Ki_IfaceMachs, (regex_t*)NULL,
4321 ZZZ_KI_IFACE_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
4322 aZzz_Ki_IfaceTests, apzZzz_Ki_IfacePatch },
4324 { zZzz_KiName, zZzz_KiList,
4325 apzZzz_KiMachs, (regex_t*)NULL,
4326 ZZZ_KI_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
4327 aZzz_KiTests, apzZzz_KiPatch },
4329 { zZzz_Ki_CallsName, zZzz_Ki_CallsList,
4330 apzZzz_Ki_CallsMachs, (regex_t*)NULL,
4331 ZZZ_KI_CALLS_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
4332 aZzz_Ki_CallsTests, apzZzz_Ki_CallsPatch },
4334 { zZzz_Ki_DefsName, zZzz_Ki_DefsList,
4335 apzZzz_Ki_DefsMachs, (regex_t*)NULL,
4336 ZZZ_KI_DEFS_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
4337 aZzz_Ki_DefsTests, apzZzz_Ki_DefsPatch },
4339 { zZzz_Bad_FixesName, zZzz_Bad_FixesList,
4340 apzZzz_Bad_FixesMachs, (regex_t*)NULL,
4341 ZZZ_BAD_FIXES_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
4342 aZzz_Bad_FixesTests, apzZzz_Bad_FixesPatch },
4344 { zZzz_TimeName, zZzz_TimeList,
4345 apzZzz_TimeMachs, (regex_t*)NULL,
4346 ZZZ_TIME_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
4347 aZzz_TimeTests, apzZzz_TimePatch }