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 130 fixup descriptions.
10 * See README-fixinc for more information.
12 * inclhack copyright (c) 1998, 1999, 2000
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_Bad_Fixes fix
173 #define AAA_BAD_FIXES_FIXIDX 4
174 tSCC zAaa_Bad_FixesName[] =
178 * File name selection pattern
180 tSCC zAaa_Bad_FixesList[] =
181 "|sundev/ipi_error.h|";
183 * Machine/OS name selection pattern
185 #define apzAaa_Bad_FixesMachs (const char**)NULL
186 #define AAA_BAD_FIXES_TEST_CT 0
187 #define aAaa_Bad_FixesTests (tTestDesc*)NULL
190 * Fix Command Arguments for Aaa_Bad_Fixes
192 static const char* apzAaa_Bad_FixesPatch[] = {
195 /* * * * * * * * * * * * * * * * * * * * * * * * * *
197 * Description of Aaa_Time fix
199 #define AAA_TIME_FIXIDX 5
200 tSCC zAaa_TimeName[] =
204 * File name selection pattern
206 tSCC zAaa_TimeList[] =
209 * Machine/OS name selection pattern
211 #define apzAaa_TimeMachs (const char**)NULL
214 * content selection pattern - do fix if pattern found
216 tSCC zAaa_TimeSelect0[] =
217 "11.0 and later representation of ki time";
219 #define AAA_TIME_TEST_CT 1
220 static tTestDesc aAaa_TimeTests[] = {
221 { TT_EGREP, zAaa_TimeSelect0, (regex_t*)NULL }, };
224 * Fix Command Arguments for Aaa_Time
226 static const char* apzAaa_TimePatch[] = {
229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
231 * Description of Aab_Dgux_Int_Varargs fix
233 #define AAB_DGUX_INT_VARARGS_FIXIDX 6
234 tSCC zAab_Dgux_Int_VarargsName[] =
235 "AAB_dgux_int_varargs";
238 * File name selection pattern
240 tSCC zAab_Dgux_Int_VarargsList[] =
243 * Machine/OS name selection pattern
245 #define apzAab_Dgux_Int_VarargsMachs (const char**)NULL
246 #define AAB_DGUX_INT_VARARGS_TEST_CT 0
247 #define aAab_Dgux_Int_VarargsTests (tTestDesc*)NULL
250 * Fix Command Arguments for Aab_Dgux_Int_Varargs
252 static const char* apzAab_Dgux_Int_VarargsPatch[] = {
253 "#ifndef __INT_VARARGS_H\n\
254 #define __INT_VARARGS_H\n\
256 /************************************************************************/\n\
257 /* _INT_VARARGS.H - Define the common stuff for varargs/stdarg/stdio. */\n\
258 /************************************************************************/\n\
261 ** This file is a DG internal header. Never include this\n\
265 #ifndef ___int_features_h\n\
266 #include <sys/_int_features.h>\n\
269 #if !(defined(_VA_LIST) || defined(_VA_LIST_))\n\
276 typedef void * va_list;\n\
278 typedef char * va_list;\n\
284 #if defined(__DCC__)\n\
292 #else /* ! defined(__DCC__) */\n\
295 int __va_arg; /* argument number */\n\
296 int *__va_stk; /* start of args passed on stack */\n\
297 int *__va_reg; /* start of args passed in regs */\n\
300 #endif /* ! defined(__DCC__) */\n\
304 #if defined(__GNUC__) || defined(__STDC__)\n\
305 typedef void * va_list;\n\
307 typedef char * va_list;\n\
310 #endif /* _IX86_ANY */\n\
312 #endif /* __LINT__ */\n\
313 #endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */\n\
314 #endif /* #ifndef __INT_VARARGS_H */\n",
317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
319 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
321 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX 7
322 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
323 "AAB_fd_zero_asm_posix_types_h";
326 * File name selection pattern
328 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
329 "|asm/posix_types.h|";
331 * Machine/OS name selection pattern
333 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
334 "i[34567]86-*-linux*",
338 * content bypass pattern - skip fix if pattern found
340 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
343 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
344 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
345 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
348 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
350 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
351 "/* This file fixes a bug in the __FD_ZERO macro\n\
352 for older versions of the Linux kernel. */\n\
353 #ifndef _POSIX_TYPES_H_WRAPPER\n\
354 #include <features.h>\n\
355 #include_next <asm/posix_types.h>\n\
357 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
359 #define __FD_ZERO(fdsetp) \\\n\
361 int __d0, __d1; \\\n\
362 \t\t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
363 \t\t\t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
364 \t\t\t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
365 \t\t\t \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
369 #define _POSIX_TYPES_H_WRAPPER\n\
370 #endif /* _POSIX_TYPES_H_WRAPPER */\n",
373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
375 * Description of Aab_Fd_Zero_Gnu_Types_H fix
377 #define AAB_FD_ZERO_GNU_TYPES_H_FIXIDX 8
378 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
379 "AAB_fd_zero_gnu_types_h";
382 * File name selection pattern
384 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
387 * Machine/OS name selection pattern
389 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
390 "i[34567]86-*-linux*",
392 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
393 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
396 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
398 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
399 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
400 #ifndef _TYPES_H_WRAPPER\n\
401 #include <features.h>\n\
402 #include_next <gnu/types.h>\n\
404 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
406 # define __FD_ZERO(fdsetp) \\\n\
408 int __d0, __d1; \\\n\
409 \t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
410 \t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
411 \t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
412 \t\t \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
416 #define _TYPES_H_WRAPPER\n\
417 #endif /* _TYPES_H_WRAPPER */\n",
420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
422 * Description of Aab_Fd_Zero_Selectbits_H fix
424 #define AAB_FD_ZERO_SELECTBITS_H_FIXIDX 9
425 tSCC zAab_Fd_Zero_Selectbits_HName[] =
426 "AAB_fd_zero_selectbits_h";
429 * File name selection pattern
431 tSCC zAab_Fd_Zero_Selectbits_HList[] =
434 * Machine/OS name selection pattern
436 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
437 "i[34567]86-*-linux*",
439 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
440 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
443 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
445 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
446 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
447 #ifndef _SELECTBITS_H_WRAPPER\n\
448 #include <features.h>\n\
449 #include_next <selectbits.h>\n\
451 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\n\
452 \t&& defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\n\
453 \t&& __GLIBC_MINOR__ == 0\n\
455 #define __FD_ZERO(fdsetp) \\\n\
457 int __d0, __d1; \\\n\
458 __asm__ __volatile__ (\"cld; rep; stosl\" \\\n\
459 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
460 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\n\
461 / sizeof (__fd_mask)), \\\n\
462 \"1\" ((__fd_mask *) (fdsetp)) \\\n\
467 #define _SELECTBITS_H_WRAPPER\n\
468 #endif /* _SELECTBITS_H_WRAPPER */\n",
471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
473 * Description of Aab_Sun_Memcpy fix
475 #define AAB_SUN_MEMCPY_FIXIDX 10
476 tSCC zAab_Sun_MemcpyName[] =
480 * File name selection pattern
482 tSCC zAab_Sun_MemcpyList[] =
485 * Machine/OS name selection pattern
487 #define apzAab_Sun_MemcpyMachs (const char**)NULL
490 * content selection pattern - do fix if pattern found
492 tSCC zAab_Sun_MemcpySelect0[] =
493 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
495 #define AAB_SUN_MEMCPY_TEST_CT 1
496 static tTestDesc aAab_Sun_MemcpyTests[] = {
497 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
500 * Fix Command Arguments for Aab_Sun_Memcpy
502 static const char* apzAab_Sun_MemcpyPatch[] = {
503 "/* This file was generated by fixincludes */\n\
504 #ifndef __memory_h__\n\
505 #define __memory_h__\n\
508 extern void *memccpy();\n\
509 extern void *memchr();\n\
510 extern void *memcpy();\n\
511 extern void *memset();\n\
513 extern char *memccpy();\n\
514 extern char *memchr();\n\
515 extern char *memcpy();\n\
516 extern char *memset();\n\
517 #endif /* __STDC__ */\n\
519 extern int memcmp();\n\
521 #endif /* __memory_h__ */\n",
524 /* * * * * * * * * * * * * * * * * * * * * * * * * *
526 * Description of Aab_Svr4_Replace_Byteorder fix
528 #define AAB_SVR4_REPLACE_BYTEORDER_FIXIDX 11
529 tSCC zAab_Svr4_Replace_ByteorderName[] =
530 "AAB_svr4_replace_byteorder";
533 * File name selection pattern
535 tSCC zAab_Svr4_Replace_ByteorderList[] =
538 * Machine/OS name selection pattern
540 tSCC* apzAab_Svr4_Replace_ByteorderMachs[] = {
542 "i[34567]86-*-sysv5*",
544 "i[34567]86-*-solaris2.[0-4]",
545 "powerpcle-*-solaris2.[0-4]",
546 "sparc-*-solaris2.[0-4]",
548 #define AAB_SVR4_REPLACE_BYTEORDER_TEST_CT 0
549 #define aAab_Svr4_Replace_ByteorderTests (tTestDesc*)NULL
552 * Fix Command Arguments for Aab_Svr4_Replace_Byteorder
554 static const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
555 "#ifndef _SYS_BYTEORDER_H\n\
556 #define _SYS_BYTEORDER_H\n\
558 /* Functions to convert `short' and `long' quantities from host byte order\n\
559 to (internet) network byte order (i.e. big-endian).\n\
561 Written by Ron Guilmette (rfg@ncd.com).\n\
563 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\
565 For big-endian machines these functions are essentially no-ops.\n\
567 For little-endian machines, we define the functions using specialized\n\
568 asm sequences in cases where doing so yields better code (e.g. i386). */\n\
570 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
571 #error You lose! This file is only useful with GNU compilers.\n\
574 #ifndef __BYTE_ORDER__\n\
575 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
576 double underscores added at the front and back. */\n\
577 #define __LITTLE_ENDIAN__ 1234\n\
578 #define __BIG_ENDIAN__ 4321\n\
579 #define __PDP_ENDIAN__ 3412\n\
583 static __inline__ unsigned long htonl (unsigned long);\n\
584 static __inline__ unsigned short htons (unsigned int);\n\
585 static __inline__ unsigned long ntohl (unsigned long);\n\
586 static __inline__ unsigned short ntohs (unsigned int);\n\
587 #endif /* defined (__STDC__) */\n\
589 #if defined (__i386__)\n\
591 #ifndef __BYTE_ORDER__\n\
592 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
595 /* Convert a host long to a network long. */\n\
597 /* We must use a new-style function definition, so that this will also\n\
598 be valid for C++. */\n\
599 static __inline__ unsigned long\n\
600 htonl (unsigned long __arg)\n\
602 register unsigned long __result;\n\
604 __asm__ (\"xchg%B0 %b0,%h0\n\
606 \txchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
610 /* Convert a host short to a network short. */\n\
612 static __inline__ unsigned short\n\
613 htons (unsigned int __arg)\n\
615 register unsigned short __result;\n\
617 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
621 #elif ((defined (__i860__) && !defined (__i860_big_endian__))\t\\\n\
622 || defined (__ns32k__) || defined (__vax__)\t\t\\\n\
623 || defined (__spur__) || defined (__arm__))\n\
625 #ifndef __BYTE_ORDER__\n\
626 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
629 /* For other little-endian machines, using C code is just as efficient as\n\
630 using assembly code. */\n\
632 /* Convert a host long to a network long. */\n\
634 static __inline__ unsigned long\n\
635 htonl (unsigned long __arg)\n\
637 register unsigned long __result;\n\
639 __result = (__arg >> 24) & 0x000000ff;\n\
640 __result |= (__arg >> 8) & 0x0000ff00;\n\
641 __result |= (__arg << 8) & 0x00ff0000;\n\
642 __result |= (__arg << 24) & 0xff000000;\n\
646 /* Convert a host short to a network short. */\n\
648 static __inline__ unsigned short\n\
649 htons (unsigned int __arg)\n\
651 register unsigned short __result;\n\
653 __result = (__arg << 8) & 0xff00;\n\
654 __result |= (__arg >> 8) & 0x00ff;\n\
658 #else /* must be a big-endian machine */\n\
660 #ifndef __BYTE_ORDER__\n\
661 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
664 /* Convert a host long to a network long. */\n\
666 static __inline__ unsigned long\n\
667 htonl (unsigned long __arg)\n\
672 /* Convert a host short to a network short. */\n\
674 static __inline__ unsigned short\n\
675 htons (unsigned int __arg)\n\
680 #endif /* big-endian */\n\
682 /* Convert a network long to a host long. */\n\
684 static __inline__ unsigned long\n\
685 ntohl (unsigned long __arg)\n\
687 return htonl (__arg);\n\
690 /* Convert a network short to a host short. */\n\
692 static __inline__ unsigned short\n\
693 ntohs (unsigned int __arg)\n\
695 return htons (__arg);\n\
700 /* * * * * * * * * * * * * * * * * * * * * * * * * *
702 * Description of Aab_Ultrix_Ansi_Compat fix
704 #define AAB_ULTRIX_ANSI_COMPAT_FIXIDX 12
705 tSCC zAab_Ultrix_Ansi_CompatName[] =
706 "AAB_ultrix_ansi_compat";
709 * File name selection pattern
711 tSCC zAab_Ultrix_Ansi_CompatList[] =
714 * Machine/OS name selection pattern
716 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
719 * content selection pattern - do fix if pattern found
721 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
724 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
725 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
726 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
729 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
731 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
732 "/* This file intentionally left blank. */\n",
735 /* * * * * * * * * * * * * * * * * * * * * * * * * *
737 * Description of Aab_Ultrix_Limits fix
739 #define AAB_ULTRIX_LIMITS_FIXIDX 13
740 tSCC zAab_Ultrix_LimitsName[] =
744 * File name selection pattern
746 tSCC zAab_Ultrix_LimitsList[] =
749 * Machine/OS name selection pattern
751 tSCC* apzAab_Ultrix_LimitsMachs[] = {
754 #define AAB_ULTRIX_LIMITS_TEST_CT 0
755 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
758 * Fix Command Arguments for Aab_Ultrix_Limits
760 static const char* apzAab_Ultrix_LimitsPatch[] = {
761 "/*\t@(#)limits.h\t\t\t\t*/\n\
762 /* This file was generated by fixincludes\t*/\n\
763 #ifndef _LIMITS_INCLUDED\n\
764 #define _LIMITS_INCLUDED\n\
765 #include <sys/limits.h>\n\
766 #endif /* _LIMITS_INCLUDED */\n",
769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
771 * Description of Aab_Ultrix_Memory fix
773 #define AAB_ULTRIX_MEMORY_FIXIDX 14
774 tSCC zAab_Ultrix_MemoryName[] =
778 * File name selection pattern
780 tSCC zAab_Ultrix_MemoryList[] =
783 * Machine/OS name selection pattern
785 tSCC* apzAab_Ultrix_MemoryMachs[] = {
788 #define AAB_ULTRIX_MEMORY_TEST_CT 0
789 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
792 * Fix Command Arguments for Aab_Ultrix_Memory
794 static const char* apzAab_Ultrix_MemoryPatch[] = {
795 "/*\t@(#)memory.h\t\t\t\t*/\n\
796 /* This file was generated by fixincludes\t*/\n\
797 #ifndef _MEMORY_INCLUDED\n\
798 #define _MEMORY_INCLUDED\n\
799 #include <strings.h>\n\
800 #endif /* _MEMORY_INCLUDED */\n",
803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
805 * Description of Aab_Ultrix_String fix
807 #define AAB_ULTRIX_STRING_FIXIDX 15
808 tSCC zAab_Ultrix_StringName[] =
812 * File name selection pattern
814 tSCC zAab_Ultrix_StringList[] =
817 * Machine/OS name selection pattern
819 tSCC* apzAab_Ultrix_StringMachs[] = {
822 #define AAB_ULTRIX_STRING_TEST_CT 0
823 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
826 * Fix Command Arguments for Aab_Ultrix_String
828 static const char* apzAab_Ultrix_StringPatch[] = {
829 "/*\t@(#)string.h\t\t\t\t*/\n\
830 /* This file was generated by fixincludes\t*/\n\
831 #ifndef _STRING_INCLUDED\n\
832 #define _STRING_INCLUDED\n\
833 #include <strings.h>\n\
834 #endif /* _STRING_INCLUDED */\n",
837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
839 * Description of Aix_Pthread fix
841 #define AIX_PTHREAD_FIXIDX 16
842 tSCC zAix_PthreadName[] =
846 * File name selection pattern
848 tSCC zAix_PthreadList[] =
851 * Machine/OS name selection pattern
853 #define apzAix_PthreadMachs (const char**)NULL
856 * content selection pattern - do fix if pattern found
858 tSCC zAix_PthreadSelect0[] =
859 "(#define [A-Za-z_0-9]+)(\\\\\n\
863 #define AIX_PTHREAD_TEST_CT 1
864 static tTestDesc aAix_PthreadTests[] = {
865 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
868 * Fix Command Arguments for Aix_Pthread
870 static const char* apzAix_PthreadPatch[] = {
875 /* * * * * * * * * * * * * * * * * * * * * * * * * *
877 * Description of Aix_Sysmachine fix
879 #define AIX_SYSMACHINE_FIXIDX 17
880 tSCC zAix_SysmachineName[] =
884 * File name selection pattern
886 tSCC zAix_SysmachineList[] =
889 * Machine/OS name selection pattern
891 #define apzAix_SysmachineMachs (const char**)NULL
894 * content selection pattern - do fix if pattern found
896 tSCC zAix_SysmachineSelect0[] =
899 #define AIX_SYSMACHINE_TEST_CT 1
900 static tTestDesc aAix_SysmachineTests[] = {
901 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
904 * Fix Command Arguments for Aix_Sysmachine
906 static const char* apzAix_SysmachinePatch[] = {
911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
913 * Description of Aix_Syswait fix
915 #define AIX_SYSWAIT_FIXIDX 18
916 tSCC zAix_SyswaitName[] =
920 * File name selection pattern
922 tSCC zAix_SyswaitList[] =
925 * Machine/OS name selection pattern
927 #define apzAix_SyswaitMachs (const char**)NULL
930 * content selection pattern - do fix if pattern found
932 tSCC zAix_SyswaitSelect0[] =
933 "^extern pid_t wait3\\(\\);\n";
934 tSCC zAix_SyswaitSelect1[] =
937 #define AIX_SYSWAIT_TEST_CT 2
938 static tTestDesc aAix_SyswaitTests[] = {
939 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
940 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
943 * Fix Command Arguments for Aix_Syswait
945 static const char* apzAix_SyswaitPatch[] = {
951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
953 * Description of Aix_Volatile fix
955 #define AIX_VOLATILE_FIXIDX 19
956 tSCC zAix_VolatileName[] =
960 * File name selection pattern
962 tSCC zAix_VolatileList[] =
965 * Machine/OS name selection pattern
967 #define apzAix_VolatileMachs (const char**)NULL
970 * content selection pattern - do fix if pattern found
972 tSCC zAix_VolatileSelect0[] =
973 "typedef volatile int sig_atomic_t";
975 #define AIX_VOLATILE_TEST_CT 1
976 static tTestDesc aAix_VolatileTests[] = {
977 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
980 * Fix Command Arguments for Aix_Volatile
982 static const char* apzAix_VolatilePatch[] = {
984 "typedef int sig_atomic_t",
987 /* * * * * * * * * * * * * * * * * * * * * * * * * *
989 * Description of Alpha_Getopt fix
991 #define ALPHA_GETOPT_FIXIDX 20
992 tSCC zAlpha_GetoptName[] =
996 * File name selection pattern
998 tSCC zAlpha_GetoptList[] =
999 "|stdio.h|stdlib.h|";
1001 * Machine/OS name selection pattern
1003 #define apzAlpha_GetoptMachs (const char**)NULL
1006 * content selection pattern - do fix if pattern found
1008 tSCC zAlpha_GetoptSelect0[] =
1009 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1011 #define ALPHA_GETOPT_TEST_CT 1
1012 static tTestDesc aAlpha_GetoptTests[] = {
1013 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1016 * Fix Command Arguments for Alpha_Getopt
1018 static const char* apzAlpha_GetoptPatch[] = {
1020 "getopt(int, char *const[], const char *)",
1023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1025 * Description of Alpha_Parens fix
1027 #define ALPHA_PARENS_FIXIDX 21
1028 tSCC zAlpha_ParensName[] =
1032 * File name selection pattern
1034 tSCC zAlpha_ParensList[] =
1037 * Machine/OS name selection pattern
1039 #define apzAlpha_ParensMachs (const char**)NULL
1042 * content selection pattern - do fix if pattern found
1044 tSCC zAlpha_ParensSelect0[] =
1045 "#ifndef\\(__mips64\\)";
1047 #define ALPHA_PARENS_TEST_CT 1
1048 static tTestDesc aAlpha_ParensTests[] = {
1049 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1052 * Fix Command Arguments for Alpha_Parens
1054 static const char* apzAlpha_ParensPatch[] = {
1059 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1061 * Description of Alpha_Sbrk fix
1063 #define ALPHA_SBRK_FIXIDX 22
1064 tSCC zAlpha_SbrkName[] =
1068 * File name selection pattern
1070 tSCC zAlpha_SbrkList[] =
1073 * Machine/OS name selection pattern
1075 #define apzAlpha_SbrkMachs (const char**)NULL
1078 * content selection pattern - do fix if pattern found
1080 tSCC zAlpha_SbrkSelect0[] =
1081 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1083 #define ALPHA_SBRK_TEST_CT 1
1084 static tTestDesc aAlpha_SbrkTests[] = {
1085 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1088 * Fix Command Arguments for Alpha_Sbrk
1090 static const char* apzAlpha_SbrkPatch[] = {
1095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1097 * Description of Arm_Norcroft_Hint fix
1099 #define ARM_NORCROFT_HINT_FIXIDX 23
1100 tSCC zArm_Norcroft_HintName[] =
1101 "arm_norcroft_hint";
1104 * File name selection pattern
1106 tSCC zArm_Norcroft_HintList[] =
1107 "|X11/Intrinsic.h|";
1109 * Machine/OS name selection pattern
1111 #define apzArm_Norcroft_HintMachs (const char**)NULL
1114 * content selection pattern - do fix if pattern found
1116 tSCC zArm_Norcroft_HintSelect0[] =
1119 #define ARM_NORCROFT_HINT_TEST_CT 1
1120 static tTestDesc aArm_Norcroft_HintTests[] = {
1121 { TT_EGREP, zArm_Norcroft_HintSelect0, (regex_t*)NULL }, };
1124 * Fix Command Arguments for Arm_Norcroft_Hint
1126 static const char* apzArm_Norcroft_HintPatch[] = {
1131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1133 * Description of Arm_Wchar fix
1135 #define ARM_WCHAR_FIXIDX 24
1136 tSCC zArm_WcharName[] =
1140 * File name selection pattern
1142 tSCC zArm_WcharList[] =
1145 * Machine/OS name selection pattern
1147 #define apzArm_WcharMachs (const char**)NULL
1150 * content selection pattern - do fix if pattern found
1152 tSCC zArm_WcharSelect0[] =
1153 "#[ \t]*define[ \t]*__wchar_t";
1155 #define ARM_WCHAR_TEST_CT 1
1156 static tTestDesc aArm_WcharTests[] = {
1157 { TT_EGREP, zArm_WcharSelect0, (regex_t*)NULL }, };
1160 * Fix Command Arguments for Arm_Wchar
1162 static const char* apzArm_WcharPatch[] = {
1165 "(#[ \t]*(ifndef|define)[ \t]+)__wchar_t",
1168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1170 * Description of Aux_Asm fix
1172 #define AUX_ASM_FIXIDX 25
1173 tSCC zAux_AsmName[] =
1177 * File name selection pattern
1179 tSCC zAux_AsmList[] =
1182 * Machine/OS name selection pattern
1184 #define apzAux_AsmMachs (const char**)NULL
1187 * content selection pattern - do fix if pattern found
1189 tSCC zAux_AsmSelect0[] =
1192 #define AUX_ASM_TEST_CT 1
1193 static tTestDesc aAux_AsmTests[] = {
1194 { TT_EGREP, zAux_AsmSelect0, (regex_t*)NULL }, };
1197 * Fix Command Arguments for Aux_Asm
1199 static const char* apzAux_AsmPatch[] = {
1201 "#if !defined(NOINLINE) && !defined(__GNUC__)",
1204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1206 * Description of Avoid_Bool_Define fix
1208 #define AVOID_BOOL_DEFINE_FIXIDX 26
1209 tSCC zAvoid_Bool_DefineName[] =
1210 "avoid_bool_define";
1213 * File name selection pattern
1215 tSCC zAvoid_Bool_DefineList[] =
1216 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1218 * Machine/OS name selection pattern
1220 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1223 * content selection pattern - do fix if pattern found
1225 tSCC zAvoid_Bool_DefineSelect0[] =
1226 "#[ \t]*define[ \t]+bool[ \t]";
1229 * content bypass pattern - skip fix if pattern found
1231 tSCC zAvoid_Bool_DefineBypass0[] =
1232 "we must use the C\\+\\+ compiler's type";
1234 #define AVOID_BOOL_DEFINE_TEST_CT 2
1235 static tTestDesc aAvoid_Bool_DefineTests[] = {
1236 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1237 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1240 * Fix Command Arguments for Avoid_Bool_Define
1242 static const char* apzAvoid_Bool_DefinePatch[] = {
1244 "#ifndef __cplusplus\n\
1247 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1250 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1252 * Description of Avoid_Bool_Type fix
1254 #define AVOID_BOOL_TYPE_FIXIDX 27
1255 tSCC zAvoid_Bool_TypeName[] =
1259 * File name selection pattern
1261 tSCC zAvoid_Bool_TypeList[] =
1262 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1264 * Machine/OS name selection pattern
1266 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1269 * content selection pattern - do fix if pattern found
1271 tSCC zAvoid_Bool_TypeSelect0[] =
1272 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1275 * content bypass pattern - skip fix if pattern found
1277 tSCC zAvoid_Bool_TypeBypass0[] =
1278 "we must use the C\\+\\+ compiler's type";
1280 #define AVOID_BOOL_TYPE_TEST_CT 2
1281 static tTestDesc aAvoid_Bool_TypeTests[] = {
1282 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1283 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1286 * Fix Command Arguments for Avoid_Bool_Type
1288 static const char* apzAvoid_Bool_TypePatch[] = {
1290 "#ifndef __cplusplus\n\
1295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1297 * Description of Avoid_Wchar_T_Type fix
1299 #define AVOID_WCHAR_T_TYPE_FIXIDX 28
1300 tSCC zAvoid_Wchar_T_TypeName[] =
1301 "avoid_wchar_t_type";
1304 * File name selection pattern
1306 #define zAvoid_Wchar_T_TypeList (char*)NULL
1308 * Machine/OS name selection pattern
1310 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1313 * content selection pattern - do fix if pattern found
1315 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1316 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1318 #define AVOID_WCHAR_T_TYPE_TEST_CT 1
1319 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1320 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1323 * Fix Command Arguments for Avoid_Wchar_T_Type
1325 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1327 "#ifndef __cplusplus\n\
1332 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1334 * Description of Bad_Lval fix
1336 #define BAD_LVAL_FIXIDX 29
1337 tSCC zBad_LvalName[] =
1341 * File name selection pattern
1343 tSCC zBad_LvalList[] =
1344 "|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|";
1346 * Machine/OS name selection pattern
1348 #define apzBad_LvalMachs (const char**)NULL
1351 * content selection pattern - do fix if pattern found
1353 tSCC zBad_LvalSelect0[] =
1354 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1356 #define BAD_LVAL_TEST_CT 1
1357 static tTestDesc aBad_LvalTests[] = {
1358 { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
1361 * Fix Command Arguments for Bad_Lval
1363 static const char* apzBad_LvalPatch[] = { "sed",
1364 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1369 * Description of Bad_Struct_Term fix
1371 #define BAD_STRUCT_TERM_FIXIDX 30
1372 tSCC zBad_Struct_TermName[] =
1376 * File name selection pattern
1378 tSCC zBad_Struct_TermList[] =
1381 * Machine/OS name selection pattern
1383 #define apzBad_Struct_TermMachs (const char**)NULL
1386 * content selection pattern - do fix if pattern found
1388 tSCC zBad_Struct_TermSelect0[] =
1389 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1391 #define BAD_STRUCT_TERM_TEST_CT 1
1392 static tTestDesc aBad_Struct_TermTests[] = {
1393 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1396 * Fix Command Arguments for Bad_Struct_Term
1398 static const char* apzBad_Struct_TermPatch[] = {
1403 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1405 * Description of Badquote fix
1407 #define BADQUOTE_FIXIDX 31
1408 tSCC zBadquoteName[] =
1412 * File name selection pattern
1414 tSCC zBadquoteList[] =
1415 "|sundev/vuid_event.h|";
1417 * Machine/OS name selection pattern
1419 #define apzBadquoteMachs (const char**)NULL
1422 * content selection pattern - do fix if pattern found
1424 tSCC zBadquoteSelect0[] =
1427 #define BADQUOTE_TEST_CT 1
1428 static tTestDesc aBadquoteTests[] = {
1429 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1432 * Fix Command Arguments for Badquote
1434 static const char* apzBadquotePatch[] = {
1439 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1441 * Description of Broken_Assert_Stdio fix
1443 #define BROKEN_ASSERT_STDIO_FIXIDX 32
1444 tSCC zBroken_Assert_StdioName[] =
1445 "broken_assert_stdio";
1448 * File name selection pattern
1450 tSCC zBroken_Assert_StdioList[] =
1453 * Machine/OS name selection pattern
1455 #define apzBroken_Assert_StdioMachs (const char**)NULL
1458 * content selection pattern - do fix if pattern found
1460 tSCC zBroken_Assert_StdioSelect0[] =
1464 * content bypass pattern - skip fix if pattern found
1466 tSCC zBroken_Assert_StdioBypass0[] =
1467 "include.*stdio\\.h";
1469 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1470 static tTestDesc aBroken_Assert_StdioTests[] = {
1471 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1472 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1475 * Fix Command Arguments for Broken_Assert_Stdio
1477 static const char* apzBroken_Assert_StdioPatch[] = {
1479 "#include <stdio.h>\n",
1482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1484 * Description of Broken_Assert_Stdlib fix
1486 #define BROKEN_ASSERT_STDLIB_FIXIDX 33
1487 tSCC zBroken_Assert_StdlibName[] =
1488 "broken_assert_stdlib";
1491 * File name selection pattern
1493 tSCC zBroken_Assert_StdlibList[] =
1496 * Machine/OS name selection pattern
1498 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1501 * content selection pattern - do fix if pattern found
1503 tSCC zBroken_Assert_StdlibSelect0[] =
1504 "exit *\\(|abort *\\(";
1507 * content bypass pattern - skip fix if pattern found
1509 tSCC zBroken_Assert_StdlibBypass0[] =
1510 "include.*stdlib\\.h";
1512 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1513 static tTestDesc aBroken_Assert_StdlibTests[] = {
1514 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1515 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1518 * Fix Command Arguments for Broken_Assert_Stdlib
1520 static const char* apzBroken_Assert_StdlibPatch[] = {
1522 "#ifdef __cplusplus\n\
1523 #include <stdlib.h>\n\
1527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1529 * Description of Broken_Cabs fix
1531 #define BROKEN_CABS_FIXIDX 34
1532 tSCC zBroken_CabsName[] =
1536 * File name selection pattern
1538 tSCC zBroken_CabsList[] =
1541 * Machine/OS name selection pattern
1543 #define apzBroken_CabsMachs (const char**)NULL
1546 * content selection pattern - do fix if pattern found
1548 tSCC zBroken_CabsSelect0[] =
1549 "^extern[ \\t]+double[ \\t]+cabs";
1551 #define BROKEN_CABS_TEST_CT 1
1552 static tTestDesc aBroken_CabsTests[] = {
1553 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1556 * Fix Command Arguments for Broken_Cabs
1558 static const char* apzBroken_CabsPatch[] = {
1561 "^extern[ \t]+double[ \t]+cabs\\((struct dbl_hypot|)\\);",
1564 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1566 * Description of Ctrl_Quotes_Def fix
1568 #define CTRL_QUOTES_DEF_FIXIDX 35
1569 tSCC zCtrl_Quotes_DefName[] =
1573 * File name selection pattern
1575 #define zCtrl_Quotes_DefList (char*)NULL
1577 * Machine/OS name selection pattern
1579 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1582 * content selection pattern - do fix if pattern found
1584 tSCC zCtrl_Quotes_DefSelect0[] =
1585 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1587 #define CTRL_QUOTES_DEF_TEST_CT 1
1588 static tTestDesc aCtrl_Quotes_DefTests[] = {
1589 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1592 * Fix Command Arguments for Ctrl_Quotes_Def
1594 static const char* apzCtrl_Quotes_DefPatch[] = {
1599 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1601 * Description of Ctrl_Quotes_Use fix
1603 #define CTRL_QUOTES_USE_FIXIDX 36
1604 tSCC zCtrl_Quotes_UseName[] =
1608 * File name selection pattern
1610 #define zCtrl_Quotes_UseList (char*)NULL
1612 * Machine/OS name selection pattern
1614 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1617 * content selection pattern - do fix if pattern found
1619 tSCC zCtrl_Quotes_UseSelect0[] =
1620 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1622 #define CTRL_QUOTES_USE_TEST_CT 1
1623 static tTestDesc aCtrl_Quotes_UseTests[] = {
1624 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1627 * Fix Command Arguments for Ctrl_Quotes_Use
1629 static const char* apzCtrl_Quotes_UsePatch[] = {
1634 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1636 * Description of Cxx_Unready fix
1638 #define CXX_UNREADY_FIXIDX 37
1639 tSCC zCxx_UnreadyName[] =
1643 * File name selection pattern
1645 tSCC zCxx_UnreadyList[] =
1646 "|sys/mman.h|rpc/types.h|";
1648 * Machine/OS name selection pattern
1650 #define apzCxx_UnreadyMachs (const char**)NULL
1653 * content selection pattern - do fix if pattern found
1655 tSCC zCxx_UnreadySelect0[] =
1659 * content bypass pattern - skip fix if pattern found
1661 tSCC zCxx_UnreadyBypass0[] =
1662 "\"C\"|__BEGIN_DECLS";
1664 #define CXX_UNREADY_TEST_CT 2
1665 static tTestDesc aCxx_UnreadyTests[] = {
1666 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1667 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1670 * Fix Command Arguments for Cxx_Unready
1672 static const char* apzCxx_UnreadyPatch[] = {
1674 "#ifdef __cplusplus\n\
1677 "#ifdef __cplusplus\n\
1682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1684 * Description of Dec_Intern_Asm fix
1686 #define DEC_INTERN_ASM_FIXIDX 38
1687 tSCC zDec_Intern_AsmName[] =
1691 * File name selection pattern
1693 tSCC zDec_Intern_AsmList[] =
1696 * Machine/OS name selection pattern
1698 #define apzDec_Intern_AsmMachs (const char**)NULL
1699 #define DEC_INTERN_ASM_TEST_CT 0
1700 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1703 * Fix Command Arguments for Dec_Intern_Asm
1705 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1706 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1708 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1714 * Description of Ecd_Cursor fix
1716 #define ECD_CURSOR_FIXIDX 39
1717 tSCC zEcd_CursorName[] =
1721 * File name selection pattern
1723 tSCC zEcd_CursorList[] =
1724 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1726 * Machine/OS name selection pattern
1728 #define apzEcd_CursorMachs (const char**)NULL
1731 * content selection pattern - do fix if pattern found
1733 tSCC zEcd_CursorSelect0[] =
1736 #define ECD_CURSOR_TEST_CT 1
1737 static tTestDesc aEcd_CursorTests[] = {
1738 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1741 * Fix Command Arguments for Ecd_Cursor
1743 static const char* apzEcd_CursorPatch[] = {
1748 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1750 * Description of Fix_Header_Breakage fix
1752 #define FIX_HEADER_BREAKAGE_FIXIDX 40
1753 tSCC zFix_Header_BreakageName[] =
1754 "fix_header_breakage";
1757 * File name selection pattern
1759 tSCC zFix_Header_BreakageList[] =
1762 * Machine/OS name selection pattern
1764 tSCC* apzFix_Header_BreakageMachs[] = {
1765 "m88k-motorola-sysv3*",
1766 (const char*)NULL };
1769 * content selection pattern - do fix if pattern found
1771 tSCC zFix_Header_BreakageSelect0[] =
1772 "extern double floor\\(\\), ceil\\(\\), fmod\\(\\), fabs\\(\\);";
1774 #define FIX_HEADER_BREAKAGE_TEST_CT 1
1775 static tTestDesc aFix_Header_BreakageTests[] = {
1776 { TT_EGREP, zFix_Header_BreakageSelect0, (regex_t*)NULL }, };
1779 * Fix Command Arguments for Fix_Header_Breakage
1781 static const char* apzFix_Header_BreakagePatch[] = {
1783 "extern double floor(), ceil(), fmod(), fabs _PARAMS((double));",
1786 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1788 * Description of Hp_Inline fix
1790 #define HP_INLINE_FIXIDX 41
1791 tSCC zHp_InlineName[] =
1795 * File name selection pattern
1797 tSCC zHp_InlineList[] =
1798 "|sys/spinlock.h|machine/machparam.h|";
1800 * Machine/OS name selection pattern
1802 #define apzHp_InlineMachs (const char**)NULL
1805 * content selection pattern - do fix if pattern found
1807 tSCC zHp_InlineSelect0[] =
1808 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1810 #define HP_INLINE_TEST_CT 1
1811 static tTestDesc aHp_InlineTests[] = {
1812 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1815 * Fix Command Arguments for Hp_Inline
1817 static const char* apzHp_InlinePatch[] = {
1820 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1823 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1825 * Description of Hp_Sysfile fix
1827 #define HP_SYSFILE_FIXIDX 42
1828 tSCC zHp_SysfileName[] =
1832 * File name selection pattern
1834 tSCC zHp_SysfileList[] =
1837 * Machine/OS name selection pattern
1839 #define apzHp_SysfileMachs (const char**)NULL
1842 * content selection pattern - do fix if pattern found
1844 tSCC zHp_SysfileSelect0[] =
1847 #define HP_SYSFILE_TEST_CT 1
1848 static tTestDesc aHp_SysfileTests[] = {
1849 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
1852 * Fix Command Arguments for Hp_Sysfile
1854 static const char* apzHp_SysfilePatch[] = {
1856 "(struct file *, ...)",
1860 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1862 * Description of Hpux11_Fabsf fix
1864 #define HPUX11_FABSF_FIXIDX 43
1865 tSCC zHpux11_FabsfName[] =
1869 * File name selection pattern
1871 tSCC zHpux11_FabsfList[] =
1874 * Machine/OS name selection pattern
1876 #define apzHpux11_FabsfMachs (const char**)NULL
1879 * content selection pattern - do fix if pattern found
1881 tSCC zHpux11_FabsfSelect0[] =
1882 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
1885 * content bypass pattern - skip fix if pattern found
1887 tSCC zHpux11_FabsfBypass0[] =
1890 #define HPUX11_FABSF_TEST_CT 2
1891 static tTestDesc aHpux11_FabsfTests[] = {
1892 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
1893 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
1896 * Fix Command Arguments for Hpux11_Fabsf
1898 static const char* apzHpux11_FabsfPatch[] = {
1900 "#ifndef __cplusplus\n\
1905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1907 * Description of Hpux11_Uint32_C fix
1909 #define HPUX11_UINT32_C_FIXIDX 44
1910 tSCC zHpux11_Uint32_CName[] =
1914 * File name selection pattern
1916 tSCC zHpux11_Uint32_CList[] =
1919 * Machine/OS name selection pattern
1921 #define apzHpux11_Uint32_CMachs (const char**)NULL
1924 * content selection pattern - do fix if pattern found
1926 tSCC zHpux11_Uint32_CSelect0[] =
1927 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
1929 #define HPUX11_UINT32_C_TEST_CT 1
1930 static tTestDesc aHpux11_Uint32_CTests[] = {
1931 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
1934 * Fix Command Arguments for Hpux11_Uint32_C
1936 static const char* apzHpux11_Uint32_CPatch[] = {
1938 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
1941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1943 * Description of Hpux8_Bogus_Inlines fix
1945 #define HPUX8_BOGUS_INLINES_FIXIDX 45
1946 tSCC zHpux8_Bogus_InlinesName[] =
1947 "hpux8_bogus_inlines";
1950 * File name selection pattern
1952 tSCC zHpux8_Bogus_InlinesList[] =
1955 * Machine/OS name selection pattern
1957 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
1960 * content selection pattern - do fix if pattern found
1962 tSCC zHpux8_Bogus_InlinesSelect0[] =
1965 #define HPUX8_BOGUS_INLINES_TEST_CT 1
1966 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
1967 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
1970 * Fix Command Arguments for Hpux8_Bogus_Inlines
1972 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
1973 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
1974 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
1975 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
1976 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
1979 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1981 * Description of Int_Abort_Free_And_Exit fix
1983 #define INT_ABORT_FREE_AND_EXIT_FIXIDX 46
1984 tSCC zInt_Abort_Free_And_ExitName[] =
1985 "int_abort_free_and_exit";
1988 * File name selection pattern
1990 tSCC zInt_Abort_Free_And_ExitList[] =
1993 * Machine/OS name selection pattern
1995 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
1998 * content selection pattern - do fix if pattern found
2000 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2001 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2003 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2004 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2005 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2008 * Fix Command Arguments for Int_Abort_Free_And_Exit
2010 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2017 * Description of Isc_Omits_With_Stdc fix
2019 #define ISC_OMITS_WITH_STDC_FIXIDX 47
2020 tSCC zIsc_Omits_With_StdcName[] =
2021 "isc_omits_with_stdc";
2024 * File name selection pattern
2026 tSCC zIsc_Omits_With_StdcList[] =
2027 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
2029 * Machine/OS name selection pattern
2031 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
2034 * content selection pattern - do fix if pattern found
2036 tSCC zIsc_Omits_With_StdcSelect0[] =
2037 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
2039 #define ISC_OMITS_WITH_STDC_TEST_CT 1
2040 static tTestDesc aIsc_Omits_With_StdcTests[] = {
2041 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
2044 * Fix Command Arguments for Isc_Omits_With_Stdc
2046 static const char* apzIsc_Omits_With_StdcPatch[] = {
2048 "!defined(_POSIX_SOURCE)",
2051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2053 * Description of Io_Quotes_Def fix
2055 #define IO_QUOTES_DEF_FIXIDX 48
2056 tSCC zIo_Quotes_DefName[] =
2060 * File name selection pattern
2062 #define zIo_Quotes_DefList (char*)NULL
2064 * Machine/OS name selection pattern
2066 #define apzIo_Quotes_DefMachs (const char**)NULL
2069 * content selection pattern - do fix if pattern found
2071 tSCC zIo_Quotes_DefSelect0[] =
2072 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2074 #define IO_QUOTES_DEF_TEST_CT 1
2075 static tTestDesc aIo_Quotes_DefTests[] = {
2076 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2079 * Fix Command Arguments for Io_Quotes_Def
2081 static const char* apzIo_Quotes_DefPatch[] = {
2086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2088 * Description of Io_Quotes_Use fix
2090 #define IO_QUOTES_USE_FIXIDX 49
2091 tSCC zIo_Quotes_UseName[] =
2095 * File name selection pattern
2097 #define zIo_Quotes_UseList (char*)NULL
2099 * Machine/OS name selection pattern
2101 #define apzIo_Quotes_UseMachs (const char**)NULL
2104 * content selection pattern - do fix if pattern found
2106 tSCC zIo_Quotes_UseSelect0[] =
2107 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2109 #define IO_QUOTES_USE_TEST_CT 1
2110 static tTestDesc aIo_Quotes_UseTests[] = {
2111 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2114 * Fix Command Arguments for Io_Quotes_Use
2116 static const char* apzIo_Quotes_UsePatch[] = {
2121 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2123 * Description of Hpux_Maxint fix
2125 #define HPUX_MAXINT_FIXIDX 50
2126 tSCC zHpux_MaxintName[] =
2130 * File name selection pattern
2132 tSCC zHpux_MaxintList[] =
2133 "|sys/param.h|values.h|";
2135 * Machine/OS name selection pattern
2137 #define apzHpux_MaxintMachs (const char**)NULL
2140 * content selection pattern - do fix if pattern found
2142 tSCC zHpux_MaxintSelect0[] =
2143 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2146 * content bypass pattern - skip fix if pattern found
2148 tSCC zHpux_MaxintBypass0[] =
2149 "^#[ \t]*ifndef[ \t]+MAXINT";
2152 * perform the 'test' shell command - do fix on success
2154 tSCC zHpux_MaxintTest0[] =
2155 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2157 #define HPUX_MAXINT_TEST_CT 3
2158 static tTestDesc aHpux_MaxintTests[] = {
2159 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2160 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2161 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2164 * Fix Command Arguments for Hpux_Maxint
2166 static const char* apzHpux_MaxintPatch[] = {
2171 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2174 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2176 * Description of Hpux_Systime fix
2178 #define HPUX_SYSTIME_FIXIDX 51
2179 tSCC zHpux_SystimeName[] =
2183 * File name selection pattern
2185 tSCC zHpux_SystimeList[] =
2188 * Machine/OS name selection pattern
2190 #define apzHpux_SystimeMachs (const char**)NULL
2193 * content selection pattern - do fix if pattern found
2195 tSCC zHpux_SystimeSelect0[] =
2196 "^extern struct sigevent;";
2198 #define HPUX_SYSTIME_TEST_CT 1
2199 static tTestDesc aHpux_SystimeTests[] = {
2200 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2203 * Fix Command Arguments for Hpux_Systime
2205 static const char* apzHpux_SystimePatch[] = {
2210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2212 * Description of Ip_Missing_Semi fix
2214 #define IP_MISSING_SEMI_FIXIDX 52
2215 tSCC zIp_Missing_SemiName[] =
2219 * File name selection pattern
2221 tSCC zIp_Missing_SemiList[] =
2224 * Machine/OS name selection pattern
2226 #define apzIp_Missing_SemiMachs (const char**)NULL
2229 * content selection pattern - do fix if pattern found
2231 tSCC zIp_Missing_SemiSelect0[] =
2234 #define IP_MISSING_SEMI_TEST_CT 1
2235 static tTestDesc aIp_Missing_SemiTests[] = {
2236 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2239 * Fix Command Arguments for Ip_Missing_Semi
2241 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2242 "-e", "/^struct/,/^};/s/}$/};/",
2245 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2247 * Description of Irix_Asm_Apostrophe fix
2249 #define IRIX_ASM_APOSTROPHE_FIXIDX 53
2250 tSCC zIrix_Asm_ApostropheName[] =
2251 "irix_asm_apostrophe";
2254 * File name selection pattern
2256 tSCC zIrix_Asm_ApostropheList[] =
2259 * Machine/OS name selection pattern
2261 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2264 * content selection pattern - do fix if pattern found
2266 tSCC zIrix_Asm_ApostropheSelect0[] =
2267 "^[ \t]*#.*[Ww]e're";
2269 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2270 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2271 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2274 * Fix Command Arguments for Irix_Asm_Apostrophe
2276 static const char* apzIrix_Asm_ApostrophePatch[] = {
2279 "^([ \t]*#.*[Ww]e)'re",
2282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2284 * Description of Isc_Fmod fix
2286 #define ISC_FMOD_FIXIDX 54
2287 tSCC zIsc_FmodName[] =
2291 * File name selection pattern
2293 tSCC zIsc_FmodList[] =
2296 * Machine/OS name selection pattern
2298 #define apzIsc_FmodMachs (const char**)NULL
2301 * content selection pattern - do fix if pattern found
2303 tSCC zIsc_FmodSelect0[] =
2306 #define ISC_FMOD_TEST_CT 1
2307 static tTestDesc aIsc_FmodTests[] = {
2308 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
2311 * Fix Command Arguments for Isc_Fmod
2313 static const char* apzIsc_FmodPatch[] = {
2315 "fmod(double, double)",
2318 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2320 * Description of Kandr_Concat fix
2322 #define KANDR_CONCAT_FIXIDX 55
2323 tSCC zKandr_ConcatName[] =
2327 * File name selection pattern
2329 tSCC zKandr_ConcatList[] =
2330 "|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|";
2332 * Machine/OS name selection pattern
2334 #define apzKandr_ConcatMachs (const char**)NULL
2337 * content selection pattern - do fix if pattern found
2339 tSCC zKandr_ConcatSelect0[] =
2342 #define KANDR_CONCAT_TEST_CT 1
2343 static tTestDesc aKandr_ConcatTests[] = {
2344 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
2347 * Fix Command Arguments for Kandr_Concat
2349 static const char* apzKandr_ConcatPatch[] = {
2354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2356 * Description of Libc1_Ifdefd_Memx fix
2358 #define LIBC1_IFDEFD_MEMX_FIXIDX 56
2359 tSCC zLibc1_Ifdefd_MemxName[] =
2360 "libc1_ifdefd_memx";
2363 * File name selection pattern
2365 tSCC zLibc1_Ifdefd_MemxList[] =
2366 "|testing.h|string.h|";
2368 * Machine/OS name selection pattern
2370 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
2373 * content selection pattern - do fix if pattern found
2375 tSCC zLibc1_Ifdefd_MemxSelect0[] =
2376 "' is a built-in function for gcc 2\\.x\\. \\*/";
2379 * content bypass pattern - skip fix if pattern found
2381 tSCC zLibc1_Ifdefd_MemxBypass0[] =
2384 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
2385 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
2386 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
2387 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
2390 * Fix Command Arguments for Libc1_Ifdefd_Memx
2392 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
2395 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
2396 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
2398 extern [a-z_]+ mem.*(\n\
2403 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2405 * Description of Limits_Ifndefs fix
2407 #define LIMITS_IFNDEFS_FIXIDX 57
2408 tSCC zLimits_IfndefsName[] =
2412 * File name selection pattern
2414 tSCC zLimits_IfndefsList[] =
2415 "|sys/limits.h|limits.h|";
2417 * Machine/OS name selection pattern
2419 #define apzLimits_IfndefsMachs (const char**)NULL
2422 * content bypass pattern - skip fix if pattern found
2424 tSCC zLimits_IfndefsBypass0[] =
2425 "ifndef[ \t]+FLT_MIN";
2427 #define LIMITS_IFNDEFS_TEST_CT 1
2428 static tTestDesc aLimits_IfndefsTests[] = {
2429 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
2432 * Fix Command Arguments for Limits_Ifndefs
2434 static const char* apzLimits_IfndefsPatch[] = {
2439 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*",
2442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2444 * Description of Lynx_Void_Int fix
2446 #define LYNX_VOID_INT_FIXIDX 58
2447 tSCC zLynx_Void_IntName[] =
2451 * File name selection pattern
2453 tSCC zLynx_Void_IntList[] =
2456 * Machine/OS name selection pattern
2458 #define apzLynx_Void_IntMachs (const char**)NULL
2461 * content selection pattern - do fix if pattern found
2463 tSCC zLynx_Void_IntSelect0[] =
2464 "#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
2466 #define LYNX_VOID_INT_TEST_CT 1
2467 static tTestDesc aLynx_Void_IntTests[] = {
2468 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
2471 * Fix Command Arguments for Lynx_Void_Int
2473 static const char* apzLynx_Void_IntPatch[] = {
2478 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2480 * Description of Lynxos_Fcntl_Proto fix
2482 #define LYNXOS_FCNTL_PROTO_FIXIDX 59
2483 tSCC zLynxos_Fcntl_ProtoName[] =
2484 "lynxos_fcntl_proto";
2487 * File name selection pattern
2489 tSCC zLynxos_Fcntl_ProtoList[] =
2492 * Machine/OS name selection pattern
2494 #define apzLynxos_Fcntl_ProtoMachs (const char**)NULL
2497 * content selection pattern - do fix if pattern found
2499 tSCC zLynxos_Fcntl_ProtoSelect0[] =
2500 "fcntl[ \t]*\\(int, int, int\\)";
2502 #define LYNXOS_FCNTL_PROTO_TEST_CT 1
2503 static tTestDesc aLynxos_Fcntl_ProtoTests[] = {
2504 { TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
2507 * Fix Command Arguments for Lynxos_Fcntl_Proto
2509 static const char* apzLynxos_Fcntl_ProtoPatch[] = {
2512 "(fcntl[ \t]*\\(int, int, )int\\)",
2515 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2517 * Description of M88k_Bad_Hypot_Opt fix
2519 #define M88K_BAD_HYPOT_OPT_FIXIDX 60
2520 tSCC zM88k_Bad_Hypot_OptName[] =
2521 "m88k_bad_hypot_opt";
2524 * File name selection pattern
2526 tSCC zM88k_Bad_Hypot_OptList[] =
2529 * Machine/OS name selection pattern
2531 tSCC* apzM88k_Bad_Hypot_OptMachs[] = {
2532 "m88k-motorola-sysv3*",
2533 (const char*)NULL };
2536 * content selection pattern - do fix if pattern found
2538 tSCC zM88k_Bad_Hypot_OptSelect0[] =
2539 "^extern double hypot\\(\\);\n";
2541 #define M88K_BAD_HYPOT_OPT_TEST_CT 1
2542 static tTestDesc aM88k_Bad_Hypot_OptTests[] = {
2543 { TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
2546 * Fix Command Arguments for M88k_Bad_Hypot_Opt
2548 static const char* apzM88k_Bad_Hypot_OptPatch[] = {
2550 "%0/* Workaround a stupid Motorola optimization if one\n\
2551 of x or y is 0.0 and the other is negative! */\n\
2553 static __inline__ double fake_hypot (double x, double y)\n\
2555 static __inline__ double fake_hypot (x, y)\n\
2559 \treturn fabs (hypot (x, y));\n\
2561 #define hypot\tfake_hypot\n",
2564 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2566 * Description of M88k_Bad_S_If fix
2568 #define M88K_BAD_S_IF_FIXIDX 61
2569 tSCC zM88k_Bad_S_IfName[] =
2573 * File name selection pattern
2575 tSCC zM88k_Bad_S_IfList[] =
2578 * Machine/OS name selection pattern
2580 tSCC* apzM88k_Bad_S_IfMachs[] = {
2582 (const char*)NULL };
2585 * content selection pattern - do fix if pattern found
2587 tSCC zM88k_Bad_S_IfSelect0[] =
2588 "#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
2590 #define M88K_BAD_S_IF_TEST_CT 1
2591 static tTestDesc aM88k_Bad_S_IfTests[] = {
2592 { TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
2595 * Fix Command Arguments for M88k_Bad_S_If
2597 static const char* apzM88k_Bad_S_IfPatch[] = {
2599 "#define %1(m) (((m) & S_IFMT) == %2)",
2600 "#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
2603 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2605 * Description of M88k_Multi_Incl fix
2607 #define M88K_MULTI_INCL_FIXIDX 62
2608 tSCC zM88k_Multi_InclName[] =
2612 * File name selection pattern
2614 tSCC zM88k_Multi_InclList[] =
2617 * Machine/OS name selection pattern
2619 tSCC* apzM88k_Multi_InclMachs[] = {
2620 "m88k-tektronix-sysv3*",
2621 (const char*)NULL };
2624 * content bypass pattern - skip fix if pattern found
2626 tSCC zM88k_Multi_InclBypass0[] =
2629 #define M88K_MULTI_INCL_TEST_CT 1
2630 static tTestDesc aM88k_Multi_InclTests[] = {
2631 { TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
2634 * Fix Command Arguments for M88k_Multi_Incl
2636 static const char* apzM88k_Multi_InclPatch[] = {
2640 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2642 * Description of Machine_Ansi_H_Va_List fix
2644 #define MACHINE_ANSI_H_VA_LIST_FIXIDX 63
2645 tSCC zMachine_Ansi_H_Va_ListName[] =
2646 "machine_ansi_h_va_list";
2649 * File name selection pattern
2651 tSCC zMachine_Ansi_H_Va_ListList[] =
2654 * Machine/OS name selection pattern
2656 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
2659 * content selection pattern - do fix if pattern found
2661 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
2662 "define[ \t]+_BSD_VA_LIST_[ \t]";
2665 * content bypass pattern - skip fix if pattern found
2667 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
2668 "__builtin_va_list";
2670 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
2671 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
2672 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
2673 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
2676 * Fix Command Arguments for Machine_Ansi_H_Va_List
2678 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
2680 "%1__builtin_va_list",
2681 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
2684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2686 * Description of Machine_Name fix
2688 #define MACHINE_NAME_FIXIDX 64
2689 tSCC zMachine_NameName[] =
2693 * File name selection pattern
2695 #define zMachine_NameList (char*)NULL
2697 * Machine/OS name selection pattern
2699 #define apzMachine_NameMachs (const char**)NULL
2702 * perform the C function call test
2704 tSCC zMachine_NameFTst0[] = "machine_name";
2706 #define MACHINE_NAME_TEST_CT 1
2707 static tTestDesc aMachine_NameTests[] = {
2708 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
2711 * Fix Command Arguments for Machine_Name
2713 static const char* apzMachine_NamePatch[] = {
2717 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2719 * Description of Math_Exception fix
2721 #define MATH_EXCEPTION_FIXIDX 65
2722 tSCC zMath_ExceptionName[] =
2726 * File name selection pattern
2728 tSCC zMath_ExceptionList[] =
2731 * Machine/OS name selection pattern
2733 #define apzMath_ExceptionMachs (const char**)NULL
2736 * content selection pattern - do fix if pattern found
2738 tSCC zMath_ExceptionSelect0[] =
2742 * content bypass pattern - skip fix if pattern found
2744 tSCC zMath_ExceptionBypass0[] =
2745 "We have a problem when using C\\+\\+";
2747 #define MATH_EXCEPTION_TEST_CT 2
2748 static tTestDesc aMath_ExceptionTests[] = {
2749 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
2750 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
2753 * Fix Command Arguments for Math_Exception
2755 static const char* apzMath_ExceptionPatch[] = {
2757 "#ifdef __cplusplus\n\
2758 #define exception __math_exception\n\
2760 "#ifdef __cplusplus\n\
2765 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2767 * Description of Math_Huge_Val_From_Dbl_Max fix
2769 #define MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX 66
2770 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
2771 "math_huge_val_from_dbl_max";
2774 * File name selection pattern
2776 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
2779 * Machine/OS name selection pattern
2781 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
2784 * content selection pattern - do fix if pattern found
2786 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
2787 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
2790 * content bypass pattern - skip fix if pattern found
2792 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
2793 "define[ \t]+DBL_MAX";
2795 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
2796 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
2797 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
2798 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
2801 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
2803 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
2804 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\
2806 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
2807 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
2812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2814 * Description of Math_Huge_Val_Ifndef fix
2816 #define MATH_HUGE_VAL_IFNDEF_FIXIDX 67
2817 tSCC zMath_Huge_Val_IfndefName[] =
2818 "math_huge_val_ifndef";
2821 * File name selection pattern
2823 tSCC zMath_Huge_Val_IfndefList[] =
2824 "|math.h|math/math.h|";
2826 * Machine/OS name selection pattern
2828 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
2831 * content selection pattern - do fix if pattern found
2833 tSCC zMath_Huge_Val_IfndefSelect0[] =
2834 "define[ \t]+HUGE_VAL";
2836 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
2837 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
2838 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
2841 * Fix Command Arguments for Math_Huge_Val_Ifndef
2843 static const char* apzMath_Huge_Val_IfndefPatch[] = {
2845 "#ifndef HUGE_VAL\n\
2848 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
2851 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2853 * Description of Nested_Motorola fix
2855 #define NESTED_MOTOROLA_FIXIDX 68
2856 tSCC zNested_MotorolaName[] =
2860 * File name selection pattern
2862 tSCC zNested_MotorolaList[] =
2863 "|sys/limits.h|limits.h|";
2865 * Machine/OS name selection pattern
2867 tSCC* apzNested_MotorolaMachs[] = {
2868 "m68k-motorola-sysv*",
2869 (const char*)NULL };
2872 * content selection pattern - do fix if pattern found
2874 tSCC zNested_MotorolaSelect0[] =
2875 "max # bytes atomic in write|error value returned by Math lib";
2877 #define NESTED_MOTOROLA_TEST_CT 1
2878 static tTestDesc aNested_MotorolaTests[] = {
2879 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
2882 * Fix Command Arguments for Nested_Motorola
2884 static const char* apzNested_MotorolaPatch[] = { "sed",
2885 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
2886 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
2889 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2891 * Description of Nested_Sys_Limits fix
2893 #define NESTED_SYS_LIMITS_FIXIDX 69
2894 tSCC zNested_Sys_LimitsName[] =
2895 "nested_sys_limits";
2898 * File name selection pattern
2900 tSCC zNested_Sys_LimitsList[] =
2903 * Machine/OS name selection pattern
2905 #define apzNested_Sys_LimitsMachs (const char**)NULL
2908 * content selection pattern - do fix if pattern found
2910 tSCC zNested_Sys_LimitsSelect0[] =
2913 #define NESTED_SYS_LIMITS_TEST_CT 1
2914 static tTestDesc aNested_Sys_LimitsTests[] = {
2915 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
2918 * Fix Command Arguments for Nested_Sys_Limits
2920 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
2921 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
2922 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
2925 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2927 * Description of Nested_Auth_Des fix
2929 #define NESTED_AUTH_DES_FIXIDX 70
2930 tSCC zNested_Auth_DesName[] =
2934 * File name selection pattern
2936 tSCC zNested_Auth_DesList[] =
2939 * Machine/OS name selection pattern
2941 #define apzNested_Auth_DesMachs (const char**)NULL
2944 * content selection pattern - do fix if pattern found
2946 tSCC zNested_Auth_DesSelect0[] =
2947 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
2949 #define NESTED_AUTH_DES_TEST_CT 1
2950 static tTestDesc aNested_Auth_DesTests[] = {
2951 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
2954 * Fix Command Arguments for Nested_Auth_Des
2956 static const char* apzNested_Auth_DesPatch[] = {
2961 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2963 * Description of News_Os_Recursion fix
2965 #define NEWS_OS_RECURSION_FIXIDX 71
2966 tSCC zNews_Os_RecursionName[] =
2967 "news_os_recursion";
2970 * File name selection pattern
2972 tSCC zNews_Os_RecursionList[] =
2975 * Machine/OS name selection pattern
2977 #define apzNews_Os_RecursionMachs (const char**)NULL
2980 * content selection pattern - do fix if pattern found
2982 tSCC zNews_Os_RecursionSelect0[] =
2983 "[ \t]*#include <stdlib\\.h>.*";
2985 #define NEWS_OS_RECURSION_TEST_CT 1
2986 static tTestDesc aNews_Os_RecursionTests[] = {
2987 { TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
2990 * Fix Command Arguments for News_Os_Recursion
2992 static const char* apzNews_Os_RecursionPatch[] = {
2994 "#ifdef BOGUS_RECURSION\n\
2999 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3001 * Description of Next_Math_Prefix fix
3003 #define NEXT_MATH_PREFIX_FIXIDX 72
3004 tSCC zNext_Math_PrefixName[] =
3008 * File name selection pattern
3010 tSCC zNext_Math_PrefixList[] =
3013 * Machine/OS name selection pattern
3015 #define apzNext_Math_PrefixMachs (const char**)NULL
3018 * content selection pattern - do fix if pattern found
3020 tSCC zNext_Math_PrefixSelect0[] =
3021 "^extern[ \t]+double[ \t]+__const__[ \t]";
3023 #define NEXT_MATH_PREFIX_TEST_CT 1
3024 static tTestDesc aNext_Math_PrefixTests[] = {
3025 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3028 * Fix Command Arguments for Next_Math_Prefix
3030 static const char* apzNext_Math_PrefixPatch[] = {
3032 "extern double %1(",
3033 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3036 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3038 * Description of Next_Template fix
3040 #define NEXT_TEMPLATE_FIXIDX 73
3041 tSCC zNext_TemplateName[] =
3045 * File name selection pattern
3047 tSCC zNext_TemplateList[] =
3050 * Machine/OS name selection pattern
3052 #define apzNext_TemplateMachs (const char**)NULL
3055 * content selection pattern - do fix if pattern found
3057 tSCC zNext_TemplateSelect0[] =
3060 #define NEXT_TEMPLATE_TEST_CT 1
3061 static tTestDesc aNext_TemplateTests[] = {
3062 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3065 * Fix Command Arguments for Next_Template
3067 static const char* apzNext_TemplatePatch[] = {
3070 "\\(([^)]*)[ \t]template\\)",
3073 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3075 * Description of Next_Volitile fix
3077 #define NEXT_VOLITILE_FIXIDX 74
3078 tSCC zNext_VolitileName[] =
3082 * File name selection pattern
3084 tSCC zNext_VolitileList[] =
3087 * Machine/OS name selection pattern
3089 #define apzNext_VolitileMachs (const char**)NULL
3092 * content selection pattern - do fix if pattern found
3094 tSCC zNext_VolitileSelect0[] =
3095 "^extern[ \t]+volatile[ \t]+void[ \t]";
3097 #define NEXT_VOLITILE_TEST_CT 1
3098 static tTestDesc aNext_VolitileTests[] = {
3099 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3102 * Fix Command Arguments for Next_Volitile
3104 static const char* apzNext_VolitilePatch[] = {
3107 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3112 * Description of Next_Wait_Union fix
3114 #define NEXT_WAIT_UNION_FIXIDX 75
3115 tSCC zNext_Wait_UnionName[] =
3119 * File name selection pattern
3121 tSCC zNext_Wait_UnionList[] =
3124 * Machine/OS name selection pattern
3126 #define apzNext_Wait_UnionMachs (const char**)NULL
3129 * content selection pattern - do fix if pattern found
3131 tSCC zNext_Wait_UnionSelect0[] =
3132 "wait\\(union wait";
3134 #define NEXT_WAIT_UNION_TEST_CT 1
3135 static tTestDesc aNext_Wait_UnionTests[] = {
3136 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3139 * Fix Command Arguments for Next_Wait_Union
3141 static const char* apzNext_Wait_UnionPatch[] = {
3146 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3148 * Description of Nodeent_Syntax fix
3150 #define NODEENT_SYNTAX_FIXIDX 76
3151 tSCC zNodeent_SyntaxName[] =
3155 * File name selection pattern
3157 tSCC zNodeent_SyntaxList[] =
3158 "|netdnet/dnetdb.h|";
3160 * Machine/OS name selection pattern
3162 #define apzNodeent_SyntaxMachs (const char**)NULL
3165 * content selection pattern - do fix if pattern found
3167 tSCC zNodeent_SyntaxSelect0[] =
3168 "char[ \t]*\\*na_addr[ \t]*$";
3170 #define NODEENT_SYNTAX_TEST_CT 1
3171 static tTestDesc aNodeent_SyntaxTests[] = {
3172 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3175 * Fix Command Arguments for Nodeent_Syntax
3177 static const char* apzNodeent_SyntaxPatch[] = {
3182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3184 * Description of Osf_Namespace_A fix
3186 #define OSF_NAMESPACE_A_FIXIDX 77
3187 tSCC zOsf_Namespace_AName[] =
3191 * File name selection pattern
3193 tSCC zOsf_Namespace_AList[] =
3194 "|reg_types.h|sys/lc_core.h|";
3196 * Machine/OS name selection pattern
3198 #define apzOsf_Namespace_AMachs (const char**)NULL
3201 * perform the 'test' shell command - do fix on success
3203 tSCC zOsf_Namespace_ATest0[] =
3205 tSCC zOsf_Namespace_ATest1[] =
3206 " -r sys/lc_core.h";
3207 tSCC zOsf_Namespace_ATest2[] =
3208 " -n \"`grep '} regex_t;' reg_types.h`\"";
3209 tSCC zOsf_Namespace_ATest3[] =
3210 " -z \"`grep __regex_t regex.h`\"";
3212 #define OSF_NAMESPACE_A_TEST_CT 4
3213 static tTestDesc aOsf_Namespace_ATests[] = {
3214 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
3215 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
3216 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
3217 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
3220 * Fix Command Arguments for Osf_Namespace_A
3222 static const char* apzOsf_Namespace_APatch[] = {
3225 "reg(ex|off|match)_t",
3228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3230 * Description of Osf_Namespace_C fix
3232 #define OSF_NAMESPACE_C_FIXIDX 78
3233 tSCC zOsf_Namespace_CName[] =
3237 * File name selection pattern
3239 tSCC zOsf_Namespace_CList[] =
3242 * Machine/OS name selection pattern
3244 #define apzOsf_Namespace_CMachs (const char**)NULL
3247 * content selection pattern - do fix if pattern found
3249 tSCC zOsf_Namespace_CSelect0[] =
3250 "#include <reg_types.h>.*";
3253 * perform the 'test' shell command - do fix on success
3255 tSCC zOsf_Namespace_CTest0[] =
3257 tSCC zOsf_Namespace_CTest1[] =
3258 " -r sys/lc_core.h";
3259 tSCC zOsf_Namespace_CTest2[] =
3260 " -n \"`grep '} regex_t;' reg_types.h`\"";
3261 tSCC zOsf_Namespace_CTest3[] =
3262 " -z \"`grep __regex_t regex.h`\"";
3264 #define OSF_NAMESPACE_C_TEST_CT 5
3265 static tTestDesc aOsf_Namespace_CTests[] = {
3266 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
3267 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
3268 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
3269 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
3270 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
3273 * Fix Command Arguments for Osf_Namespace_C
3275 static const char* apzOsf_Namespace_CPatch[] = {
3278 typedef __regex_t\tregex_t;\n\
3279 typedef __regoff_t\tregoff_t;\n\
3280 typedef __regmatch_t\tregmatch_t;",
3283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3285 * Description of Pthread_Page_Size fix
3287 #define PTHREAD_PAGE_SIZE_FIXIDX 79
3288 tSCC zPthread_Page_SizeName[] =
3289 "pthread_page_size";
3292 * File name selection pattern
3294 tSCC zPthread_Page_SizeList[] =
3297 * Machine/OS name selection pattern
3299 #define apzPthread_Page_SizeMachs (const char**)NULL
3302 * content selection pattern - do fix if pattern found
3304 tSCC zPthread_Page_SizeSelect0[] =
3307 #define PTHREAD_PAGE_SIZE_TEST_CT 1
3308 static tTestDesc aPthread_Page_SizeTests[] = {
3309 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
3312 * Fix Command Arguments for Pthread_Page_Size
3314 static const char* apzPthread_Page_SizePatch[] = {
3319 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3321 * Description of Read_Ret_Type fix
3323 #define READ_RET_TYPE_FIXIDX 80
3324 tSCC zRead_Ret_TypeName[] =
3328 * File name selection pattern
3330 tSCC zRead_Ret_TypeList[] =
3333 * Machine/OS name selection pattern
3335 #define apzRead_Ret_TypeMachs (const char**)NULL
3338 * content selection pattern - do fix if pattern found
3340 tSCC zRead_Ret_TypeSelect0[] =
3341 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
3343 #define READ_RET_TYPE_TEST_CT 1
3344 static tTestDesc aRead_Ret_TypeTests[] = {
3345 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
3348 * Fix Command Arguments for Read_Ret_Type
3350 static const char* apzRead_Ret_TypePatch[] = {
3352 "extern unsigned int fread(), fwrite();\n\
3354 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
3357 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3359 * Description of Rs6000_Double fix
3361 #define RS6000_DOUBLE_FIXIDX 81
3362 tSCC zRs6000_DoubleName[] =
3366 * File name selection pattern
3368 tSCC zRs6000_DoubleList[] =
3371 * Machine/OS name selection pattern
3373 #define apzRs6000_DoubleMachs (const char**)NULL
3376 * content selection pattern - do fix if pattern found
3378 tSCC zRs6000_DoubleSelect0[] =
3379 "[^a-zA-Z_]class\\(";
3381 #define RS6000_DOUBLE_TEST_CT 1
3382 static tTestDesc aRs6000_DoubleTests[] = {
3383 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
3386 * Fix Command Arguments for Rs6000_Double
3388 static const char* apzRs6000_DoublePatch[] = {
3390 "#ifndef __cplusplus\n\
3393 "^.*[^a-zA-Z_]class\\(.*",
3396 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3398 * Description of Rs6000_Fchmod fix
3400 #define RS6000_FCHMOD_FIXIDX 82
3401 tSCC zRs6000_FchmodName[] =
3405 * File name selection pattern
3407 tSCC zRs6000_FchmodList[] =
3410 * Machine/OS name selection pattern
3412 #define apzRs6000_FchmodMachs (const char**)NULL
3415 * content selection pattern - do fix if pattern found
3417 tSCC zRs6000_FchmodSelect0[] =
3418 "fchmod\\(char \\*";
3420 #define RS6000_FCHMOD_TEST_CT 1
3421 static tTestDesc aRs6000_FchmodTests[] = {
3422 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
3425 * Fix Command Arguments for Rs6000_Fchmod
3427 static const char* apzRs6000_FchmodPatch[] = {
3432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3434 * Description of Rs6000_Param fix
3436 #define RS6000_PARAM_FIXIDX 83
3437 tSCC zRs6000_ParamName[] =
3441 * File name selection pattern
3443 tSCC zRs6000_ParamList[] =
3444 "|stdio.h|unistd.h|";
3446 * Machine/OS name selection pattern
3448 #define apzRs6000_ParamMachs (const char**)NULL
3451 * content selection pattern - do fix if pattern found
3453 tSCC zRs6000_ParamSelect0[] =
3454 "rename\\(const char \\*old, const char \\*new\\)";
3456 #define RS6000_PARAM_TEST_CT 1
3457 static tTestDesc aRs6000_ParamTests[] = {
3458 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
3461 * Fix Command Arguments for Rs6000_Param
3463 static const char* apzRs6000_ParamPatch[] = {
3465 "rename(const char *_old, const char *_new)",
3468 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3470 * Description of Sco_Static_Func fix
3472 #define SCO_STATIC_FUNC_FIXIDX 84
3473 tSCC zSco_Static_FuncName[] =
3477 * File name selection pattern
3479 tSCC zSco_Static_FuncList[] =
3482 * Machine/OS name selection pattern
3484 tSCC* apzSco_Static_FuncMachs[] = {
3486 (const char*)NULL };
3489 * content selection pattern - do fix if pattern found
3491 tSCC zSco_Static_FuncSelect0[] =
3494 #define SCO_STATIC_FUNC_TEST_CT 1
3495 static tTestDesc aSco_Static_FuncTests[] = {
3496 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
3499 * Fix Command Arguments for Sco_Static_Func
3501 static const char* apzSco_Static_FuncPatch[] = { "sed",
3502 "-e", "/^static int/i\\\n\
3503 #if __cplusplus\\\n\
3505 #endif /* __cplusplus */",
3507 #if __cplusplus\\\n\
3509 #endif /* __cplusplus */",
3512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3514 * Description of Sco_Strict_Ansi fix
3516 #define SCO_STRICT_ANSI_FIXIDX 85
3517 tSCC zSco_Strict_AnsiName[] =
3521 * File name selection pattern
3523 #define zSco_Strict_AnsiList (char*)NULL
3525 * Machine/OS name selection pattern
3527 tSCC* apzSco_Strict_AnsiMachs[] = {
3529 (const char*)NULL };
3532 * content selection pattern - do fix if pattern found
3534 tSCC zSco_Strict_AnsiSelect0[] =
3535 "^[ \t]*#[ \t]*if.*!__STDC__";
3537 #define SCO_STRICT_ANSI_TEST_CT 1
3538 static tTestDesc aSco_Strict_AnsiTests[] = {
3539 { TT_EGREP, zSco_Strict_AnsiSelect0, (regex_t*)NULL }, };
3542 * Fix Command Arguments for Sco_Strict_Ansi
3544 static const char* apzSco_Strict_AnsiPatch[] = {
3546 "%1defined(__STRICT_ANSI__)%2",
3547 "^([ \t]*#[ \t]*if[ \t].*!)__STDC__(.*)",
3550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3552 * Description of Sco_Utime fix
3554 #define SCO_UTIME_FIXIDX 86
3555 tSCC zSco_UtimeName[] =
3559 * File name selection pattern
3561 tSCC zSco_UtimeList[] =
3564 * Machine/OS name selection pattern
3566 tSCC* apzSco_UtimeMachs[] = {
3568 (const char*)NULL };
3571 * content selection pattern - do fix if pattern found
3573 tSCC zSco_UtimeSelect0[] =
3574 "\\(const char \\*, struct utimbuf \\*\\);";
3576 #define SCO_UTIME_TEST_CT 1
3577 static tTestDesc aSco_UtimeTests[] = {
3578 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
3581 * Fix Command Arguments for Sco_Utime
3583 static const char* apzSco_UtimePatch[] = {
3585 "(const char *, const struct utimbuf *);",
3588 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3590 * Description of Statsswtch fix
3592 #define STATSSWTCH_FIXIDX 87
3593 tSCC zStatsswtchName[] =
3597 * File name selection pattern
3599 tSCC zStatsswtchList[] =
3602 * Machine/OS name selection pattern
3604 #define apzStatsswtchMachs (const char**)NULL
3607 * content selection pattern - do fix if pattern found
3609 tSCC zStatsswtchSelect0[] =
3612 #define STATSSWTCH_TEST_CT 1
3613 static tTestDesc aStatsswtchTests[] = {
3614 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
3617 * Fix Command Arguments for Statsswtch
3619 static const char* apzStatsswtchPatch[] = {
3624 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3626 * Description of Stdio_Stdarg_H fix
3628 #define STDIO_STDARG_H_FIXIDX 88
3629 tSCC zStdio_Stdarg_HName[] =
3633 * File name selection pattern
3635 tSCC zStdio_Stdarg_HList[] =
3638 * Machine/OS name selection pattern
3640 #define apzStdio_Stdarg_HMachs (const char**)NULL
3643 * content bypass pattern - skip fix if pattern found
3645 tSCC zStdio_Stdarg_HBypass0[] =
3646 "include.*(stdarg.h|machine/ansi.h)";
3648 #define STDIO_STDARG_H_TEST_CT 1
3649 static tTestDesc aStdio_Stdarg_HTests[] = {
3650 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
3653 * Fix Command Arguments for Stdio_Stdarg_H
3655 static const char* apzStdio_Stdarg_HPatch[] = {
3657 "#define __need___va_list\n\
3658 #include <stdarg.h>\n",
3661 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3663 * Description of Stdio_Va_List fix
3665 #define STDIO_VA_LIST_FIXIDX 89
3666 tSCC zStdio_Va_ListName[] =
3670 * File name selection pattern
3672 tSCC zStdio_Va_ListList[] =
3675 * Machine/OS name selection pattern
3677 #define apzStdio_Va_ListMachs (const char**)NULL
3680 * content bypass pattern - skip fix if pattern found
3682 tSCC zStdio_Va_ListBypass0[] =
3683 "__gnuc_va_list|_BSD_VA_LIST_";
3685 #define STDIO_VA_LIST_TEST_CT 1
3686 static tTestDesc aStdio_Va_ListTests[] = {
3687 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
3690 * Fix Command Arguments for Stdio_Va_List
3692 static const char* apzStdio_Va_ListPatch[] = { "sed",
3693 "-e", "s@ va_list @ __gnuc_va_list @\n\
3694 s@ va_list)@ __gnuc_va_list)@\n\
3695 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
3696 s@ va_list@ __not_va_list__@\n\
3697 s@\\*va_list@*__not_va_list__@\n\
3698 s@ __va_list)@ __gnuc_va_list)@\n\
3699 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
3700 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
3701 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
3702 s@VA_LIST@DUMMY_VA_LIST@\n\
3703 s@_Va_LIST@_VA_LIST@",
3706 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3708 * Description of Struct_File fix
3710 #define STRUCT_FILE_FIXIDX 90
3711 tSCC zStruct_FileName[] =
3715 * File name selection pattern
3717 tSCC zStruct_FileList[] =
3720 * Machine/OS name selection pattern
3722 #define apzStruct_FileMachs (const char**)NULL
3725 * content selection pattern - do fix if pattern found
3727 tSCC zStruct_FileSelect0[] =
3728 "^.*xdrstdio_create.*struct __file_s";
3730 #define STRUCT_FILE_TEST_CT 1
3731 static tTestDesc aStruct_FileTests[] = {
3732 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
3735 * Fix Command Arguments for Struct_File
3737 static const char* apzStruct_FilePatch[] = {
3739 "struct __file_s;\n\
3743 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3745 * Description of Struct_Sockaddr fix
3747 #define STRUCT_SOCKADDR_FIXIDX 91
3748 tSCC zStruct_SockaddrName[] =
3752 * File name selection pattern
3754 tSCC zStruct_SockaddrList[] =
3757 * Machine/OS name selection pattern
3759 #define apzStruct_SockaddrMachs (const char**)NULL
3762 * content selection pattern - do fix if pattern found
3764 tSCC zStruct_SockaddrSelect0[] =
3765 "^.*authdes_create.*struct sockaddr";
3768 * content bypass pattern - skip fix if pattern found
3770 tSCC zStruct_SockaddrBypass0[] =
3773 #define STRUCT_SOCKADDR_TEST_CT 2
3774 static tTestDesc aStruct_SockaddrTests[] = {
3775 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
3776 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
3779 * Fix Command Arguments for Struct_Sockaddr
3781 static const char* apzStruct_SockaddrPatch[] = {
3783 "struct sockaddr;\n\
3787 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3789 * Description of Sun_Auth_Proto fix
3791 #define SUN_AUTH_PROTO_FIXIDX 92
3792 tSCC zSun_Auth_ProtoName[] =
3796 * File name selection pattern
3798 tSCC zSun_Auth_ProtoList[] =
3799 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
3801 * Machine/OS name selection pattern
3803 #define apzSun_Auth_ProtoMachs (const char**)NULL
3806 * content selection pattern - do fix if pattern found
3808 tSCC zSun_Auth_ProtoSelect0[] =
3809 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
3811 #define SUN_AUTH_PROTO_TEST_CT 1
3812 static tTestDesc aSun_Auth_ProtoTests[] = {
3813 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
3816 * Fix Command Arguments for Sun_Auth_Proto
3818 static const char* apzSun_Auth_ProtoPatch[] = {
3820 "#ifdef __cplusplus\n\
3825 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
3828 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3830 * Description of Sun_Bogus_Ifdef fix
3832 #define SUN_BOGUS_IFDEF_FIXIDX 93
3833 tSCC zSun_Bogus_IfdefName[] =
3837 * File name selection pattern
3839 tSCC zSun_Bogus_IfdefList[] =
3840 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
3842 * Machine/OS name selection pattern
3844 #define apzSun_Bogus_IfdefMachs (const char**)NULL
3847 * content selection pattern - do fix if pattern found
3849 tSCC zSun_Bogus_IfdefSelect0[] =
3850 "#ifdef(.*\\|\\|.*)";
3852 #define SUN_BOGUS_IFDEF_TEST_CT 1
3853 static tTestDesc aSun_Bogus_IfdefTests[] = {
3854 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
3857 * Fix Command Arguments for Sun_Bogus_Ifdef
3859 static const char* apzSun_Bogus_IfdefPatch[] = {
3864 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3866 * Description of Sun_Catmacro fix
3868 #define SUN_CATMACRO_FIXIDX 94
3869 tSCC zSun_CatmacroName[] =
3873 * File name selection pattern
3875 tSCC zSun_CatmacroList[] =
3876 "|pixrect/memvar.h|";
3878 * Machine/OS name selection pattern
3880 #define apzSun_CatmacroMachs (const char**)NULL
3883 * content selection pattern - do fix if pattern found
3885 tSCC zSun_CatmacroSelect0[] =
3886 "^#define[ \t]+CAT\\(a,b\\).*";
3888 #define SUN_CATMACRO_TEST_CT 1
3889 static tTestDesc aSun_CatmacroTests[] = {
3890 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
3893 * Fix Command Arguments for Sun_Catmacro
3895 static const char* apzSun_CatmacroPatch[] = {
3898 # define CAT(a,b) a##b\n\
3904 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3906 * Description of Sun_Malloc fix
3908 #define SUN_MALLOC_FIXIDX 95
3909 tSCC zSun_MallocName[] =
3913 * File name selection pattern
3915 tSCC zSun_MallocList[] =
3918 * Machine/OS name selection pattern
3920 #define apzSun_MallocMachs (const char**)NULL
3921 #define SUN_MALLOC_TEST_CT 0
3922 #define aSun_MallocTests (tTestDesc*)NULL
3925 * Fix Command Arguments for Sun_Malloc
3927 static const char* apzSun_MallocPatch[] = { "sed",
3928 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
3929 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
3930 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
3931 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
3932 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
3935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3937 * Description of Sun_Rusers_Semi fix
3939 #define SUN_RUSERS_SEMI_FIXIDX 96
3940 tSCC zSun_Rusers_SemiName[] =
3944 * File name selection pattern
3946 tSCC zSun_Rusers_SemiList[] =
3947 "|rpcsvc/rusers.h|";
3949 * Machine/OS name selection pattern
3951 #define apzSun_Rusers_SemiMachs (const char**)NULL
3954 * content selection pattern - do fix if pattern found
3956 tSCC zSun_Rusers_SemiSelect0[] =
3959 #define SUN_RUSERS_SEMI_TEST_CT 1
3960 static tTestDesc aSun_Rusers_SemiTests[] = {
3961 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
3964 * Fix Command Arguments for Sun_Rusers_Semi
3966 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
3967 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
3970 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3972 * Description of Sun_Signal fix
3974 #define SUN_SIGNAL_FIXIDX 97
3975 tSCC zSun_SignalName[] =
3979 * File name selection pattern
3981 tSCC zSun_SignalList[] =
3982 "|sys/signal.h|signal.h|";
3984 * Machine/OS name selection pattern
3986 #define apzSun_SignalMachs (const char**)NULL
3989 * content selection pattern - do fix if pattern found
3991 tSCC zSun_SignalSelect0[] =
3992 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
3994 #define SUN_SIGNAL_TEST_CT 1
3995 static tTestDesc aSun_SignalTests[] = {
3996 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
3999 * Fix Command Arguments for Sun_Signal
4001 static const char* apzSun_SignalPatch[] = {
4003 "#ifdef __cplusplus\n\
4004 void\t(*signal(...))(...);\n\
4010 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4012 * Description of Sunos_Matherr_Decl fix
4014 #define SUNOS_MATHERR_DECL_FIXIDX 98
4015 tSCC zSunos_Matherr_DeclName[] =
4016 "sunos_matherr_decl";
4019 * File name selection pattern
4021 tSCC zSunos_Matherr_DeclList[] =
4024 * Machine/OS name selection pattern
4026 #define apzSunos_Matherr_DeclMachs (const char**)NULL
4029 * content selection pattern - do fix if pattern found
4031 tSCC zSunos_Matherr_DeclSelect0[] =
4035 * content bypass pattern - skip fix if pattern found
4037 tSCC zSunos_Matherr_DeclBypass0[] =
4038 "matherr.*(struct exception|__MATH_EXCEPTION)";
4040 #define SUNOS_MATHERR_DECL_TEST_CT 2
4041 static tTestDesc aSunos_Matherr_DeclTests[] = {
4042 { TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
4043 { TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
4046 * Fix Command Arguments for Sunos_Matherr_Decl
4048 static const char* apzSunos_Matherr_DeclPatch[] = {
4050 "struct exception;\n",
4053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4055 * Description of Sunos_Strlen fix
4057 #define SUNOS_STRLEN_FIXIDX 99
4058 tSCC zSunos_StrlenName[] =
4062 * File name selection pattern
4064 tSCC zSunos_StrlenList[] =
4067 * Machine/OS name selection pattern
4069 #define apzSunos_StrlenMachs (const char**)NULL
4072 * content selection pattern - do fix if pattern found
4074 tSCC zSunos_StrlenSelect0[] =
4075 "int[ \t]*strlen\\(\\);(.*)";
4077 #define SUNOS_STRLEN_TEST_CT 1
4078 static tTestDesc aSunos_StrlenTests[] = {
4079 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
4082 * Fix Command Arguments for Sunos_Strlen
4084 static const char* apzSunos_StrlenPatch[] = {
4086 "__SIZE_TYPE__ strlen();%1",
4089 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4091 * Description of Svr4__P fix
4093 #define SVR4__P_FIXIDX 100
4094 tSCC zSvr4__PName[] =
4098 * File name selection pattern
4100 tSCC zSvr4__PList[] =
4101 "|math.h|floatingpoint.h|";
4103 * Machine/OS name selection pattern
4105 #define apzSvr4__PMachs (const char**)NULL
4108 * content selection pattern - do fix if pattern found
4110 tSCC zSvr4__PSelect0[] =
4111 "^#define[ \t]+__P.*";
4113 #define SVR4__P_TEST_CT 1
4114 static tTestDesc aSvr4__PTests[] = {
4115 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
4118 * Fix Command Arguments for Svr4__P
4120 static const char* apzSvr4__PPatch[] = {
4127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4129 * Description of Svr4_Getcwd fix
4131 #define SVR4_GETCWD_FIXIDX 101
4132 tSCC zSvr4_GetcwdName[] =
4136 * File name selection pattern
4138 tSCC zSvr4_GetcwdList[] =
4139 "|stdlib.h|unistd.h|prototypes.h|";
4141 * Machine/OS name selection pattern
4143 #define apzSvr4_GetcwdMachs (const char**)NULL
4146 * content selection pattern - do fix if pattern found
4148 tSCC zSvr4_GetcwdSelect0[] =
4149 "getcwd\\(char \\*, int\\)";
4151 #define SVR4_GETCWD_TEST_CT 1
4152 static tTestDesc aSvr4_GetcwdTests[] = {
4153 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
4156 * Fix Command Arguments for Svr4_Getcwd
4158 static const char* apzSvr4_GetcwdPatch[] = {
4160 "getcwd(char *, size_t)",
4163 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4165 * Description of Svr4_Profil fix
4167 #define SVR4_PROFIL_FIXIDX 102
4168 tSCC zSvr4_ProfilName[] =
4172 * File name selection pattern
4174 tSCC zSvr4_ProfilList[] =
4175 "|stdlib.h|unistd.h|";
4177 * Machine/OS name selection pattern
4179 #define apzSvr4_ProfilMachs (const char**)NULL
4182 * content selection pattern - do fix if pattern found
4184 tSCC zSvr4_ProfilSelect0[] =
4185 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
4187 #define SVR4_PROFIL_TEST_CT 1
4188 static tTestDesc aSvr4_ProfilTests[] = {
4189 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
4192 * Fix Command Arguments for Svr4_Profil
4194 static const char* apzSvr4_ProfilPatch[] = {
4196 "profil(unsigned short *, size_t, int, unsigned int)",
4199 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4201 * Description of Gnu_Types fix
4203 #define GNU_TYPES_FIXIDX 103
4204 tSCC zGnu_TypesName[] =
4208 * File name selection pattern
4210 tSCC zGnu_TypesList[] =
4211 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
4213 * Machine/OS name selection pattern
4215 #define apzGnu_TypesMachs (const char**)NULL
4218 * content selection pattern - do fix if pattern found
4220 tSCC zGnu_TypesSelect0[] =
4221 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4224 * content bypass pattern - skip fix if pattern found
4226 tSCC zGnu_TypesBypass0[] =
4227 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4229 #define GNU_TYPES_TEST_CT 2
4230 static tTestDesc aGnu_TypesTests[] = {
4231 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4232 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4235 * Fix Command Arguments for Gnu_Types
4237 static const char* apzGnu_TypesPatch[] = {
4241 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4243 * Description of Sysv68_String fix
4245 #define SYSV68_STRING_FIXIDX 104
4246 tSCC zSysv68_StringName[] =
4250 * File name selection pattern
4252 tSCC zSysv68_StringList[] =
4253 "|testing.h|string.h|";
4255 * Machine/OS name selection pattern
4257 #define apzSysv68_StringMachs (const char**)NULL
4258 #define SYSV68_STRING_TEST_CT 0
4259 #define aSysv68_StringTests (tTestDesc*)NULL
4262 * Fix Command Arguments for Sysv68_String
4264 static const char* apzSysv68_StringPatch[] = { "sed",
4265 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
4266 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
4267 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
4268 "-e", "/^extern char$/N",
4269 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
4270 "-e", "/^extern int$/N",
4271 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
4272 "-e", "/^\tstrncmp(),$/N",
4273 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
4274 extern unsigned int\\\n\
4278 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4280 * Description of Sysz_Stdlib_For_Sun fix
4282 #define SYSZ_STDLIB_FOR_SUN_FIXIDX 105
4283 tSCC zSysz_Stdlib_For_SunName[] =
4284 "sysz_stdlib_for_sun";
4287 * File name selection pattern
4289 tSCC zSysz_Stdlib_For_SunList[] =
4292 * Machine/OS name selection pattern
4294 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
4297 * content selection pattern - do fix if pattern found
4299 tSCC zSysz_Stdlib_For_SunSelect0[] =
4300 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
4302 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
4303 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
4304 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
4307 * Fix Command Arguments for Sysz_Stdlib_For_Sun
4309 static const char* apzSysz_Stdlib_For_SunPatch[] = {
4314 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4316 * Description of Tinfo_Cplusplus fix
4318 #define TINFO_CPLUSPLUS_FIXIDX 106
4319 tSCC zTinfo_CplusplusName[] =
4323 * File name selection pattern
4325 tSCC zTinfo_CplusplusList[] =
4328 * Machine/OS name selection pattern
4330 #define apzTinfo_CplusplusMachs (const char**)NULL
4333 * content selection pattern - do fix if pattern found
4335 tSCC zTinfo_CplusplusSelect0[] =
4338 #define TINFO_CPLUSPLUS_TEST_CT 1
4339 static tTestDesc aTinfo_CplusplusTests[] = {
4340 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
4343 * Fix Command Arguments for Tinfo_Cplusplus
4345 static const char* apzTinfo_CplusplusPatch[] = {
4350 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4352 * Description of Ultrix_Atof_Param fix
4354 #define ULTRIX_ATOF_PARAM_FIXIDX 107
4355 tSCC zUltrix_Atof_ParamName[] =
4356 "ultrix_atof_param";
4359 * File name selection pattern
4361 tSCC zUltrix_Atof_ParamList[] =
4364 * Machine/OS name selection pattern
4366 #define apzUltrix_Atof_ParamMachs (const char**)NULL
4369 * content selection pattern - do fix if pattern found
4371 tSCC zUltrix_Atof_ParamSelect0[] =
4372 "atof\\([ \t]*char";
4374 #define ULTRIX_ATOF_PARAM_TEST_CT 1
4375 static tTestDesc aUltrix_Atof_ParamTests[] = {
4376 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
4379 * Fix Command Arguments for Ultrix_Atof_Param
4381 static const char* apzUltrix_Atof_ParamPatch[] = {
4386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4388 * Description of Ultrix_Const fix
4390 #define ULTRIX_CONST_FIXIDX 108
4391 tSCC zUltrix_ConstName[] =
4395 * File name selection pattern
4397 tSCC zUltrix_ConstList[] =
4400 * Machine/OS name selection pattern
4402 #define apzUltrix_ConstMachs (const char**)NULL
4405 * content selection pattern - do fix if pattern found
4407 tSCC zUltrix_ConstSelect0[] =
4408 "perror\\( char \\*";
4410 #define ULTRIX_CONST_TEST_CT 1
4411 static tTestDesc aUltrix_ConstTests[] = {
4412 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
4415 * Fix Command Arguments for Ultrix_Const
4417 static const char* apzUltrix_ConstPatch[] = {
4420 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
4423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4425 * Description of Ultrix_Const2 fix
4427 #define ULTRIX_CONST2_FIXIDX 109
4428 tSCC zUltrix_Const2Name[] =
4432 * File name selection pattern
4434 tSCC zUltrix_Const2List[] =
4437 * Machine/OS name selection pattern
4439 #define apzUltrix_Const2Machs (const char**)NULL
4442 * content selection pattern - do fix if pattern found
4444 tSCC zUltrix_Const2Select0[] =
4445 "\\*fopen\\( char \\*";
4447 #define ULTRIX_CONST2_TEST_CT 1
4448 static tTestDesc aUltrix_Const2Tests[] = {
4449 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
4452 * Fix Command Arguments for Ultrix_Const2
4454 static const char* apzUltrix_Const2Patch[] = {
4456 "%1( const char *%3, const char *",
4457 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
4460 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4462 * Description of Ultrix_Fix_Fixproto fix
4464 #define ULTRIX_FIX_FIXPROTO_FIXIDX 110
4465 tSCC zUltrix_Fix_FixprotoName[] =
4466 "ultrix_fix_fixproto";
4469 * File name selection pattern
4471 tSCC zUltrix_Fix_FixprotoList[] =
4474 * Machine/OS name selection pattern
4476 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
4479 * content selection pattern - do fix if pattern found
4481 tSCC zUltrix_Fix_FixprotoSelect0[] =
4484 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
4485 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
4486 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
4489 * Fix Command Arguments for Ultrix_Fix_Fixproto
4491 static const char* apzUltrix_Fix_FixprotoPatch[] = {
4495 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
4498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4500 * Description of Ultrix_Ifdef fix
4502 #define ULTRIX_IFDEF_FIXIDX 111
4503 tSCC zUltrix_IfdefName[] =
4507 * File name selection pattern
4509 tSCC zUltrix_IfdefList[] =
4512 * Machine/OS name selection pattern
4514 #define apzUltrix_IfdefMachs (const char**)NULL
4517 * content selection pattern - do fix if pattern found
4519 tSCC zUltrix_IfdefSelect0[] =
4520 "^#ifdef KERNEL[ \t]+&&";
4522 #define ULTRIX_IFDEF_TEST_CT 1
4523 static tTestDesc aUltrix_IfdefTests[] = {
4524 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
4527 * Fix Command Arguments for Ultrix_Ifdef
4529 static const char* apzUltrix_IfdefPatch[] = {
4531 "#if defined(KERNEL) &&",
4534 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4536 * Description of Ultrix_Math_Ifdef fix
4538 #define ULTRIX_MATH_IFDEF_FIXIDX 112
4539 tSCC zUltrix_Math_IfdefName[] =
4540 "ultrix_math_ifdef";
4543 * File name selection pattern
4545 tSCC zUltrix_Math_IfdefList[] =
4546 "|sys/limits.h|float.h|math.h|";
4548 * Machine/OS name selection pattern
4550 #define apzUltrix_Math_IfdefMachs (const char**)NULL
4553 * content selection pattern - do fix if pattern found
4555 tSCC zUltrix_Math_IfdefSelect0[] =
4556 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
4558 #define ULTRIX_MATH_IFDEF_TEST_CT 1
4559 static tTestDesc aUltrix_Math_IfdefTests[] = {
4560 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
4563 * Fix Command Arguments for Ultrix_Math_Ifdef
4565 static const char* apzUltrix_Math_IfdefPatch[] = {
4570 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4572 * Description of Ultrix_Nested_Ioctl fix
4574 #define ULTRIX_NESTED_IOCTL_FIXIDX 113
4575 tSCC zUltrix_Nested_IoctlName[] =
4576 "ultrix_nested_ioctl";
4579 * File name selection pattern
4581 tSCC zUltrix_Nested_IoctlList[] =
4584 * Machine/OS name selection pattern
4586 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
4589 * content selection pattern - do fix if pattern found
4591 tSCC zUltrix_Nested_IoctlSelect0[] =
4592 "^/\\* #define SIOCSCREEN";
4594 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
4595 static tTestDesc aUltrix_Nested_IoctlTests[] = {
4596 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
4599 * Fix Command Arguments for Ultrix_Nested_Ioctl
4601 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
4602 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
4605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4607 * Description of Ultrix_Nested_Svc fix
4609 #define ULTRIX_NESTED_SVC_FIXIDX 114
4610 tSCC zUltrix_Nested_SvcName[] =
4611 "ultrix_nested_svc";
4614 * File name selection pattern
4616 tSCC zUltrix_Nested_SvcList[] =
4619 * Machine/OS name selection pattern
4621 #define apzUltrix_Nested_SvcMachs (const char**)NULL
4624 * content selection pattern - do fix if pattern found
4626 tSCC zUltrix_Nested_SvcSelect0[] =
4627 "^ \\*[ \t]*int protocol; */\\*";
4629 #define ULTRIX_NESTED_SVC_TEST_CT 1
4630 static tTestDesc aUltrix_Nested_SvcTests[] = {
4631 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
4634 * Fix Command Arguments for Ultrix_Nested_Svc
4636 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
4637 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
4640 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4642 * Description of Ultrix_Stat fix
4644 #define ULTRIX_STAT_FIXIDX 115
4645 tSCC zUltrix_StatName[] =
4649 * File name selection pattern
4651 tSCC zUltrix_StatList[] =
4654 * Machine/OS name selection pattern
4656 #define apzUltrix_StatMachs (const char**)NULL
4659 * content selection pattern - do fix if pattern found
4661 tSCC zUltrix_StatSelect0[] =
4662 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
4664 #define ULTRIX_STAT_TEST_CT 1
4665 static tTestDesc aUltrix_StatTests[] = {
4666 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
4669 * Fix Command Arguments for Ultrix_Stat
4671 static const char* apzUltrix_StatPatch[] = { "sed",
4672 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
4674 /* macro to test for symbolic link */\\\n\
4675 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\
4677 "-e", "/^[ \t]*fstat(),$/a\\\n\
4681 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4683 * Description of Ultrix_Static fix
4685 #define ULTRIX_STATIC_FIXIDX 116
4686 tSCC zUltrix_StaticName[] =
4690 * File name selection pattern
4692 tSCC zUltrix_StaticList[] =
4695 * Machine/OS name selection pattern
4697 #define apzUltrix_StaticMachs (const char**)NULL
4700 * content selection pattern - do fix if pattern found
4702 tSCC zUltrix_StaticSelect0[] =
4703 "#include \"r[34]_cpu";
4705 #define ULTRIX_STATIC_TEST_CT 1
4706 static tTestDesc aUltrix_StaticTests[] = {
4707 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
4710 * Fix Command Arguments for Ultrix_Static
4712 static const char* apzUltrix_StaticPatch[] = { "sed",
4713 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
4714 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
4715 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
4718 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4720 * Description of Ultrix_Strings fix
4722 #define ULTRIX_STRINGS_FIXIDX 117
4723 tSCC zUltrix_StringsName[] =
4727 * File name selection pattern
4729 tSCC zUltrix_StringsList[] =
4732 * Machine/OS name selection pattern
4734 #define apzUltrix_StringsMachs (const char**)NULL
4737 * content selection pattern - do fix if pattern found
4739 tSCC zUltrix_StringsSelect0[] =
4740 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
4742 #define ULTRIX_STRINGS_TEST_CT 1
4743 static tTestDesc aUltrix_StringsTests[] = {
4744 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
4747 * Fix Command Arguments for Ultrix_Strings
4749 static const char* apzUltrix_StringsPatch[] = {
4753 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4755 * Description of Undefine_Null fix
4757 #define UNDEFINE_NULL_FIXIDX 118
4758 tSCC zUndefine_NullName[] =
4762 * File name selection pattern
4764 #define zUndefine_NullList (char*)NULL
4766 * Machine/OS name selection pattern
4768 #define apzUndefine_NullMachs (const char**)NULL
4771 * content selection pattern - do fix if pattern found
4773 tSCC zUndefine_NullSelect0[] =
4774 "^#[ \t]*define[ \t]+NULL[ \t]";
4777 * content bypass pattern - skip fix if pattern found
4779 tSCC zUndefine_NullBypass0[] =
4780 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
4782 #define UNDEFINE_NULL_TEST_CT 2
4783 static tTestDesc aUndefine_NullTests[] = {
4784 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
4785 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
4788 * Fix Command Arguments for Undefine_Null
4790 static const char* apzUndefine_NullPatch[] = {
4795 "^#[ \t]*define[ \t]*[ \t]NULL([^\r\n\
4799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4801 * Description of Uw7_Byteorder_Fix fix
4803 #define UW7_BYTEORDER_FIX_FIXIDX 119
4804 tSCC zUw7_Byteorder_FixName[] =
4805 "uw7_byteorder_fix";
4808 * File name selection pattern
4810 tSCC zUw7_Byteorder_FixList[] =
4813 * Machine/OS name selection pattern
4815 tSCC* apzUw7_Byteorder_FixMachs[] = {
4819 "i?86-*-solaris2.[0-4]",
4820 "powerpcle-*-solaris2.[0-4]",
4821 "sparc-*-solaris2.[0-4]",
4822 (const char*)NULL };
4825 * content selection pattern - do fix if pattern found
4827 tSCC zUw7_Byteorder_FixSelect0[] =
4831 * perform the 'test' shell command - do fix on success
4833 tSCC zUw7_Byteorder_FixTest0[] =
4834 "-f $DESTDIR/sys/byteorder.h";
4836 #define UW7_BYTEORDER_FIX_TEST_CT 2
4837 static tTestDesc aUw7_Byteorder_FixTests[] = {
4838 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
4839 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
4842 * Fix Command Arguments for Uw7_Byteorder_Fix
4844 static const char* apzUw7_Byteorder_FixPatch[] = {
4847 "^extern.*(htons|ntohs).*\\(in_port_t\\).*\n",
4850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4852 * Description of Va_I960_Macro fix
4854 #define VA_I960_MACRO_FIXIDX 120
4855 tSCC zVa_I960_MacroName[] =
4859 * File name selection pattern
4861 tSCC zVa_I960_MacroList[] =
4862 "|arch/i960/archI960.h|";
4864 * Machine/OS name selection pattern
4866 #define apzVa_I960_MacroMachs (const char**)NULL
4869 * content selection pattern - do fix if pattern found
4871 tSCC zVa_I960_MacroSelect0[] =
4872 "__(vsiz|vali|vpad|alignof__)";
4874 #define VA_I960_MACRO_TEST_CT 1
4875 static tTestDesc aVa_I960_MacroTests[] = {
4876 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
4879 * Fix Command Arguments for Va_I960_Macro
4881 static const char* apzVa_I960_MacroPatch[] = {
4886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4888 * Description of Void_Null fix
4890 #define VOID_NULL_FIXIDX 121
4891 tSCC zVoid_NullName[] =
4895 * File name selection pattern
4897 tSCC zVoid_NullList[] =
4898 "|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|";
4900 * Machine/OS name selection pattern
4902 #define apzVoid_NullMachs (const char**)NULL
4905 * content selection pattern - do fix if pattern found
4907 tSCC zVoid_NullSelect0[] =
4908 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
4910 #define VOID_NULL_TEST_CT 1
4911 static tTestDesc aVoid_NullTests[] = {
4912 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
4915 * Fix Command Arguments for Void_Null
4917 static const char* apzVoid_NullPatch[] = {
4922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4924 * Description of Vxworks_Gcc_Problem fix
4926 #define VXWORKS_GCC_PROBLEM_FIXIDX 122
4927 tSCC zVxworks_Gcc_ProblemName[] =
4928 "vxworks_gcc_problem";
4931 * File name selection pattern
4933 tSCC zVxworks_Gcc_ProblemList[] =
4934 "|types/vxTypesBase.h|";
4936 * Machine/OS name selection pattern
4938 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
4941 * content selection pattern - do fix if pattern found
4943 tSCC zVxworks_Gcc_ProblemSelect0[] =
4944 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
4946 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
4947 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
4948 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
4951 * Fix Command Arguments for Vxworks_Gcc_Problem
4953 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
4954 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
4955 "-e", "/[ \t]size_t/i\\\n\
4956 #ifndef _GCC_SIZE_T\\\n\
4957 #define _GCC_SIZE_T\n",
4958 "-e", "/[ \t]size_t/a\\\n\
4960 "-e", "/[ \t]ptrdiff_t/i\\\n\
4961 #ifndef _GCC_PTRDIFF_T\\\n\
4962 #define _GCC_PTRDIFF_T\n",
4963 "-e", "/[ \t]ptrdiff_t/a\\\n\
4965 "-e", "/[ \t]wchar_t/i\\\n\
4966 #ifndef _GCC_WCHAR_T\\\n\
4967 #define _GCC_WCHAR_T\n",
4968 "-e", "/[ \t]wchar_t/a\\\n\
4972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4974 * Description of Vxworks_Needs_Vxtypes fix
4976 #define VXWORKS_NEEDS_VXTYPES_FIXIDX 123
4977 tSCC zVxworks_Needs_VxtypesName[] =
4978 "vxworks_needs_vxtypes";
4981 * File name selection pattern
4983 tSCC zVxworks_Needs_VxtypesList[] =
4986 * Machine/OS name selection pattern
4988 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
4991 * content selection pattern - do fix if pattern found
4993 tSCC zVxworks_Needs_VxtypesSelect0[] =
4994 "uint_t([ \t]+_clocks_per_sec)";
4996 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
4997 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
4998 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
5001 * Fix Command Arguments for Vxworks_Needs_Vxtypes
5003 static const char* apzVxworks_Needs_VxtypesPatch[] = {
5008 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5010 * Description of Vxworks_Needs_Vxworks fix
5012 #define VXWORKS_NEEDS_VXWORKS_FIXIDX 124
5013 tSCC zVxworks_Needs_VxworksName[] =
5014 "vxworks_needs_vxworks";
5017 * File name selection pattern
5019 tSCC zVxworks_Needs_VxworksList[] =
5022 * Machine/OS name selection pattern
5024 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
5027 * content selection pattern - do fix if pattern found
5029 tSCC zVxworks_Needs_VxworksSelect0[] =
5030 "#[ \t]define[ \t]+__INCstath";
5033 * perform the 'test' shell command - do fix on success
5035 tSCC zVxworks_Needs_VxworksTest0[] =
5036 " -r types/vxTypesOld.h";
5037 tSCC zVxworks_Needs_VxworksTest1[] =
5038 " -n \"`egrep '#include' $file`\"";
5039 tSCC zVxworks_Needs_VxworksTest2[] =
5040 " -n \"`egrep ULONG $file`\"";
5042 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
5043 static tTestDesc aVxworks_Needs_VxworksTests[] = {
5044 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
5045 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
5046 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
5047 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
5050 * Fix Command Arguments for Vxworks_Needs_Vxworks
5052 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
5053 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
5054 #include <types/vxTypesOld.h>\n",
5057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5059 * Description of Vxworks_Time fix
5061 #define VXWORKS_TIME_FIXIDX 125
5062 tSCC zVxworks_TimeName[] =
5066 * File name selection pattern
5068 tSCC zVxworks_TimeList[] =
5071 * Machine/OS name selection pattern
5073 #define apzVxworks_TimeMachs (const char**)NULL
5076 * content selection pattern - do fix if pattern found
5078 tSCC zVxworks_TimeSelect0[] =
5079 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
5082 * perform the 'test' shell command - do fix on success
5084 tSCC zVxworks_TimeTest0[] =
5087 #define VXWORKS_TIME_TEST_CT 2
5088 static tTestDesc aVxworks_TimeTests[] = {
5089 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
5090 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
5093 * Fix Command Arguments for Vxworks_Time
5095 static const char* apzVxworks_TimePatch[] = {
5097 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
5098 #ifdef __cplusplus\n\
5099 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
5101 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
5103 #define __gcc_VOIDFUNCPTR_defined\n\
5105 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
5108 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5110 * Description of X11_Class fix
5112 #define X11_CLASS_FIXIDX 126
5113 tSCC zX11_ClassName[] =
5117 * File name selection pattern
5119 tSCC zX11_ClassList[] =
5122 * Machine/OS name selection pattern
5124 #define apzX11_ClassMachs (const char**)NULL
5127 * content selection pattern - do fix if pattern found
5129 tSCC zX11_ClassSelect0[] =
5130 "^([ \t]*char \\*)class;(.*)";
5133 * content bypass pattern - skip fix if pattern found
5135 tSCC zX11_ClassBypass0[] =
5138 #define X11_CLASS_TEST_CT 2
5139 static tTestDesc aX11_ClassTests[] = {
5140 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
5141 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
5144 * Fix Command Arguments for X11_Class
5146 static const char* apzX11_ClassPatch[] = {
5148 "#ifdef __cplusplus\n\
5155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5157 * Description of X11_Class_Usage fix
5159 #define X11_CLASS_USAGE_FIXIDX 127
5160 tSCC zX11_Class_UsageName[] =
5164 * File name selection pattern
5166 tSCC zX11_Class_UsageList[] =
5167 "|Xm/BaseClassI.h|";
5169 * Machine/OS name selection pattern
5171 #define apzX11_Class_UsageMachs (const char**)NULL
5174 * content selection pattern - do fix if pattern found
5176 tSCC zX11_Class_UsageSelect0[] =
5180 * content bypass pattern - skip fix if pattern found
5182 tSCC zX11_Class_UsageBypass0[] =
5185 #define X11_CLASS_USAGE_TEST_CT 2
5186 static tTestDesc aX11_Class_UsageTests[] = {
5187 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
5188 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
5191 * Fix Command Arguments for X11_Class_Usage
5193 static const char* apzX11_Class_UsagePatch[] = {
5198 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5200 * Description of X11_New fix
5202 #define X11_NEW_FIXIDX 128
5203 tSCC zX11_NewName[] =
5207 * File name selection pattern
5209 tSCC zX11_NewList[] =
5212 * Machine/OS name selection pattern
5214 #define apzX11_NewMachs (const char**)NULL
5217 * content bypass pattern - skip fix if pattern found
5219 tSCC zX11_NewBypass0[] =
5222 #define X11_NEW_TEST_CT 1
5223 static tTestDesc aX11_NewTests[] = {
5224 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
5227 * Fix Command Arguments for X11_New
5229 static const char* apzX11_NewPatch[] = { "sed",
5230 "-e", "/Widget\told, new;/i\\\n\
5231 #ifdef __cplusplus\\\n\
5232 \tWidget\told, c_new;\\\n\
5234 "-e", "/Widget\told, new;/a\\\n\
5236 "-e", "s/Widget new,/Widget c_new,/g",
5239 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5241 * Description of X11_Sprintf fix
5243 #define X11_SPRINTF_FIXIDX 129
5244 tSCC zX11_SprintfName[] =
5248 * File name selection pattern
5250 tSCC zX11_SprintfList[] =
5251 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
5253 * Machine/OS name selection pattern
5255 #define apzX11_SprintfMachs (const char**)NULL
5258 * content selection pattern - do fix if pattern found
5260 tSCC zX11_SprintfSelect0[] =
5261 "^extern char \\*\tsprintf\\(\\);$";
5263 #define X11_SPRINTF_TEST_CT 1
5264 static tTestDesc aX11_SprintfTests[] = {
5265 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
5268 * Fix Command Arguments for X11_Sprintf
5270 static const char* apzX11_SprintfPatch[] = {
5272 "#ifndef __STDC__\n\
5274 #endif /* !defined __STDC__ */",
5278 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5282 #define REGEX_COUNT 135
5283 #define MACH_LIST_SIZE_LIMIT 279
5284 #define FIX_COUNT 130
5286 tFixDesc fixDescList[ FIX_COUNT ] = {
5287 { zAaa_Ki_IfaceName, zAaa_Ki_IfaceList,
5288 apzAaa_Ki_IfaceMachs,
5289 AAA_KI_IFACE_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5290 aAaa_Ki_IfaceTests, apzAaa_Ki_IfacePatch },
5292 { zAaa_KiName, zAaa_KiList,
5294 AAA_KI_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5295 aAaa_KiTests, apzAaa_KiPatch },
5297 { zAaa_Ki_CallsName, zAaa_Ki_CallsList,
5298 apzAaa_Ki_CallsMachs,
5299 AAA_KI_CALLS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5300 aAaa_Ki_CallsTests, apzAaa_Ki_CallsPatch },
5302 { zAaa_Ki_DefsName, zAaa_Ki_DefsList,
5303 apzAaa_Ki_DefsMachs,
5304 AAA_KI_DEFS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5305 aAaa_Ki_DefsTests, apzAaa_Ki_DefsPatch },
5307 { zAaa_Bad_FixesName, zAaa_Bad_FixesList,
5308 apzAaa_Bad_FixesMachs,
5309 AAA_BAD_FIXES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5310 aAaa_Bad_FixesTests, apzAaa_Bad_FixesPatch },
5312 { zAaa_TimeName, zAaa_TimeList,
5314 AAA_TIME_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5315 aAaa_TimeTests, apzAaa_TimePatch },
5317 { zAab_Dgux_Int_VarargsName, zAab_Dgux_Int_VarargsList,
5318 apzAab_Dgux_Int_VarargsMachs,
5319 AAB_DGUX_INT_VARARGS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5320 aAab_Dgux_Int_VarargsTests, apzAab_Dgux_Int_VarargsPatch },
5322 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
5323 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
5324 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5325 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch },
5327 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
5328 apzAab_Fd_Zero_Gnu_Types_HMachs,
5329 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5330 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch },
5332 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
5333 apzAab_Fd_Zero_Selectbits_HMachs,
5334 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5335 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch },
5337 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
5338 apzAab_Sun_MemcpyMachs,
5339 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5340 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch },
5342 { zAab_Svr4_Replace_ByteorderName, zAab_Svr4_Replace_ByteorderList,
5343 apzAab_Svr4_Replace_ByteorderMachs,
5344 AAB_SVR4_REPLACE_BYTEORDER_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5345 aAab_Svr4_Replace_ByteorderTests, apzAab_Svr4_Replace_ByteorderPatch },
5347 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
5348 apzAab_Ultrix_Ansi_CompatMachs,
5349 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5350 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch },
5352 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
5353 apzAab_Ultrix_LimitsMachs,
5354 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5355 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch },
5357 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
5358 apzAab_Ultrix_MemoryMachs,
5359 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5360 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch },
5362 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
5363 apzAab_Ultrix_StringMachs,
5364 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5365 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch },
5367 { zAix_PthreadName, zAix_PthreadList,
5368 apzAix_PthreadMachs,
5369 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5370 aAix_PthreadTests, apzAix_PthreadPatch },
5372 { zAix_SysmachineName, zAix_SysmachineList,
5373 apzAix_SysmachineMachs,
5374 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5375 aAix_SysmachineTests, apzAix_SysmachinePatch },
5377 { zAix_SyswaitName, zAix_SyswaitList,
5378 apzAix_SyswaitMachs,
5379 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5380 aAix_SyswaitTests, apzAix_SyswaitPatch },
5382 { zAix_VolatileName, zAix_VolatileList,
5383 apzAix_VolatileMachs,
5384 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5385 aAix_VolatileTests, apzAix_VolatilePatch },
5387 { zAlpha_GetoptName, zAlpha_GetoptList,
5388 apzAlpha_GetoptMachs,
5389 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5390 aAlpha_GetoptTests, apzAlpha_GetoptPatch },
5392 { zAlpha_ParensName, zAlpha_ParensList,
5393 apzAlpha_ParensMachs,
5394 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5395 aAlpha_ParensTests, apzAlpha_ParensPatch },
5397 { zAlpha_SbrkName, zAlpha_SbrkList,
5399 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5400 aAlpha_SbrkTests, apzAlpha_SbrkPatch },
5402 { zArm_Norcroft_HintName, zArm_Norcroft_HintList,
5403 apzArm_Norcroft_HintMachs,
5404 ARM_NORCROFT_HINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5405 aArm_Norcroft_HintTests, apzArm_Norcroft_HintPatch },
5407 { zArm_WcharName, zArm_WcharList,
5409 ARM_WCHAR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5410 aArm_WcharTests, apzArm_WcharPatch },
5412 { zAux_AsmName, zAux_AsmList,
5414 AUX_ASM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5415 aAux_AsmTests, apzAux_AsmPatch },
5417 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
5418 apzAvoid_Bool_DefineMachs,
5419 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5420 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch },
5422 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
5423 apzAvoid_Bool_TypeMachs,
5424 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5425 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch },
5427 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
5428 apzAvoid_Wchar_T_TypeMachs,
5429 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5430 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch },
5432 { zBad_LvalName, zBad_LvalList,
5434 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
5435 aBad_LvalTests, apzBad_LvalPatch },
5437 { zBad_Struct_TermName, zBad_Struct_TermList,
5438 apzBad_Struct_TermMachs,
5439 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5440 aBad_Struct_TermTests, apzBad_Struct_TermPatch },
5442 { zBadquoteName, zBadquoteList,
5444 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5445 aBadquoteTests, apzBadquotePatch },
5447 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
5448 apzBroken_Assert_StdioMachs,
5449 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5450 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch },
5452 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
5453 apzBroken_Assert_StdlibMachs,
5454 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5455 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch },
5457 { zBroken_CabsName, zBroken_CabsList,
5458 apzBroken_CabsMachs,
5459 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5460 aBroken_CabsTests, apzBroken_CabsPatch },
5462 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
5463 apzCtrl_Quotes_DefMachs,
5464 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5465 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch },
5467 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
5468 apzCtrl_Quotes_UseMachs,
5469 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5470 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch },
5472 { zCxx_UnreadyName, zCxx_UnreadyList,
5473 apzCxx_UnreadyMachs,
5474 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5475 aCxx_UnreadyTests, apzCxx_UnreadyPatch },
5477 { zDec_Intern_AsmName, zDec_Intern_AsmList,
5478 apzDec_Intern_AsmMachs,
5479 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
5480 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch },
5482 { zEcd_CursorName, zEcd_CursorList,
5484 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5485 aEcd_CursorTests, apzEcd_CursorPatch },
5487 { zFix_Header_BreakageName, zFix_Header_BreakageList,
5488 apzFix_Header_BreakageMachs,
5489 FIX_HEADER_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5490 aFix_Header_BreakageTests, apzFix_Header_BreakagePatch },
5492 { zHp_InlineName, zHp_InlineList,
5494 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5495 aHp_InlineTests, apzHp_InlinePatch },
5497 { zHp_SysfileName, zHp_SysfileList,
5499 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5500 aHp_SysfileTests, apzHp_SysfilePatch },
5502 { zHpux11_FabsfName, zHpux11_FabsfList,
5503 apzHpux11_FabsfMachs,
5504 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5505 aHpux11_FabsfTests, apzHpux11_FabsfPatch },
5507 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
5508 apzHpux11_Uint32_CMachs,
5509 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5510 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch },
5512 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
5513 apzHpux8_Bogus_InlinesMachs,
5514 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
5515 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch },
5517 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
5518 apzInt_Abort_Free_And_ExitMachs,
5519 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5520 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch },
5522 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
5523 apzIsc_Omits_With_StdcMachs,
5524 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5525 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch },
5527 { zIo_Quotes_DefName, zIo_Quotes_DefList,
5528 apzIo_Quotes_DefMachs,
5529 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5530 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch },
5532 { zIo_Quotes_UseName, zIo_Quotes_UseList,
5533 apzIo_Quotes_UseMachs,
5534 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5535 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch },
5537 { zHpux_MaxintName, zHpux_MaxintList,
5538 apzHpux_MaxintMachs,
5539 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5540 aHpux_MaxintTests, apzHpux_MaxintPatch },
5542 { zHpux_SystimeName, zHpux_SystimeList,
5543 apzHpux_SystimeMachs,
5544 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5545 aHpux_SystimeTests, apzHpux_SystimePatch },
5547 { zIp_Missing_SemiName, zIp_Missing_SemiList,
5548 apzIp_Missing_SemiMachs,
5549 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
5550 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch },
5552 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
5553 apzIrix_Asm_ApostropheMachs,
5554 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5555 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch },
5557 { zIsc_FmodName, zIsc_FmodList,
5559 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5560 aIsc_FmodTests, apzIsc_FmodPatch },
5562 { zKandr_ConcatName, zKandr_ConcatList,
5563 apzKandr_ConcatMachs,
5564 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5565 aKandr_ConcatTests, apzKandr_ConcatPatch },
5567 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
5568 apzLibc1_Ifdefd_MemxMachs,
5569 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5570 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch },
5572 { zLimits_IfndefsName, zLimits_IfndefsList,
5573 apzLimits_IfndefsMachs,
5574 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5575 aLimits_IfndefsTests, apzLimits_IfndefsPatch },
5577 { zLynx_Void_IntName, zLynx_Void_IntList,
5578 apzLynx_Void_IntMachs,
5579 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5580 aLynx_Void_IntTests, apzLynx_Void_IntPatch },
5582 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
5583 apzLynxos_Fcntl_ProtoMachs,
5584 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5585 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch },
5587 { zM88k_Bad_Hypot_OptName, zM88k_Bad_Hypot_OptList,
5588 apzM88k_Bad_Hypot_OptMachs,
5589 M88K_BAD_HYPOT_OPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5590 aM88k_Bad_Hypot_OptTests, apzM88k_Bad_Hypot_OptPatch },
5592 { zM88k_Bad_S_IfName, zM88k_Bad_S_IfList,
5593 apzM88k_Bad_S_IfMachs,
5594 M88K_BAD_S_IF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5595 aM88k_Bad_S_IfTests, apzM88k_Bad_S_IfPatch },
5597 { zM88k_Multi_InclName, zM88k_Multi_InclList,
5598 apzM88k_Multi_InclMachs,
5599 M88K_MULTI_INCL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5600 aM88k_Multi_InclTests, apzM88k_Multi_InclPatch },
5602 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
5603 apzMachine_Ansi_H_Va_ListMachs,
5604 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5605 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch },
5607 { zMachine_NameName, zMachine_NameList,
5608 apzMachine_NameMachs,
5609 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5610 aMachine_NameTests, apzMachine_NamePatch },
5612 { zMath_ExceptionName, zMath_ExceptionList,
5613 apzMath_ExceptionMachs,
5614 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5615 aMath_ExceptionTests, apzMath_ExceptionPatch },
5617 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
5618 apzMath_Huge_Val_From_Dbl_MaxMachs,
5619 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
5620 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch },
5622 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
5623 apzMath_Huge_Val_IfndefMachs,
5624 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5625 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch },
5627 { zNested_MotorolaName, zNested_MotorolaList,
5628 apzNested_MotorolaMachs,
5629 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
5630 aNested_MotorolaTests, apzNested_MotorolaPatch },
5632 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
5633 apzNested_Sys_LimitsMachs,
5634 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
5635 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch },
5637 { zNested_Auth_DesName, zNested_Auth_DesList,
5638 apzNested_Auth_DesMachs,
5639 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5640 aNested_Auth_DesTests, apzNested_Auth_DesPatch },
5642 { zNews_Os_RecursionName, zNews_Os_RecursionList,
5643 apzNews_Os_RecursionMachs,
5644 NEWS_OS_RECURSION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5645 aNews_Os_RecursionTests, apzNews_Os_RecursionPatch },
5647 { zNext_Math_PrefixName, zNext_Math_PrefixList,
5648 apzNext_Math_PrefixMachs,
5649 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5650 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch },
5652 { zNext_TemplateName, zNext_TemplateList,
5653 apzNext_TemplateMachs,
5654 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5655 aNext_TemplateTests, apzNext_TemplatePatch },
5657 { zNext_VolitileName, zNext_VolitileList,
5658 apzNext_VolitileMachs,
5659 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5660 aNext_VolitileTests, apzNext_VolitilePatch },
5662 { zNext_Wait_UnionName, zNext_Wait_UnionList,
5663 apzNext_Wait_UnionMachs,
5664 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5665 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch },
5667 { zNodeent_SyntaxName, zNodeent_SyntaxList,
5668 apzNodeent_SyntaxMachs,
5669 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5670 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch },
5672 { zOsf_Namespace_AName, zOsf_Namespace_AList,
5673 apzOsf_Namespace_AMachs,
5674 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5675 aOsf_Namespace_ATests, apzOsf_Namespace_APatch },
5677 { zOsf_Namespace_CName, zOsf_Namespace_CList,
5678 apzOsf_Namespace_CMachs,
5679 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5680 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch },
5682 { zPthread_Page_SizeName, zPthread_Page_SizeList,
5683 apzPthread_Page_SizeMachs,
5684 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5685 aPthread_Page_SizeTests, apzPthread_Page_SizePatch },
5687 { zRead_Ret_TypeName, zRead_Ret_TypeList,
5688 apzRead_Ret_TypeMachs,
5689 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5690 aRead_Ret_TypeTests, apzRead_Ret_TypePatch },
5692 { zRs6000_DoubleName, zRs6000_DoubleList,
5693 apzRs6000_DoubleMachs,
5694 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5695 aRs6000_DoubleTests, apzRs6000_DoublePatch },
5697 { zRs6000_FchmodName, zRs6000_FchmodList,
5698 apzRs6000_FchmodMachs,
5699 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5700 aRs6000_FchmodTests, apzRs6000_FchmodPatch },
5702 { zRs6000_ParamName, zRs6000_ParamList,
5703 apzRs6000_ParamMachs,
5704 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5705 aRs6000_ParamTests, apzRs6000_ParamPatch },
5707 { zSco_Static_FuncName, zSco_Static_FuncList,
5708 apzSco_Static_FuncMachs,
5709 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
5710 aSco_Static_FuncTests, apzSco_Static_FuncPatch },
5712 { zSco_Strict_AnsiName, zSco_Strict_AnsiList,
5713 apzSco_Strict_AnsiMachs,
5714 SCO_STRICT_ANSI_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5715 aSco_Strict_AnsiTests, apzSco_Strict_AnsiPatch },
5717 { zSco_UtimeName, zSco_UtimeList,
5719 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5720 aSco_UtimeTests, apzSco_UtimePatch },
5722 { zStatsswtchName, zStatsswtchList,
5724 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5725 aStatsswtchTests, apzStatsswtchPatch },
5727 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
5728 apzStdio_Stdarg_HMachs,
5729 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5730 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch },
5732 { zStdio_Va_ListName, zStdio_Va_ListList,
5733 apzStdio_Va_ListMachs,
5734 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
5735 aStdio_Va_ListTests, apzStdio_Va_ListPatch },
5737 { zStruct_FileName, zStruct_FileList,
5738 apzStruct_FileMachs,
5739 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5740 aStruct_FileTests, apzStruct_FilePatch },
5742 { zStruct_SockaddrName, zStruct_SockaddrList,
5743 apzStruct_SockaddrMachs,
5744 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5745 aStruct_SockaddrTests, apzStruct_SockaddrPatch },
5747 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
5748 apzSun_Auth_ProtoMachs,
5749 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5750 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch },
5752 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
5753 apzSun_Bogus_IfdefMachs,
5754 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5755 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch },
5757 { zSun_CatmacroName, zSun_CatmacroList,
5758 apzSun_CatmacroMachs,
5759 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5760 aSun_CatmacroTests, apzSun_CatmacroPatch },
5762 { zSun_MallocName, zSun_MallocList,
5764 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
5765 aSun_MallocTests, apzSun_MallocPatch },
5767 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
5768 apzSun_Rusers_SemiMachs,
5769 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
5770 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch },
5772 { zSun_SignalName, zSun_SignalList,
5774 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5775 aSun_SignalTests, apzSun_SignalPatch },
5777 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
5778 apzSunos_Matherr_DeclMachs,
5779 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5780 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch },
5782 { zSunos_StrlenName, zSunos_StrlenList,
5783 apzSunos_StrlenMachs,
5784 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5785 aSunos_StrlenTests, apzSunos_StrlenPatch },
5787 { zSvr4__PName, zSvr4__PList,
5789 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5790 aSvr4__PTests, apzSvr4__PPatch },
5792 { zSvr4_GetcwdName, zSvr4_GetcwdList,
5793 apzSvr4_GetcwdMachs,
5794 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5795 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch },
5797 { zSvr4_ProfilName, zSvr4_ProfilList,
5798 apzSvr4_ProfilMachs,
5799 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5800 aSvr4_ProfilTests, apzSvr4_ProfilPatch },
5802 { zGnu_TypesName, zGnu_TypesList,
5804 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5805 aGnu_TypesTests, apzGnu_TypesPatch },
5807 { zSysv68_StringName, zSysv68_StringList,
5808 apzSysv68_StringMachs,
5809 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
5810 aSysv68_StringTests, apzSysv68_StringPatch },
5812 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
5813 apzSysz_Stdlib_For_SunMachs,
5814 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5815 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch },
5817 { zTinfo_CplusplusName, zTinfo_CplusplusList,
5818 apzTinfo_CplusplusMachs,
5819 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5820 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch },
5822 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
5823 apzUltrix_Atof_ParamMachs,
5824 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5825 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch },
5827 { zUltrix_ConstName, zUltrix_ConstList,
5828 apzUltrix_ConstMachs,
5829 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5830 aUltrix_ConstTests, apzUltrix_ConstPatch },
5832 { zUltrix_Const2Name, zUltrix_Const2List,
5833 apzUltrix_Const2Machs,
5834 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5835 aUltrix_Const2Tests, apzUltrix_Const2Patch },
5837 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
5838 apzUltrix_Fix_FixprotoMachs,
5839 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5840 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch },
5842 { zUltrix_IfdefName, zUltrix_IfdefList,
5843 apzUltrix_IfdefMachs,
5844 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5845 aUltrix_IfdefTests, apzUltrix_IfdefPatch },
5847 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
5848 apzUltrix_Math_IfdefMachs,
5849 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5850 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch },
5852 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
5853 apzUltrix_Nested_IoctlMachs,
5854 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
5855 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch },
5857 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
5858 apzUltrix_Nested_SvcMachs,
5859 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
5860 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch },
5862 { zUltrix_StatName, zUltrix_StatList,
5863 apzUltrix_StatMachs,
5864 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
5865 aUltrix_StatTests, apzUltrix_StatPatch },
5867 { zUltrix_StaticName, zUltrix_StaticList,
5868 apzUltrix_StaticMachs,
5869 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
5870 aUltrix_StaticTests, apzUltrix_StaticPatch },
5872 { zUltrix_StringsName, zUltrix_StringsList,
5873 apzUltrix_StringsMachs,
5874 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5875 aUltrix_StringsTests, apzUltrix_StringsPatch },
5877 { zUndefine_NullName, zUndefine_NullList,
5878 apzUndefine_NullMachs,
5879 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5880 aUndefine_NullTests, apzUndefine_NullPatch },
5882 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
5883 apzUw7_Byteorder_FixMachs,
5884 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5885 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch },
5887 { zVa_I960_MacroName, zVa_I960_MacroList,
5888 apzVa_I960_MacroMachs,
5889 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5890 aVa_I960_MacroTests, apzVa_I960_MacroPatch },
5892 { zVoid_NullName, zVoid_NullList,
5894 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5895 aVoid_NullTests, apzVoid_NullPatch },
5897 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
5898 apzVxworks_Gcc_ProblemMachs,
5899 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
5900 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch },
5902 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
5903 apzVxworks_Needs_VxtypesMachs,
5904 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5905 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch },
5907 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
5908 apzVxworks_Needs_VxworksMachs,
5909 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
5910 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch },
5912 { zVxworks_TimeName, zVxworks_TimeList,
5913 apzVxworks_TimeMachs,
5914 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5915 aVxworks_TimeTests, apzVxworks_TimePatch },
5917 { zX11_ClassName, zX11_ClassList,
5919 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5920 aX11_ClassTests, apzX11_ClassPatch },
5922 { zX11_Class_UsageName, zX11_Class_UsageList,
5923 apzX11_Class_UsageMachs,
5924 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5925 aX11_Class_UsageTests, apzX11_Class_UsagePatch },
5927 { zX11_NewName, zX11_NewList,
5929 X11_NEW_TEST_CT, FD_MACH_ONLY,
5930 aX11_NewTests, apzX11_NewPatch },
5932 { zX11_SprintfName, zX11_SprintfList,
5933 apzX11_SprintfMachs,
5934 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5935 aX11_SprintfTests, apzX11_SprintfPatch }