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 137 fixup descriptions.
10 * See README for more information.
12 * inclhack copyright (c) 1998, 1999, 2000, 2001
13 * The Free Software Foundation, Inc.
15 * inclhack is free software.
17 * You may redistribute it and/or modify it under the terms of the
18 * GNU General Public License, as published by the Free Software
19 * Foundation; either version 2, or (at your option) any later version.
21 * inclhack is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24 * See the GNU General Public License for more details.
26 * You should have received a copy of the GNU General Public License
27 * along with inclhack. See the file "COPYING". If not,
28 * write to: The Free Software Foundation, Inc.,
29 * 59 Temple Place - Suite 330,
30 * Boston, MA 02111-1307, USA.
33 /* * * * * * * * * * * * * * * * * * * * * * * * * *
35 * Description of Aaa_Ki_Iface fix
37 #define AAA_KI_IFACE_FIXIDX 0
38 tSCC zAaa_Ki_IfaceName[] =
42 * File name selection pattern
44 tSCC zAaa_Ki_IfaceList[] =
47 * Machine/OS name selection pattern
49 #define apzAaa_Ki_IfaceMachs (const char**)NULL
52 * content selection pattern - do fix if pattern found
54 tSCC zAaa_Ki_IfaceSelect0[] =
55 "These definitions are for HP Internal developers";
57 #define AAA_KI_IFACE_TEST_CT 1
58 static tTestDesc aAaa_Ki_IfaceTests[] = {
59 { TT_EGREP, zAaa_Ki_IfaceSelect0, (regex_t*)NULL }, };
62 * Fix Command Arguments for Aaa_Ki_Iface
64 static const char* apzAaa_Ki_IfacePatch[] = {
67 /* * * * * * * * * * * * * * * * * * * * * * * * * *
69 * Description of Aaa_Ki fix
71 #define AAA_KI_FIXIDX 1
76 * File name selection pattern
81 * Machine/OS name selection pattern
83 #define apzAaa_KiMachs (const char**)NULL
86 * content selection pattern - do fix if pattern found
88 tSCC zAaa_KiSelect0[] =
91 #define AAA_KI_TEST_CT 1
92 static tTestDesc aAaa_KiTests[] = {
93 { TT_EGREP, zAaa_KiSelect0, (regex_t*)NULL }, };
96 * Fix Command Arguments for Aaa_Ki
98 static const char* apzAaa_KiPatch[] = {
101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
103 * Description of Aaa_Ki_Calls fix
105 #define AAA_KI_CALLS_FIXIDX 2
106 tSCC zAaa_Ki_CallsName[] =
110 * File name selection pattern
112 tSCC zAaa_Ki_CallsList[] =
115 * Machine/OS name selection pattern
117 #define apzAaa_Ki_CallsMachs (const char**)NULL
120 * content selection pattern - do fix if pattern found
122 tSCC zAaa_Ki_CallsSelect0[] =
123 "kthread_create_caller_t";
125 #define AAA_KI_CALLS_TEST_CT 1
126 static tTestDesc aAaa_Ki_CallsTests[] = {
127 { TT_EGREP, zAaa_Ki_CallsSelect0, (regex_t*)NULL }, };
130 * Fix Command Arguments for Aaa_Ki_Calls
132 static const char* apzAaa_Ki_CallsPatch[] = {
135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
137 * Description of Aaa_Ki_Defs fix
139 #define AAA_KI_DEFS_FIXIDX 3
140 tSCC zAaa_Ki_DefsName[] =
144 * File name selection pattern
146 tSCC zAaa_Ki_DefsList[] =
149 * Machine/OS name selection pattern
151 #define apzAaa_Ki_DefsMachs (const char**)NULL
154 * content selection pattern - do fix if pattern found
156 tSCC zAaa_Ki_DefsSelect0[] =
157 "Kernel Instrumentation Definitions";
159 #define AAA_KI_DEFS_TEST_CT 1
160 static tTestDesc aAaa_Ki_DefsTests[] = {
161 { TT_EGREP, zAaa_Ki_DefsSelect0, (regex_t*)NULL }, };
164 * Fix Command Arguments for Aaa_Ki_Defs
166 static const char* apzAaa_Ki_DefsPatch[] = {
169 /* * * * * * * * * * * * * * * * * * * * * * * * * *
171 * Description of Aaa_Standards fix
173 #define AAA_STANDARDS_FIXIDX 4
174 tSCC zAaa_StandardsName[] =
178 * File name selection pattern
180 tSCC zAaa_StandardsList[] =
183 * Machine/OS name selection pattern
185 #define apzAaa_StandardsMachs (const char**)NULL
188 * content selection pattern - do fix if pattern found
190 tSCC zAaa_StandardsSelect0[] =
191 "GNU and MIPS C compilers define __STDC__ differently";
193 #define AAA_STANDARDS_TEST_CT 1
194 static tTestDesc aAaa_StandardsTests[] = {
195 { TT_EGREP, zAaa_StandardsSelect0, (regex_t*)NULL }, };
198 * Fix Command Arguments for Aaa_Standards
200 static const char* apzAaa_StandardsPatch[] = {
203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
205 * Description of Aaa_Bad_Fixes fix
207 #define AAA_BAD_FIXES_FIXIDX 5
208 tSCC zAaa_Bad_FixesName[] =
212 * File name selection pattern
214 tSCC zAaa_Bad_FixesList[] =
215 "|sundev/ipi_error.h|";
217 * Machine/OS name selection pattern
219 #define apzAaa_Bad_FixesMachs (const char**)NULL
220 #define AAA_BAD_FIXES_TEST_CT 0
221 #define aAaa_Bad_FixesTests (tTestDesc*)NULL
224 * Fix Command Arguments for Aaa_Bad_Fixes
226 static const char* apzAaa_Bad_FixesPatch[] = {
229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
231 * Description of Aaa_Time fix
233 #define AAA_TIME_FIXIDX 6
234 tSCC zAaa_TimeName[] =
238 * File name selection pattern
240 tSCC zAaa_TimeList[] =
243 * Machine/OS name selection pattern
245 #define apzAaa_TimeMachs (const char**)NULL
248 * content selection pattern - do fix if pattern found
250 tSCC zAaa_TimeSelect0[] =
251 "11.0 and later representation of ki time";
253 #define AAA_TIME_TEST_CT 1
254 static tTestDesc aAaa_TimeTests[] = {
255 { TT_EGREP, zAaa_TimeSelect0, (regex_t*)NULL }, };
258 * Fix Command Arguments for Aaa_Time
260 static const char* apzAaa_TimePatch[] = {
263 /* * * * * * * * * * * * * * * * * * * * * * * * * *
265 * Description of Aab_Dgux_Int_Varargs fix
267 #define AAB_DGUX_INT_VARARGS_FIXIDX 7
268 tSCC zAab_Dgux_Int_VarargsName[] =
269 "AAB_dgux_int_varargs";
272 * File name selection pattern
274 tSCC zAab_Dgux_Int_VarargsList[] =
277 * Machine/OS name selection pattern
279 #define apzAab_Dgux_Int_VarargsMachs (const char**)NULL
280 #define AAB_DGUX_INT_VARARGS_TEST_CT 0
281 #define aAab_Dgux_Int_VarargsTests (tTestDesc*)NULL
284 * Fix Command Arguments for Aab_Dgux_Int_Varargs
286 static const char* apzAab_Dgux_Int_VarargsPatch[] = {
287 "#ifndef __INT_VARARGS_H\n\
288 #define __INT_VARARGS_H\n\
290 /************************************************************************/\n\
291 /* _INT_VARARGS.H - Define the common stuff for varargs/stdarg/stdio. */\n\
292 /************************************************************************/\n\
295 ** This file is a DG internal header. Never include this\n\
299 #ifndef ___int_features_h\n\
300 #include <sys/_int_features.h>\n\
303 #if !(defined(_VA_LIST) || defined(_VA_LIST_))\n\
310 typedef void * va_list;\n\
312 typedef char * va_list;\n\
318 #if defined(__DCC__)\n\
326 #else /* ! defined(__DCC__) */\n\
329 int __va_arg; /* argument number */\n\
330 int *__va_stk; /* start of args passed on stack */\n\
331 int *__va_reg; /* start of args passed in regs */\n\
334 #endif /* ! defined(__DCC__) */\n\
338 #if defined(__GNUC__) || defined(__STDC__)\n\
339 typedef void * va_list;\n\
341 typedef char * va_list;\n\
344 #endif /* _IX86_ANY */\n\
346 #endif /* __LINT__ */\n\
347 #endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */\n\
348 #endif /* #ifndef __INT_VARARGS_H */\n",
351 /* * * * * * * * * * * * * * * * * * * * * * * * * *
353 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
355 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX 8
356 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
357 "AAB_fd_zero_asm_posix_types_h";
360 * File name selection pattern
362 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
363 "|asm/posix_types.h|";
365 * Machine/OS name selection pattern
367 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
368 "i[34567]86-*-linux*",
372 * content bypass pattern - skip fix if pattern found
374 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
377 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
378 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
379 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
382 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
384 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
385 "/* This file fixes a bug in the __FD_ZERO macro\n\
386 for older versions of the Linux kernel. */\n\
387 #ifndef _POSIX_TYPES_H_WRAPPER\n\
388 #include <features.h>\n\
389 #include_next <asm/posix_types.h>\n\
391 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
393 #define __FD_ZERO(fdsetp) \\\n\
395 int __d0, __d1; \\\n\
396 \t\t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
397 \t\t\t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
398 \t\t\t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
399 \t\t\t \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
403 #define _POSIX_TYPES_H_WRAPPER\n\
404 #endif /* _POSIX_TYPES_H_WRAPPER */\n",
407 /* * * * * * * * * * * * * * * * * * * * * * * * * *
409 * Description of Aab_Fd_Zero_Gnu_Types_H fix
411 #define AAB_FD_ZERO_GNU_TYPES_H_FIXIDX 9
412 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
413 "AAB_fd_zero_gnu_types_h";
416 * File name selection pattern
418 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
421 * Machine/OS name selection pattern
423 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
424 "i[34567]86-*-linux*",
426 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
427 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
430 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
432 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
433 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
434 #ifndef _TYPES_H_WRAPPER\n\
435 #include <features.h>\n\
436 #include_next <gnu/types.h>\n\
438 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
440 # define __FD_ZERO(fdsetp) \\\n\
442 int __d0, __d1; \\\n\
443 \t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
444 \t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
445 \t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
446 \t\t \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
450 #define _TYPES_H_WRAPPER\n\
451 #endif /* _TYPES_H_WRAPPER */\n",
454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
456 * Description of Aab_Fd_Zero_Selectbits_H fix
458 #define AAB_FD_ZERO_SELECTBITS_H_FIXIDX 10
459 tSCC zAab_Fd_Zero_Selectbits_HName[] =
460 "AAB_fd_zero_selectbits_h";
463 * File name selection pattern
465 tSCC zAab_Fd_Zero_Selectbits_HList[] =
468 * Machine/OS name selection pattern
470 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
471 "i[34567]86-*-linux*",
473 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
474 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
477 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
479 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
480 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
481 #ifndef _SELECTBITS_H_WRAPPER\n\
482 #include <features.h>\n\
483 #include_next <selectbits.h>\n\
485 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\n\
486 \t&& defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\n\
487 \t&& __GLIBC_MINOR__ == 0\n\
489 #define __FD_ZERO(fdsetp) \\\n\
491 int __d0, __d1; \\\n\
492 __asm__ __volatile__ (\"cld; rep; stosl\" \\\n\
493 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
494 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\n\
495 / sizeof (__fd_mask)), \\\n\
496 \"1\" ((__fd_mask *) (fdsetp)) \\\n\
501 #define _SELECTBITS_H_WRAPPER\n\
502 #endif /* _SELECTBITS_H_WRAPPER */\n",
505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
507 * Description of Aab_Sun_Memcpy fix
509 #define AAB_SUN_MEMCPY_FIXIDX 11
510 tSCC zAab_Sun_MemcpyName[] =
514 * File name selection pattern
516 tSCC zAab_Sun_MemcpyList[] =
519 * Machine/OS name selection pattern
521 #define apzAab_Sun_MemcpyMachs (const char**)NULL
524 * content selection pattern - do fix if pattern found
526 tSCC zAab_Sun_MemcpySelect0[] =
527 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
529 #define AAB_SUN_MEMCPY_TEST_CT 1
530 static tTestDesc aAab_Sun_MemcpyTests[] = {
531 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
534 * Fix Command Arguments for Aab_Sun_Memcpy
536 static const char* apzAab_Sun_MemcpyPatch[] = {
537 "/* This file was generated by fixincludes */\n\
538 #ifndef __memory_h__\n\
539 #define __memory_h__\n\
542 extern void *memccpy();\n\
543 extern void *memchr();\n\
544 extern void *memcpy();\n\
545 extern void *memset();\n\
547 extern char *memccpy();\n\
548 extern char *memchr();\n\
549 extern char *memcpy();\n\
550 extern char *memset();\n\
551 #endif /* __STDC__ */\n\
553 extern int memcmp();\n\
555 #endif /* __memory_h__ */\n",
558 /* * * * * * * * * * * * * * * * * * * * * * * * * *
560 * Description of Aab_Svr4_Replace_Byteorder fix
562 #define AAB_SVR4_REPLACE_BYTEORDER_FIXIDX 12
563 tSCC zAab_Svr4_Replace_ByteorderName[] =
564 "AAB_svr4_replace_byteorder";
567 * File name selection pattern
569 tSCC zAab_Svr4_Replace_ByteorderList[] =
572 * Machine/OS name selection pattern
574 tSCC* apzAab_Svr4_Replace_ByteorderMachs[] = {
576 "i[34567]86-*-sysv5*",
578 "i[34567]86-*-solaris2.[0-4]",
579 "powerpcle-*-solaris2.[0-4]",
580 "sparc-*-solaris2.[0-4]",
582 #define AAB_SVR4_REPLACE_BYTEORDER_TEST_CT 0
583 #define aAab_Svr4_Replace_ByteorderTests (tTestDesc*)NULL
586 * Fix Command Arguments for Aab_Svr4_Replace_Byteorder
588 static const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
589 "#ifndef _SYS_BYTEORDER_H\n\
590 #define _SYS_BYTEORDER_H\n\
592 /* Functions to convert `short' and `long' quantities from host byte order\n\
593 to (internet) network byte order (i.e. big-endian).\n\
595 Written by Ron Guilmette (rfg@ncd.com).\n\
597 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\
599 For big-endian machines these functions are essentially no-ops.\n\
601 For little-endian machines, we define the functions using specialized\n\
602 asm sequences in cases where doing so yields better code (e.g. i386). */\n\
604 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
605 #error You lose! This file is only useful with GNU compilers.\n\
608 #ifndef __BYTE_ORDER__\n\
609 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
610 double underscores added at the front and back. */\n\
611 #define __LITTLE_ENDIAN__ 1234\n\
612 #define __BIG_ENDIAN__ 4321\n\
613 #define __PDP_ENDIAN__ 3412\n\
617 static __inline__ unsigned long htonl (unsigned long);\n\
618 static __inline__ unsigned short htons (unsigned int);\n\
619 static __inline__ unsigned long ntohl (unsigned long);\n\
620 static __inline__ unsigned short ntohs (unsigned int);\n\
621 #endif /* defined (__STDC__) */\n\
623 #if defined (__i386__)\n\
625 #ifndef __BYTE_ORDER__\n\
626 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
629 /* Convert a host long to a network long. */\n\
631 /* We must use a new-style function definition, so that this will also\n\
632 be valid for C++. */\n\
633 static __inline__ unsigned long\n\
634 htonl (unsigned long __arg)\n\
636 register unsigned long __result;\n\
638 __asm__ (\"xchg%B0 %b0,%h0\n\
640 \txchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
644 /* Convert a host short to a network short. */\n\
646 static __inline__ unsigned short\n\
647 htons (unsigned int __arg)\n\
649 register unsigned short __result;\n\
651 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
655 #elif ((defined (__i860__) && !defined (__i860_big_endian__))\t\\\n\
656 || defined (__ns32k__) || defined (__vax__)\t\t\\\n\
657 || defined (__spur__) || defined (__arm__))\n\
659 #ifndef __BYTE_ORDER__\n\
660 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
663 /* For other little-endian machines, using C code is just as efficient as\n\
664 using assembly code. */\n\
666 /* Convert a host long to a network long. */\n\
668 static __inline__ unsigned long\n\
669 htonl (unsigned long __arg)\n\
671 register unsigned long __result;\n\
673 __result = (__arg >> 24) & 0x000000ff;\n\
674 __result |= (__arg >> 8) & 0x0000ff00;\n\
675 __result |= (__arg << 8) & 0x00ff0000;\n\
676 __result |= (__arg << 24) & 0xff000000;\n\
680 /* Convert a host short to a network short. */\n\
682 static __inline__ unsigned short\n\
683 htons (unsigned int __arg)\n\
685 register unsigned short __result;\n\
687 __result = (__arg << 8) & 0xff00;\n\
688 __result |= (__arg >> 8) & 0x00ff;\n\
692 #else /* must be a big-endian machine */\n\
694 #ifndef __BYTE_ORDER__\n\
695 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
698 /* Convert a host long to a network long. */\n\
700 static __inline__ unsigned long\n\
701 htonl (unsigned long __arg)\n\
706 /* Convert a host short to a network short. */\n\
708 static __inline__ unsigned short\n\
709 htons (unsigned int __arg)\n\
714 #endif /* big-endian */\n\
716 /* Convert a network long to a host long. */\n\
718 static __inline__ unsigned long\n\
719 ntohl (unsigned long __arg)\n\
721 return htonl (__arg);\n\
724 /* Convert a network short to a host short. */\n\
726 static __inline__ unsigned short\n\
727 ntohs (unsigned int __arg)\n\
729 return htons (__arg);\n\
734 /* * * * * * * * * * * * * * * * * * * * * * * * * *
736 * Description of Aab_Ultrix_Ansi_Compat fix
738 #define AAB_ULTRIX_ANSI_COMPAT_FIXIDX 13
739 tSCC zAab_Ultrix_Ansi_CompatName[] =
740 "AAB_ultrix_ansi_compat";
743 * File name selection pattern
745 tSCC zAab_Ultrix_Ansi_CompatList[] =
748 * Machine/OS name selection pattern
750 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
753 * content selection pattern - do fix if pattern found
755 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
758 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
759 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
760 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
763 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
765 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
766 "/* This file intentionally left blank. */\n",
769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
771 * Description of Aab_Ultrix_Limits fix
773 #define AAB_ULTRIX_LIMITS_FIXIDX 14
774 tSCC zAab_Ultrix_LimitsName[] =
778 * File name selection pattern
780 tSCC zAab_Ultrix_LimitsList[] =
783 * Machine/OS name selection pattern
785 tSCC* apzAab_Ultrix_LimitsMachs[] = {
788 #define AAB_ULTRIX_LIMITS_TEST_CT 0
789 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
792 * Fix Command Arguments for Aab_Ultrix_Limits
794 static const char* apzAab_Ultrix_LimitsPatch[] = {
795 "/*\t@(#)limits.h\t\t\t\t*/\n\
796 /* This file was generated by fixincludes\t*/\n\
797 #ifndef _LIMITS_INCLUDED\n\
798 #define _LIMITS_INCLUDED\n\
799 #include <sys/limits.h>\n\
800 #endif /* _LIMITS_INCLUDED */\n",
803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
805 * Description of Aab_Ultrix_Memory fix
807 #define AAB_ULTRIX_MEMORY_FIXIDX 15
808 tSCC zAab_Ultrix_MemoryName[] =
812 * File name selection pattern
814 tSCC zAab_Ultrix_MemoryList[] =
817 * Machine/OS name selection pattern
819 tSCC* apzAab_Ultrix_MemoryMachs[] = {
822 #define AAB_ULTRIX_MEMORY_TEST_CT 0
823 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
826 * Fix Command Arguments for Aab_Ultrix_Memory
828 static const char* apzAab_Ultrix_MemoryPatch[] = {
829 "/*\t@(#)memory.h\t\t\t\t*/\n\
830 /* This file was generated by fixincludes\t*/\n\
831 #ifndef _MEMORY_INCLUDED\n\
832 #define _MEMORY_INCLUDED\n\
833 #include <strings.h>\n\
834 #endif /* _MEMORY_INCLUDED */\n",
837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
839 * Description of Aab_Ultrix_String fix
841 #define AAB_ULTRIX_STRING_FIXIDX 16
842 tSCC zAab_Ultrix_StringName[] =
846 * File name selection pattern
848 tSCC zAab_Ultrix_StringList[] =
851 * Machine/OS name selection pattern
853 tSCC* apzAab_Ultrix_StringMachs[] = {
856 #define AAB_ULTRIX_STRING_TEST_CT 0
857 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
860 * Fix Command Arguments for Aab_Ultrix_String
862 static const char* apzAab_Ultrix_StringPatch[] = {
863 "/*\t@(#)string.h\t\t\t\t*/\n\
864 /* This file was generated by fixincludes\t*/\n\
865 #ifndef _STRING_INCLUDED\n\
866 #define _STRING_INCLUDED\n\
867 #include <strings.h>\n\
868 #endif /* _STRING_INCLUDED */\n",
871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
873 * Description of Aix_Pthread fix
875 #define AIX_PTHREAD_FIXIDX 17
876 tSCC zAix_PthreadName[] =
880 * File name selection pattern
882 tSCC zAix_PthreadList[] =
885 * Machine/OS name selection pattern
887 #define apzAix_PthreadMachs (const char**)NULL
890 * content selection pattern - do fix if pattern found
892 tSCC zAix_PthreadSelect0[] =
893 "(#define [A-Za-z_0-9]+)(\\\\\n\
897 #define AIX_PTHREAD_TEST_CT 1
898 static tTestDesc aAix_PthreadTests[] = {
899 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
902 * Fix Command Arguments for Aix_Pthread
904 static const char* apzAix_PthreadPatch[] = {
909 /* * * * * * * * * * * * * * * * * * * * * * * * * *
911 * Description of Aix_Sysmachine fix
913 #define AIX_SYSMACHINE_FIXIDX 18
914 tSCC zAix_SysmachineName[] =
918 * File name selection pattern
920 tSCC zAix_SysmachineList[] =
923 * Machine/OS name selection pattern
925 #define apzAix_SysmachineMachs (const char**)NULL
928 * content selection pattern - do fix if pattern found
930 tSCC zAix_SysmachineSelect0[] =
933 #define AIX_SYSMACHINE_TEST_CT 1
934 static tTestDesc aAix_SysmachineTests[] = {
935 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
938 * Fix Command Arguments for Aix_Sysmachine
940 static const char* apzAix_SysmachinePatch[] = {
945 /* * * * * * * * * * * * * * * * * * * * * * * * * *
947 * Description of Aix_Syswait fix
949 #define AIX_SYSWAIT_FIXIDX 19
950 tSCC zAix_SyswaitName[] =
954 * File name selection pattern
956 tSCC zAix_SyswaitList[] =
959 * Machine/OS name selection pattern
961 #define apzAix_SyswaitMachs (const char**)NULL
964 * content selection pattern - do fix if pattern found
966 tSCC zAix_SyswaitSelect0[] =
967 "^extern pid_t wait3\\(\\);\n";
968 tSCC zAix_SyswaitSelect1[] =
971 #define AIX_SYSWAIT_TEST_CT 2
972 static tTestDesc aAix_SyswaitTests[] = {
973 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
974 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
977 * Fix Command Arguments for Aix_Syswait
979 static const char* apzAix_SyswaitPatch[] = {
985 /* * * * * * * * * * * * * * * * * * * * * * * * * *
987 * Description of Aix_Volatile fix
989 #define AIX_VOLATILE_FIXIDX 20
990 tSCC zAix_VolatileName[] =
994 * File name selection pattern
996 tSCC zAix_VolatileList[] =
999 * Machine/OS name selection pattern
1001 #define apzAix_VolatileMachs (const char**)NULL
1004 * content selection pattern - do fix if pattern found
1006 tSCC zAix_VolatileSelect0[] =
1007 "typedef volatile int sig_atomic_t";
1009 #define AIX_VOLATILE_TEST_CT 1
1010 static tTestDesc aAix_VolatileTests[] = {
1011 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1014 * Fix Command Arguments for Aix_Volatile
1016 static const char* apzAix_VolatilePatch[] = {
1018 "typedef int sig_atomic_t",
1021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1023 * Description of Alpha_Getopt fix
1025 #define ALPHA_GETOPT_FIXIDX 21
1026 tSCC zAlpha_GetoptName[] =
1030 * File name selection pattern
1032 tSCC zAlpha_GetoptList[] =
1033 "|stdio.h|stdlib.h|";
1035 * Machine/OS name selection pattern
1037 #define apzAlpha_GetoptMachs (const char**)NULL
1040 * content selection pattern - do fix if pattern found
1042 tSCC zAlpha_GetoptSelect0[] =
1043 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1045 #define ALPHA_GETOPT_TEST_CT 1
1046 static tTestDesc aAlpha_GetoptTests[] = {
1047 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1050 * Fix Command Arguments for Alpha_Getopt
1052 static const char* apzAlpha_GetoptPatch[] = {
1054 "getopt(int, char *const[], const char *)",
1057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1059 * Description of Alpha_Parens fix
1061 #define ALPHA_PARENS_FIXIDX 22
1062 tSCC zAlpha_ParensName[] =
1066 * File name selection pattern
1068 tSCC zAlpha_ParensList[] =
1071 * Machine/OS name selection pattern
1073 #define apzAlpha_ParensMachs (const char**)NULL
1076 * content selection pattern - do fix if pattern found
1078 tSCC zAlpha_ParensSelect0[] =
1079 "#ifndef\\(__mips64\\)";
1081 #define ALPHA_PARENS_TEST_CT 1
1082 static tTestDesc aAlpha_ParensTests[] = {
1083 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1086 * Fix Command Arguments for Alpha_Parens
1088 static const char* apzAlpha_ParensPatch[] = {
1093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1095 * Description of Alpha_Sbrk fix
1097 #define ALPHA_SBRK_FIXIDX 23
1098 tSCC zAlpha_SbrkName[] =
1102 * File name selection pattern
1104 tSCC zAlpha_SbrkList[] =
1107 * Machine/OS name selection pattern
1109 #define apzAlpha_SbrkMachs (const char**)NULL
1112 * content selection pattern - do fix if pattern found
1114 tSCC zAlpha_SbrkSelect0[] =
1115 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1117 #define ALPHA_SBRK_TEST_CT 1
1118 static tTestDesc aAlpha_SbrkTests[] = {
1119 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1122 * Fix Command Arguments for Alpha_Sbrk
1124 static const char* apzAlpha_SbrkPatch[] = {
1129 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1131 * Description of Arm_Norcroft_Hint fix
1133 #define ARM_NORCROFT_HINT_FIXIDX 24
1134 tSCC zArm_Norcroft_HintName[] =
1135 "arm_norcroft_hint";
1138 * File name selection pattern
1140 tSCC zArm_Norcroft_HintList[] =
1141 "|X11/Intrinsic.h|";
1143 * Machine/OS name selection pattern
1145 #define apzArm_Norcroft_HintMachs (const char**)NULL
1148 * content selection pattern - do fix if pattern found
1150 tSCC zArm_Norcroft_HintSelect0[] =
1153 #define ARM_NORCROFT_HINT_TEST_CT 1
1154 static tTestDesc aArm_Norcroft_HintTests[] = {
1155 { TT_EGREP, zArm_Norcroft_HintSelect0, (regex_t*)NULL }, };
1158 * Fix Command Arguments for Arm_Norcroft_Hint
1160 static const char* apzArm_Norcroft_HintPatch[] = {
1165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1167 * Description of Arm_Wchar fix
1169 #define ARM_WCHAR_FIXIDX 25
1170 tSCC zArm_WcharName[] =
1174 * File name selection pattern
1176 tSCC zArm_WcharList[] =
1179 * Machine/OS name selection pattern
1181 #define apzArm_WcharMachs (const char**)NULL
1184 * content selection pattern - do fix if pattern found
1186 tSCC zArm_WcharSelect0[] =
1187 "#[ \t]*define[ \t]*__wchar_t";
1189 #define ARM_WCHAR_TEST_CT 1
1190 static tTestDesc aArm_WcharTests[] = {
1191 { TT_EGREP, zArm_WcharSelect0, (regex_t*)NULL }, };
1194 * Fix Command Arguments for Arm_Wchar
1196 static const char* apzArm_WcharPatch[] = {
1199 "(#[ \t]*(ifndef|define)[ \t]+)__wchar_t",
1202 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1204 * Description of Aux_Asm fix
1206 #define AUX_ASM_FIXIDX 26
1207 tSCC zAux_AsmName[] =
1211 * File name selection pattern
1213 tSCC zAux_AsmList[] =
1216 * Machine/OS name selection pattern
1218 #define apzAux_AsmMachs (const char**)NULL
1221 * content selection pattern - do fix if pattern found
1223 tSCC zAux_AsmSelect0[] =
1226 #define AUX_ASM_TEST_CT 1
1227 static tTestDesc aAux_AsmTests[] = {
1228 { TT_EGREP, zAux_AsmSelect0, (regex_t*)NULL }, };
1231 * Fix Command Arguments for Aux_Asm
1233 static const char* apzAux_AsmPatch[] = {
1235 "#if !defined(NOINLINE) && !defined(__GNUC__)",
1238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1240 * Description of Avoid_Bool_Define fix
1242 #define AVOID_BOOL_DEFINE_FIXIDX 27
1243 tSCC zAvoid_Bool_DefineName[] =
1244 "avoid_bool_define";
1247 * File name selection pattern
1249 tSCC zAvoid_Bool_DefineList[] =
1250 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1252 * Machine/OS name selection pattern
1254 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1257 * content selection pattern - do fix if pattern found
1259 tSCC zAvoid_Bool_DefineSelect0[] =
1260 "#[ \t]*define[ \t]+bool[ \t]";
1263 * content bypass pattern - skip fix if pattern found
1265 tSCC zAvoid_Bool_DefineBypass0[] =
1266 "we must use the C\\+\\+ compiler's type";
1268 #define AVOID_BOOL_DEFINE_TEST_CT 2
1269 static tTestDesc aAvoid_Bool_DefineTests[] = {
1270 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1271 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1274 * Fix Command Arguments for Avoid_Bool_Define
1276 static const char* apzAvoid_Bool_DefinePatch[] = {
1278 "#ifndef __cplusplus\n\
1281 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1284 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1286 * Description of Avoid_Bool_Type fix
1288 #define AVOID_BOOL_TYPE_FIXIDX 28
1289 tSCC zAvoid_Bool_TypeName[] =
1293 * File name selection pattern
1295 tSCC zAvoid_Bool_TypeList[] =
1296 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1298 * Machine/OS name selection pattern
1300 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1303 * content selection pattern - do fix if pattern found
1305 tSCC zAvoid_Bool_TypeSelect0[] =
1306 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1309 * content bypass pattern - skip fix if pattern found
1311 tSCC zAvoid_Bool_TypeBypass0[] =
1312 "we must use the C\\+\\+ compiler's type";
1314 #define AVOID_BOOL_TYPE_TEST_CT 2
1315 static tTestDesc aAvoid_Bool_TypeTests[] = {
1316 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1317 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1320 * Fix Command Arguments for Avoid_Bool_Type
1322 static const char* apzAvoid_Bool_TypePatch[] = {
1324 "#ifndef __cplusplus\n\
1329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1331 * Description of Avoid_Wchar_T_Type fix
1333 #define AVOID_WCHAR_T_TYPE_FIXIDX 29
1334 tSCC zAvoid_Wchar_T_TypeName[] =
1335 "avoid_wchar_t_type";
1338 * File name selection pattern
1340 #define zAvoid_Wchar_T_TypeList (char*)NULL
1342 * Machine/OS name selection pattern
1344 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1347 * content selection pattern - do fix if pattern found
1349 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1350 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1352 #define AVOID_WCHAR_T_TYPE_TEST_CT 1
1353 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1354 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1357 * Fix Command Arguments for Avoid_Wchar_T_Type
1359 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1361 "#ifndef __cplusplus\n\
1366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1368 * Description of Bad_Lval fix
1370 #define BAD_LVAL_FIXIDX 30
1371 tSCC zBad_LvalName[] =
1375 * File name selection pattern
1377 tSCC zBad_LvalList[] =
1378 "|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|";
1380 * Machine/OS name selection pattern
1382 #define apzBad_LvalMachs (const char**)NULL
1385 * content selection pattern - do fix if pattern found
1387 tSCC zBad_LvalSelect0[] =
1388 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1390 #define BAD_LVAL_TEST_CT 1
1391 static tTestDesc aBad_LvalTests[] = {
1392 { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
1395 * Fix Command Arguments for Bad_Lval
1397 static const char* apzBad_LvalPatch[] = { "sed",
1398 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1403 * Description of Bad_Struct_Term fix
1405 #define BAD_STRUCT_TERM_FIXIDX 31
1406 tSCC zBad_Struct_TermName[] =
1410 * File name selection pattern
1412 tSCC zBad_Struct_TermList[] =
1415 * Machine/OS name selection pattern
1417 #define apzBad_Struct_TermMachs (const char**)NULL
1420 * content selection pattern - do fix if pattern found
1422 tSCC zBad_Struct_TermSelect0[] =
1423 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1425 #define BAD_STRUCT_TERM_TEST_CT 1
1426 static tTestDesc aBad_Struct_TermTests[] = {
1427 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1430 * Fix Command Arguments for Bad_Struct_Term
1432 static const char* apzBad_Struct_TermPatch[] = {
1437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1439 * Description of Badquote fix
1441 #define BADQUOTE_FIXIDX 32
1442 tSCC zBadquoteName[] =
1446 * File name selection pattern
1448 tSCC zBadquoteList[] =
1449 "|sundev/vuid_event.h|";
1451 * Machine/OS name selection pattern
1453 #define apzBadquoteMachs (const char**)NULL
1456 * content selection pattern - do fix if pattern found
1458 tSCC zBadquoteSelect0[] =
1461 #define BADQUOTE_TEST_CT 1
1462 static tTestDesc aBadquoteTests[] = {
1463 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1466 * Fix Command Arguments for Badquote
1468 static const char* apzBadquotePatch[] = {
1473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1475 * Description of Broken_Assert_Stdio fix
1477 #define BROKEN_ASSERT_STDIO_FIXIDX 33
1478 tSCC zBroken_Assert_StdioName[] =
1479 "broken_assert_stdio";
1482 * File name selection pattern
1484 tSCC zBroken_Assert_StdioList[] =
1487 * Machine/OS name selection pattern
1489 #define apzBroken_Assert_StdioMachs (const char**)NULL
1492 * content selection pattern - do fix if pattern found
1494 tSCC zBroken_Assert_StdioSelect0[] =
1498 * content bypass pattern - skip fix if pattern found
1500 tSCC zBroken_Assert_StdioBypass0[] =
1501 "include.*stdio\\.h";
1503 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1504 static tTestDesc aBroken_Assert_StdioTests[] = {
1505 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1506 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1509 * Fix Command Arguments for Broken_Assert_Stdio
1511 static const char* apzBroken_Assert_StdioPatch[] = {
1513 "#include <stdio.h>\n",
1516 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1518 * Description of Broken_Assert_Stdlib fix
1520 #define BROKEN_ASSERT_STDLIB_FIXIDX 34
1521 tSCC zBroken_Assert_StdlibName[] =
1522 "broken_assert_stdlib";
1525 * File name selection pattern
1527 tSCC zBroken_Assert_StdlibList[] =
1530 * Machine/OS name selection pattern
1532 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1535 * content selection pattern - do fix if pattern found
1537 tSCC zBroken_Assert_StdlibSelect0[] =
1538 "exit *\\(|abort *\\(";
1541 * content bypass pattern - skip fix if pattern found
1543 tSCC zBroken_Assert_StdlibBypass0[] =
1544 "include.*stdlib\\.h";
1546 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1547 static tTestDesc aBroken_Assert_StdlibTests[] = {
1548 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1549 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1552 * Fix Command Arguments for Broken_Assert_Stdlib
1554 static const char* apzBroken_Assert_StdlibPatch[] = {
1556 "#ifdef __cplusplus\n\
1557 #include <stdlib.h>\n\
1561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1563 * Description of Broken_Cabs fix
1565 #define BROKEN_CABS_FIXIDX 35
1566 tSCC zBroken_CabsName[] =
1570 * File name selection pattern
1572 tSCC zBroken_CabsList[] =
1575 * Machine/OS name selection pattern
1577 #define apzBroken_CabsMachs (const char**)NULL
1580 * content selection pattern - do fix if pattern found
1582 tSCC zBroken_CabsSelect0[] =
1583 "^extern[ \\t]+double[ \\t]+cabs";
1585 #define BROKEN_CABS_TEST_CT 1
1586 static tTestDesc aBroken_CabsTests[] = {
1587 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1590 * Fix Command Arguments for Broken_Cabs
1592 static const char* apzBroken_CabsPatch[] = {
1595 "^extern[ \t]+double[ \t]+cabs\\((struct dbl_hypot|)\\);",
1598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1600 * Description of Ctrl_Quotes_Def fix
1602 #define CTRL_QUOTES_DEF_FIXIDX 36
1603 tSCC zCtrl_Quotes_DefName[] =
1607 * File name selection pattern
1609 #define zCtrl_Quotes_DefList (char*)NULL
1611 * Machine/OS name selection pattern
1613 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1616 * content selection pattern - do fix if pattern found
1618 tSCC zCtrl_Quotes_DefSelect0[] =
1619 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1621 #define CTRL_QUOTES_DEF_TEST_CT 1
1622 static tTestDesc aCtrl_Quotes_DefTests[] = {
1623 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1626 * Fix Command Arguments for Ctrl_Quotes_Def
1628 static const char* apzCtrl_Quotes_DefPatch[] = {
1633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1635 * Description of Ctrl_Quotes_Use fix
1637 #define CTRL_QUOTES_USE_FIXIDX 37
1638 tSCC zCtrl_Quotes_UseName[] =
1642 * File name selection pattern
1644 #define zCtrl_Quotes_UseList (char*)NULL
1646 * Machine/OS name selection pattern
1648 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1651 * content selection pattern - do fix if pattern found
1653 tSCC zCtrl_Quotes_UseSelect0[] =
1654 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1656 #define CTRL_QUOTES_USE_TEST_CT 1
1657 static tTestDesc aCtrl_Quotes_UseTests[] = {
1658 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1661 * Fix Command Arguments for Ctrl_Quotes_Use
1663 static const char* apzCtrl_Quotes_UsePatch[] = {
1668 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1670 * Description of Cxx_Unready fix
1672 #define CXX_UNREADY_FIXIDX 38
1673 tSCC zCxx_UnreadyName[] =
1677 * File name selection pattern
1679 tSCC zCxx_UnreadyList[] =
1680 "|sys/mman.h|rpc/types.h|";
1682 * Machine/OS name selection pattern
1684 #define apzCxx_UnreadyMachs (const char**)NULL
1687 * content selection pattern - do fix if pattern found
1689 tSCC zCxx_UnreadySelect0[] =
1693 * content bypass pattern - skip fix if pattern found
1695 tSCC zCxx_UnreadyBypass0[] =
1696 "\"C\"|__BEGIN_DECLS";
1698 #define CXX_UNREADY_TEST_CT 2
1699 static tTestDesc aCxx_UnreadyTests[] = {
1700 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1701 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1704 * Fix Command Arguments for Cxx_Unready
1706 static const char* apzCxx_UnreadyPatch[] = {
1708 "#ifdef __cplusplus\n\
1711 "#ifdef __cplusplus\n\
1716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1718 * Description of Dec_Intern_Asm fix
1720 #define DEC_INTERN_ASM_FIXIDX 39
1721 tSCC zDec_Intern_AsmName[] =
1725 * File name selection pattern
1727 tSCC zDec_Intern_AsmList[] =
1730 * Machine/OS name selection pattern
1732 #define apzDec_Intern_AsmMachs (const char**)NULL
1733 #define DEC_INTERN_ASM_TEST_CT 0
1734 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1737 * Fix Command Arguments for Dec_Intern_Asm
1739 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1740 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1742 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1746 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1748 * Description of Djgpp_Wchar_H fix
1750 #define DJGPP_WCHAR_H_FIXIDX 40
1751 tSCC zDjgpp_Wchar_HName[] =
1755 * File name selection pattern
1757 #define zDjgpp_Wchar_HList (char*)NULL
1759 * Machine/OS name selection pattern
1761 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1764 * content selection pattern - do fix if pattern found
1766 tSCC zDjgpp_Wchar_HSelect0[] =
1770 * content bypass pattern - skip fix if pattern found
1772 tSCC zDjgpp_Wchar_HBypass0[] =
1775 #define DJGPP_WCHAR_H_TEST_CT 2
1776 static tTestDesc aDjgpp_Wchar_HTests[] = {
1777 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1778 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1781 * Fix Command Arguments for Djgpp_Wchar_H
1783 static const char* apzDjgpp_Wchar_HPatch[] = {
1786 #include <sys/djtypes.h>",
1787 "#include <stddef.h>",
1790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1792 * Description of Ecd_Cursor fix
1794 #define ECD_CURSOR_FIXIDX 41
1795 tSCC zEcd_CursorName[] =
1799 * File name selection pattern
1801 tSCC zEcd_CursorList[] =
1802 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1804 * Machine/OS name selection pattern
1806 #define apzEcd_CursorMachs (const char**)NULL
1809 * content selection pattern - do fix if pattern found
1811 tSCC zEcd_CursorSelect0[] =
1814 #define ECD_CURSOR_TEST_CT 1
1815 static tTestDesc aEcd_CursorTests[] = {
1816 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1819 * Fix Command Arguments for Ecd_Cursor
1821 static const char* apzEcd_CursorPatch[] = {
1826 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1828 * Description of Fix_Header_Breakage fix
1830 #define FIX_HEADER_BREAKAGE_FIXIDX 42
1831 tSCC zFix_Header_BreakageName[] =
1832 "fix_header_breakage";
1835 * File name selection pattern
1837 tSCC zFix_Header_BreakageList[] =
1840 * Machine/OS name selection pattern
1842 tSCC* apzFix_Header_BreakageMachs[] = {
1843 "m88k-motorola-sysv3*",
1844 (const char*)NULL };
1847 * content selection pattern - do fix if pattern found
1849 tSCC zFix_Header_BreakageSelect0[] =
1850 "extern double floor\\(\\), ceil\\(\\), fmod\\(\\), fabs\\(\\);";
1852 #define FIX_HEADER_BREAKAGE_TEST_CT 1
1853 static tTestDesc aFix_Header_BreakageTests[] = {
1854 { TT_EGREP, zFix_Header_BreakageSelect0, (regex_t*)NULL }, };
1857 * Fix Command Arguments for Fix_Header_Breakage
1859 static const char* apzFix_Header_BreakagePatch[] = {
1861 "extern double floor(), ceil(), fmod(), fabs _PARAMS((double));",
1864 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1866 * Description of Freebsd_Gcc3_Breakage fix
1868 #define FREEBSD_GCC3_BREAKAGE_FIXIDX 43
1869 tSCC zFreebsd_Gcc3_BreakageName[] =
1870 "freebsd_gcc3_breakage";
1873 * File name selection pattern
1875 tSCC zFreebsd_Gcc3_BreakageList[] =
1878 * Machine/OS name selection pattern
1880 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
1882 (const char*)NULL };
1885 * content selection pattern - do fix if pattern found
1887 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
1888 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
1891 * content bypass pattern - skip fix if pattern found
1893 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
1894 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
1896 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
1897 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
1898 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
1899 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
1902 * Fix Command Arguments for Freebsd_Gcc3_Breakage
1904 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
1906 "%0 || __GNUC__ >= 3",
1909 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1911 * Description of Hp_Inline fix
1913 #define HP_INLINE_FIXIDX 44
1914 tSCC zHp_InlineName[] =
1918 * File name selection pattern
1920 tSCC zHp_InlineList[] =
1921 "|sys/spinlock.h|machine/machparam.h|";
1923 * Machine/OS name selection pattern
1925 #define apzHp_InlineMachs (const char**)NULL
1928 * content selection pattern - do fix if pattern found
1930 tSCC zHp_InlineSelect0[] =
1931 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1933 #define HP_INLINE_TEST_CT 1
1934 static tTestDesc aHp_InlineTests[] = {
1935 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1938 * Fix Command Arguments for Hp_Inline
1940 static const char* apzHp_InlinePatch[] = {
1943 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1946 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1948 * Description of Hp_Sysfile fix
1950 #define HP_SYSFILE_FIXIDX 45
1951 tSCC zHp_SysfileName[] =
1955 * File name selection pattern
1957 tSCC zHp_SysfileList[] =
1960 * Machine/OS name selection pattern
1962 #define apzHp_SysfileMachs (const char**)NULL
1965 * content selection pattern - do fix if pattern found
1967 tSCC zHp_SysfileSelect0[] =
1970 #define HP_SYSFILE_TEST_CT 1
1971 static tTestDesc aHp_SysfileTests[] = {
1972 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
1975 * Fix Command Arguments for Hp_Sysfile
1977 static const char* apzHp_SysfilePatch[] = {
1979 "(struct file *, ...)",
1983 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1985 * Description of Hpux11_Fabsf fix
1987 #define HPUX11_FABSF_FIXIDX 46
1988 tSCC zHpux11_FabsfName[] =
1992 * File name selection pattern
1994 tSCC zHpux11_FabsfList[] =
1997 * Machine/OS name selection pattern
1999 #define apzHpux11_FabsfMachs (const char**)NULL
2002 * content selection pattern - do fix if pattern found
2004 tSCC zHpux11_FabsfSelect0[] =
2005 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2008 * content bypass pattern - skip fix if pattern found
2010 tSCC zHpux11_FabsfBypass0[] =
2013 #define HPUX11_FABSF_TEST_CT 2
2014 static tTestDesc aHpux11_FabsfTests[] = {
2015 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2016 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2019 * Fix Command Arguments for Hpux11_Fabsf
2021 static const char* apzHpux11_FabsfPatch[] = {
2023 "#ifndef __cplusplus\n\
2028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2030 * Description of Hpux11_Uint32_C fix
2032 #define HPUX11_UINT32_C_FIXIDX 47
2033 tSCC zHpux11_Uint32_CName[] =
2037 * File name selection pattern
2039 tSCC zHpux11_Uint32_CList[] =
2042 * Machine/OS name selection pattern
2044 #define apzHpux11_Uint32_CMachs (const char**)NULL
2047 * content selection pattern - do fix if pattern found
2049 tSCC zHpux11_Uint32_CSelect0[] =
2050 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2052 #define HPUX11_UINT32_C_TEST_CT 1
2053 static tTestDesc aHpux11_Uint32_CTests[] = {
2054 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2057 * Fix Command Arguments for Hpux11_Uint32_C
2059 static const char* apzHpux11_Uint32_CPatch[] = {
2061 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2064 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2066 * Description of Hpux8_Bogus_Inlines fix
2068 #define HPUX8_BOGUS_INLINES_FIXIDX 48
2069 tSCC zHpux8_Bogus_InlinesName[] =
2070 "hpux8_bogus_inlines";
2073 * File name selection pattern
2075 tSCC zHpux8_Bogus_InlinesList[] =
2078 * Machine/OS name selection pattern
2080 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2083 * content selection pattern - do fix if pattern found
2085 tSCC zHpux8_Bogus_InlinesSelect0[] =
2088 #define HPUX8_BOGUS_INLINES_TEST_CT 1
2089 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2090 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2093 * Fix Command Arguments for Hpux8_Bogus_Inlines
2095 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2096 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2097 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2098 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2099 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2104 * Description of Int_Abort_Free_And_Exit fix
2106 #define INT_ABORT_FREE_AND_EXIT_FIXIDX 49
2107 tSCC zInt_Abort_Free_And_ExitName[] =
2108 "int_abort_free_and_exit";
2111 * File name selection pattern
2113 tSCC zInt_Abort_Free_And_ExitList[] =
2116 * Machine/OS name selection pattern
2118 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2121 * content selection pattern - do fix if pattern found
2123 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2124 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2126 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2127 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2128 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2131 * Fix Command Arguments for Int_Abort_Free_And_Exit
2133 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2138 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2140 * Description of Isc_Omits_With_Stdc fix
2142 #define ISC_OMITS_WITH_STDC_FIXIDX 50
2143 tSCC zIsc_Omits_With_StdcName[] =
2144 "isc_omits_with_stdc";
2147 * File name selection pattern
2149 tSCC zIsc_Omits_With_StdcList[] =
2150 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
2152 * Machine/OS name selection pattern
2154 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
2157 * content selection pattern - do fix if pattern found
2159 tSCC zIsc_Omits_With_StdcSelect0[] =
2160 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
2162 #define ISC_OMITS_WITH_STDC_TEST_CT 1
2163 static tTestDesc aIsc_Omits_With_StdcTests[] = {
2164 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
2167 * Fix Command Arguments for Isc_Omits_With_Stdc
2169 static const char* apzIsc_Omits_With_StdcPatch[] = {
2171 "!defined(_POSIX_SOURCE)",
2174 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2176 * Description of Io_Quotes_Def fix
2178 #define IO_QUOTES_DEF_FIXIDX 51
2179 tSCC zIo_Quotes_DefName[] =
2183 * File name selection pattern
2185 #define zIo_Quotes_DefList (char*)NULL
2187 * Machine/OS name selection pattern
2189 #define apzIo_Quotes_DefMachs (const char**)NULL
2192 * content selection pattern - do fix if pattern found
2194 tSCC zIo_Quotes_DefSelect0[] =
2195 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2197 #define IO_QUOTES_DEF_TEST_CT 1
2198 static tTestDesc aIo_Quotes_DefTests[] = {
2199 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2202 * Fix Command Arguments for Io_Quotes_Def
2204 static const char* apzIo_Quotes_DefPatch[] = {
2209 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2211 * Description of Io_Quotes_Use fix
2213 #define IO_QUOTES_USE_FIXIDX 52
2214 tSCC zIo_Quotes_UseName[] =
2218 * File name selection pattern
2220 #define zIo_Quotes_UseList (char*)NULL
2222 * Machine/OS name selection pattern
2224 #define apzIo_Quotes_UseMachs (const char**)NULL
2227 * content selection pattern - do fix if pattern found
2229 tSCC zIo_Quotes_UseSelect0[] =
2230 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2232 #define IO_QUOTES_USE_TEST_CT 1
2233 static tTestDesc aIo_Quotes_UseTests[] = {
2234 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2237 * Fix Command Arguments for Io_Quotes_Use
2239 static const char* apzIo_Quotes_UsePatch[] = {
2244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2246 * Description of Hpux_Maxint fix
2248 #define HPUX_MAXINT_FIXIDX 53
2249 tSCC zHpux_MaxintName[] =
2253 * File name selection pattern
2255 tSCC zHpux_MaxintList[] =
2256 "|sys/param.h|values.h|";
2258 * Machine/OS name selection pattern
2260 #define apzHpux_MaxintMachs (const char**)NULL
2263 * content selection pattern - do fix if pattern found
2265 tSCC zHpux_MaxintSelect0[] =
2266 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2269 * content bypass pattern - skip fix if pattern found
2271 tSCC zHpux_MaxintBypass0[] =
2272 "^#[ \t]*ifndef[ \t]+MAXINT";
2275 * perform the 'test' shell command - do fix on success
2277 tSCC zHpux_MaxintTest0[] =
2278 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2280 #define HPUX_MAXINT_TEST_CT 3
2281 static tTestDesc aHpux_MaxintTests[] = {
2282 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2283 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2284 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2287 * Fix Command Arguments for Hpux_Maxint
2289 static const char* apzHpux_MaxintPatch[] = {
2294 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2297 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2299 * Description of Hpux_Systime fix
2301 #define HPUX_SYSTIME_FIXIDX 54
2302 tSCC zHpux_SystimeName[] =
2306 * File name selection pattern
2308 tSCC zHpux_SystimeList[] =
2311 * Machine/OS name selection pattern
2313 #define apzHpux_SystimeMachs (const char**)NULL
2316 * content selection pattern - do fix if pattern found
2318 tSCC zHpux_SystimeSelect0[] =
2319 "^extern struct sigevent;";
2321 #define HPUX_SYSTIME_TEST_CT 1
2322 static tTestDesc aHpux_SystimeTests[] = {
2323 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2326 * Fix Command Arguments for Hpux_Systime
2328 static const char* apzHpux_SystimePatch[] = {
2333 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2335 * Description of Ip_Missing_Semi fix
2337 #define IP_MISSING_SEMI_FIXIDX 55
2338 tSCC zIp_Missing_SemiName[] =
2342 * File name selection pattern
2344 tSCC zIp_Missing_SemiList[] =
2347 * Machine/OS name selection pattern
2349 #define apzIp_Missing_SemiMachs (const char**)NULL
2352 * content selection pattern - do fix if pattern found
2354 tSCC zIp_Missing_SemiSelect0[] =
2357 #define IP_MISSING_SEMI_TEST_CT 1
2358 static tTestDesc aIp_Missing_SemiTests[] = {
2359 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2362 * Fix Command Arguments for Ip_Missing_Semi
2364 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2365 "-e", "/^struct/,/^};/s/}$/};/",
2368 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2370 * Description of Irix_Asm_Apostrophe fix
2372 #define IRIX_ASM_APOSTROPHE_FIXIDX 56
2373 tSCC zIrix_Asm_ApostropheName[] =
2374 "irix_asm_apostrophe";
2377 * File name selection pattern
2379 tSCC zIrix_Asm_ApostropheList[] =
2382 * Machine/OS name selection pattern
2384 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2387 * content selection pattern - do fix if pattern found
2389 tSCC zIrix_Asm_ApostropheSelect0[] =
2390 "^[ \t]*#.*[Ww]e're";
2392 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2393 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2394 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2397 * Fix Command Arguments for Irix_Asm_Apostrophe
2399 static const char* apzIrix_Asm_ApostrophePatch[] = {
2402 "^([ \t]*#.*[Ww]e)'re",
2405 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2407 * Description of Irix_Stdio_Va_List fix
2409 #define IRIX_STDIO_VA_LIST_FIXIDX 57
2410 tSCC zIrix_Stdio_Va_ListName[] =
2411 "irix_stdio_va_list";
2414 * File name selection pattern
2416 tSCC zIrix_Stdio_Va_ListList[] =
2419 * Machine/OS name selection pattern
2421 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
2424 * content selection pattern - do fix if pattern found
2426 tSCC zIrix_Stdio_Va_ListSelect0[] =
2427 "(printf\\(.*), /\\* va_list \\*/ char \\*";
2429 #define IRIX_STDIO_VA_LIST_TEST_CT 1
2430 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
2431 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
2434 * Fix Command Arguments for Irix_Stdio_Va_List
2436 static const char* apzIrix_Stdio_Va_ListPatch[] = {
2438 "%1, __gnuc_va_list",
2441 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2443 * Description of Irix_Limits_Const fix
2445 #define IRIX_LIMITS_CONST_FIXIDX 58
2446 tSCC zIrix_Limits_ConstName[] =
2447 "irix_limits_const";
2450 * File name selection pattern
2452 tSCC zIrix_Limits_ConstList[] =
2455 * Machine/OS name selection pattern
2457 #define apzIrix_Limits_ConstMachs (const char**)NULL
2460 * content selection pattern - do fix if pattern found
2462 tSCC zIrix_Limits_ConstSelect0[] =
2465 #define IRIX_LIMITS_CONST_TEST_CT 1
2466 static tTestDesc aIrix_Limits_ConstTests[] = {
2467 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
2470 * Fix Command Arguments for Irix_Limits_Const
2472 static const char* apzIrix_Limits_ConstPatch[] = {
2477 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2479 * Description of Isc_Fmod fix
2481 #define ISC_FMOD_FIXIDX 59
2482 tSCC zIsc_FmodName[] =
2486 * File name selection pattern
2488 tSCC zIsc_FmodList[] =
2491 * Machine/OS name selection pattern
2493 #define apzIsc_FmodMachs (const char**)NULL
2496 * content selection pattern - do fix if pattern found
2498 tSCC zIsc_FmodSelect0[] =
2501 #define ISC_FMOD_TEST_CT 1
2502 static tTestDesc aIsc_FmodTests[] = {
2503 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
2506 * Fix Command Arguments for Isc_Fmod
2508 static const char* apzIsc_FmodPatch[] = {
2510 "fmod(double, double)",
2513 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2515 * Description of Kandr_Concat fix
2517 #define KANDR_CONCAT_FIXIDX 60
2518 tSCC zKandr_ConcatName[] =
2522 * File name selection pattern
2524 tSCC zKandr_ConcatList[] =
2525 "|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|";
2527 * Machine/OS name selection pattern
2529 #define apzKandr_ConcatMachs (const char**)NULL
2532 * content selection pattern - do fix if pattern found
2534 tSCC zKandr_ConcatSelect0[] =
2537 #define KANDR_CONCAT_TEST_CT 1
2538 static tTestDesc aKandr_ConcatTests[] = {
2539 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
2542 * Fix Command Arguments for Kandr_Concat
2544 static const char* apzKandr_ConcatPatch[] = {
2549 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2551 * Description of Libc1_Ifdefd_Memx fix
2553 #define LIBC1_IFDEFD_MEMX_FIXIDX 61
2554 tSCC zLibc1_Ifdefd_MemxName[] =
2555 "libc1_ifdefd_memx";
2558 * File name selection pattern
2560 tSCC zLibc1_Ifdefd_MemxList[] =
2561 "|testing.h|string.h|";
2563 * Machine/OS name selection pattern
2565 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
2568 * content selection pattern - do fix if pattern found
2570 tSCC zLibc1_Ifdefd_MemxSelect0[] =
2571 "' is a built-in function for gcc 2\\.x\\. \\*/";
2574 * content bypass pattern - skip fix if pattern found
2576 tSCC zLibc1_Ifdefd_MemxBypass0[] =
2579 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
2580 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
2581 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
2582 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
2585 * Fix Command Arguments for Libc1_Ifdefd_Memx
2587 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
2590 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
2591 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
2593 extern [a-z_]+ mem.*(\n\
2598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2600 * Description of Limits_Ifndefs fix
2602 #define LIMITS_IFNDEFS_FIXIDX 62
2603 tSCC zLimits_IfndefsName[] =
2607 * File name selection pattern
2609 tSCC zLimits_IfndefsList[] =
2610 "|sys/limits.h|limits.h|";
2612 * Machine/OS name selection pattern
2614 #define apzLimits_IfndefsMachs (const char**)NULL
2617 * content bypass pattern - skip fix if pattern found
2619 tSCC zLimits_IfndefsBypass0[] =
2620 "ifndef[ \t]+FLT_MIN";
2622 #define LIMITS_IFNDEFS_TEST_CT 1
2623 static tTestDesc aLimits_IfndefsTests[] = {
2624 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
2627 * Fix Command Arguments for Limits_Ifndefs
2629 static const char* apzLimits_IfndefsPatch[] = {
2634 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*",
2637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2639 * Description of Lynx_Void_Int fix
2641 #define LYNX_VOID_INT_FIXIDX 63
2642 tSCC zLynx_Void_IntName[] =
2646 * File name selection pattern
2648 tSCC zLynx_Void_IntList[] =
2651 * Machine/OS name selection pattern
2653 #define apzLynx_Void_IntMachs (const char**)NULL
2656 * content selection pattern - do fix if pattern found
2658 tSCC zLynx_Void_IntSelect0[] =
2659 "#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
2661 #define LYNX_VOID_INT_TEST_CT 1
2662 static tTestDesc aLynx_Void_IntTests[] = {
2663 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
2666 * Fix Command Arguments for Lynx_Void_Int
2668 static const char* apzLynx_Void_IntPatch[] = {
2673 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2675 * Description of Lynxos_Fcntl_Proto fix
2677 #define LYNXOS_FCNTL_PROTO_FIXIDX 64
2678 tSCC zLynxos_Fcntl_ProtoName[] =
2679 "lynxos_fcntl_proto";
2682 * File name selection pattern
2684 tSCC zLynxos_Fcntl_ProtoList[] =
2687 * Machine/OS name selection pattern
2689 #define apzLynxos_Fcntl_ProtoMachs (const char**)NULL
2692 * content selection pattern - do fix if pattern found
2694 tSCC zLynxos_Fcntl_ProtoSelect0[] =
2695 "fcntl[ \t]*\\(int, int, int\\)";
2697 #define LYNXOS_FCNTL_PROTO_TEST_CT 1
2698 static tTestDesc aLynxos_Fcntl_ProtoTests[] = {
2699 { TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
2702 * Fix Command Arguments for Lynxos_Fcntl_Proto
2704 static const char* apzLynxos_Fcntl_ProtoPatch[] = {
2707 "(fcntl[ \t]*\\(int, int, )int\\)",
2710 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2712 * Description of M88k_Bad_Hypot_Opt fix
2714 #define M88K_BAD_HYPOT_OPT_FIXIDX 65
2715 tSCC zM88k_Bad_Hypot_OptName[] =
2716 "m88k_bad_hypot_opt";
2719 * File name selection pattern
2721 tSCC zM88k_Bad_Hypot_OptList[] =
2724 * Machine/OS name selection pattern
2726 tSCC* apzM88k_Bad_Hypot_OptMachs[] = {
2727 "m88k-motorola-sysv3*",
2728 (const char*)NULL };
2731 * content selection pattern - do fix if pattern found
2733 tSCC zM88k_Bad_Hypot_OptSelect0[] =
2734 "^extern double hypot\\(\\);\n";
2736 #define M88K_BAD_HYPOT_OPT_TEST_CT 1
2737 static tTestDesc aM88k_Bad_Hypot_OptTests[] = {
2738 { TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
2741 * Fix Command Arguments for M88k_Bad_Hypot_Opt
2743 static const char* apzM88k_Bad_Hypot_OptPatch[] = {
2745 "%0/* Workaround a stupid Motorola optimization if one\n\
2746 of x or y is 0.0 and the other is negative! */\n\
2748 static __inline__ double fake_hypot (double x, double y)\n\
2750 static __inline__ double fake_hypot (x, y)\n\
2754 \treturn fabs (hypot (x, y));\n\
2756 #define hypot\tfake_hypot\n",
2759 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2761 * Description of M88k_Bad_S_If fix
2763 #define M88K_BAD_S_IF_FIXIDX 66
2764 tSCC zM88k_Bad_S_IfName[] =
2768 * File name selection pattern
2770 tSCC zM88k_Bad_S_IfList[] =
2773 * Machine/OS name selection pattern
2775 tSCC* apzM88k_Bad_S_IfMachs[] = {
2777 (const char*)NULL };
2780 * content selection pattern - do fix if pattern found
2782 tSCC zM88k_Bad_S_IfSelect0[] =
2783 "#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
2785 #define M88K_BAD_S_IF_TEST_CT 1
2786 static tTestDesc aM88k_Bad_S_IfTests[] = {
2787 { TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
2790 * Fix Command Arguments for M88k_Bad_S_If
2792 static const char* apzM88k_Bad_S_IfPatch[] = {
2794 "#define %1(m) (((m) & S_IFMT) == %2)",
2795 "#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
2798 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2800 * Description of M88k_Multi_Incl fix
2802 #define M88K_MULTI_INCL_FIXIDX 67
2803 tSCC zM88k_Multi_InclName[] =
2807 * File name selection pattern
2809 tSCC zM88k_Multi_InclList[] =
2812 * Machine/OS name selection pattern
2814 tSCC* apzM88k_Multi_InclMachs[] = {
2815 "m88k-tektronix-sysv3*",
2816 (const char*)NULL };
2819 * content bypass pattern - skip fix if pattern found
2821 tSCC zM88k_Multi_InclBypass0[] =
2824 #define M88K_MULTI_INCL_TEST_CT 1
2825 static tTestDesc aM88k_Multi_InclTests[] = {
2826 { TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
2829 * Fix Command Arguments for M88k_Multi_Incl
2831 static const char* apzM88k_Multi_InclPatch[] = {
2835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2837 * Description of Machine_Ansi_H_Va_List fix
2839 #define MACHINE_ANSI_H_VA_LIST_FIXIDX 68
2840 tSCC zMachine_Ansi_H_Va_ListName[] =
2841 "machine_ansi_h_va_list";
2844 * File name selection pattern
2846 #define zMachine_Ansi_H_Va_ListList (char*)NULL
2848 * Machine/OS name selection pattern
2850 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
2853 * content selection pattern - do fix if pattern found
2855 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
2856 "define[ \t]+_BSD_VA_LIST_[ \t]";
2859 * content bypass pattern - skip fix if pattern found
2861 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
2862 "__builtin_va_list";
2864 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
2865 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
2866 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
2867 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
2870 * Fix Command Arguments for Machine_Ansi_H_Va_List
2872 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
2874 "%1__builtin_va_list",
2875 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
2878 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2880 * Description of Machine_Name fix
2882 #define MACHINE_NAME_FIXIDX 69
2883 tSCC zMachine_NameName[] =
2887 * File name selection pattern
2889 #define zMachine_NameList (char*)NULL
2891 * Machine/OS name selection pattern
2893 #define apzMachine_NameMachs (const char**)NULL
2896 * perform the C function call test
2898 tSCC zMachine_NameFTst0[] = "machine_name";
2900 #define MACHINE_NAME_TEST_CT 1
2901 static tTestDesc aMachine_NameTests[] = {
2902 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
2905 * Fix Command Arguments for Machine_Name
2907 static const char* apzMachine_NamePatch[] = {
2911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2913 * Description of Math_Exception fix
2915 #define MATH_EXCEPTION_FIXIDX 70
2916 tSCC zMath_ExceptionName[] =
2920 * File name selection pattern
2922 tSCC zMath_ExceptionList[] =
2925 * Machine/OS name selection pattern
2927 #define apzMath_ExceptionMachs (const char**)NULL
2930 * content selection pattern - do fix if pattern found
2932 tSCC zMath_ExceptionSelect0[] =
2936 * content bypass pattern - skip fix if pattern found
2938 tSCC zMath_ExceptionBypass0[] =
2939 "We have a problem when using C\\+\\+";
2941 #define MATH_EXCEPTION_TEST_CT 2
2942 static tTestDesc aMath_ExceptionTests[] = {
2943 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
2944 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
2947 * Fix Command Arguments for Math_Exception
2949 static const char* apzMath_ExceptionPatch[] = {
2951 "#ifdef __cplusplus\n\
2952 #define exception __math_exception\n\
2954 "#ifdef __cplusplus\n\
2959 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2961 * Description of Math_Huge_Val_From_Dbl_Max fix
2963 #define MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX 71
2964 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
2965 "math_huge_val_from_dbl_max";
2968 * File name selection pattern
2970 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
2973 * Machine/OS name selection pattern
2975 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
2978 * content selection pattern - do fix if pattern found
2980 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
2981 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
2984 * content bypass pattern - skip fix if pattern found
2986 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
2987 "define[ \t]+DBL_MAX";
2989 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
2990 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
2991 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
2992 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
2995 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
2997 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
2998 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\
3000 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
3001 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
3006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3008 * Description of Math_Huge_Val_Ifndef fix
3010 #define MATH_HUGE_VAL_IFNDEF_FIXIDX 72
3011 tSCC zMath_Huge_Val_IfndefName[] =
3012 "math_huge_val_ifndef";
3015 * File name selection pattern
3017 tSCC zMath_Huge_Val_IfndefList[] =
3018 "|math.h|math/math.h|";
3020 * Machine/OS name selection pattern
3022 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
3025 * content selection pattern - do fix if pattern found
3027 tSCC zMath_Huge_Val_IfndefSelect0[] =
3028 "define[ \t]+HUGE_VAL";
3030 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
3031 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
3032 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
3035 * Fix Command Arguments for Math_Huge_Val_Ifndef
3037 static const char* apzMath_Huge_Val_IfndefPatch[] = {
3039 "#ifndef HUGE_VAL\n\
3042 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
3045 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3047 * Description of Nested_Motorola fix
3049 #define NESTED_MOTOROLA_FIXIDX 73
3050 tSCC zNested_MotorolaName[] =
3054 * File name selection pattern
3056 tSCC zNested_MotorolaList[] =
3057 "|sys/limits.h|limits.h|";
3059 * Machine/OS name selection pattern
3061 tSCC* apzNested_MotorolaMachs[] = {
3062 "m68k-motorola-sysv*",
3063 (const char*)NULL };
3066 * content selection pattern - do fix if pattern found
3068 tSCC zNested_MotorolaSelect0[] =
3069 "max # bytes atomic in write|error value returned by Math lib";
3071 #define NESTED_MOTOROLA_TEST_CT 1
3072 static tTestDesc aNested_MotorolaTests[] = {
3073 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3076 * Fix Command Arguments for Nested_Motorola
3078 static const char* apzNested_MotorolaPatch[] = { "sed",
3079 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3080 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3083 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3085 * Description of Nested_Sys_Limits fix
3087 #define NESTED_SYS_LIMITS_FIXIDX 74
3088 tSCC zNested_Sys_LimitsName[] =
3089 "nested_sys_limits";
3092 * File name selection pattern
3094 tSCC zNested_Sys_LimitsList[] =
3097 * Machine/OS name selection pattern
3099 #define apzNested_Sys_LimitsMachs (const char**)NULL
3102 * content selection pattern - do fix if pattern found
3104 tSCC zNested_Sys_LimitsSelect0[] =
3107 #define NESTED_SYS_LIMITS_TEST_CT 1
3108 static tTestDesc aNested_Sys_LimitsTests[] = {
3109 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3112 * Fix Command Arguments for Nested_Sys_Limits
3114 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3115 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3116 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3119 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3121 * Description of Nested_Auth_Des fix
3123 #define NESTED_AUTH_DES_FIXIDX 75
3124 tSCC zNested_Auth_DesName[] =
3128 * File name selection pattern
3130 tSCC zNested_Auth_DesList[] =
3133 * Machine/OS name selection pattern
3135 #define apzNested_Auth_DesMachs (const char**)NULL
3138 * content selection pattern - do fix if pattern found
3140 tSCC zNested_Auth_DesSelect0[] =
3141 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3143 #define NESTED_AUTH_DES_TEST_CT 1
3144 static tTestDesc aNested_Auth_DesTests[] = {
3145 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3148 * Fix Command Arguments for Nested_Auth_Des
3150 static const char* apzNested_Auth_DesPatch[] = {
3155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3157 * Description of News_Os_Recursion fix
3159 #define NEWS_OS_RECURSION_FIXIDX 76
3160 tSCC zNews_Os_RecursionName[] =
3161 "news_os_recursion";
3164 * File name selection pattern
3166 tSCC zNews_Os_RecursionList[] =
3169 * Machine/OS name selection pattern
3171 #define apzNews_Os_RecursionMachs (const char**)NULL
3174 * content selection pattern - do fix if pattern found
3176 tSCC zNews_Os_RecursionSelect0[] =
3177 "[ \t]*#include <stdlib\\.h>.*";
3179 #define NEWS_OS_RECURSION_TEST_CT 1
3180 static tTestDesc aNews_Os_RecursionTests[] = {
3181 { TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
3184 * Fix Command Arguments for News_Os_Recursion
3186 static const char* apzNews_Os_RecursionPatch[] = {
3188 "#ifdef BOGUS_RECURSION\n\
3193 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3195 * Description of Next_Math_Prefix fix
3197 #define NEXT_MATH_PREFIX_FIXIDX 77
3198 tSCC zNext_Math_PrefixName[] =
3202 * File name selection pattern
3204 tSCC zNext_Math_PrefixList[] =
3207 * Machine/OS name selection pattern
3209 #define apzNext_Math_PrefixMachs (const char**)NULL
3212 * content selection pattern - do fix if pattern found
3214 tSCC zNext_Math_PrefixSelect0[] =
3215 "^extern[ \t]+double[ \t]+__const__[ \t]";
3217 #define NEXT_MATH_PREFIX_TEST_CT 1
3218 static tTestDesc aNext_Math_PrefixTests[] = {
3219 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3222 * Fix Command Arguments for Next_Math_Prefix
3224 static const char* apzNext_Math_PrefixPatch[] = {
3226 "extern double %1(",
3227 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3230 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3232 * Description of Next_Template fix
3234 #define NEXT_TEMPLATE_FIXIDX 78
3235 tSCC zNext_TemplateName[] =
3239 * File name selection pattern
3241 tSCC zNext_TemplateList[] =
3244 * Machine/OS name selection pattern
3246 #define apzNext_TemplateMachs (const char**)NULL
3249 * content selection pattern - do fix if pattern found
3251 tSCC zNext_TemplateSelect0[] =
3254 #define NEXT_TEMPLATE_TEST_CT 1
3255 static tTestDesc aNext_TemplateTests[] = {
3256 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3259 * Fix Command Arguments for Next_Template
3261 static const char* apzNext_TemplatePatch[] = {
3264 "\\(([^)]*)[ \t]template\\)",
3267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3269 * Description of Next_Volitile fix
3271 #define NEXT_VOLITILE_FIXIDX 79
3272 tSCC zNext_VolitileName[] =
3276 * File name selection pattern
3278 tSCC zNext_VolitileList[] =
3281 * Machine/OS name selection pattern
3283 #define apzNext_VolitileMachs (const char**)NULL
3286 * content selection pattern - do fix if pattern found
3288 tSCC zNext_VolitileSelect0[] =
3289 "^extern[ \t]+volatile[ \t]+void[ \t]";
3291 #define NEXT_VOLITILE_TEST_CT 1
3292 static tTestDesc aNext_VolitileTests[] = {
3293 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3296 * Fix Command Arguments for Next_Volitile
3298 static const char* apzNext_VolitilePatch[] = {
3301 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3304 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3306 * Description of Next_Wait_Union fix
3308 #define NEXT_WAIT_UNION_FIXIDX 80
3309 tSCC zNext_Wait_UnionName[] =
3313 * File name selection pattern
3315 tSCC zNext_Wait_UnionList[] =
3318 * Machine/OS name selection pattern
3320 #define apzNext_Wait_UnionMachs (const char**)NULL
3323 * content selection pattern - do fix if pattern found
3325 tSCC zNext_Wait_UnionSelect0[] =
3326 "wait\\(union wait";
3328 #define NEXT_WAIT_UNION_TEST_CT 1
3329 static tTestDesc aNext_Wait_UnionTests[] = {
3330 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3333 * Fix Command Arguments for Next_Wait_Union
3335 static const char* apzNext_Wait_UnionPatch[] = {
3340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3342 * Description of Nodeent_Syntax fix
3344 #define NODEENT_SYNTAX_FIXIDX 81
3345 tSCC zNodeent_SyntaxName[] =
3349 * File name selection pattern
3351 tSCC zNodeent_SyntaxList[] =
3352 "|netdnet/dnetdb.h|";
3354 * Machine/OS name selection pattern
3356 #define apzNodeent_SyntaxMachs (const char**)NULL
3359 * content selection pattern - do fix if pattern found
3361 tSCC zNodeent_SyntaxSelect0[] =
3362 "char[ \t]*\\*na_addr[ \t]*$";
3364 #define NODEENT_SYNTAX_TEST_CT 1
3365 static tTestDesc aNodeent_SyntaxTests[] = {
3366 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3369 * Fix Command Arguments for Nodeent_Syntax
3371 static const char* apzNodeent_SyntaxPatch[] = {
3376 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3378 * Description of Osf_Namespace_A fix
3380 #define OSF_NAMESPACE_A_FIXIDX 82
3381 tSCC zOsf_Namespace_AName[] =
3385 * File name selection pattern
3387 tSCC zOsf_Namespace_AList[] =
3388 "|reg_types.h|sys/lc_core.h|";
3390 * Machine/OS name selection pattern
3392 #define apzOsf_Namespace_AMachs (const char**)NULL
3395 * perform the 'test' shell command - do fix on success
3397 tSCC zOsf_Namespace_ATest0[] =
3399 tSCC zOsf_Namespace_ATest1[] =
3400 " -r sys/lc_core.h";
3401 tSCC zOsf_Namespace_ATest2[] =
3402 " -n \"`grep '} regex_t;' reg_types.h`\"";
3403 tSCC zOsf_Namespace_ATest3[] =
3404 " -z \"`grep __regex_t regex.h`\"";
3406 #define OSF_NAMESPACE_A_TEST_CT 4
3407 static tTestDesc aOsf_Namespace_ATests[] = {
3408 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
3409 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
3410 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
3411 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
3414 * Fix Command Arguments for Osf_Namespace_A
3416 static const char* apzOsf_Namespace_APatch[] = {
3419 "reg(ex|off|match)_t",
3422 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3424 * Description of Osf_Namespace_C fix
3426 #define OSF_NAMESPACE_C_FIXIDX 83
3427 tSCC zOsf_Namespace_CName[] =
3431 * File name selection pattern
3433 tSCC zOsf_Namespace_CList[] =
3436 * Machine/OS name selection pattern
3438 #define apzOsf_Namespace_CMachs (const char**)NULL
3441 * content selection pattern - do fix if pattern found
3443 tSCC zOsf_Namespace_CSelect0[] =
3444 "#include <reg_types.h>.*";
3447 * perform the 'test' shell command - do fix on success
3449 tSCC zOsf_Namespace_CTest0[] =
3451 tSCC zOsf_Namespace_CTest1[] =
3452 " -r sys/lc_core.h";
3453 tSCC zOsf_Namespace_CTest2[] =
3454 " -n \"`grep '} regex_t;' reg_types.h`\"";
3455 tSCC zOsf_Namespace_CTest3[] =
3456 " -z \"`grep __regex_t regex.h`\"";
3458 #define OSF_NAMESPACE_C_TEST_CT 5
3459 static tTestDesc aOsf_Namespace_CTests[] = {
3460 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
3461 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
3462 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
3463 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
3464 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
3467 * Fix Command Arguments for Osf_Namespace_C
3469 static const char* apzOsf_Namespace_CPatch[] = {
3472 typedef __regex_t\tregex_t;\n\
3473 typedef __regoff_t\tregoff_t;\n\
3474 typedef __regmatch_t\tregmatch_t;",
3477 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3479 * Description of Pthread_Page_Size fix
3481 #define PTHREAD_PAGE_SIZE_FIXIDX 84
3482 tSCC zPthread_Page_SizeName[] =
3483 "pthread_page_size";
3486 * File name selection pattern
3488 tSCC zPthread_Page_SizeList[] =
3491 * Machine/OS name selection pattern
3493 #define apzPthread_Page_SizeMachs (const char**)NULL
3496 * content selection pattern - do fix if pattern found
3498 tSCC zPthread_Page_SizeSelect0[] =
3501 #define PTHREAD_PAGE_SIZE_TEST_CT 1
3502 static tTestDesc aPthread_Page_SizeTests[] = {
3503 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
3506 * Fix Command Arguments for Pthread_Page_Size
3508 static const char* apzPthread_Page_SizePatch[] = {
3513 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3515 * Description of Read_Ret_Type fix
3517 #define READ_RET_TYPE_FIXIDX 85
3518 tSCC zRead_Ret_TypeName[] =
3522 * File name selection pattern
3524 tSCC zRead_Ret_TypeList[] =
3527 * Machine/OS name selection pattern
3529 #define apzRead_Ret_TypeMachs (const char**)NULL
3532 * content selection pattern - do fix if pattern found
3534 tSCC zRead_Ret_TypeSelect0[] =
3535 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
3537 #define READ_RET_TYPE_TEST_CT 1
3538 static tTestDesc aRead_Ret_TypeTests[] = {
3539 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
3542 * Fix Command Arguments for Read_Ret_Type
3544 static const char* apzRead_Ret_TypePatch[] = {
3546 "extern unsigned int fread(), fwrite();\n\
3548 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
3551 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3553 * Description of Rs6000_Double fix
3555 #define RS6000_DOUBLE_FIXIDX 86
3556 tSCC zRs6000_DoubleName[] =
3560 * File name selection pattern
3562 tSCC zRs6000_DoubleList[] =
3565 * Machine/OS name selection pattern
3567 #define apzRs6000_DoubleMachs (const char**)NULL
3570 * content selection pattern - do fix if pattern found
3572 tSCC zRs6000_DoubleSelect0[] =
3573 "[^a-zA-Z_]class\\(";
3575 #define RS6000_DOUBLE_TEST_CT 1
3576 static tTestDesc aRs6000_DoubleTests[] = {
3577 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
3580 * Fix Command Arguments for Rs6000_Double
3582 static const char* apzRs6000_DoublePatch[] = {
3584 "#ifndef __cplusplus\n\
3587 "^.*[^a-zA-Z_]class\\(.*",
3590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3592 * Description of Rs6000_Fchmod fix
3594 #define RS6000_FCHMOD_FIXIDX 87
3595 tSCC zRs6000_FchmodName[] =
3599 * File name selection pattern
3601 tSCC zRs6000_FchmodList[] =
3604 * Machine/OS name selection pattern
3606 #define apzRs6000_FchmodMachs (const char**)NULL
3609 * content selection pattern - do fix if pattern found
3611 tSCC zRs6000_FchmodSelect0[] =
3612 "fchmod\\(char \\*";
3614 #define RS6000_FCHMOD_TEST_CT 1
3615 static tTestDesc aRs6000_FchmodTests[] = {
3616 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
3619 * Fix Command Arguments for Rs6000_Fchmod
3621 static const char* apzRs6000_FchmodPatch[] = {
3626 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3628 * Description of Rs6000_Param fix
3630 #define RS6000_PARAM_FIXIDX 88
3631 tSCC zRs6000_ParamName[] =
3635 * File name selection pattern
3637 tSCC zRs6000_ParamList[] =
3638 "|stdio.h|unistd.h|";
3640 * Machine/OS name selection pattern
3642 #define apzRs6000_ParamMachs (const char**)NULL
3645 * content selection pattern - do fix if pattern found
3647 tSCC zRs6000_ParamSelect0[] =
3648 "rename\\(const char \\*old, const char \\*new\\)";
3650 #define RS6000_PARAM_TEST_CT 1
3651 static tTestDesc aRs6000_ParamTests[] = {
3652 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
3655 * Fix Command Arguments for Rs6000_Param
3657 static const char* apzRs6000_ParamPatch[] = {
3659 "rename(const char *_old, const char *_new)",
3662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3664 * Description of Sco_Static_Func fix
3666 #define SCO_STATIC_FUNC_FIXIDX 89
3667 tSCC zSco_Static_FuncName[] =
3671 * File name selection pattern
3673 tSCC zSco_Static_FuncList[] =
3676 * Machine/OS name selection pattern
3678 tSCC* apzSco_Static_FuncMachs[] = {
3680 (const char*)NULL };
3683 * content selection pattern - do fix if pattern found
3685 tSCC zSco_Static_FuncSelect0[] =
3688 #define SCO_STATIC_FUNC_TEST_CT 1
3689 static tTestDesc aSco_Static_FuncTests[] = {
3690 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
3693 * Fix Command Arguments for Sco_Static_Func
3695 static const char* apzSco_Static_FuncPatch[] = { "sed",
3696 "-e", "/^static int/i\\\n\
3697 #if __cplusplus\\\n\
3699 #endif /* __cplusplus */",
3701 #if __cplusplus\\\n\
3703 #endif /* __cplusplus */",
3706 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3708 * Description of Strict_Ansi_Not fix
3710 #define STRICT_ANSI_NOT_FIXIDX 90
3711 tSCC zStrict_Ansi_NotName[] =
3715 * File name selection pattern
3717 #define zStrict_Ansi_NotList (char*)NULL
3719 * Machine/OS name selection pattern
3721 #define apzStrict_Ansi_NotMachs (const char**)NULL
3724 * content selection pattern - do fix if pattern found
3726 tSCC zStrict_Ansi_NotSelect0[] =
3727 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)(.*)";
3729 #define STRICT_ANSI_NOT_TEST_CT 1
3730 static tTestDesc aStrict_Ansi_NotTests[] = {
3731 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
3734 * Fix Command Arguments for Strict_Ansi_Not
3736 static const char* apzStrict_Ansi_NotPatch[] = {
3738 "%1 !defined(__STRICT_ANSI__)%3",
3741 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3743 * Description of Strict_Ansi_Not_Ctd fix
3745 #define STRICT_ANSI_NOT_CTD_FIXIDX 91
3746 tSCC zStrict_Ansi_Not_CtdName[] =
3747 "strict_ansi_not_ctd";
3750 * File name selection pattern
3752 tSCC zStrict_Ansi_Not_CtdList[] =
3753 "|limits.h|math.h|stdio.h|signal.h|stdlib.h|time.h|";
3755 * Machine/OS name selection pattern
3757 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
3760 * content selection pattern - do fix if pattern found
3762 tSCC zStrict_Ansi_Not_CtdSelect0[] =
3763 "^([ \t]*[|&][|&][ \t(]*)(__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)(.*)";
3765 #define STRICT_ANSI_NOT_CTD_TEST_CT 1
3766 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
3767 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
3770 * Fix Command Arguments for Strict_Ansi_Not_Ctd
3772 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
3774 "%1 !defined(__STRICT_ANSI__)%3",
3777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3779 * Description of Strict_Ansi_Only fix
3781 #define STRICT_ANSI_ONLY_FIXIDX 92
3782 tSCC zStrict_Ansi_OnlyName[] =
3786 * File name selection pattern
3788 #define zStrict_Ansi_OnlyList (char*)NULL
3790 * Machine/OS name selection pattern
3792 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
3795 * content selection pattern - do fix if pattern found
3797 tSCC zStrict_Ansi_OnlySelect0[] =
3798 "^([ \t]*#[ \t]*if.*)(__STDC__[ \t]*!=[ \t]*0|__STDC__[ \t]*==[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*!=[ \t]*0)(.*)";
3800 #define STRICT_ANSI_ONLY_TEST_CT 1
3801 static tTestDesc aStrict_Ansi_OnlyTests[] = {
3802 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
3805 * Fix Command Arguments for Strict_Ansi_Only
3807 static const char* apzStrict_Ansi_OnlyPatch[] = {
3809 "%1 defined(__STRICT_ANSI__)%3",
3812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3814 * Description of Sco_Utime fix
3816 #define SCO_UTIME_FIXIDX 93
3817 tSCC zSco_UtimeName[] =
3821 * File name selection pattern
3823 tSCC zSco_UtimeList[] =
3826 * Machine/OS name selection pattern
3828 tSCC* apzSco_UtimeMachs[] = {
3830 (const char*)NULL };
3833 * content selection pattern - do fix if pattern found
3835 tSCC zSco_UtimeSelect0[] =
3836 "\\(const char \\*, struct utimbuf \\*\\);";
3838 #define SCO_UTIME_TEST_CT 1
3839 static tTestDesc aSco_UtimeTests[] = {
3840 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
3843 * Fix Command Arguments for Sco_Utime
3845 static const char* apzSco_UtimePatch[] = {
3847 "(const char *, const struct utimbuf *);",
3850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3852 * Description of Statsswtch fix
3854 #define STATSSWTCH_FIXIDX 94
3855 tSCC zStatsswtchName[] =
3859 * File name selection pattern
3861 tSCC zStatsswtchList[] =
3864 * Machine/OS name selection pattern
3866 #define apzStatsswtchMachs (const char**)NULL
3869 * content selection pattern - do fix if pattern found
3871 tSCC zStatsswtchSelect0[] =
3874 #define STATSSWTCH_TEST_CT 1
3875 static tTestDesc aStatsswtchTests[] = {
3876 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
3879 * Fix Command Arguments for Statsswtch
3881 static const char* apzStatsswtchPatch[] = {
3886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3888 * Description of Stdio_Stdarg_H fix
3890 #define STDIO_STDARG_H_FIXIDX 95
3891 tSCC zStdio_Stdarg_HName[] =
3895 * File name selection pattern
3897 tSCC zStdio_Stdarg_HList[] =
3900 * Machine/OS name selection pattern
3902 #define apzStdio_Stdarg_HMachs (const char**)NULL
3905 * content bypass pattern - skip fix if pattern found
3907 tSCC zStdio_Stdarg_HBypass0[] =
3908 "include.*(stdarg.h|machine/ansi.h)";
3910 #define STDIO_STDARG_H_TEST_CT 1
3911 static tTestDesc aStdio_Stdarg_HTests[] = {
3912 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
3915 * Fix Command Arguments for Stdio_Stdarg_H
3917 static const char* apzStdio_Stdarg_HPatch[] = {
3919 "#define __need___va_list\n\
3920 #include <stdarg.h>\n",
3923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3925 * Description of Stdio_Va_List fix
3927 #define STDIO_VA_LIST_FIXIDX 96
3928 tSCC zStdio_Va_ListName[] =
3932 * File name selection pattern
3934 tSCC zStdio_Va_ListList[] =
3937 * Machine/OS name selection pattern
3939 #define apzStdio_Va_ListMachs (const char**)NULL
3942 * content bypass pattern - skip fix if pattern found
3944 tSCC zStdio_Va_ListBypass0[] =
3945 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list";
3947 #define STDIO_VA_LIST_TEST_CT 1
3948 static tTestDesc aStdio_Va_ListTests[] = {
3949 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
3952 * Fix Command Arguments for Stdio_Va_List
3954 static const char* apzStdio_Va_ListPatch[] = { "sed",
3955 "-e", "s@ va_list @ __gnuc_va_list @\n\
3956 s@ va_list)@ __gnuc_va_list)@\n\
3957 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
3958 s@ va_list@ __not_va_list__@\n\
3959 s@\\*va_list@*__not_va_list__@\n\
3960 s@ __va_list)@ __gnuc_va_list)@\n\
3961 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
3962 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
3963 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
3964 s@VA_LIST@DUMMY_VA_LIST@\n\
3965 s@_Va_LIST@_VA_LIST@",
3968 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3970 * Description of Struct_File fix
3972 #define STRUCT_FILE_FIXIDX 97
3973 tSCC zStruct_FileName[] =
3977 * File name selection pattern
3979 tSCC zStruct_FileList[] =
3982 * Machine/OS name selection pattern
3984 #define apzStruct_FileMachs (const char**)NULL
3987 * content selection pattern - do fix if pattern found
3989 tSCC zStruct_FileSelect0[] =
3990 "^.*xdrstdio_create.*struct __file_s";
3992 #define STRUCT_FILE_TEST_CT 1
3993 static tTestDesc aStruct_FileTests[] = {
3994 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
3997 * Fix Command Arguments for Struct_File
3999 static const char* apzStruct_FilePatch[] = {
4001 "struct __file_s;\n\
4005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4007 * Description of Struct_Sockaddr fix
4009 #define STRUCT_SOCKADDR_FIXIDX 98
4010 tSCC zStruct_SockaddrName[] =
4014 * File name selection pattern
4016 tSCC zStruct_SockaddrList[] =
4019 * Machine/OS name selection pattern
4021 #define apzStruct_SockaddrMachs (const char**)NULL
4024 * content selection pattern - do fix if pattern found
4026 tSCC zStruct_SockaddrSelect0[] =
4027 "^.*authdes_create.*struct sockaddr";
4030 * content bypass pattern - skip fix if pattern found
4032 tSCC zStruct_SockaddrBypass0[] =
4035 #define STRUCT_SOCKADDR_TEST_CT 2
4036 static tTestDesc aStruct_SockaddrTests[] = {
4037 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
4038 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
4041 * Fix Command Arguments for Struct_Sockaddr
4043 static const char* apzStruct_SockaddrPatch[] = {
4045 "struct sockaddr;\n\
4049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4051 * Description of Sun_Auth_Proto fix
4053 #define SUN_AUTH_PROTO_FIXIDX 99
4054 tSCC zSun_Auth_ProtoName[] =
4058 * File name selection pattern
4060 tSCC zSun_Auth_ProtoList[] =
4061 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
4063 * Machine/OS name selection pattern
4065 #define apzSun_Auth_ProtoMachs (const char**)NULL
4068 * content selection pattern - do fix if pattern found
4070 tSCC zSun_Auth_ProtoSelect0[] =
4071 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
4073 #define SUN_AUTH_PROTO_TEST_CT 1
4074 static tTestDesc aSun_Auth_ProtoTests[] = {
4075 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
4078 * Fix Command Arguments for Sun_Auth_Proto
4080 static const char* apzSun_Auth_ProtoPatch[] = {
4082 "#ifdef __cplusplus\n\
4087 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
4090 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4092 * Description of Sun_Bogus_Ifdef fix
4094 #define SUN_BOGUS_IFDEF_FIXIDX 100
4095 tSCC zSun_Bogus_IfdefName[] =
4099 * File name selection pattern
4101 tSCC zSun_Bogus_IfdefList[] =
4102 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
4104 * Machine/OS name selection pattern
4106 #define apzSun_Bogus_IfdefMachs (const char**)NULL
4109 * content selection pattern - do fix if pattern found
4111 tSCC zSun_Bogus_IfdefSelect0[] =
4112 "#ifdef(.*\\|\\|.*)";
4114 #define SUN_BOGUS_IFDEF_TEST_CT 1
4115 static tTestDesc aSun_Bogus_IfdefTests[] = {
4116 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
4119 * Fix Command Arguments for Sun_Bogus_Ifdef
4121 static const char* apzSun_Bogus_IfdefPatch[] = {
4126 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4128 * Description of Sun_Catmacro fix
4130 #define SUN_CATMACRO_FIXIDX 101
4131 tSCC zSun_CatmacroName[] =
4135 * File name selection pattern
4137 tSCC zSun_CatmacroList[] =
4138 "|pixrect/memvar.h|";
4140 * Machine/OS name selection pattern
4142 #define apzSun_CatmacroMachs (const char**)NULL
4145 * content selection pattern - do fix if pattern found
4147 tSCC zSun_CatmacroSelect0[] =
4148 "^#define[ \t]+CAT\\(a,b\\).*";
4150 #define SUN_CATMACRO_TEST_CT 1
4151 static tTestDesc aSun_CatmacroTests[] = {
4152 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
4155 * Fix Command Arguments for Sun_Catmacro
4157 static const char* apzSun_CatmacroPatch[] = {
4160 # define CAT(a,b) a##b\n\
4166 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4168 * Description of Sun_Malloc fix
4170 #define SUN_MALLOC_FIXIDX 102
4171 tSCC zSun_MallocName[] =
4175 * File name selection pattern
4177 tSCC zSun_MallocList[] =
4180 * Machine/OS name selection pattern
4182 #define apzSun_MallocMachs (const char**)NULL
4183 #define SUN_MALLOC_TEST_CT 0
4184 #define aSun_MallocTests (tTestDesc*)NULL
4187 * Fix Command Arguments for Sun_Malloc
4189 static const char* apzSun_MallocPatch[] = { "sed",
4190 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
4191 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
4192 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
4193 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
4194 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
4197 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4199 * Description of Sun_Rusers_Semi fix
4201 #define SUN_RUSERS_SEMI_FIXIDX 103
4202 tSCC zSun_Rusers_SemiName[] =
4206 * File name selection pattern
4208 tSCC zSun_Rusers_SemiList[] =
4209 "|rpcsvc/rusers.h|";
4211 * Machine/OS name selection pattern
4213 #define apzSun_Rusers_SemiMachs (const char**)NULL
4216 * content selection pattern - do fix if pattern found
4218 tSCC zSun_Rusers_SemiSelect0[] =
4221 #define SUN_RUSERS_SEMI_TEST_CT 1
4222 static tTestDesc aSun_Rusers_SemiTests[] = {
4223 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
4226 * Fix Command Arguments for Sun_Rusers_Semi
4228 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
4229 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
4232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4234 * Description of Sun_Signal fix
4236 #define SUN_SIGNAL_FIXIDX 104
4237 tSCC zSun_SignalName[] =
4241 * File name selection pattern
4243 tSCC zSun_SignalList[] =
4244 "|sys/signal.h|signal.h|";
4246 * Machine/OS name selection pattern
4248 #define apzSun_SignalMachs (const char**)NULL
4251 * content selection pattern - do fix if pattern found
4253 tSCC zSun_SignalSelect0[] =
4254 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
4256 #define SUN_SIGNAL_TEST_CT 1
4257 static tTestDesc aSun_SignalTests[] = {
4258 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
4261 * Fix Command Arguments for Sun_Signal
4263 static const char* apzSun_SignalPatch[] = {
4265 "#ifdef __cplusplus\n\
4266 void\t(*signal(...))(...);\n\
4272 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4274 * Description of Sunos_Matherr_Decl fix
4276 #define SUNOS_MATHERR_DECL_FIXIDX 105
4277 tSCC zSunos_Matherr_DeclName[] =
4278 "sunos_matherr_decl";
4281 * File name selection pattern
4283 tSCC zSunos_Matherr_DeclList[] =
4286 * Machine/OS name selection pattern
4288 #define apzSunos_Matherr_DeclMachs (const char**)NULL
4291 * content selection pattern - do fix if pattern found
4293 tSCC zSunos_Matherr_DeclSelect0[] =
4297 * content bypass pattern - skip fix if pattern found
4299 tSCC zSunos_Matherr_DeclBypass0[] =
4300 "matherr.*(struct exception|__MATH_EXCEPTION)";
4302 #define SUNOS_MATHERR_DECL_TEST_CT 2
4303 static tTestDesc aSunos_Matherr_DeclTests[] = {
4304 { TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
4305 { TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
4308 * Fix Command Arguments for Sunos_Matherr_Decl
4310 static const char* apzSunos_Matherr_DeclPatch[] = {
4312 "struct exception;\n",
4315 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4317 * Description of Sunos_Strlen fix
4319 #define SUNOS_STRLEN_FIXIDX 106
4320 tSCC zSunos_StrlenName[] =
4324 * File name selection pattern
4326 tSCC zSunos_StrlenList[] =
4329 * Machine/OS name selection pattern
4331 #define apzSunos_StrlenMachs (const char**)NULL
4334 * content selection pattern - do fix if pattern found
4336 tSCC zSunos_StrlenSelect0[] =
4337 "int[ \t]*strlen\\(\\);(.*)";
4339 #define SUNOS_STRLEN_TEST_CT 1
4340 static tTestDesc aSunos_StrlenTests[] = {
4341 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
4344 * Fix Command Arguments for Sunos_Strlen
4346 static const char* apzSunos_StrlenPatch[] = {
4348 "__SIZE_TYPE__ strlen();%1",
4351 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4353 * Description of Svr4__P fix
4355 #define SVR4__P_FIXIDX 107
4356 tSCC zSvr4__PName[] =
4360 * File name selection pattern
4362 tSCC zSvr4__PList[] =
4363 "|math.h|floatingpoint.h|";
4365 * Machine/OS name selection pattern
4367 #define apzSvr4__PMachs (const char**)NULL
4370 * content selection pattern - do fix if pattern found
4372 tSCC zSvr4__PSelect0[] =
4373 "^#define[ \t]+__P.*";
4375 #define SVR4__P_TEST_CT 1
4376 static tTestDesc aSvr4__PTests[] = {
4377 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
4380 * Fix Command Arguments for Svr4__P
4382 static const char* apzSvr4__PPatch[] = {
4389 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4391 * Description of Svr4_Getcwd fix
4393 #define SVR4_GETCWD_FIXIDX 108
4394 tSCC zSvr4_GetcwdName[] =
4398 * File name selection pattern
4400 tSCC zSvr4_GetcwdList[] =
4401 "|stdlib.h|unistd.h|prototypes.h|";
4403 * Machine/OS name selection pattern
4405 #define apzSvr4_GetcwdMachs (const char**)NULL
4408 * content selection pattern - do fix if pattern found
4410 tSCC zSvr4_GetcwdSelect0[] =
4411 "getcwd\\(char \\*, int\\)";
4413 #define SVR4_GETCWD_TEST_CT 1
4414 static tTestDesc aSvr4_GetcwdTests[] = {
4415 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
4418 * Fix Command Arguments for Svr4_Getcwd
4420 static const char* apzSvr4_GetcwdPatch[] = {
4422 "getcwd(char *, size_t)",
4425 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4427 * Description of Svr4_Profil fix
4429 #define SVR4_PROFIL_FIXIDX 109
4430 tSCC zSvr4_ProfilName[] =
4434 * File name selection pattern
4436 tSCC zSvr4_ProfilList[] =
4437 "|stdlib.h|unistd.h|";
4439 * Machine/OS name selection pattern
4441 #define apzSvr4_ProfilMachs (const char**)NULL
4444 * content selection pattern - do fix if pattern found
4446 tSCC zSvr4_ProfilSelect0[] =
4447 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
4449 #define SVR4_PROFIL_TEST_CT 1
4450 static tTestDesc aSvr4_ProfilTests[] = {
4451 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
4454 * Fix Command Arguments for Svr4_Profil
4456 static const char* apzSvr4_ProfilPatch[] = {
4458 "profil(unsigned short *, size_t, int, unsigned int)",
4461 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4463 * Description of Gnu_Types fix
4465 #define GNU_TYPES_FIXIDX 110
4466 tSCC zGnu_TypesName[] =
4470 * File name selection pattern
4472 tSCC zGnu_TypesList[] =
4473 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
4475 * Machine/OS name selection pattern
4477 #define apzGnu_TypesMachs (const char**)NULL
4480 * content selection pattern - do fix if pattern found
4482 tSCC zGnu_TypesSelect0[] =
4483 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4486 * content bypass pattern - skip fix if pattern found
4488 tSCC zGnu_TypesBypass0[] =
4489 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4491 #define GNU_TYPES_TEST_CT 2
4492 static tTestDesc aGnu_TypesTests[] = {
4493 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4494 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4497 * Fix Command Arguments for Gnu_Types
4499 static const char* apzGnu_TypesPatch[] = {
4503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4505 * Description of Sysv68_String fix
4507 #define SYSV68_STRING_FIXIDX 111
4508 tSCC zSysv68_StringName[] =
4512 * File name selection pattern
4514 tSCC zSysv68_StringList[] =
4515 "|testing.h|string.h|";
4517 * Machine/OS name selection pattern
4519 #define apzSysv68_StringMachs (const char**)NULL
4520 #define SYSV68_STRING_TEST_CT 0
4521 #define aSysv68_StringTests (tTestDesc*)NULL
4524 * Fix Command Arguments for Sysv68_String
4526 static const char* apzSysv68_StringPatch[] = { "sed",
4527 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
4528 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
4529 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
4530 "-e", "/^extern char$/N",
4531 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
4532 "-e", "/^extern int$/N",
4533 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
4534 "-e", "/^\tstrncmp(),$/N",
4535 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
4536 extern unsigned int\\\n\
4540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4542 * Description of Sysz_Stdlib_For_Sun fix
4544 #define SYSZ_STDLIB_FOR_SUN_FIXIDX 112
4545 tSCC zSysz_Stdlib_For_SunName[] =
4546 "sysz_stdlib_for_sun";
4549 * File name selection pattern
4551 tSCC zSysz_Stdlib_For_SunList[] =
4554 * Machine/OS name selection pattern
4556 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
4559 * content selection pattern - do fix if pattern found
4561 tSCC zSysz_Stdlib_For_SunSelect0[] =
4562 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
4564 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
4565 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
4566 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
4569 * Fix Command Arguments for Sysz_Stdlib_For_Sun
4571 static const char* apzSysz_Stdlib_For_SunPatch[] = {
4576 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4578 * Description of Tinfo_Cplusplus fix
4580 #define TINFO_CPLUSPLUS_FIXIDX 113
4581 tSCC zTinfo_CplusplusName[] =
4585 * File name selection pattern
4587 tSCC zTinfo_CplusplusList[] =
4590 * Machine/OS name selection pattern
4592 #define apzTinfo_CplusplusMachs (const char**)NULL
4595 * content selection pattern - do fix if pattern found
4597 tSCC zTinfo_CplusplusSelect0[] =
4600 #define TINFO_CPLUSPLUS_TEST_CT 1
4601 static tTestDesc aTinfo_CplusplusTests[] = {
4602 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
4605 * Fix Command Arguments for Tinfo_Cplusplus
4607 static const char* apzTinfo_CplusplusPatch[] = {
4612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4614 * Description of Ultrix_Atof_Param fix
4616 #define ULTRIX_ATOF_PARAM_FIXIDX 114
4617 tSCC zUltrix_Atof_ParamName[] =
4618 "ultrix_atof_param";
4621 * File name selection pattern
4623 tSCC zUltrix_Atof_ParamList[] =
4626 * Machine/OS name selection pattern
4628 #define apzUltrix_Atof_ParamMachs (const char**)NULL
4631 * content selection pattern - do fix if pattern found
4633 tSCC zUltrix_Atof_ParamSelect0[] =
4634 "atof\\([ \t]*char";
4636 #define ULTRIX_ATOF_PARAM_TEST_CT 1
4637 static tTestDesc aUltrix_Atof_ParamTests[] = {
4638 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
4641 * Fix Command Arguments for Ultrix_Atof_Param
4643 static const char* apzUltrix_Atof_ParamPatch[] = {
4648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4650 * Description of Ultrix_Const fix
4652 #define ULTRIX_CONST_FIXIDX 115
4653 tSCC zUltrix_ConstName[] =
4657 * File name selection pattern
4659 tSCC zUltrix_ConstList[] =
4662 * Machine/OS name selection pattern
4664 #define apzUltrix_ConstMachs (const char**)NULL
4667 * content selection pattern - do fix if pattern found
4669 tSCC zUltrix_ConstSelect0[] =
4670 "perror\\( char \\*";
4672 #define ULTRIX_CONST_TEST_CT 1
4673 static tTestDesc aUltrix_ConstTests[] = {
4674 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
4677 * Fix Command Arguments for Ultrix_Const
4679 static const char* apzUltrix_ConstPatch[] = {
4682 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
4685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4687 * Description of Ultrix_Const2 fix
4689 #define ULTRIX_CONST2_FIXIDX 116
4690 tSCC zUltrix_Const2Name[] =
4694 * File name selection pattern
4696 tSCC zUltrix_Const2List[] =
4699 * Machine/OS name selection pattern
4701 #define apzUltrix_Const2Machs (const char**)NULL
4704 * content selection pattern - do fix if pattern found
4706 tSCC zUltrix_Const2Select0[] =
4707 "\\*fopen\\( char \\*";
4709 #define ULTRIX_CONST2_TEST_CT 1
4710 static tTestDesc aUltrix_Const2Tests[] = {
4711 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
4714 * Fix Command Arguments for Ultrix_Const2
4716 static const char* apzUltrix_Const2Patch[] = {
4718 "%1( const char *%3, const char *",
4719 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
4722 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4724 * Description of Ultrix_Fix_Fixproto fix
4726 #define ULTRIX_FIX_FIXPROTO_FIXIDX 117
4727 tSCC zUltrix_Fix_FixprotoName[] =
4728 "ultrix_fix_fixproto";
4731 * File name selection pattern
4733 tSCC zUltrix_Fix_FixprotoList[] =
4736 * Machine/OS name selection pattern
4738 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
4741 * content selection pattern - do fix if pattern found
4743 tSCC zUltrix_Fix_FixprotoSelect0[] =
4746 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
4747 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
4748 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
4751 * Fix Command Arguments for Ultrix_Fix_Fixproto
4753 static const char* apzUltrix_Fix_FixprotoPatch[] = {
4757 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
4760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4762 * Description of Ultrix_Ifdef fix
4764 #define ULTRIX_IFDEF_FIXIDX 118
4765 tSCC zUltrix_IfdefName[] =
4769 * File name selection pattern
4771 tSCC zUltrix_IfdefList[] =
4774 * Machine/OS name selection pattern
4776 #define apzUltrix_IfdefMachs (const char**)NULL
4779 * content selection pattern - do fix if pattern found
4781 tSCC zUltrix_IfdefSelect0[] =
4782 "^#ifdef KERNEL[ \t]+&&";
4784 #define ULTRIX_IFDEF_TEST_CT 1
4785 static tTestDesc aUltrix_IfdefTests[] = {
4786 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
4789 * Fix Command Arguments for Ultrix_Ifdef
4791 static const char* apzUltrix_IfdefPatch[] = {
4793 "#if defined(KERNEL) &&",
4796 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4798 * Description of Ultrix_Math_Ifdef fix
4800 #define ULTRIX_MATH_IFDEF_FIXIDX 119
4801 tSCC zUltrix_Math_IfdefName[] =
4802 "ultrix_math_ifdef";
4805 * File name selection pattern
4807 tSCC zUltrix_Math_IfdefList[] =
4808 "|sys/limits.h|float.h|math.h|";
4810 * Machine/OS name selection pattern
4812 #define apzUltrix_Math_IfdefMachs (const char**)NULL
4815 * content selection pattern - do fix if pattern found
4817 tSCC zUltrix_Math_IfdefSelect0[] =
4818 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
4820 #define ULTRIX_MATH_IFDEF_TEST_CT 1
4821 static tTestDesc aUltrix_Math_IfdefTests[] = {
4822 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
4825 * Fix Command Arguments for Ultrix_Math_Ifdef
4827 static const char* apzUltrix_Math_IfdefPatch[] = {
4832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4834 * Description of Ultrix_Nested_Ioctl fix
4836 #define ULTRIX_NESTED_IOCTL_FIXIDX 120
4837 tSCC zUltrix_Nested_IoctlName[] =
4838 "ultrix_nested_ioctl";
4841 * File name selection pattern
4843 tSCC zUltrix_Nested_IoctlList[] =
4846 * Machine/OS name selection pattern
4848 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
4851 * content selection pattern - do fix if pattern found
4853 tSCC zUltrix_Nested_IoctlSelect0[] =
4854 "^/\\* #define SIOCSCREEN";
4856 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
4857 static tTestDesc aUltrix_Nested_IoctlTests[] = {
4858 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
4861 * Fix Command Arguments for Ultrix_Nested_Ioctl
4863 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
4864 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
4867 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4869 * Description of Ultrix_Nested_Svc fix
4871 #define ULTRIX_NESTED_SVC_FIXIDX 121
4872 tSCC zUltrix_Nested_SvcName[] =
4873 "ultrix_nested_svc";
4876 * File name selection pattern
4878 tSCC zUltrix_Nested_SvcList[] =
4881 * Machine/OS name selection pattern
4883 #define apzUltrix_Nested_SvcMachs (const char**)NULL
4886 * content selection pattern - do fix if pattern found
4888 tSCC zUltrix_Nested_SvcSelect0[] =
4889 "^ \\*[ \t]*int protocol; */\\*";
4891 #define ULTRIX_NESTED_SVC_TEST_CT 1
4892 static tTestDesc aUltrix_Nested_SvcTests[] = {
4893 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
4896 * Fix Command Arguments for Ultrix_Nested_Svc
4898 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
4899 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
4902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4904 * Description of Ultrix_Stat fix
4906 #define ULTRIX_STAT_FIXIDX 122
4907 tSCC zUltrix_StatName[] =
4911 * File name selection pattern
4913 tSCC zUltrix_StatList[] =
4916 * Machine/OS name selection pattern
4918 #define apzUltrix_StatMachs (const char**)NULL
4921 * content selection pattern - do fix if pattern found
4923 tSCC zUltrix_StatSelect0[] =
4924 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
4926 #define ULTRIX_STAT_TEST_CT 1
4927 static tTestDesc aUltrix_StatTests[] = {
4928 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
4931 * Fix Command Arguments for Ultrix_Stat
4933 static const char* apzUltrix_StatPatch[] = { "sed",
4934 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
4936 /* macro to test for symbolic link */\\\n\
4937 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\
4939 "-e", "/^[ \t]*fstat(),$/a\\\n\
4943 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4945 * Description of Ultrix_Static fix
4947 #define ULTRIX_STATIC_FIXIDX 123
4948 tSCC zUltrix_StaticName[] =
4952 * File name selection pattern
4954 tSCC zUltrix_StaticList[] =
4957 * Machine/OS name selection pattern
4959 #define apzUltrix_StaticMachs (const char**)NULL
4962 * content selection pattern - do fix if pattern found
4964 tSCC zUltrix_StaticSelect0[] =
4965 "#include \"r[34]_cpu";
4967 #define ULTRIX_STATIC_TEST_CT 1
4968 static tTestDesc aUltrix_StaticTests[] = {
4969 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
4972 * Fix Command Arguments for Ultrix_Static
4974 static const char* apzUltrix_StaticPatch[] = { "sed",
4975 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
4976 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
4977 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
4980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4982 * Description of Ultrix_Strings fix
4984 #define ULTRIX_STRINGS_FIXIDX 124
4985 tSCC zUltrix_StringsName[] =
4989 * File name selection pattern
4991 tSCC zUltrix_StringsList[] =
4994 * Machine/OS name selection pattern
4996 #define apzUltrix_StringsMachs (const char**)NULL
4999 * content selection pattern - do fix if pattern found
5001 tSCC zUltrix_StringsSelect0[] =
5002 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
5004 #define ULTRIX_STRINGS_TEST_CT 1
5005 static tTestDesc aUltrix_StringsTests[] = {
5006 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
5009 * Fix Command Arguments for Ultrix_Strings
5011 static const char* apzUltrix_StringsPatch[] = {
5015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5017 * Description of Undefine_Null fix
5019 #define UNDEFINE_NULL_FIXIDX 125
5020 tSCC zUndefine_NullName[] =
5024 * File name selection pattern
5026 #define zUndefine_NullList (char*)NULL
5028 * Machine/OS name selection pattern
5030 #define apzUndefine_NullMachs (const char**)NULL
5033 * content selection pattern - do fix if pattern found
5035 tSCC zUndefine_NullSelect0[] =
5036 "^#[ \t]*define[ \t]+NULL[ \t]";
5039 * content bypass pattern - skip fix if pattern found
5041 tSCC zUndefine_NullBypass0[] =
5042 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
5044 #define UNDEFINE_NULL_TEST_CT 2
5045 static tTestDesc aUndefine_NullTests[] = {
5046 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
5047 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
5050 * Fix Command Arguments for Undefine_Null
5052 static const char* apzUndefine_NullPatch[] = {
5057 "^#[ \t]*define[ \t]*[ \t]NULL([^\r\n\
5061 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5063 * Description of Uw7_Byteorder_Fix fix
5065 #define UW7_BYTEORDER_FIX_FIXIDX 126
5066 tSCC zUw7_Byteorder_FixName[] =
5067 "uw7_byteorder_fix";
5070 * File name selection pattern
5072 tSCC zUw7_Byteorder_FixList[] =
5075 * Machine/OS name selection pattern
5077 tSCC* apzUw7_Byteorder_FixMachs[] = {
5081 "i?86-*-solaris2.[0-4]",
5082 "powerpcle-*-solaris2.[0-4]",
5083 "sparc-*-solaris2.[0-4]",
5084 (const char*)NULL };
5087 * content selection pattern - do fix if pattern found
5089 tSCC zUw7_Byteorder_FixSelect0[] =
5093 * perform the 'test' shell command - do fix on success
5095 tSCC zUw7_Byteorder_FixTest0[] =
5096 "-f $DESTDIR/sys/byteorder.h";
5098 #define UW7_BYTEORDER_FIX_TEST_CT 2
5099 static tTestDesc aUw7_Byteorder_FixTests[] = {
5100 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
5101 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
5104 * Fix Command Arguments for Uw7_Byteorder_Fix
5106 static const char* apzUw7_Byteorder_FixPatch[] = {
5109 "^extern.*(htons|ntohs).*\\(in_port_t\\).*\n",
5112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5114 * Description of Va_I960_Macro fix
5116 #define VA_I960_MACRO_FIXIDX 127
5117 tSCC zVa_I960_MacroName[] =
5121 * File name selection pattern
5123 tSCC zVa_I960_MacroList[] =
5124 "|arch/i960/archI960.h|";
5126 * Machine/OS name selection pattern
5128 #define apzVa_I960_MacroMachs (const char**)NULL
5131 * content selection pattern - do fix if pattern found
5133 tSCC zVa_I960_MacroSelect0[] =
5134 "__(vsiz|vali|vpad|alignof__)";
5136 #define VA_I960_MACRO_TEST_CT 1
5137 static tTestDesc aVa_I960_MacroTests[] = {
5138 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
5141 * Fix Command Arguments for Va_I960_Macro
5143 static const char* apzVa_I960_MacroPatch[] = {
5148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5150 * Description of Void_Null fix
5152 #define VOID_NULL_FIXIDX 128
5153 tSCC zVoid_NullName[] =
5157 * File name selection pattern
5159 tSCC zVoid_NullList[] =
5160 "|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|";
5162 * Machine/OS name selection pattern
5164 #define apzVoid_NullMachs (const char**)NULL
5167 * content selection pattern - do fix if pattern found
5169 tSCC zVoid_NullSelect0[] =
5170 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
5172 #define VOID_NULL_TEST_CT 1
5173 static tTestDesc aVoid_NullTests[] = {
5174 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
5177 * Fix Command Arguments for Void_Null
5179 static const char* apzVoid_NullPatch[] = {
5184 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5186 * Description of Vxworks_Gcc_Problem fix
5188 #define VXWORKS_GCC_PROBLEM_FIXIDX 129
5189 tSCC zVxworks_Gcc_ProblemName[] =
5190 "vxworks_gcc_problem";
5193 * File name selection pattern
5195 tSCC zVxworks_Gcc_ProblemList[] =
5196 "|types/vxTypesBase.h|";
5198 * Machine/OS name selection pattern
5200 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
5203 * content selection pattern - do fix if pattern found
5205 tSCC zVxworks_Gcc_ProblemSelect0[] =
5206 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
5208 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
5209 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
5210 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
5213 * Fix Command Arguments for Vxworks_Gcc_Problem
5215 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
5216 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
5217 "-e", "/[ \t]size_t/i\\\n\
5218 #ifndef _GCC_SIZE_T\\\n\
5219 #define _GCC_SIZE_T\n",
5220 "-e", "/[ \t]size_t/a\\\n\
5222 "-e", "/[ \t]ptrdiff_t/i\\\n\
5223 #ifndef _GCC_PTRDIFF_T\\\n\
5224 #define _GCC_PTRDIFF_T\n",
5225 "-e", "/[ \t]ptrdiff_t/a\\\n\
5227 "-e", "/[ \t]wchar_t/i\\\n\
5228 #ifndef _GCC_WCHAR_T\\\n\
5229 #define _GCC_WCHAR_T\n",
5230 "-e", "/[ \t]wchar_t/a\\\n\
5234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5236 * Description of Vxworks_Needs_Vxtypes fix
5238 #define VXWORKS_NEEDS_VXTYPES_FIXIDX 130
5239 tSCC zVxworks_Needs_VxtypesName[] =
5240 "vxworks_needs_vxtypes";
5243 * File name selection pattern
5245 tSCC zVxworks_Needs_VxtypesList[] =
5248 * Machine/OS name selection pattern
5250 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
5253 * content selection pattern - do fix if pattern found
5255 tSCC zVxworks_Needs_VxtypesSelect0[] =
5256 "uint_t([ \t]+_clocks_per_sec)";
5258 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
5259 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
5260 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
5263 * Fix Command Arguments for Vxworks_Needs_Vxtypes
5265 static const char* apzVxworks_Needs_VxtypesPatch[] = {
5270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5272 * Description of Vxworks_Needs_Vxworks fix
5274 #define VXWORKS_NEEDS_VXWORKS_FIXIDX 131
5275 tSCC zVxworks_Needs_VxworksName[] =
5276 "vxworks_needs_vxworks";
5279 * File name selection pattern
5281 tSCC zVxworks_Needs_VxworksList[] =
5284 * Machine/OS name selection pattern
5286 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
5289 * content selection pattern - do fix if pattern found
5291 tSCC zVxworks_Needs_VxworksSelect0[] =
5292 "#[ \t]define[ \t]+__INCstath";
5295 * perform the 'test' shell command - do fix on success
5297 tSCC zVxworks_Needs_VxworksTest0[] =
5298 " -r types/vxTypesOld.h";
5299 tSCC zVxworks_Needs_VxworksTest1[] =
5300 " -n \"`egrep '#include' $file`\"";
5301 tSCC zVxworks_Needs_VxworksTest2[] =
5302 " -n \"`egrep ULONG $file`\"";
5304 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
5305 static tTestDesc aVxworks_Needs_VxworksTests[] = {
5306 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
5307 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
5308 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
5309 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
5312 * Fix Command Arguments for Vxworks_Needs_Vxworks
5314 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
5315 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
5316 #include <types/vxTypesOld.h>\n",
5319 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5321 * Description of Vxworks_Time fix
5323 #define VXWORKS_TIME_FIXIDX 132
5324 tSCC zVxworks_TimeName[] =
5328 * File name selection pattern
5330 tSCC zVxworks_TimeList[] =
5333 * Machine/OS name selection pattern
5335 #define apzVxworks_TimeMachs (const char**)NULL
5338 * content selection pattern - do fix if pattern found
5340 tSCC zVxworks_TimeSelect0[] =
5341 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
5344 * perform the 'test' shell command - do fix on success
5346 tSCC zVxworks_TimeTest0[] =
5349 #define VXWORKS_TIME_TEST_CT 2
5350 static tTestDesc aVxworks_TimeTests[] = {
5351 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
5352 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
5355 * Fix Command Arguments for Vxworks_Time
5357 static const char* apzVxworks_TimePatch[] = {
5359 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
5360 #ifdef __cplusplus\n\
5361 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
5363 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
5365 #define __gcc_VOIDFUNCPTR_defined\n\
5367 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
5370 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5372 * Description of X11_Class fix
5374 #define X11_CLASS_FIXIDX 133
5375 tSCC zX11_ClassName[] =
5379 * File name selection pattern
5381 tSCC zX11_ClassList[] =
5384 * Machine/OS name selection pattern
5386 #define apzX11_ClassMachs (const char**)NULL
5389 * content selection pattern - do fix if pattern found
5391 tSCC zX11_ClassSelect0[] =
5392 "^([ \t]*char \\*)class;(.*)";
5395 * content bypass pattern - skip fix if pattern found
5397 tSCC zX11_ClassBypass0[] =
5400 #define X11_CLASS_TEST_CT 2
5401 static tTestDesc aX11_ClassTests[] = {
5402 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
5403 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
5406 * Fix Command Arguments for X11_Class
5408 static const char* apzX11_ClassPatch[] = {
5410 "#ifdef __cplusplus\n\
5417 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5419 * Description of X11_Class_Usage fix
5421 #define X11_CLASS_USAGE_FIXIDX 134
5422 tSCC zX11_Class_UsageName[] =
5426 * File name selection pattern
5428 tSCC zX11_Class_UsageList[] =
5429 "|Xm/BaseClassI.h|";
5431 * Machine/OS name selection pattern
5433 #define apzX11_Class_UsageMachs (const char**)NULL
5436 * content selection pattern - do fix if pattern found
5438 tSCC zX11_Class_UsageSelect0[] =
5442 * content bypass pattern - skip fix if pattern found
5444 tSCC zX11_Class_UsageBypass0[] =
5447 #define X11_CLASS_USAGE_TEST_CT 2
5448 static tTestDesc aX11_Class_UsageTests[] = {
5449 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
5450 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
5453 * Fix Command Arguments for X11_Class_Usage
5455 static const char* apzX11_Class_UsagePatch[] = {
5460 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5462 * Description of X11_New fix
5464 #define X11_NEW_FIXIDX 135
5465 tSCC zX11_NewName[] =
5469 * File name selection pattern
5471 tSCC zX11_NewList[] =
5474 * Machine/OS name selection pattern
5476 #define apzX11_NewMachs (const char**)NULL
5479 * content bypass pattern - skip fix if pattern found
5481 tSCC zX11_NewBypass0[] =
5484 #define X11_NEW_TEST_CT 1
5485 static tTestDesc aX11_NewTests[] = {
5486 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
5489 * Fix Command Arguments for X11_New
5491 static const char* apzX11_NewPatch[] = { "sed",
5492 "-e", "/Widget\told, new;/i\\\n\
5493 #ifdef __cplusplus\\\n\
5494 \tWidget\told, c_new;\\\n\
5496 "-e", "/Widget\told, new;/a\\\n\
5498 "-e", "s/Widget new,/Widget c_new,/g",
5501 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5503 * Description of X11_Sprintf fix
5505 #define X11_SPRINTF_FIXIDX 136
5506 tSCC zX11_SprintfName[] =
5510 * File name selection pattern
5512 tSCC zX11_SprintfList[] =
5513 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
5515 * Machine/OS name selection pattern
5517 #define apzX11_SprintfMachs (const char**)NULL
5520 * content selection pattern - do fix if pattern found
5522 tSCC zX11_SprintfSelect0[] =
5523 "^extern char \\*\tsprintf\\(\\);$";
5525 #define X11_SPRINTF_TEST_CT 1
5526 static tTestDesc aX11_SprintfTests[] = {
5527 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
5530 * Fix Command Arguments for X11_Sprintf
5532 static const char* apzX11_SprintfPatch[] = {
5534 "#ifndef __STDC__\n\
5536 #endif /* !defined __STDC__ */",
5540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5544 #define REGEX_COUNT 144
5545 #define MACH_LIST_SIZE_LIMIT 279
5546 #define FIX_COUNT 137
5548 tFixDesc fixDescList[ FIX_COUNT ] = {
5549 { zAaa_Ki_IfaceName, zAaa_Ki_IfaceList,
5550 apzAaa_Ki_IfaceMachs,
5551 AAA_KI_IFACE_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5552 aAaa_Ki_IfaceTests, apzAaa_Ki_IfacePatch, 0 },
5554 { zAaa_KiName, zAaa_KiList,
5556 AAA_KI_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5557 aAaa_KiTests, apzAaa_KiPatch, 0 },
5559 { zAaa_Ki_CallsName, zAaa_Ki_CallsList,
5560 apzAaa_Ki_CallsMachs,
5561 AAA_KI_CALLS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5562 aAaa_Ki_CallsTests, apzAaa_Ki_CallsPatch, 0 },
5564 { zAaa_Ki_DefsName, zAaa_Ki_DefsList,
5565 apzAaa_Ki_DefsMachs,
5566 AAA_KI_DEFS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5567 aAaa_Ki_DefsTests, apzAaa_Ki_DefsPatch, 0 },
5569 { zAaa_StandardsName, zAaa_StandardsList,
5570 apzAaa_StandardsMachs,
5571 AAA_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5572 aAaa_StandardsTests, apzAaa_StandardsPatch, 0 },
5574 { zAaa_Bad_FixesName, zAaa_Bad_FixesList,
5575 apzAaa_Bad_FixesMachs,
5576 AAA_BAD_FIXES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5577 aAaa_Bad_FixesTests, apzAaa_Bad_FixesPatch, 0 },
5579 { zAaa_TimeName, zAaa_TimeList,
5581 AAA_TIME_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5582 aAaa_TimeTests, apzAaa_TimePatch, 0 },
5584 { zAab_Dgux_Int_VarargsName, zAab_Dgux_Int_VarargsList,
5585 apzAab_Dgux_Int_VarargsMachs,
5586 AAB_DGUX_INT_VARARGS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5587 aAab_Dgux_Int_VarargsTests, apzAab_Dgux_Int_VarargsPatch, 0 },
5589 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
5590 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
5591 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5592 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
5594 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
5595 apzAab_Fd_Zero_Gnu_Types_HMachs,
5596 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5597 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
5599 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
5600 apzAab_Fd_Zero_Selectbits_HMachs,
5601 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5602 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
5604 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
5605 apzAab_Sun_MemcpyMachs,
5606 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5607 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
5609 { zAab_Svr4_Replace_ByteorderName, zAab_Svr4_Replace_ByteorderList,
5610 apzAab_Svr4_Replace_ByteorderMachs,
5611 AAB_SVR4_REPLACE_BYTEORDER_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5612 aAab_Svr4_Replace_ByteorderTests, apzAab_Svr4_Replace_ByteorderPatch, 0 },
5614 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
5615 apzAab_Ultrix_Ansi_CompatMachs,
5616 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5617 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
5619 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
5620 apzAab_Ultrix_LimitsMachs,
5621 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5622 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
5624 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
5625 apzAab_Ultrix_MemoryMachs,
5626 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5627 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
5629 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
5630 apzAab_Ultrix_StringMachs,
5631 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5632 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
5634 { zAix_PthreadName, zAix_PthreadList,
5635 apzAix_PthreadMachs,
5636 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5637 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
5639 { zAix_SysmachineName, zAix_SysmachineList,
5640 apzAix_SysmachineMachs,
5641 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5642 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
5644 { zAix_SyswaitName, zAix_SyswaitList,
5645 apzAix_SyswaitMachs,
5646 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5647 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
5649 { zAix_VolatileName, zAix_VolatileList,
5650 apzAix_VolatileMachs,
5651 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5652 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
5654 { zAlpha_GetoptName, zAlpha_GetoptList,
5655 apzAlpha_GetoptMachs,
5656 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5657 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
5659 { zAlpha_ParensName, zAlpha_ParensList,
5660 apzAlpha_ParensMachs,
5661 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5662 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
5664 { zAlpha_SbrkName, zAlpha_SbrkList,
5666 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5667 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
5669 { zArm_Norcroft_HintName, zArm_Norcroft_HintList,
5670 apzArm_Norcroft_HintMachs,
5671 ARM_NORCROFT_HINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5672 aArm_Norcroft_HintTests, apzArm_Norcroft_HintPatch, 0 },
5674 { zArm_WcharName, zArm_WcharList,
5676 ARM_WCHAR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5677 aArm_WcharTests, apzArm_WcharPatch, 0 },
5679 { zAux_AsmName, zAux_AsmList,
5681 AUX_ASM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5682 aAux_AsmTests, apzAux_AsmPatch, 0 },
5684 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
5685 apzAvoid_Bool_DefineMachs,
5686 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5687 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
5689 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
5690 apzAvoid_Bool_TypeMachs,
5691 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5692 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
5694 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
5695 apzAvoid_Wchar_T_TypeMachs,
5696 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5697 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
5699 { zBad_LvalName, zBad_LvalList,
5701 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
5702 aBad_LvalTests, apzBad_LvalPatch, 0 },
5704 { zBad_Struct_TermName, zBad_Struct_TermList,
5705 apzBad_Struct_TermMachs,
5706 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5707 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
5709 { zBadquoteName, zBadquoteList,
5711 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5712 aBadquoteTests, apzBadquotePatch, 0 },
5714 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
5715 apzBroken_Assert_StdioMachs,
5716 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5717 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
5719 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
5720 apzBroken_Assert_StdlibMachs,
5721 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5722 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
5724 { zBroken_CabsName, zBroken_CabsList,
5725 apzBroken_CabsMachs,
5726 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5727 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
5729 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
5730 apzCtrl_Quotes_DefMachs,
5731 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5732 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
5734 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
5735 apzCtrl_Quotes_UseMachs,
5736 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5737 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
5739 { zCxx_UnreadyName, zCxx_UnreadyList,
5740 apzCxx_UnreadyMachs,
5741 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5742 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
5744 { zDec_Intern_AsmName, zDec_Intern_AsmList,
5745 apzDec_Intern_AsmMachs,
5746 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
5747 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
5749 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
5750 apzDjgpp_Wchar_HMachs,
5751 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5752 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
5754 { zEcd_CursorName, zEcd_CursorList,
5756 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5757 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
5759 { zFix_Header_BreakageName, zFix_Header_BreakageList,
5760 apzFix_Header_BreakageMachs,
5761 FIX_HEADER_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5762 aFix_Header_BreakageTests, apzFix_Header_BreakagePatch, 0 },
5764 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
5765 apzFreebsd_Gcc3_BreakageMachs,
5766 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5767 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
5769 { zHp_InlineName, zHp_InlineList,
5771 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5772 aHp_InlineTests, apzHp_InlinePatch, 0 },
5774 { zHp_SysfileName, zHp_SysfileList,
5776 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5777 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
5779 { zHpux11_FabsfName, zHpux11_FabsfList,
5780 apzHpux11_FabsfMachs,
5781 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5782 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
5784 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
5785 apzHpux11_Uint32_CMachs,
5786 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5787 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
5789 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
5790 apzHpux8_Bogus_InlinesMachs,
5791 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
5792 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
5794 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
5795 apzInt_Abort_Free_And_ExitMachs,
5796 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5797 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
5799 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
5800 apzIsc_Omits_With_StdcMachs,
5801 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5802 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
5804 { zIo_Quotes_DefName, zIo_Quotes_DefList,
5805 apzIo_Quotes_DefMachs,
5806 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5807 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
5809 { zIo_Quotes_UseName, zIo_Quotes_UseList,
5810 apzIo_Quotes_UseMachs,
5811 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5812 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
5814 { zHpux_MaxintName, zHpux_MaxintList,
5815 apzHpux_MaxintMachs,
5816 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5817 aHpux_MaxintTests, apzHpux_MaxintPatch, 0 },
5819 { zHpux_SystimeName, zHpux_SystimeList,
5820 apzHpux_SystimeMachs,
5821 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5822 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
5824 { zIp_Missing_SemiName, zIp_Missing_SemiList,
5825 apzIp_Missing_SemiMachs,
5826 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
5827 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
5829 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
5830 apzIrix_Asm_ApostropheMachs,
5831 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5832 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
5834 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
5835 apzIrix_Stdio_Va_ListMachs,
5836 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5837 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
5839 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
5840 apzIrix_Limits_ConstMachs,
5841 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5842 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
5844 { zIsc_FmodName, zIsc_FmodList,
5846 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5847 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
5849 { zKandr_ConcatName, zKandr_ConcatList,
5850 apzKandr_ConcatMachs,
5851 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5852 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
5854 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
5855 apzLibc1_Ifdefd_MemxMachs,
5856 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5857 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
5859 { zLimits_IfndefsName, zLimits_IfndefsList,
5860 apzLimits_IfndefsMachs,
5861 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5862 aLimits_IfndefsTests, apzLimits_IfndefsPatch, 0 },
5864 { zLynx_Void_IntName, zLynx_Void_IntList,
5865 apzLynx_Void_IntMachs,
5866 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5867 aLynx_Void_IntTests, apzLynx_Void_IntPatch, 0 },
5869 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
5870 apzLynxos_Fcntl_ProtoMachs,
5871 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5872 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch, 0 },
5874 { zM88k_Bad_Hypot_OptName, zM88k_Bad_Hypot_OptList,
5875 apzM88k_Bad_Hypot_OptMachs,
5876 M88K_BAD_HYPOT_OPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5877 aM88k_Bad_Hypot_OptTests, apzM88k_Bad_Hypot_OptPatch, 0 },
5879 { zM88k_Bad_S_IfName, zM88k_Bad_S_IfList,
5880 apzM88k_Bad_S_IfMachs,
5881 M88K_BAD_S_IF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5882 aM88k_Bad_S_IfTests, apzM88k_Bad_S_IfPatch, 0 },
5884 { zM88k_Multi_InclName, zM88k_Multi_InclList,
5885 apzM88k_Multi_InclMachs,
5886 M88K_MULTI_INCL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5887 aM88k_Multi_InclTests, apzM88k_Multi_InclPatch, 0 },
5889 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
5890 apzMachine_Ansi_H_Va_ListMachs,
5891 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5892 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
5894 { zMachine_NameName, zMachine_NameList,
5895 apzMachine_NameMachs,
5896 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5897 aMachine_NameTests, apzMachine_NamePatch, 0 },
5899 { zMath_ExceptionName, zMath_ExceptionList,
5900 apzMath_ExceptionMachs,
5901 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5902 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
5904 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
5905 apzMath_Huge_Val_From_Dbl_MaxMachs,
5906 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
5907 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
5909 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
5910 apzMath_Huge_Val_IfndefMachs,
5911 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5912 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch, 0 },
5914 { zNested_MotorolaName, zNested_MotorolaList,
5915 apzNested_MotorolaMachs,
5916 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
5917 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
5919 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
5920 apzNested_Sys_LimitsMachs,
5921 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
5922 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
5924 { zNested_Auth_DesName, zNested_Auth_DesList,
5925 apzNested_Auth_DesMachs,
5926 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5927 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
5929 { zNews_Os_RecursionName, zNews_Os_RecursionList,
5930 apzNews_Os_RecursionMachs,
5931 NEWS_OS_RECURSION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5932 aNews_Os_RecursionTests, apzNews_Os_RecursionPatch, 0 },
5934 { zNext_Math_PrefixName, zNext_Math_PrefixList,
5935 apzNext_Math_PrefixMachs,
5936 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5937 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
5939 { zNext_TemplateName, zNext_TemplateList,
5940 apzNext_TemplateMachs,
5941 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5942 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
5944 { zNext_VolitileName, zNext_VolitileList,
5945 apzNext_VolitileMachs,
5946 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5947 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
5949 { zNext_Wait_UnionName, zNext_Wait_UnionList,
5950 apzNext_Wait_UnionMachs,
5951 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5952 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
5954 { zNodeent_SyntaxName, zNodeent_SyntaxList,
5955 apzNodeent_SyntaxMachs,
5956 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5957 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
5959 { zOsf_Namespace_AName, zOsf_Namespace_AList,
5960 apzOsf_Namespace_AMachs,
5961 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5962 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
5964 { zOsf_Namespace_CName, zOsf_Namespace_CList,
5965 apzOsf_Namespace_CMachs,
5966 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5967 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
5969 { zPthread_Page_SizeName, zPthread_Page_SizeList,
5970 apzPthread_Page_SizeMachs,
5971 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5972 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
5974 { zRead_Ret_TypeName, zRead_Ret_TypeList,
5975 apzRead_Ret_TypeMachs,
5976 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5977 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
5979 { zRs6000_DoubleName, zRs6000_DoubleList,
5980 apzRs6000_DoubleMachs,
5981 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5982 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
5984 { zRs6000_FchmodName, zRs6000_FchmodList,
5985 apzRs6000_FchmodMachs,
5986 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5987 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
5989 { zRs6000_ParamName, zRs6000_ParamList,
5990 apzRs6000_ParamMachs,
5991 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5992 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
5994 { zSco_Static_FuncName, zSco_Static_FuncList,
5995 apzSco_Static_FuncMachs,
5996 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
5997 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
5999 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
6000 apzStrict_Ansi_NotMachs,
6001 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6002 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
6004 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
6005 apzStrict_Ansi_Not_CtdMachs,
6006 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6007 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
6009 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
6010 apzStrict_Ansi_OnlyMachs,
6011 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6012 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
6014 { zSco_UtimeName, zSco_UtimeList,
6016 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6017 aSco_UtimeTests, apzSco_UtimePatch, 0 },
6019 { zStatsswtchName, zStatsswtchList,
6021 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6022 aStatsswtchTests, apzStatsswtchPatch, 0 },
6024 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
6025 apzStdio_Stdarg_HMachs,
6026 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6027 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
6029 { zStdio_Va_ListName, zStdio_Va_ListList,
6030 apzStdio_Va_ListMachs,
6031 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
6032 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
6034 { zStruct_FileName, zStruct_FileList,
6035 apzStruct_FileMachs,
6036 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6037 aStruct_FileTests, apzStruct_FilePatch, 0 },
6039 { zStruct_SockaddrName, zStruct_SockaddrList,
6040 apzStruct_SockaddrMachs,
6041 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6042 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
6044 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
6045 apzSun_Auth_ProtoMachs,
6046 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6047 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
6049 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
6050 apzSun_Bogus_IfdefMachs,
6051 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6052 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
6054 { zSun_CatmacroName, zSun_CatmacroList,
6055 apzSun_CatmacroMachs,
6056 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6057 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
6059 { zSun_MallocName, zSun_MallocList,
6061 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
6062 aSun_MallocTests, apzSun_MallocPatch, 0 },
6064 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
6065 apzSun_Rusers_SemiMachs,
6066 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
6067 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
6069 { zSun_SignalName, zSun_SignalList,
6071 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6072 aSun_SignalTests, apzSun_SignalPatch, 0 },
6074 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
6075 apzSunos_Matherr_DeclMachs,
6076 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6077 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch, 0 },
6079 { zSunos_StrlenName, zSunos_StrlenList,
6080 apzSunos_StrlenMachs,
6081 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6082 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
6084 { zSvr4__PName, zSvr4__PList,
6086 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6087 aSvr4__PTests, apzSvr4__PPatch, 0 },
6089 { zSvr4_GetcwdName, zSvr4_GetcwdList,
6090 apzSvr4_GetcwdMachs,
6091 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6092 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
6094 { zSvr4_ProfilName, zSvr4_ProfilList,
6095 apzSvr4_ProfilMachs,
6096 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6097 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
6099 { zGnu_TypesName, zGnu_TypesList,
6101 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6102 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
6104 { zSysv68_StringName, zSysv68_StringList,
6105 apzSysv68_StringMachs,
6106 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
6107 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
6109 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
6110 apzSysz_Stdlib_For_SunMachs,
6111 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6112 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
6114 { zTinfo_CplusplusName, zTinfo_CplusplusList,
6115 apzTinfo_CplusplusMachs,
6116 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6117 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
6119 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
6120 apzUltrix_Atof_ParamMachs,
6121 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6122 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
6124 { zUltrix_ConstName, zUltrix_ConstList,
6125 apzUltrix_ConstMachs,
6126 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6127 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
6129 { zUltrix_Const2Name, zUltrix_Const2List,
6130 apzUltrix_Const2Machs,
6131 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6132 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
6134 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
6135 apzUltrix_Fix_FixprotoMachs,
6136 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6137 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
6139 { zUltrix_IfdefName, zUltrix_IfdefList,
6140 apzUltrix_IfdefMachs,
6141 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6142 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
6144 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
6145 apzUltrix_Math_IfdefMachs,
6146 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6147 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
6149 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
6150 apzUltrix_Nested_IoctlMachs,
6151 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
6152 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
6154 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
6155 apzUltrix_Nested_SvcMachs,
6156 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
6157 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
6159 { zUltrix_StatName, zUltrix_StatList,
6160 apzUltrix_StatMachs,
6161 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
6162 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
6164 { zUltrix_StaticName, zUltrix_StaticList,
6165 apzUltrix_StaticMachs,
6166 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
6167 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
6169 { zUltrix_StringsName, zUltrix_StringsList,
6170 apzUltrix_StringsMachs,
6171 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6172 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
6174 { zUndefine_NullName, zUndefine_NullList,
6175 apzUndefine_NullMachs,
6176 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6177 aUndefine_NullTests, apzUndefine_NullPatch, 0 },
6179 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
6180 apzUw7_Byteorder_FixMachs,
6181 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6182 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
6184 { zVa_I960_MacroName, zVa_I960_MacroList,
6185 apzVa_I960_MacroMachs,
6186 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6187 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
6189 { zVoid_NullName, zVoid_NullList,
6191 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6192 aVoid_NullTests, apzVoid_NullPatch, 0 },
6194 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
6195 apzVxworks_Gcc_ProblemMachs,
6196 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
6197 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
6199 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
6200 apzVxworks_Needs_VxtypesMachs,
6201 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6202 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
6204 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
6205 apzVxworks_Needs_VxworksMachs,
6206 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
6207 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
6209 { zVxworks_TimeName, zVxworks_TimeList,
6210 apzVxworks_TimeMachs,
6211 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6212 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
6214 { zX11_ClassName, zX11_ClassList,
6216 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6217 aX11_ClassTests, apzX11_ClassPatch, 0 },
6219 { zX11_Class_UsageName, zX11_Class_UsageList,
6220 apzX11_Class_UsageMachs,
6221 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6222 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
6224 { zX11_NewName, zX11_NewList,
6226 X11_NEW_TEST_CT, FD_MACH_ONLY,
6227 aX11_NewTests, apzX11_NewPatch, 0 },
6229 { zX11_SprintfName, zX11_SprintfList,
6230 apzX11_SprintfMachs,
6231 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6232 aX11_SprintfTests, apzX11_SprintfPatch, 0 }