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 129 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\
1293 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;.*",
1296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1298 * Description of Bad_Lval fix
1300 #define BAD_LVAL_FIXIDX 28
1301 tSCC zBad_LvalName[] =
1305 * File name selection pattern
1307 tSCC zBad_LvalList[] =
1308 "|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|";
1310 * Machine/OS name selection pattern
1312 #define apzBad_LvalMachs (const char**)NULL
1315 * content selection pattern - do fix if pattern found
1317 tSCC zBad_LvalSelect0[] =
1318 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1320 #define BAD_LVAL_TEST_CT 1
1321 static tTestDesc aBad_LvalTests[] = {
1322 { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
1325 * Fix Command Arguments for Bad_Lval
1327 static const char* apzBad_LvalPatch[] = { "sed",
1328 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1331 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1333 * Description of Bad_Struct_Term fix
1335 #define BAD_STRUCT_TERM_FIXIDX 29
1336 tSCC zBad_Struct_TermName[] =
1340 * File name selection pattern
1342 tSCC zBad_Struct_TermList[] =
1345 * Machine/OS name selection pattern
1347 #define apzBad_Struct_TermMachs (const char**)NULL
1350 * content selection pattern - do fix if pattern found
1352 tSCC zBad_Struct_TermSelect0[] =
1353 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1355 #define BAD_STRUCT_TERM_TEST_CT 1
1356 static tTestDesc aBad_Struct_TermTests[] = {
1357 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1360 * Fix Command Arguments for Bad_Struct_Term
1362 static const char* apzBad_Struct_TermPatch[] = {
1367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1369 * Description of Badquote fix
1371 #define BADQUOTE_FIXIDX 30
1372 tSCC zBadquoteName[] =
1376 * File name selection pattern
1378 tSCC zBadquoteList[] =
1379 "|sundev/vuid_event.h|";
1381 * Machine/OS name selection pattern
1383 #define apzBadquoteMachs (const char**)NULL
1386 * content selection pattern - do fix if pattern found
1388 tSCC zBadquoteSelect0[] =
1391 #define BADQUOTE_TEST_CT 1
1392 static tTestDesc aBadquoteTests[] = {
1393 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1396 * Fix Command Arguments for Badquote
1398 static const char* apzBadquotePatch[] = {
1403 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1405 * Description of Broken_Assert_Stdio fix
1407 #define BROKEN_ASSERT_STDIO_FIXIDX 31
1408 tSCC zBroken_Assert_StdioName[] =
1409 "broken_assert_stdio";
1412 * File name selection pattern
1414 tSCC zBroken_Assert_StdioList[] =
1417 * Machine/OS name selection pattern
1419 #define apzBroken_Assert_StdioMachs (const char**)NULL
1422 * content selection pattern - do fix if pattern found
1424 tSCC zBroken_Assert_StdioSelect0[] =
1428 * content bypass pattern - skip fix if pattern found
1430 tSCC zBroken_Assert_StdioBypass0[] =
1431 "include.*stdio\\.h";
1433 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1434 static tTestDesc aBroken_Assert_StdioTests[] = {
1435 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1436 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1439 * Fix Command Arguments for Broken_Assert_Stdio
1441 static const char* apzBroken_Assert_StdioPatch[] = {
1443 "#include <stdio.h>\n",
1446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1448 * Description of Broken_Assert_Stdlib fix
1450 #define BROKEN_ASSERT_STDLIB_FIXIDX 32
1451 tSCC zBroken_Assert_StdlibName[] =
1452 "broken_assert_stdlib";
1455 * File name selection pattern
1457 tSCC zBroken_Assert_StdlibList[] =
1460 * Machine/OS name selection pattern
1462 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1465 * content selection pattern - do fix if pattern found
1467 tSCC zBroken_Assert_StdlibSelect0[] =
1468 "exit *\\(|abort *\\(";
1471 * content bypass pattern - skip fix if pattern found
1473 tSCC zBroken_Assert_StdlibBypass0[] =
1474 "include.*stdlib\\.h";
1476 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1477 static tTestDesc aBroken_Assert_StdlibTests[] = {
1478 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1479 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1482 * Fix Command Arguments for Broken_Assert_Stdlib
1484 static const char* apzBroken_Assert_StdlibPatch[] = {
1486 "#ifdef __cplusplus\n\
1487 #include <stdlib.h>\n\
1491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1493 * Description of Broken_Cabs fix
1495 #define BROKEN_CABS_FIXIDX 33
1496 tSCC zBroken_CabsName[] =
1500 * File name selection pattern
1502 tSCC zBroken_CabsList[] =
1505 * Machine/OS name selection pattern
1507 #define apzBroken_CabsMachs (const char**)NULL
1510 * content selection pattern - do fix if pattern found
1512 tSCC zBroken_CabsSelect0[] =
1513 "^extern double cabs";
1515 #define BROKEN_CABS_TEST_CT 1
1516 static tTestDesc aBroken_CabsTests[] = {
1517 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1520 * Fix Command Arguments for Broken_Cabs
1522 static const char* apzBroken_CabsPatch[] = {
1525 "^extern double cabs\\((struct dbl_hypot|)\\);",
1528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1530 * Description of Ctrl_Quotes_Def fix
1532 #define CTRL_QUOTES_DEF_FIXIDX 34
1533 tSCC zCtrl_Quotes_DefName[] =
1537 * File name selection pattern
1539 #define zCtrl_Quotes_DefList (char*)NULL
1541 * Machine/OS name selection pattern
1543 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1546 * content selection pattern - do fix if pattern found
1548 tSCC zCtrl_Quotes_DefSelect0[] =
1549 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1551 #define CTRL_QUOTES_DEF_TEST_CT 1
1552 static tTestDesc aCtrl_Quotes_DefTests[] = {
1553 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1556 * Fix Command Arguments for Ctrl_Quotes_Def
1558 static const char* apzCtrl_Quotes_DefPatch[] = {
1563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1565 * Description of Ctrl_Quotes_Use fix
1567 #define CTRL_QUOTES_USE_FIXIDX 35
1568 tSCC zCtrl_Quotes_UseName[] =
1572 * File name selection pattern
1574 #define zCtrl_Quotes_UseList (char*)NULL
1576 * Machine/OS name selection pattern
1578 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1581 * content selection pattern - do fix if pattern found
1583 tSCC zCtrl_Quotes_UseSelect0[] =
1584 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1586 #define CTRL_QUOTES_USE_TEST_CT 1
1587 static tTestDesc aCtrl_Quotes_UseTests[] = {
1588 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1591 * Fix Command Arguments for Ctrl_Quotes_Use
1593 static const char* apzCtrl_Quotes_UsePatch[] = {
1598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1600 * Description of Cxx_Unready fix
1602 #define CXX_UNREADY_FIXIDX 36
1603 tSCC zCxx_UnreadyName[] =
1607 * File name selection pattern
1609 tSCC zCxx_UnreadyList[] =
1610 "|sys/mman.h|rpc/types.h|";
1612 * Machine/OS name selection pattern
1614 #define apzCxx_UnreadyMachs (const char**)NULL
1617 * content selection pattern - do fix if pattern found
1619 tSCC zCxx_UnreadySelect0[] =
1623 * content bypass pattern - skip fix if pattern found
1625 tSCC zCxx_UnreadyBypass0[] =
1626 "\"C\"|__BEGIN_DECLS";
1628 #define CXX_UNREADY_TEST_CT 2
1629 static tTestDesc aCxx_UnreadyTests[] = {
1630 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1631 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1634 * Fix Command Arguments for Cxx_Unready
1636 static const char* apzCxx_UnreadyPatch[] = {
1638 "#ifdef __cplusplus\n\
1641 "#ifdef __cplusplus\n\
1646 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1648 * Description of Dec_Intern_Asm fix
1650 #define DEC_INTERN_ASM_FIXIDX 37
1651 tSCC zDec_Intern_AsmName[] =
1655 * File name selection pattern
1657 tSCC zDec_Intern_AsmList[] =
1660 * Machine/OS name selection pattern
1662 #define apzDec_Intern_AsmMachs (const char**)NULL
1663 #define DEC_INTERN_ASM_TEST_CT 0
1664 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1667 * Fix Command Arguments for Dec_Intern_Asm
1669 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1670 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1672 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1676 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1678 * Description of Ecd_Cursor fix
1680 #define ECD_CURSOR_FIXIDX 38
1681 tSCC zEcd_CursorName[] =
1685 * File name selection pattern
1687 tSCC zEcd_CursorList[] =
1688 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1690 * Machine/OS name selection pattern
1692 #define apzEcd_CursorMachs (const char**)NULL
1695 * content selection pattern - do fix if pattern found
1697 tSCC zEcd_CursorSelect0[] =
1700 #define ECD_CURSOR_TEST_CT 1
1701 static tTestDesc aEcd_CursorTests[] = {
1702 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1705 * Fix Command Arguments for Ecd_Cursor
1707 static const char* apzEcd_CursorPatch[] = {
1712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1714 * Description of Fix_Header_Breakage fix
1716 #define FIX_HEADER_BREAKAGE_FIXIDX 39
1717 tSCC zFix_Header_BreakageName[] =
1718 "fix_header_breakage";
1721 * File name selection pattern
1723 tSCC zFix_Header_BreakageList[] =
1726 * Machine/OS name selection pattern
1728 tSCC* apzFix_Header_BreakageMachs[] = {
1729 "m88k-motorola-sysv3*",
1730 (const char*)NULL };
1733 * content selection pattern - do fix if pattern found
1735 tSCC zFix_Header_BreakageSelect0[] =
1736 "extern double floor\\(\\), ceil\\(\\), fmod\\(\\), fabs\\(\\);";
1738 #define FIX_HEADER_BREAKAGE_TEST_CT 1
1739 static tTestDesc aFix_Header_BreakageTests[] = {
1740 { TT_EGREP, zFix_Header_BreakageSelect0, (regex_t*)NULL }, };
1743 * Fix Command Arguments for Fix_Header_Breakage
1745 static const char* apzFix_Header_BreakagePatch[] = {
1747 "extern double floor(), ceil(), fmod(), fabs _PARAMS((double));",
1750 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1752 * Description of Hp_Inline fix
1754 #define HP_INLINE_FIXIDX 40
1755 tSCC zHp_InlineName[] =
1759 * File name selection pattern
1761 tSCC zHp_InlineList[] =
1762 "|sys/spinlock.h|machine/machparam.h|";
1764 * Machine/OS name selection pattern
1766 #define apzHp_InlineMachs (const char**)NULL
1769 * content selection pattern - do fix if pattern found
1771 tSCC zHp_InlineSelect0[] =
1772 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1774 #define HP_INLINE_TEST_CT 1
1775 static tTestDesc aHp_InlineTests[] = {
1776 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1779 * Fix Command Arguments for Hp_Inline
1781 static const char* apzHp_InlinePatch[] = {
1784 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1787 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1789 * Description of Hp_Sysfile fix
1791 #define HP_SYSFILE_FIXIDX 41
1792 tSCC zHp_SysfileName[] =
1796 * File name selection pattern
1798 tSCC zHp_SysfileList[] =
1801 * Machine/OS name selection pattern
1803 #define apzHp_SysfileMachs (const char**)NULL
1806 * content selection pattern - do fix if pattern found
1808 tSCC zHp_SysfileSelect0[] =
1811 #define HP_SYSFILE_TEST_CT 1
1812 static tTestDesc aHp_SysfileTests[] = {
1813 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
1816 * Fix Command Arguments for Hp_Sysfile
1818 static const char* apzHp_SysfilePatch[] = {
1820 "(struct file *, ...)",
1824 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1826 * Description of Hpux11_Fabsf fix
1828 #define HPUX11_FABSF_FIXIDX 42
1829 tSCC zHpux11_FabsfName[] =
1833 * File name selection pattern
1835 tSCC zHpux11_FabsfList[] =
1838 * Machine/OS name selection pattern
1840 #define apzHpux11_FabsfMachs (const char**)NULL
1843 * content selection pattern - do fix if pattern found
1845 tSCC zHpux11_FabsfSelect0[] =
1846 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
1849 * content bypass pattern - skip fix if pattern found
1851 tSCC zHpux11_FabsfBypass0[] =
1854 #define HPUX11_FABSF_TEST_CT 2
1855 static tTestDesc aHpux11_FabsfTests[] = {
1856 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
1857 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
1860 * Fix Command Arguments for Hpux11_Fabsf
1862 static const char* apzHpux11_FabsfPatch[] = {
1864 "#ifndef __cplusplus\n\
1869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1871 * Description of Hpux11_Uint32_C fix
1873 #define HPUX11_UINT32_C_FIXIDX 43
1874 tSCC zHpux11_Uint32_CName[] =
1878 * File name selection pattern
1880 tSCC zHpux11_Uint32_CList[] =
1883 * Machine/OS name selection pattern
1885 #define apzHpux11_Uint32_CMachs (const char**)NULL
1888 * content selection pattern - do fix if pattern found
1890 tSCC zHpux11_Uint32_CSelect0[] =
1891 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
1893 #define HPUX11_UINT32_C_TEST_CT 1
1894 static tTestDesc aHpux11_Uint32_CTests[] = {
1895 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
1898 * Fix Command Arguments for Hpux11_Uint32_C
1900 static const char* apzHpux11_Uint32_CPatch[] = {
1902 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
1905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1907 * Description of Hpux8_Bogus_Inlines fix
1909 #define HPUX8_BOGUS_INLINES_FIXIDX 44
1910 tSCC zHpux8_Bogus_InlinesName[] =
1911 "hpux8_bogus_inlines";
1914 * File name selection pattern
1916 tSCC zHpux8_Bogus_InlinesList[] =
1919 * Machine/OS name selection pattern
1921 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
1924 * content selection pattern - do fix if pattern found
1926 tSCC zHpux8_Bogus_InlinesSelect0[] =
1929 #define HPUX8_BOGUS_INLINES_TEST_CT 1
1930 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
1931 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
1934 * Fix Command Arguments for Hpux8_Bogus_Inlines
1936 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
1937 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
1938 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
1939 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
1940 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
1943 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1945 * Description of Int_Abort_Free_And_Exit fix
1947 #define INT_ABORT_FREE_AND_EXIT_FIXIDX 45
1948 tSCC zInt_Abort_Free_And_ExitName[] =
1949 "int_abort_free_and_exit";
1952 * File name selection pattern
1954 tSCC zInt_Abort_Free_And_ExitList[] =
1957 * Machine/OS name selection pattern
1959 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
1962 * content selection pattern - do fix if pattern found
1964 tSCC zInt_Abort_Free_And_ExitSelect0[] =
1965 "int[ \t]+(abort|free|exit)[ \t]*\\(";
1967 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
1968 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
1969 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
1972 * Fix Command Arguments for Int_Abort_Free_And_Exit
1974 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
1979 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1981 * Description of Isc_Omits_With_Stdc fix
1983 #define ISC_OMITS_WITH_STDC_FIXIDX 46
1984 tSCC zIsc_Omits_With_StdcName[] =
1985 "isc_omits_with_stdc";
1988 * File name selection pattern
1990 tSCC zIsc_Omits_With_StdcList[] =
1991 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
1993 * Machine/OS name selection pattern
1995 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
1998 * content selection pattern - do fix if pattern found
2000 tSCC zIsc_Omits_With_StdcSelect0[] =
2001 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
2003 #define ISC_OMITS_WITH_STDC_TEST_CT 1
2004 static tTestDesc aIsc_Omits_With_StdcTests[] = {
2005 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
2008 * Fix Command Arguments for Isc_Omits_With_Stdc
2010 static const char* apzIsc_Omits_With_StdcPatch[] = {
2012 "!defined(_POSIX_SOURCE)",
2015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2017 * Description of Io_Quotes_Def fix
2019 #define IO_QUOTES_DEF_FIXIDX 47
2020 tSCC zIo_Quotes_DefName[] =
2024 * File name selection pattern
2026 #define zIo_Quotes_DefList (char*)NULL
2028 * Machine/OS name selection pattern
2030 #define apzIo_Quotes_DefMachs (const char**)NULL
2033 * content selection pattern - do fix if pattern found
2035 tSCC zIo_Quotes_DefSelect0[] =
2036 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2038 #define IO_QUOTES_DEF_TEST_CT 1
2039 static tTestDesc aIo_Quotes_DefTests[] = {
2040 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2043 * Fix Command Arguments for Io_Quotes_Def
2045 static const char* apzIo_Quotes_DefPatch[] = {
2050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2052 * Description of Io_Quotes_Use fix
2054 #define IO_QUOTES_USE_FIXIDX 48
2055 tSCC zIo_Quotes_UseName[] =
2059 * File name selection pattern
2061 #define zIo_Quotes_UseList (char*)NULL
2063 * Machine/OS name selection pattern
2065 #define apzIo_Quotes_UseMachs (const char**)NULL
2068 * content selection pattern - do fix if pattern found
2070 tSCC zIo_Quotes_UseSelect0[] =
2071 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2073 #define IO_QUOTES_USE_TEST_CT 1
2074 static tTestDesc aIo_Quotes_UseTests[] = {
2075 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2078 * Fix Command Arguments for Io_Quotes_Use
2080 static const char* apzIo_Quotes_UsePatch[] = {
2085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2087 * Description of Hpux_Maxint fix
2089 #define HPUX_MAXINT_FIXIDX 49
2090 tSCC zHpux_MaxintName[] =
2094 * File name selection pattern
2096 tSCC zHpux_MaxintList[] =
2099 * Machine/OS name selection pattern
2101 #define apzHpux_MaxintMachs (const char**)NULL
2104 * content selection pattern - do fix if pattern found
2106 tSCC zHpux_MaxintSelect0[] =
2107 "^#[ \t]*define[ \t]*MAXINT[ \t]";
2109 #define HPUX_MAXINT_TEST_CT 1
2110 static tTestDesc aHpux_MaxintTests[] = {
2111 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2114 * Fix Command Arguments for Hpux_Maxint
2116 static const char* apzHpux_MaxintPatch[] = {
2121 "^#[ \t]*define[ \t]*MAXINT[ \t].*",
2124 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2126 * Description of Hpux_Systime fix
2128 #define HPUX_SYSTIME_FIXIDX 50
2129 tSCC zHpux_SystimeName[] =
2133 * File name selection pattern
2135 tSCC zHpux_SystimeList[] =
2138 * Machine/OS name selection pattern
2140 #define apzHpux_SystimeMachs (const char**)NULL
2143 * content selection pattern - do fix if pattern found
2145 tSCC zHpux_SystimeSelect0[] =
2146 "^extern struct sigevent;";
2148 #define HPUX_SYSTIME_TEST_CT 1
2149 static tTestDesc aHpux_SystimeTests[] = {
2150 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2153 * Fix Command Arguments for Hpux_Systime
2155 static const char* apzHpux_SystimePatch[] = {
2160 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2162 * Description of Ip_Missing_Semi fix
2164 #define IP_MISSING_SEMI_FIXIDX 51
2165 tSCC zIp_Missing_SemiName[] =
2169 * File name selection pattern
2171 tSCC zIp_Missing_SemiList[] =
2174 * Machine/OS name selection pattern
2176 #define apzIp_Missing_SemiMachs (const char**)NULL
2179 * content selection pattern - do fix if pattern found
2181 tSCC zIp_Missing_SemiSelect0[] =
2184 #define IP_MISSING_SEMI_TEST_CT 1
2185 static tTestDesc aIp_Missing_SemiTests[] = {
2186 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2189 * Fix Command Arguments for Ip_Missing_Semi
2191 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2192 "-e", "/^struct/,/^};/s/}$/};/",
2195 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2197 * Description of Irix_Asm_Apostrophe fix
2199 #define IRIX_ASM_APOSTROPHE_FIXIDX 52
2200 tSCC zIrix_Asm_ApostropheName[] =
2201 "irix_asm_apostrophe";
2204 * File name selection pattern
2206 tSCC zIrix_Asm_ApostropheList[] =
2209 * Machine/OS name selection pattern
2211 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2214 * content selection pattern - do fix if pattern found
2216 tSCC zIrix_Asm_ApostropheSelect0[] =
2217 "^[ \t]*#.*[Ww]e're";
2219 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2220 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2221 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2224 * Fix Command Arguments for Irix_Asm_Apostrophe
2226 static const char* apzIrix_Asm_ApostrophePatch[] = {
2229 "^([ \t]*#.*[Ww]e)'re",
2232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2234 * Description of Isc_Fmod fix
2236 #define ISC_FMOD_FIXIDX 53
2237 tSCC zIsc_FmodName[] =
2241 * File name selection pattern
2243 tSCC zIsc_FmodList[] =
2246 * Machine/OS name selection pattern
2248 #define apzIsc_FmodMachs (const char**)NULL
2251 * content selection pattern - do fix if pattern found
2253 tSCC zIsc_FmodSelect0[] =
2256 #define ISC_FMOD_TEST_CT 1
2257 static tTestDesc aIsc_FmodTests[] = {
2258 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
2261 * Fix Command Arguments for Isc_Fmod
2263 static const char* apzIsc_FmodPatch[] = {
2265 "fmod(double, double)",
2268 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2270 * Description of Kandr_Concat fix
2272 #define KANDR_CONCAT_FIXIDX 54
2273 tSCC zKandr_ConcatName[] =
2277 * File name selection pattern
2279 tSCC zKandr_ConcatList[] =
2280 "|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|";
2282 * Machine/OS name selection pattern
2284 #define apzKandr_ConcatMachs (const char**)NULL
2287 * content selection pattern - do fix if pattern found
2289 tSCC zKandr_ConcatSelect0[] =
2292 #define KANDR_CONCAT_TEST_CT 1
2293 static tTestDesc aKandr_ConcatTests[] = {
2294 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
2297 * Fix Command Arguments for Kandr_Concat
2299 static const char* apzKandr_ConcatPatch[] = {
2304 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2306 * Description of Libc1_Ifdefd_Memx fix
2308 #define LIBC1_IFDEFD_MEMX_FIXIDX 55
2309 tSCC zLibc1_Ifdefd_MemxName[] =
2310 "libc1_ifdefd_memx";
2313 * File name selection pattern
2315 tSCC zLibc1_Ifdefd_MemxList[] =
2316 "|testing.h|string.h|";
2318 * Machine/OS name selection pattern
2320 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
2323 * content selection pattern - do fix if pattern found
2325 tSCC zLibc1_Ifdefd_MemxSelect0[] =
2326 "' is a built-in function for gcc 2\\.x\\. \\*/";
2329 * content bypass pattern - skip fix if pattern found
2331 tSCC zLibc1_Ifdefd_MemxBypass0[] =
2334 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
2335 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
2336 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
2337 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
2340 * Fix Command Arguments for Libc1_Ifdefd_Memx
2342 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
2345 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
2346 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
2348 extern [a-z_]+ mem.*(\n\
2353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2355 * Description of Limits_Ifndefs fix
2357 #define LIMITS_IFNDEFS_FIXIDX 56
2358 tSCC zLimits_IfndefsName[] =
2362 * File name selection pattern
2364 tSCC zLimits_IfndefsList[] =
2365 "|sys/limits.h|limits.h|";
2367 * Machine/OS name selection pattern
2369 #define apzLimits_IfndefsMachs (const char**)NULL
2372 * content bypass pattern - skip fix if pattern found
2374 tSCC zLimits_IfndefsBypass0[] =
2375 "ifndef[ \t]+FLT_MIN";
2377 #define LIMITS_IFNDEFS_TEST_CT 1
2378 static tTestDesc aLimits_IfndefsTests[] = {
2379 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
2382 * Fix Command Arguments for Limits_Ifndefs
2384 static const char* apzLimits_IfndefsPatch[] = {
2389 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*",
2392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2394 * Description of Lynx_Void_Int fix
2396 #define LYNX_VOID_INT_FIXIDX 57
2397 tSCC zLynx_Void_IntName[] =
2401 * File name selection pattern
2403 tSCC zLynx_Void_IntList[] =
2406 * Machine/OS name selection pattern
2408 #define apzLynx_Void_IntMachs (const char**)NULL
2411 * content selection pattern - do fix if pattern found
2413 tSCC zLynx_Void_IntSelect0[] =
2414 "#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
2416 #define LYNX_VOID_INT_TEST_CT 1
2417 static tTestDesc aLynx_Void_IntTests[] = {
2418 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
2421 * Fix Command Arguments for Lynx_Void_Int
2423 static const char* apzLynx_Void_IntPatch[] = {
2428 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2430 * Description of Lynxos_Fcntl_Proto fix
2432 #define LYNXOS_FCNTL_PROTO_FIXIDX 58
2433 tSCC zLynxos_Fcntl_ProtoName[] =
2434 "lynxos_fcntl_proto";
2437 * File name selection pattern
2439 tSCC zLynxos_Fcntl_ProtoList[] =
2442 * Machine/OS name selection pattern
2444 #define apzLynxos_Fcntl_ProtoMachs (const char**)NULL
2447 * content selection pattern - do fix if pattern found
2449 tSCC zLynxos_Fcntl_ProtoSelect0[] =
2450 "fcntl[ \t]*\\(int, int, int\\)";
2452 #define LYNXOS_FCNTL_PROTO_TEST_CT 1
2453 static tTestDesc aLynxos_Fcntl_ProtoTests[] = {
2454 { TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
2457 * Fix Command Arguments for Lynxos_Fcntl_Proto
2459 static const char* apzLynxos_Fcntl_ProtoPatch[] = {
2462 "(fcntl[ \t]*\\(int, int, )int\\)",
2465 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2467 * Description of M88k_Bad_Hypot_Opt fix
2469 #define M88K_BAD_HYPOT_OPT_FIXIDX 59
2470 tSCC zM88k_Bad_Hypot_OptName[] =
2471 "m88k_bad_hypot_opt";
2474 * File name selection pattern
2476 tSCC zM88k_Bad_Hypot_OptList[] =
2479 * Machine/OS name selection pattern
2481 tSCC* apzM88k_Bad_Hypot_OptMachs[] = {
2482 "m88k-motorola-sysv3*",
2483 (const char*)NULL };
2486 * content selection pattern - do fix if pattern found
2488 tSCC zM88k_Bad_Hypot_OptSelect0[] =
2489 "^extern double hypot\\(\\);\n";
2491 #define M88K_BAD_HYPOT_OPT_TEST_CT 1
2492 static tTestDesc aM88k_Bad_Hypot_OptTests[] = {
2493 { TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
2496 * Fix Command Arguments for M88k_Bad_Hypot_Opt
2498 static const char* apzM88k_Bad_Hypot_OptPatch[] = {
2500 "%0/* Workaround a stupid Motorola optimization if one\n\
2501 of x or y is 0.0 and the other is negative! */\n\
2503 static __inline__ double fake_hypot (double x, double y)\n\
2505 static __inline__ double fake_hypot (x, y)\n\
2509 \treturn fabs (hypot (x, y));\n\
2511 #define hypot\tfake_hypot\n",
2514 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2516 * Description of M88k_Bad_S_If fix
2518 #define M88K_BAD_S_IF_FIXIDX 60
2519 tSCC zM88k_Bad_S_IfName[] =
2523 * File name selection pattern
2525 tSCC zM88k_Bad_S_IfList[] =
2528 * Machine/OS name selection pattern
2530 tSCC* apzM88k_Bad_S_IfMachs[] = {
2532 (const char*)NULL };
2535 * content selection pattern - do fix if pattern found
2537 tSCC zM88k_Bad_S_IfSelect0[] =
2538 "#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
2540 #define M88K_BAD_S_IF_TEST_CT 1
2541 static tTestDesc aM88k_Bad_S_IfTests[] = {
2542 { TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
2545 * Fix Command Arguments for M88k_Bad_S_If
2547 static const char* apzM88k_Bad_S_IfPatch[] = {
2549 "#define %1(m) (((m) & S_IFMT) == %2)",
2550 "#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
2553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2555 * Description of M88k_Multi_Incl fix
2557 #define M88K_MULTI_INCL_FIXIDX 61
2558 tSCC zM88k_Multi_InclName[] =
2562 * File name selection pattern
2564 tSCC zM88k_Multi_InclList[] =
2567 * Machine/OS name selection pattern
2569 tSCC* apzM88k_Multi_InclMachs[] = {
2570 "m88k-tektronix-sysv3*",
2571 (const char*)NULL };
2574 * content bypass pattern - skip fix if pattern found
2576 tSCC zM88k_Multi_InclBypass0[] =
2579 #define M88K_MULTI_INCL_TEST_CT 1
2580 static tTestDesc aM88k_Multi_InclTests[] = {
2581 { TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
2584 * Fix Command Arguments for M88k_Multi_Incl
2586 static const char* apzM88k_Multi_InclPatch[] = {
2590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2592 * Description of Machine_Ansi_H_Va_List fix
2594 #define MACHINE_ANSI_H_VA_LIST_FIXIDX 62
2595 tSCC zMachine_Ansi_H_Va_ListName[] =
2596 "machine_ansi_h_va_list";
2599 * File name selection pattern
2601 tSCC zMachine_Ansi_H_Va_ListList[] =
2604 * Machine/OS name selection pattern
2606 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
2609 * content selection pattern - do fix if pattern found
2611 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
2612 "define[ \t]+_BSD_VA_LIST_[ \t]";
2615 * content bypass pattern - skip fix if pattern found
2617 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
2618 "__builtin_va_list";
2620 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
2621 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
2622 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
2623 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
2626 * Fix Command Arguments for Machine_Ansi_H_Va_List
2628 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
2630 "%1__builtin_va_list",
2631 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
2634 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2636 * Description of Machine_Name fix
2638 #define MACHINE_NAME_FIXIDX 63
2639 tSCC zMachine_NameName[] =
2643 * File name selection pattern
2645 #define zMachine_NameList (char*)NULL
2647 * Machine/OS name selection pattern
2649 #define apzMachine_NameMachs (const char**)NULL
2652 * perform the C function call test
2654 tSCC zMachine_NameFTst0[] = "machine_name";
2656 #define MACHINE_NAME_TEST_CT 1
2657 static tTestDesc aMachine_NameTests[] = {
2658 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
2661 * Fix Command Arguments for Machine_Name
2663 static const char* apzMachine_NamePatch[] = {
2667 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2669 * Description of Math_Exception fix
2671 #define MATH_EXCEPTION_FIXIDX 64
2672 tSCC zMath_ExceptionName[] =
2676 * File name selection pattern
2678 tSCC zMath_ExceptionList[] =
2681 * Machine/OS name selection pattern
2683 #define apzMath_ExceptionMachs (const char**)NULL
2686 * content selection pattern - do fix if pattern found
2688 tSCC zMath_ExceptionSelect0[] =
2692 * content bypass pattern - skip fix if pattern found
2694 tSCC zMath_ExceptionBypass0[] =
2695 "We have a problem when using C\\+\\+";
2697 #define MATH_EXCEPTION_TEST_CT 2
2698 static tTestDesc aMath_ExceptionTests[] = {
2699 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
2700 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
2703 * Fix Command Arguments for Math_Exception
2705 static const char* apzMath_ExceptionPatch[] = {
2707 "#ifdef __cplusplus\n\
2708 #define exception __math_exception\n\
2710 "#ifdef __cplusplus\n\
2715 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2717 * Description of Math_Huge_Val_From_Dbl_Max fix
2719 #define MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX 65
2720 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
2721 "math_huge_val_from_dbl_max";
2724 * File name selection pattern
2726 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
2729 * Machine/OS name selection pattern
2731 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
2734 * content selection pattern - do fix if pattern found
2736 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
2737 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
2740 * content bypass pattern - skip fix if pattern found
2742 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
2743 "define[ \t]+DBL_MAX";
2745 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
2746 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
2747 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
2748 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
2751 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
2753 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
2754 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\
2756 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
2757 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
2762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2764 * Description of Math_Huge_Val_Ifndef fix
2766 #define MATH_HUGE_VAL_IFNDEF_FIXIDX 66
2767 tSCC zMath_Huge_Val_IfndefName[] =
2768 "math_huge_val_ifndef";
2771 * File name selection pattern
2773 tSCC zMath_Huge_Val_IfndefList[] =
2774 "|math.h|math/math.h|";
2776 * Machine/OS name selection pattern
2778 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
2781 * content selection pattern - do fix if pattern found
2783 tSCC zMath_Huge_Val_IfndefSelect0[] =
2784 "define[ \t]+HUGE_VAL";
2786 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
2787 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
2788 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
2791 * Fix Command Arguments for Math_Huge_Val_Ifndef
2793 static const char* apzMath_Huge_Val_IfndefPatch[] = {
2795 "#ifndef HUGE_VAL\n\
2798 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
2801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2803 * Description of Nested_Motorola fix
2805 #define NESTED_MOTOROLA_FIXIDX 67
2806 tSCC zNested_MotorolaName[] =
2810 * File name selection pattern
2812 tSCC zNested_MotorolaList[] =
2813 "|sys/limits.h|limits.h|";
2815 * Machine/OS name selection pattern
2817 tSCC* apzNested_MotorolaMachs[] = {
2818 "m68k-motorola-sysv*",
2819 (const char*)NULL };
2822 * content selection pattern - do fix if pattern found
2824 tSCC zNested_MotorolaSelect0[] =
2825 "max # bytes atomic in write|error value returned by Math lib";
2827 #define NESTED_MOTOROLA_TEST_CT 1
2828 static tTestDesc aNested_MotorolaTests[] = {
2829 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
2832 * Fix Command Arguments for Nested_Motorola
2834 static const char* apzNested_MotorolaPatch[] = { "sed",
2835 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
2836 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
2839 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2841 * Description of Nested_Sys_Limits fix
2843 #define NESTED_SYS_LIMITS_FIXIDX 68
2844 tSCC zNested_Sys_LimitsName[] =
2845 "nested_sys_limits";
2848 * File name selection pattern
2850 tSCC zNested_Sys_LimitsList[] =
2853 * Machine/OS name selection pattern
2855 #define apzNested_Sys_LimitsMachs (const char**)NULL
2858 * content selection pattern - do fix if pattern found
2860 tSCC zNested_Sys_LimitsSelect0[] =
2863 #define NESTED_SYS_LIMITS_TEST_CT 1
2864 static tTestDesc aNested_Sys_LimitsTests[] = {
2865 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
2868 * Fix Command Arguments for Nested_Sys_Limits
2870 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
2871 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
2872 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
2875 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2877 * Description of Nested_Auth_Des fix
2879 #define NESTED_AUTH_DES_FIXIDX 69
2880 tSCC zNested_Auth_DesName[] =
2884 * File name selection pattern
2886 tSCC zNested_Auth_DesList[] =
2889 * Machine/OS name selection pattern
2891 #define apzNested_Auth_DesMachs (const char**)NULL
2894 * content selection pattern - do fix if pattern found
2896 tSCC zNested_Auth_DesSelect0[] =
2897 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
2899 #define NESTED_AUTH_DES_TEST_CT 1
2900 static tTestDesc aNested_Auth_DesTests[] = {
2901 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
2904 * Fix Command Arguments for Nested_Auth_Des
2906 static const char* apzNested_Auth_DesPatch[] = {
2911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2913 * Description of News_Os_Recursion fix
2915 #define NEWS_OS_RECURSION_FIXIDX 70
2916 tSCC zNews_Os_RecursionName[] =
2917 "news_os_recursion";
2920 * File name selection pattern
2922 tSCC zNews_Os_RecursionList[] =
2925 * Machine/OS name selection pattern
2927 #define apzNews_Os_RecursionMachs (const char**)NULL
2930 * content selection pattern - do fix if pattern found
2932 tSCC zNews_Os_RecursionSelect0[] =
2933 "[ \t]*#include <stdlib\\.h>.*";
2935 #define NEWS_OS_RECURSION_TEST_CT 1
2936 static tTestDesc aNews_Os_RecursionTests[] = {
2937 { TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
2940 * Fix Command Arguments for News_Os_Recursion
2942 static const char* apzNews_Os_RecursionPatch[] = {
2944 "#ifdef BOGUS_RECURSION\n\
2949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2951 * Description of Next_Math_Prefix fix
2953 #define NEXT_MATH_PREFIX_FIXIDX 71
2954 tSCC zNext_Math_PrefixName[] =
2958 * File name selection pattern
2960 tSCC zNext_Math_PrefixList[] =
2963 * Machine/OS name selection pattern
2965 #define apzNext_Math_PrefixMachs (const char**)NULL
2968 * content selection pattern - do fix if pattern found
2970 tSCC zNext_Math_PrefixSelect0[] =
2971 "^extern[ \t]+double[ \t]+__const__[ \t]";
2973 #define NEXT_MATH_PREFIX_TEST_CT 1
2974 static tTestDesc aNext_Math_PrefixTests[] = {
2975 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
2978 * Fix Command Arguments for Next_Math_Prefix
2980 static const char* apzNext_Math_PrefixPatch[] = {
2982 "extern double %1(",
2983 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
2986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2988 * Description of Next_Template fix
2990 #define NEXT_TEMPLATE_FIXIDX 72
2991 tSCC zNext_TemplateName[] =
2995 * File name selection pattern
2997 tSCC zNext_TemplateList[] =
3000 * Machine/OS name selection pattern
3002 #define apzNext_TemplateMachs (const char**)NULL
3005 * content selection pattern - do fix if pattern found
3007 tSCC zNext_TemplateSelect0[] =
3010 #define NEXT_TEMPLATE_TEST_CT 1
3011 static tTestDesc aNext_TemplateTests[] = {
3012 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3015 * Fix Command Arguments for Next_Template
3017 static const char* apzNext_TemplatePatch[] = {
3020 "\\(([^)]*)[ \t]template\\)",
3023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3025 * Description of Next_Volitile fix
3027 #define NEXT_VOLITILE_FIXIDX 73
3028 tSCC zNext_VolitileName[] =
3032 * File name selection pattern
3034 tSCC zNext_VolitileList[] =
3037 * Machine/OS name selection pattern
3039 #define apzNext_VolitileMachs (const char**)NULL
3042 * content selection pattern - do fix if pattern found
3044 tSCC zNext_VolitileSelect0[] =
3045 "^extern[ \t]+volatile[ \t]+void[ \t]";
3047 #define NEXT_VOLITILE_TEST_CT 1
3048 static tTestDesc aNext_VolitileTests[] = {
3049 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3052 * Fix Command Arguments for Next_Volitile
3054 static const char* apzNext_VolitilePatch[] = {
3057 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3060 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3062 * Description of Next_Wait_Union fix
3064 #define NEXT_WAIT_UNION_FIXIDX 74
3065 tSCC zNext_Wait_UnionName[] =
3069 * File name selection pattern
3071 tSCC zNext_Wait_UnionList[] =
3074 * Machine/OS name selection pattern
3076 #define apzNext_Wait_UnionMachs (const char**)NULL
3079 * content selection pattern - do fix if pattern found
3081 tSCC zNext_Wait_UnionSelect0[] =
3082 "wait\\(union wait";
3084 #define NEXT_WAIT_UNION_TEST_CT 1
3085 static tTestDesc aNext_Wait_UnionTests[] = {
3086 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3089 * Fix Command Arguments for Next_Wait_Union
3091 static const char* apzNext_Wait_UnionPatch[] = {
3096 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3098 * Description of Nodeent_Syntax fix
3100 #define NODEENT_SYNTAX_FIXIDX 75
3101 tSCC zNodeent_SyntaxName[] =
3105 * File name selection pattern
3107 tSCC zNodeent_SyntaxList[] =
3108 "|netdnet/dnetdb.h|";
3110 * Machine/OS name selection pattern
3112 #define apzNodeent_SyntaxMachs (const char**)NULL
3115 * content selection pattern - do fix if pattern found
3117 tSCC zNodeent_SyntaxSelect0[] =
3118 "char[ \t]*\\*na_addr[ \t]*$";
3120 #define NODEENT_SYNTAX_TEST_CT 1
3121 static tTestDesc aNodeent_SyntaxTests[] = {
3122 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3125 * Fix Command Arguments for Nodeent_Syntax
3127 static const char* apzNodeent_SyntaxPatch[] = {
3132 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3134 * Description of Osf_Namespace_A fix
3136 #define OSF_NAMESPACE_A_FIXIDX 76
3137 tSCC zOsf_Namespace_AName[] =
3141 * File name selection pattern
3143 tSCC zOsf_Namespace_AList[] =
3144 "|reg_types.h|sys/lc_core.h|";
3146 * Machine/OS name selection pattern
3148 #define apzOsf_Namespace_AMachs (const char**)NULL
3151 * perform the 'test' shell command - do fix on success
3153 tSCC zOsf_Namespace_ATest0[] =
3155 tSCC zOsf_Namespace_ATest1[] =
3156 " -r sys/lc_core.h";
3157 tSCC zOsf_Namespace_ATest2[] =
3158 " -n \"`grep '} regex_t;' reg_types.h`\"";
3159 tSCC zOsf_Namespace_ATest3[] =
3160 " -z \"`grep __regex_t regex.h`\"";
3162 #define OSF_NAMESPACE_A_TEST_CT 4
3163 static tTestDesc aOsf_Namespace_ATests[] = {
3164 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
3165 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
3166 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
3167 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
3170 * Fix Command Arguments for Osf_Namespace_A
3172 static const char* apzOsf_Namespace_APatch[] = {
3175 "reg(ex|off|match)_t",
3178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3180 * Description of Osf_Namespace_C fix
3182 #define OSF_NAMESPACE_C_FIXIDX 77
3183 tSCC zOsf_Namespace_CName[] =
3187 * File name selection pattern
3189 tSCC zOsf_Namespace_CList[] =
3192 * Machine/OS name selection pattern
3194 #define apzOsf_Namespace_CMachs (const char**)NULL
3197 * content selection pattern - do fix if pattern found
3199 tSCC zOsf_Namespace_CSelect0[] =
3200 "#include <reg_types.h>.*";
3203 * perform the 'test' shell command - do fix on success
3205 tSCC zOsf_Namespace_CTest0[] =
3207 tSCC zOsf_Namespace_CTest1[] =
3208 " -r sys/lc_core.h";
3209 tSCC zOsf_Namespace_CTest2[] =
3210 " -n \"`grep '} regex_t;' reg_types.h`\"";
3211 tSCC zOsf_Namespace_CTest3[] =
3212 " -z \"`grep __regex_t regex.h`\"";
3214 #define OSF_NAMESPACE_C_TEST_CT 5
3215 static tTestDesc aOsf_Namespace_CTests[] = {
3216 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
3217 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
3218 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
3219 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
3220 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
3223 * Fix Command Arguments for Osf_Namespace_C
3225 static const char* apzOsf_Namespace_CPatch[] = {
3228 typedef __regex_t\tregex_t;\n\
3229 typedef __regoff_t\tregoff_t;\n\
3230 typedef __regmatch_t\tregmatch_t;",
3233 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3235 * Description of Pthread_Page_Size fix
3237 #define PTHREAD_PAGE_SIZE_FIXIDX 78
3238 tSCC zPthread_Page_SizeName[] =
3239 "pthread_page_size";
3242 * File name selection pattern
3244 tSCC zPthread_Page_SizeList[] =
3247 * Machine/OS name selection pattern
3249 #define apzPthread_Page_SizeMachs (const char**)NULL
3252 * content selection pattern - do fix if pattern found
3254 tSCC zPthread_Page_SizeSelect0[] =
3257 #define PTHREAD_PAGE_SIZE_TEST_CT 1
3258 static tTestDesc aPthread_Page_SizeTests[] = {
3259 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
3262 * Fix Command Arguments for Pthread_Page_Size
3264 static const char* apzPthread_Page_SizePatch[] = {
3269 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3271 * Description of Read_Ret_Type fix
3273 #define READ_RET_TYPE_FIXIDX 79
3274 tSCC zRead_Ret_TypeName[] =
3278 * File name selection pattern
3280 tSCC zRead_Ret_TypeList[] =
3283 * Machine/OS name selection pattern
3285 #define apzRead_Ret_TypeMachs (const char**)NULL
3288 * content selection pattern - do fix if pattern found
3290 tSCC zRead_Ret_TypeSelect0[] =
3291 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
3293 #define READ_RET_TYPE_TEST_CT 1
3294 static tTestDesc aRead_Ret_TypeTests[] = {
3295 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
3298 * Fix Command Arguments for Read_Ret_Type
3300 static const char* apzRead_Ret_TypePatch[] = {
3302 "extern unsigned int fread(), fwrite();\n\
3304 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
3307 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3309 * Description of Rs6000_Double fix
3311 #define RS6000_DOUBLE_FIXIDX 80
3312 tSCC zRs6000_DoubleName[] =
3316 * File name selection pattern
3318 tSCC zRs6000_DoubleList[] =
3321 * Machine/OS name selection pattern
3323 #define apzRs6000_DoubleMachs (const char**)NULL
3326 * content selection pattern - do fix if pattern found
3328 tSCC zRs6000_DoubleSelect0[] =
3329 "[^a-zA-Z_]class\\(";
3331 #define RS6000_DOUBLE_TEST_CT 1
3332 static tTestDesc aRs6000_DoubleTests[] = {
3333 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
3336 * Fix Command Arguments for Rs6000_Double
3338 static const char* apzRs6000_DoublePatch[] = {
3340 "#ifndef __cplusplus\n\
3343 "^.*[^a-zA-Z_]class\\(.*",
3346 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3348 * Description of Rs6000_Fchmod fix
3350 #define RS6000_FCHMOD_FIXIDX 81
3351 tSCC zRs6000_FchmodName[] =
3355 * File name selection pattern
3357 tSCC zRs6000_FchmodList[] =
3360 * Machine/OS name selection pattern
3362 #define apzRs6000_FchmodMachs (const char**)NULL
3365 * content selection pattern - do fix if pattern found
3367 tSCC zRs6000_FchmodSelect0[] =
3368 "fchmod\\(char \\*";
3370 #define RS6000_FCHMOD_TEST_CT 1
3371 static tTestDesc aRs6000_FchmodTests[] = {
3372 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
3375 * Fix Command Arguments for Rs6000_Fchmod
3377 static const char* apzRs6000_FchmodPatch[] = {
3382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3384 * Description of Rs6000_Param fix
3386 #define RS6000_PARAM_FIXIDX 82
3387 tSCC zRs6000_ParamName[] =
3391 * File name selection pattern
3393 tSCC zRs6000_ParamList[] =
3394 "|stdio.h|unistd.h|";
3396 * Machine/OS name selection pattern
3398 #define apzRs6000_ParamMachs (const char**)NULL
3401 * content selection pattern - do fix if pattern found
3403 tSCC zRs6000_ParamSelect0[] =
3404 "rename\\(const char \\*old, const char \\*new\\)";
3406 #define RS6000_PARAM_TEST_CT 1
3407 static tTestDesc aRs6000_ParamTests[] = {
3408 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
3411 * Fix Command Arguments for Rs6000_Param
3413 static const char* apzRs6000_ParamPatch[] = {
3415 "rename(const char *_old, const char *_new)",
3418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3420 * Description of Sco_Static_Func fix
3422 #define SCO_STATIC_FUNC_FIXIDX 83
3423 tSCC zSco_Static_FuncName[] =
3427 * File name selection pattern
3429 tSCC zSco_Static_FuncList[] =
3432 * Machine/OS name selection pattern
3434 tSCC* apzSco_Static_FuncMachs[] = {
3436 (const char*)NULL };
3439 * content selection pattern - do fix if pattern found
3441 tSCC zSco_Static_FuncSelect0[] =
3444 #define SCO_STATIC_FUNC_TEST_CT 1
3445 static tTestDesc aSco_Static_FuncTests[] = {
3446 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
3449 * Fix Command Arguments for Sco_Static_Func
3451 static const char* apzSco_Static_FuncPatch[] = { "sed",
3452 "-e", "/^static int/i\\\n\
3453 #if __cplusplus\\\n\
3455 #endif /* __cplusplus */",
3457 #if __cplusplus\\\n\
3459 #endif /* __cplusplus */",
3462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3464 * Description of Sco_Strict_Ansi fix
3466 #define SCO_STRICT_ANSI_FIXIDX 84
3467 tSCC zSco_Strict_AnsiName[] =
3471 * File name selection pattern
3473 #define zSco_Strict_AnsiList (char*)NULL
3475 * Machine/OS name selection pattern
3477 tSCC* apzSco_Strict_AnsiMachs[] = {
3479 (const char*)NULL };
3482 * content selection pattern - do fix if pattern found
3484 tSCC zSco_Strict_AnsiSelect0[] =
3485 "^[ \t]*#[ \t]*if.*!__STDC__";
3487 #define SCO_STRICT_ANSI_TEST_CT 1
3488 static tTestDesc aSco_Strict_AnsiTests[] = {
3489 { TT_EGREP, zSco_Strict_AnsiSelect0, (regex_t*)NULL }, };
3492 * Fix Command Arguments for Sco_Strict_Ansi
3494 static const char* apzSco_Strict_AnsiPatch[] = {
3496 "%1defined(__STRICT_ANSI__)%2",
3497 "^([ \t]*#[ \t]*if[ \t].*!)__STDC__(.*)",
3500 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3502 * Description of Sco_Utime fix
3504 #define SCO_UTIME_FIXIDX 85
3505 tSCC zSco_UtimeName[] =
3509 * File name selection pattern
3511 tSCC zSco_UtimeList[] =
3514 * Machine/OS name selection pattern
3516 tSCC* apzSco_UtimeMachs[] = {
3518 (const char*)NULL };
3521 * content selection pattern - do fix if pattern found
3523 tSCC zSco_UtimeSelect0[] =
3524 "\\(const char \\*, struct utimbuf \\*\\);";
3526 #define SCO_UTIME_TEST_CT 1
3527 static tTestDesc aSco_UtimeTests[] = {
3528 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
3531 * Fix Command Arguments for Sco_Utime
3533 static const char* apzSco_UtimePatch[] = {
3535 "(const char *, const struct utimbuf *);",
3538 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3540 * Description of Statsswtch fix
3542 #define STATSSWTCH_FIXIDX 86
3543 tSCC zStatsswtchName[] =
3547 * File name selection pattern
3549 tSCC zStatsswtchList[] =
3552 * Machine/OS name selection pattern
3554 #define apzStatsswtchMachs (const char**)NULL
3557 * content selection pattern - do fix if pattern found
3559 tSCC zStatsswtchSelect0[] =
3562 #define STATSSWTCH_TEST_CT 1
3563 static tTestDesc aStatsswtchTests[] = {
3564 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
3567 * Fix Command Arguments for Statsswtch
3569 static const char* apzStatsswtchPatch[] = {
3574 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3576 * Description of Stdio_Stdarg_H fix
3578 #define STDIO_STDARG_H_FIXIDX 87
3579 tSCC zStdio_Stdarg_HName[] =
3583 * File name selection pattern
3585 tSCC zStdio_Stdarg_HList[] =
3588 * Machine/OS name selection pattern
3590 #define apzStdio_Stdarg_HMachs (const char**)NULL
3593 * content bypass pattern - skip fix if pattern found
3595 tSCC zStdio_Stdarg_HBypass0[] =
3596 "include.*(stdarg.h|machine/ansi.h)";
3598 #define STDIO_STDARG_H_TEST_CT 1
3599 static tTestDesc aStdio_Stdarg_HTests[] = {
3600 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
3603 * Fix Command Arguments for Stdio_Stdarg_H
3605 static const char* apzStdio_Stdarg_HPatch[] = {
3607 "#define __need___va_list\n\
3608 #include <stdarg.h>\n",
3611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3613 * Description of Stdio_Va_List fix
3615 #define STDIO_VA_LIST_FIXIDX 88
3616 tSCC zStdio_Va_ListName[] =
3620 * File name selection pattern
3622 tSCC zStdio_Va_ListList[] =
3625 * Machine/OS name selection pattern
3627 #define apzStdio_Va_ListMachs (const char**)NULL
3630 * content bypass pattern - skip fix if pattern found
3632 tSCC zStdio_Va_ListBypass0[] =
3633 "__gnuc_va_list|_BSD_VA_LIST_";
3635 #define STDIO_VA_LIST_TEST_CT 1
3636 static tTestDesc aStdio_Va_ListTests[] = {
3637 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
3640 * Fix Command Arguments for Stdio_Va_List
3642 static const char* apzStdio_Va_ListPatch[] = { "sed",
3643 "-e", "s@ va_list @ __gnuc_va_list @\n\
3644 s@ va_list)@ __gnuc_va_list)@\n\
3645 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
3646 s@ va_list@ __not_va_list__@\n\
3647 s@\\*va_list@*__not_va_list__@\n\
3648 s@ __va_list)@ __gnuc_va_list)@\n\
3649 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
3650 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
3651 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
3652 s@VA_LIST@DUMMY_VA_LIST@\n\
3653 s@_Va_LIST@_VA_LIST@",
3656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3658 * Description of Struct_File fix
3660 #define STRUCT_FILE_FIXIDX 89
3661 tSCC zStruct_FileName[] =
3665 * File name selection pattern
3667 tSCC zStruct_FileList[] =
3670 * Machine/OS name selection pattern
3672 #define apzStruct_FileMachs (const char**)NULL
3675 * content selection pattern - do fix if pattern found
3677 tSCC zStruct_FileSelect0[] =
3678 "^.*xdrstdio_create.*struct __file_s";
3680 #define STRUCT_FILE_TEST_CT 1
3681 static tTestDesc aStruct_FileTests[] = {
3682 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
3685 * Fix Command Arguments for Struct_File
3687 static const char* apzStruct_FilePatch[] = {
3689 "struct __file_s;\n\
3693 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3695 * Description of Struct_Sockaddr fix
3697 #define STRUCT_SOCKADDR_FIXIDX 90
3698 tSCC zStruct_SockaddrName[] =
3702 * File name selection pattern
3704 tSCC zStruct_SockaddrList[] =
3707 * Machine/OS name selection pattern
3709 #define apzStruct_SockaddrMachs (const char**)NULL
3712 * content selection pattern - do fix if pattern found
3714 tSCC zStruct_SockaddrSelect0[] =
3715 "^.*authdes_create.*struct sockaddr";
3718 * content bypass pattern - skip fix if pattern found
3720 tSCC zStruct_SockaddrBypass0[] =
3723 #define STRUCT_SOCKADDR_TEST_CT 2
3724 static tTestDesc aStruct_SockaddrTests[] = {
3725 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
3726 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
3729 * Fix Command Arguments for Struct_Sockaddr
3731 static const char* apzStruct_SockaddrPatch[] = {
3733 "struct sockaddr;\n\
3737 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3739 * Description of Sun_Auth_Proto fix
3741 #define SUN_AUTH_PROTO_FIXIDX 91
3742 tSCC zSun_Auth_ProtoName[] =
3746 * File name selection pattern
3748 tSCC zSun_Auth_ProtoList[] =
3749 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
3751 * Machine/OS name selection pattern
3753 #define apzSun_Auth_ProtoMachs (const char**)NULL
3756 * content selection pattern - do fix if pattern found
3758 tSCC zSun_Auth_ProtoSelect0[] =
3759 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
3761 #define SUN_AUTH_PROTO_TEST_CT 1
3762 static tTestDesc aSun_Auth_ProtoTests[] = {
3763 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
3766 * Fix Command Arguments for Sun_Auth_Proto
3768 static const char* apzSun_Auth_ProtoPatch[] = {
3770 "#ifdef __cplusplus\n\
3775 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
3778 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3780 * Description of Sun_Bogus_Ifdef fix
3782 #define SUN_BOGUS_IFDEF_FIXIDX 92
3783 tSCC zSun_Bogus_IfdefName[] =
3787 * File name selection pattern
3789 tSCC zSun_Bogus_IfdefList[] =
3790 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
3792 * Machine/OS name selection pattern
3794 #define apzSun_Bogus_IfdefMachs (const char**)NULL
3797 * content selection pattern - do fix if pattern found
3799 tSCC zSun_Bogus_IfdefSelect0[] =
3800 "#ifdef(.*\\|\\|.*)";
3802 #define SUN_BOGUS_IFDEF_TEST_CT 1
3803 static tTestDesc aSun_Bogus_IfdefTests[] = {
3804 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
3807 * Fix Command Arguments for Sun_Bogus_Ifdef
3809 static const char* apzSun_Bogus_IfdefPatch[] = {
3814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3816 * Description of Sun_Catmacro fix
3818 #define SUN_CATMACRO_FIXIDX 93
3819 tSCC zSun_CatmacroName[] =
3823 * File name selection pattern
3825 tSCC zSun_CatmacroList[] =
3826 "|pixrect/memvar.h|";
3828 * Machine/OS name selection pattern
3830 #define apzSun_CatmacroMachs (const char**)NULL
3833 * content selection pattern - do fix if pattern found
3835 tSCC zSun_CatmacroSelect0[] =
3836 "^#define[ \t]+CAT\\(a,b\\).*";
3838 #define SUN_CATMACRO_TEST_CT 1
3839 static tTestDesc aSun_CatmacroTests[] = {
3840 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
3843 * Fix Command Arguments for Sun_Catmacro
3845 static const char* apzSun_CatmacroPatch[] = {
3848 # define CAT(a,b) a##b\n\
3854 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3856 * Description of Sun_Malloc fix
3858 #define SUN_MALLOC_FIXIDX 94
3859 tSCC zSun_MallocName[] =
3863 * File name selection pattern
3865 tSCC zSun_MallocList[] =
3868 * Machine/OS name selection pattern
3870 #define apzSun_MallocMachs (const char**)NULL
3871 #define SUN_MALLOC_TEST_CT 0
3872 #define aSun_MallocTests (tTestDesc*)NULL
3875 * Fix Command Arguments for Sun_Malloc
3877 static const char* apzSun_MallocPatch[] = { "sed",
3878 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
3879 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
3880 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
3881 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
3882 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
3885 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3887 * Description of Sun_Rusers_Semi fix
3889 #define SUN_RUSERS_SEMI_FIXIDX 95
3890 tSCC zSun_Rusers_SemiName[] =
3894 * File name selection pattern
3896 tSCC zSun_Rusers_SemiList[] =
3897 "|rpcsvc/rusers.h|";
3899 * Machine/OS name selection pattern
3901 #define apzSun_Rusers_SemiMachs (const char**)NULL
3904 * content selection pattern - do fix if pattern found
3906 tSCC zSun_Rusers_SemiSelect0[] =
3909 #define SUN_RUSERS_SEMI_TEST_CT 1
3910 static tTestDesc aSun_Rusers_SemiTests[] = {
3911 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
3914 * Fix Command Arguments for Sun_Rusers_Semi
3916 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
3917 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
3920 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3922 * Description of Sun_Signal fix
3924 #define SUN_SIGNAL_FIXIDX 96
3925 tSCC zSun_SignalName[] =
3929 * File name selection pattern
3931 tSCC zSun_SignalList[] =
3932 "|sys/signal.h|signal.h|";
3934 * Machine/OS name selection pattern
3936 #define apzSun_SignalMachs (const char**)NULL
3939 * content selection pattern - do fix if pattern found
3941 tSCC zSun_SignalSelect0[] =
3942 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
3944 #define SUN_SIGNAL_TEST_CT 1
3945 static tTestDesc aSun_SignalTests[] = {
3946 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
3949 * Fix Command Arguments for Sun_Signal
3951 static const char* apzSun_SignalPatch[] = {
3953 "#ifdef __cplusplus\n\
3954 void\t(*signal(...))(...);\n\
3960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3962 * Description of Sunos_Matherr_Decl fix
3964 #define SUNOS_MATHERR_DECL_FIXIDX 97
3965 tSCC zSunos_Matherr_DeclName[] =
3966 "sunos_matherr_decl";
3969 * File name selection pattern
3971 tSCC zSunos_Matherr_DeclList[] =
3974 * Machine/OS name selection pattern
3976 #define apzSunos_Matherr_DeclMachs (const char**)NULL
3979 * content selection pattern - do fix if pattern found
3981 tSCC zSunos_Matherr_DeclSelect0[] =
3985 * content bypass pattern - skip fix if pattern found
3987 tSCC zSunos_Matherr_DeclBypass0[] =
3988 "matherr.*struct exception";
3990 #define SUNOS_MATHERR_DECL_TEST_CT 2
3991 static tTestDesc aSunos_Matherr_DeclTests[] = {
3992 { TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
3993 { TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
3996 * Fix Command Arguments for Sunos_Matherr_Decl
3998 static const char* apzSunos_Matherr_DeclPatch[] = {
4000 "struct exception;\n",
4003 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4005 * Description of Sunos_Strlen fix
4007 #define SUNOS_STRLEN_FIXIDX 98
4008 tSCC zSunos_StrlenName[] =
4012 * File name selection pattern
4014 tSCC zSunos_StrlenList[] =
4017 * Machine/OS name selection pattern
4019 #define apzSunos_StrlenMachs (const char**)NULL
4022 * content selection pattern - do fix if pattern found
4024 tSCC zSunos_StrlenSelect0[] =
4025 "int[ \t]*strlen\\(\\);(.*)";
4027 #define SUNOS_STRLEN_TEST_CT 1
4028 static tTestDesc aSunos_StrlenTests[] = {
4029 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
4032 * Fix Command Arguments for Sunos_Strlen
4034 static const char* apzSunos_StrlenPatch[] = {
4036 "__SIZE_TYPE__ strlen();%1",
4039 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4041 * Description of Svr4__P fix
4043 #define SVR4__P_FIXIDX 99
4044 tSCC zSvr4__PName[] =
4048 * File name selection pattern
4050 tSCC zSvr4__PList[] =
4051 "|math.h|floatingpoint.h|";
4053 * Machine/OS name selection pattern
4055 #define apzSvr4__PMachs (const char**)NULL
4058 * content selection pattern - do fix if pattern found
4060 tSCC zSvr4__PSelect0[] =
4061 "^#define[ \t]+__P.*";
4063 #define SVR4__P_TEST_CT 1
4064 static tTestDesc aSvr4__PTests[] = {
4065 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
4068 * Fix Command Arguments for Svr4__P
4070 static const char* apzSvr4__PPatch[] = {
4077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4079 * Description of Svr4_Getcwd fix
4081 #define SVR4_GETCWD_FIXIDX 100
4082 tSCC zSvr4_GetcwdName[] =
4086 * File name selection pattern
4088 tSCC zSvr4_GetcwdList[] =
4089 "|stdlib.h|unistd.h|prototypes.h|";
4091 * Machine/OS name selection pattern
4093 #define apzSvr4_GetcwdMachs (const char**)NULL
4096 * content selection pattern - do fix if pattern found
4098 tSCC zSvr4_GetcwdSelect0[] =
4099 "getcwd\\(char \\*, int\\)";
4101 #define SVR4_GETCWD_TEST_CT 1
4102 static tTestDesc aSvr4_GetcwdTests[] = {
4103 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
4106 * Fix Command Arguments for Svr4_Getcwd
4108 static const char* apzSvr4_GetcwdPatch[] = {
4110 "getcwd(char *, size_t)",
4113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4115 * Description of Svr4_Profil fix
4117 #define SVR4_PROFIL_FIXIDX 101
4118 tSCC zSvr4_ProfilName[] =
4122 * File name selection pattern
4124 tSCC zSvr4_ProfilList[] =
4125 "|stdlib.h|unistd.h|";
4127 * Machine/OS name selection pattern
4129 #define apzSvr4_ProfilMachs (const char**)NULL
4132 * content selection pattern - do fix if pattern found
4134 tSCC zSvr4_ProfilSelect0[] =
4135 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
4137 #define SVR4_PROFIL_TEST_CT 1
4138 static tTestDesc aSvr4_ProfilTests[] = {
4139 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
4142 * Fix Command Arguments for Svr4_Profil
4144 static const char* apzSvr4_ProfilPatch[] = {
4146 "profil(unsigned short *, size_t, int, unsigned int)",
4149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4151 * Description of Gnu_Types fix
4153 #define GNU_TYPES_FIXIDX 102
4154 tSCC zGnu_TypesName[] =
4158 * File name selection pattern
4160 tSCC zGnu_TypesList[] =
4161 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
4163 * Machine/OS name selection pattern
4165 #define apzGnu_TypesMachs (const char**)NULL
4168 * content selection pattern - do fix if pattern found
4170 tSCC zGnu_TypesSelect0[] =
4171 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4174 * content bypass pattern - skip fix if pattern found
4176 tSCC zGnu_TypesBypass0[] =
4177 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4179 #define GNU_TYPES_TEST_CT 2
4180 static tTestDesc aGnu_TypesTests[] = {
4181 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4182 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4185 * Fix Command Arguments for Gnu_Types
4187 static const char* apzGnu_TypesPatch[] = {
4191 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4193 * Description of Sysv68_String fix
4195 #define SYSV68_STRING_FIXIDX 103
4196 tSCC zSysv68_StringName[] =
4200 * File name selection pattern
4202 tSCC zSysv68_StringList[] =
4203 "|testing.h|string.h|";
4205 * Machine/OS name selection pattern
4207 #define apzSysv68_StringMachs (const char**)NULL
4208 #define SYSV68_STRING_TEST_CT 0
4209 #define aSysv68_StringTests (tTestDesc*)NULL
4212 * Fix Command Arguments for Sysv68_String
4214 static const char* apzSysv68_StringPatch[] = { "sed",
4215 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
4216 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
4217 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
4218 "-e", "/^extern char$/N",
4219 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
4220 "-e", "/^extern int$/N",
4221 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
4222 "-e", "/^\tstrncmp(),$/N",
4223 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
4224 extern unsigned int\\\n\
4228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4230 * Description of Sysz_Stdlib_For_Sun fix
4232 #define SYSZ_STDLIB_FOR_SUN_FIXIDX 104
4233 tSCC zSysz_Stdlib_For_SunName[] =
4234 "sysz_stdlib_for_sun";
4237 * File name selection pattern
4239 tSCC zSysz_Stdlib_For_SunList[] =
4242 * Machine/OS name selection pattern
4244 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
4247 * content selection pattern - do fix if pattern found
4249 tSCC zSysz_Stdlib_For_SunSelect0[] =
4250 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
4252 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
4253 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
4254 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
4257 * Fix Command Arguments for Sysz_Stdlib_For_Sun
4259 static const char* apzSysz_Stdlib_For_SunPatch[] = {
4264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4266 * Description of Tinfo_Cplusplus fix
4268 #define TINFO_CPLUSPLUS_FIXIDX 105
4269 tSCC zTinfo_CplusplusName[] =
4273 * File name selection pattern
4275 tSCC zTinfo_CplusplusList[] =
4278 * Machine/OS name selection pattern
4280 #define apzTinfo_CplusplusMachs (const char**)NULL
4283 * content selection pattern - do fix if pattern found
4285 tSCC zTinfo_CplusplusSelect0[] =
4288 #define TINFO_CPLUSPLUS_TEST_CT 1
4289 static tTestDesc aTinfo_CplusplusTests[] = {
4290 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
4293 * Fix Command Arguments for Tinfo_Cplusplus
4295 static const char* apzTinfo_CplusplusPatch[] = {
4300 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4302 * Description of Ultrix_Atof_Param fix
4304 #define ULTRIX_ATOF_PARAM_FIXIDX 106
4305 tSCC zUltrix_Atof_ParamName[] =
4306 "ultrix_atof_param";
4309 * File name selection pattern
4311 tSCC zUltrix_Atof_ParamList[] =
4314 * Machine/OS name selection pattern
4316 #define apzUltrix_Atof_ParamMachs (const char**)NULL
4319 * content selection pattern - do fix if pattern found
4321 tSCC zUltrix_Atof_ParamSelect0[] =
4322 "atof\\([ \t]*char";
4324 #define ULTRIX_ATOF_PARAM_TEST_CT 1
4325 static tTestDesc aUltrix_Atof_ParamTests[] = {
4326 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
4329 * Fix Command Arguments for Ultrix_Atof_Param
4331 static const char* apzUltrix_Atof_ParamPatch[] = {
4336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4338 * Description of Ultrix_Const fix
4340 #define ULTRIX_CONST_FIXIDX 107
4341 tSCC zUltrix_ConstName[] =
4345 * File name selection pattern
4347 tSCC zUltrix_ConstList[] =
4350 * Machine/OS name selection pattern
4352 #define apzUltrix_ConstMachs (const char**)NULL
4355 * content selection pattern - do fix if pattern found
4357 tSCC zUltrix_ConstSelect0[] =
4358 "perror\\( char \\*";
4360 #define ULTRIX_CONST_TEST_CT 1
4361 static tTestDesc aUltrix_ConstTests[] = {
4362 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
4365 * Fix Command Arguments for Ultrix_Const
4367 static const char* apzUltrix_ConstPatch[] = {
4370 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
4373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4375 * Description of Ultrix_Const2 fix
4377 #define ULTRIX_CONST2_FIXIDX 108
4378 tSCC zUltrix_Const2Name[] =
4382 * File name selection pattern
4384 tSCC zUltrix_Const2List[] =
4387 * Machine/OS name selection pattern
4389 #define apzUltrix_Const2Machs (const char**)NULL
4392 * content selection pattern - do fix if pattern found
4394 tSCC zUltrix_Const2Select0[] =
4395 "\\*fopen\\( char \\*";
4397 #define ULTRIX_CONST2_TEST_CT 1
4398 static tTestDesc aUltrix_Const2Tests[] = {
4399 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
4402 * Fix Command Arguments for Ultrix_Const2
4404 static const char* apzUltrix_Const2Patch[] = {
4406 "%1( const char *%3, const char *",
4407 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
4410 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4412 * Description of Ultrix_Fix_Fixproto fix
4414 #define ULTRIX_FIX_FIXPROTO_FIXIDX 109
4415 tSCC zUltrix_Fix_FixprotoName[] =
4416 "ultrix_fix_fixproto";
4419 * File name selection pattern
4421 tSCC zUltrix_Fix_FixprotoList[] =
4424 * Machine/OS name selection pattern
4426 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
4429 * content selection pattern - do fix if pattern found
4431 tSCC zUltrix_Fix_FixprotoSelect0[] =
4434 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
4435 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
4436 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
4439 * Fix Command Arguments for Ultrix_Fix_Fixproto
4441 static const char* apzUltrix_Fix_FixprotoPatch[] = {
4445 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
4448 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4450 * Description of Ultrix_Ifdef fix
4452 #define ULTRIX_IFDEF_FIXIDX 110
4453 tSCC zUltrix_IfdefName[] =
4457 * File name selection pattern
4459 tSCC zUltrix_IfdefList[] =
4462 * Machine/OS name selection pattern
4464 #define apzUltrix_IfdefMachs (const char**)NULL
4467 * content selection pattern - do fix if pattern found
4469 tSCC zUltrix_IfdefSelect0[] =
4470 "^#ifdef KERNEL[ \t]+&&";
4472 #define ULTRIX_IFDEF_TEST_CT 1
4473 static tTestDesc aUltrix_IfdefTests[] = {
4474 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
4477 * Fix Command Arguments for Ultrix_Ifdef
4479 static const char* apzUltrix_IfdefPatch[] = {
4481 "#if defined(KERNEL) &&",
4484 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4486 * Description of Ultrix_Math_Ifdef fix
4488 #define ULTRIX_MATH_IFDEF_FIXIDX 111
4489 tSCC zUltrix_Math_IfdefName[] =
4490 "ultrix_math_ifdef";
4493 * File name selection pattern
4495 tSCC zUltrix_Math_IfdefList[] =
4496 "|sys/limits.h|float.h|math.h|";
4498 * Machine/OS name selection pattern
4500 #define apzUltrix_Math_IfdefMachs (const char**)NULL
4503 * content selection pattern - do fix if pattern found
4505 tSCC zUltrix_Math_IfdefSelect0[] =
4506 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
4508 #define ULTRIX_MATH_IFDEF_TEST_CT 1
4509 static tTestDesc aUltrix_Math_IfdefTests[] = {
4510 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
4513 * Fix Command Arguments for Ultrix_Math_Ifdef
4515 static const char* apzUltrix_Math_IfdefPatch[] = {
4520 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4522 * Description of Ultrix_Nested_Ioctl fix
4524 #define ULTRIX_NESTED_IOCTL_FIXIDX 112
4525 tSCC zUltrix_Nested_IoctlName[] =
4526 "ultrix_nested_ioctl";
4529 * File name selection pattern
4531 tSCC zUltrix_Nested_IoctlList[] =
4534 * Machine/OS name selection pattern
4536 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
4539 * content selection pattern - do fix if pattern found
4541 tSCC zUltrix_Nested_IoctlSelect0[] =
4542 "^/\\* #define SIOCSCREEN";
4544 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
4545 static tTestDesc aUltrix_Nested_IoctlTests[] = {
4546 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
4549 * Fix Command Arguments for Ultrix_Nested_Ioctl
4551 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
4552 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
4555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4557 * Description of Ultrix_Nested_Svc fix
4559 #define ULTRIX_NESTED_SVC_FIXIDX 113
4560 tSCC zUltrix_Nested_SvcName[] =
4561 "ultrix_nested_svc";
4564 * File name selection pattern
4566 tSCC zUltrix_Nested_SvcList[] =
4569 * Machine/OS name selection pattern
4571 #define apzUltrix_Nested_SvcMachs (const char**)NULL
4574 * content selection pattern - do fix if pattern found
4576 tSCC zUltrix_Nested_SvcSelect0[] =
4577 "^ \\*[ \t]*int protocol; */\\*";
4579 #define ULTRIX_NESTED_SVC_TEST_CT 1
4580 static tTestDesc aUltrix_Nested_SvcTests[] = {
4581 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
4584 * Fix Command Arguments for Ultrix_Nested_Svc
4586 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
4587 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
4590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4592 * Description of Ultrix_Stat fix
4594 #define ULTRIX_STAT_FIXIDX 114
4595 tSCC zUltrix_StatName[] =
4599 * File name selection pattern
4601 tSCC zUltrix_StatList[] =
4604 * Machine/OS name selection pattern
4606 #define apzUltrix_StatMachs (const char**)NULL
4609 * content selection pattern - do fix if pattern found
4611 tSCC zUltrix_StatSelect0[] =
4612 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
4614 #define ULTRIX_STAT_TEST_CT 1
4615 static tTestDesc aUltrix_StatTests[] = {
4616 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
4619 * Fix Command Arguments for Ultrix_Stat
4621 static const char* apzUltrix_StatPatch[] = { "sed",
4622 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
4624 /* macro to test for symbolic link */\\\n\
4625 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\
4627 "-e", "/^[ \t]*fstat(),$/a\\\n\
4631 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4633 * Description of Ultrix_Static fix
4635 #define ULTRIX_STATIC_FIXIDX 115
4636 tSCC zUltrix_StaticName[] =
4640 * File name selection pattern
4642 tSCC zUltrix_StaticList[] =
4645 * Machine/OS name selection pattern
4647 #define apzUltrix_StaticMachs (const char**)NULL
4650 * content selection pattern - do fix if pattern found
4652 tSCC zUltrix_StaticSelect0[] =
4653 "#include \"r[34]_cpu";
4655 #define ULTRIX_STATIC_TEST_CT 1
4656 static tTestDesc aUltrix_StaticTests[] = {
4657 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
4660 * Fix Command Arguments for Ultrix_Static
4662 static const char* apzUltrix_StaticPatch[] = { "sed",
4663 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
4664 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
4665 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
4668 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4670 * Description of Ultrix_Strings fix
4672 #define ULTRIX_STRINGS_FIXIDX 116
4673 tSCC zUltrix_StringsName[] =
4677 * File name selection pattern
4679 tSCC zUltrix_StringsList[] =
4682 * Machine/OS name selection pattern
4684 #define apzUltrix_StringsMachs (const char**)NULL
4687 * content selection pattern - do fix if pattern found
4689 tSCC zUltrix_StringsSelect0[] =
4690 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
4692 #define ULTRIX_STRINGS_TEST_CT 1
4693 static tTestDesc aUltrix_StringsTests[] = {
4694 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
4697 * Fix Command Arguments for Ultrix_Strings
4699 static const char* apzUltrix_StringsPatch[] = {
4703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4705 * Description of Undefine_Null fix
4707 #define UNDEFINE_NULL_FIXIDX 117
4708 tSCC zUndefine_NullName[] =
4712 * File name selection pattern
4714 #define zUndefine_NullList (char*)NULL
4716 * Machine/OS name selection pattern
4718 #define apzUndefine_NullMachs (const char**)NULL
4721 * content selection pattern - do fix if pattern found
4723 tSCC zUndefine_NullSelect0[] =
4724 "^#[ \t]*define[ \t]+NULL[ \t]";
4727 * content bypass pattern - skip fix if pattern found
4729 tSCC zUndefine_NullBypass0[] =
4730 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
4732 #define UNDEFINE_NULL_TEST_CT 2
4733 static tTestDesc aUndefine_NullTests[] = {
4734 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
4735 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
4738 * Fix Command Arguments for Undefine_Null
4740 static const char* apzUndefine_NullPatch[] = {
4745 "^#[ \t]*define[ \t]*[ \t]NULL([^\r\n\
4749 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4751 * Description of Uw7_Byteorder_Fix fix
4753 #define UW7_BYTEORDER_FIX_FIXIDX 118
4754 tSCC zUw7_Byteorder_FixName[] =
4755 "uw7_byteorder_fix";
4758 * File name selection pattern
4760 tSCC zUw7_Byteorder_FixList[] =
4763 * Machine/OS name selection pattern
4765 tSCC* apzUw7_Byteorder_FixMachs[] = {
4769 "i?86-*-solaris2.[0-4]",
4770 "powerpcle-*-solaris2.[0-4]",
4771 "sparc-*-solaris2.[0-4]",
4772 (const char*)NULL };
4775 * content selection pattern - do fix if pattern found
4777 tSCC zUw7_Byteorder_FixSelect0[] =
4781 * perform the 'test' shell command - do fix on success
4783 tSCC zUw7_Byteorder_FixTest0[] =
4784 "-f $DESTDIR/sys/byteorder.h";
4786 #define UW7_BYTEORDER_FIX_TEST_CT 2
4787 static tTestDesc aUw7_Byteorder_FixTests[] = {
4788 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
4789 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
4792 * Fix Command Arguments for Uw7_Byteorder_Fix
4794 static const char* apzUw7_Byteorder_FixPatch[] = {
4797 "^extern.*(htons|ntohs).*\\(in_port_t\\).*\n",
4800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4802 * Description of Va_I960_Macro fix
4804 #define VA_I960_MACRO_FIXIDX 119
4805 tSCC zVa_I960_MacroName[] =
4809 * File name selection pattern
4811 tSCC zVa_I960_MacroList[] =
4812 "|arch/i960/archI960.h|";
4814 * Machine/OS name selection pattern
4816 #define apzVa_I960_MacroMachs (const char**)NULL
4819 * content selection pattern - do fix if pattern found
4821 tSCC zVa_I960_MacroSelect0[] =
4822 "__(vsiz|vali|vpad|alignof__)";
4824 #define VA_I960_MACRO_TEST_CT 1
4825 static tTestDesc aVa_I960_MacroTests[] = {
4826 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
4829 * Fix Command Arguments for Va_I960_Macro
4831 static const char* apzVa_I960_MacroPatch[] = {
4836 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4838 * Description of Void_Null fix
4840 #define VOID_NULL_FIXIDX 120
4841 tSCC zVoid_NullName[] =
4845 * File name selection pattern
4847 tSCC zVoid_NullList[] =
4848 "|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|";
4850 * Machine/OS name selection pattern
4852 #define apzVoid_NullMachs (const char**)NULL
4855 * content selection pattern - do fix if pattern found
4857 tSCC zVoid_NullSelect0[] =
4858 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
4860 #define VOID_NULL_TEST_CT 1
4861 static tTestDesc aVoid_NullTests[] = {
4862 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
4865 * Fix Command Arguments for Void_Null
4867 static const char* apzVoid_NullPatch[] = {
4872 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4874 * Description of Vxworks_Gcc_Problem fix
4876 #define VXWORKS_GCC_PROBLEM_FIXIDX 121
4877 tSCC zVxworks_Gcc_ProblemName[] =
4878 "vxworks_gcc_problem";
4881 * File name selection pattern
4883 tSCC zVxworks_Gcc_ProblemList[] =
4884 "|types/vxTypesBase.h|";
4886 * Machine/OS name selection pattern
4888 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
4891 * content selection pattern - do fix if pattern found
4893 tSCC zVxworks_Gcc_ProblemSelect0[] =
4894 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
4896 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
4897 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
4898 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
4901 * Fix Command Arguments for Vxworks_Gcc_Problem
4903 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
4904 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
4905 "-e", "/[ \t]size_t/i\\\n\
4906 #ifndef _GCC_SIZE_T\\\n\
4907 #define _GCC_SIZE_T\n",
4908 "-e", "/[ \t]size_t/a\\\n\
4910 "-e", "/[ \t]ptrdiff_t/i\\\n\
4911 #ifndef _GCC_PTRDIFF_T\\\n\
4912 #define _GCC_PTRDIFF_T\n",
4913 "-e", "/[ \t]ptrdiff_t/a\\\n\
4915 "-e", "/[ \t]wchar_t/i\\\n\
4916 #ifndef _GCC_WCHAR_T\\\n\
4917 #define _GCC_WCHAR_T\n",
4918 "-e", "/[ \t]wchar_t/a\\\n\
4922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4924 * Description of Vxworks_Needs_Vxtypes fix
4926 #define VXWORKS_NEEDS_VXTYPES_FIXIDX 122
4927 tSCC zVxworks_Needs_VxtypesName[] =
4928 "vxworks_needs_vxtypes";
4931 * File name selection pattern
4933 tSCC zVxworks_Needs_VxtypesList[] =
4936 * Machine/OS name selection pattern
4938 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
4941 * content selection pattern - do fix if pattern found
4943 tSCC zVxworks_Needs_VxtypesSelect0[] =
4944 "uint_t([ \t]+_clocks_per_sec)";
4946 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
4947 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
4948 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
4951 * Fix Command Arguments for Vxworks_Needs_Vxtypes
4953 static const char* apzVxworks_Needs_VxtypesPatch[] = {
4958 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4960 * Description of Vxworks_Needs_Vxworks fix
4962 #define VXWORKS_NEEDS_VXWORKS_FIXIDX 123
4963 tSCC zVxworks_Needs_VxworksName[] =
4964 "vxworks_needs_vxworks";
4967 * File name selection pattern
4969 tSCC zVxworks_Needs_VxworksList[] =
4972 * Machine/OS name selection pattern
4974 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
4977 * content selection pattern - do fix if pattern found
4979 tSCC zVxworks_Needs_VxworksSelect0[] =
4980 "#[ \t]define[ \t]+__INCstath";
4983 * perform the 'test' shell command - do fix on success
4985 tSCC zVxworks_Needs_VxworksTest0[] =
4986 " -r types/vxTypesOld.h";
4987 tSCC zVxworks_Needs_VxworksTest1[] =
4988 " -n \"`egrep '#include' $file`\"";
4989 tSCC zVxworks_Needs_VxworksTest2[] =
4990 " -n \"`egrep ULONG $file`\"";
4992 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
4993 static tTestDesc aVxworks_Needs_VxworksTests[] = {
4994 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
4995 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
4996 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
4997 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
5000 * Fix Command Arguments for Vxworks_Needs_Vxworks
5002 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
5003 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
5004 #include <types/vxTypesOld.h>\n",
5007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5009 * Description of Vxworks_Time fix
5011 #define VXWORKS_TIME_FIXIDX 124
5012 tSCC zVxworks_TimeName[] =
5016 * File name selection pattern
5018 tSCC zVxworks_TimeList[] =
5021 * Machine/OS name selection pattern
5023 #define apzVxworks_TimeMachs (const char**)NULL
5026 * content selection pattern - do fix if pattern found
5028 tSCC zVxworks_TimeSelect0[] =
5029 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
5032 * perform the 'test' shell command - do fix on success
5034 tSCC zVxworks_TimeTest0[] =
5037 #define VXWORKS_TIME_TEST_CT 2
5038 static tTestDesc aVxworks_TimeTests[] = {
5039 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
5040 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
5043 * Fix Command Arguments for Vxworks_Time
5045 static const char* apzVxworks_TimePatch[] = {
5047 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
5048 #ifdef __cplusplus\n\
5049 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
5051 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
5053 #define __gcc_VOIDFUNCPTR_defined\n\
5055 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
5058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5060 * Description of X11_Class fix
5062 #define X11_CLASS_FIXIDX 125
5063 tSCC zX11_ClassName[] =
5067 * File name selection pattern
5069 tSCC zX11_ClassList[] =
5072 * Machine/OS name selection pattern
5074 #define apzX11_ClassMachs (const char**)NULL
5077 * content selection pattern - do fix if pattern found
5079 tSCC zX11_ClassSelect0[] =
5080 "^([ \t]*char \\*)class;(.*)";
5083 * content bypass pattern - skip fix if pattern found
5085 tSCC zX11_ClassBypass0[] =
5088 #define X11_CLASS_TEST_CT 2
5089 static tTestDesc aX11_ClassTests[] = {
5090 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
5091 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
5094 * Fix Command Arguments for X11_Class
5096 static const char* apzX11_ClassPatch[] = {
5098 "#ifdef __cplusplus\n\
5105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5107 * Description of X11_Class_Usage fix
5109 #define X11_CLASS_USAGE_FIXIDX 126
5110 tSCC zX11_Class_UsageName[] =
5114 * File name selection pattern
5116 tSCC zX11_Class_UsageList[] =
5117 "|Xm/BaseClassI.h|";
5119 * Machine/OS name selection pattern
5121 #define apzX11_Class_UsageMachs (const char**)NULL
5124 * content selection pattern - do fix if pattern found
5126 tSCC zX11_Class_UsageSelect0[] =
5130 * content bypass pattern - skip fix if pattern found
5132 tSCC zX11_Class_UsageBypass0[] =
5135 #define X11_CLASS_USAGE_TEST_CT 2
5136 static tTestDesc aX11_Class_UsageTests[] = {
5137 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
5138 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
5141 * Fix Command Arguments for X11_Class_Usage
5143 static const char* apzX11_Class_UsagePatch[] = {
5148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5150 * Description of X11_New fix
5152 #define X11_NEW_FIXIDX 127
5153 tSCC zX11_NewName[] =
5157 * File name selection pattern
5159 tSCC zX11_NewList[] =
5162 * Machine/OS name selection pattern
5164 #define apzX11_NewMachs (const char**)NULL
5167 * content bypass pattern - skip fix if pattern found
5169 tSCC zX11_NewBypass0[] =
5172 #define X11_NEW_TEST_CT 1
5173 static tTestDesc aX11_NewTests[] = {
5174 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
5177 * Fix Command Arguments for X11_New
5179 static const char* apzX11_NewPatch[] = { "sed",
5180 "-e", "/Widget\told, new;/i\\\n\
5181 #ifdef __cplusplus\\\n\
5182 \tWidget\told, c_new;\\\n\
5184 "-e", "/Widget\told, new;/a\\\n\
5186 "-e", "s/Widget new,/Widget c_new,/g",
5189 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5191 * Description of X11_Sprintf fix
5193 #define X11_SPRINTF_FIXIDX 128
5194 tSCC zX11_SprintfName[] =
5198 * File name selection pattern
5200 tSCC zX11_SprintfList[] =
5201 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
5203 * Machine/OS name selection pattern
5205 #define apzX11_SprintfMachs (const char**)NULL
5208 * content selection pattern - do fix if pattern found
5210 tSCC zX11_SprintfSelect0[] =
5211 "^extern char \\*\tsprintf\\(\\);$";
5213 #define X11_SPRINTF_TEST_CT 1
5214 static tTestDesc aX11_SprintfTests[] = {
5215 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
5218 * Fix Command Arguments for X11_Sprintf
5220 static const char* apzX11_SprintfPatch[] = {
5222 "#ifndef __STDC__\n\
5224 #endif /* !defined __STDC__ */",
5228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5232 #define REGEX_COUNT 133
5233 #define MACH_LIST_SIZE_LIMIT 279
5234 #define FIX_COUNT 129
5236 tFixDesc fixDescList[ FIX_COUNT ] = {
5237 { zAaa_Ki_IfaceName, zAaa_Ki_IfaceList,
5238 apzAaa_Ki_IfaceMachs,
5239 AAA_KI_IFACE_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5240 aAaa_Ki_IfaceTests, apzAaa_Ki_IfacePatch },
5242 { zAaa_KiName, zAaa_KiList,
5244 AAA_KI_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5245 aAaa_KiTests, apzAaa_KiPatch },
5247 { zAaa_Ki_CallsName, zAaa_Ki_CallsList,
5248 apzAaa_Ki_CallsMachs,
5249 AAA_KI_CALLS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5250 aAaa_Ki_CallsTests, apzAaa_Ki_CallsPatch },
5252 { zAaa_Ki_DefsName, zAaa_Ki_DefsList,
5253 apzAaa_Ki_DefsMachs,
5254 AAA_KI_DEFS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5255 aAaa_Ki_DefsTests, apzAaa_Ki_DefsPatch },
5257 { zAaa_Bad_FixesName, zAaa_Bad_FixesList,
5258 apzAaa_Bad_FixesMachs,
5259 AAA_BAD_FIXES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5260 aAaa_Bad_FixesTests, apzAaa_Bad_FixesPatch },
5262 { zAaa_TimeName, zAaa_TimeList,
5264 AAA_TIME_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5265 aAaa_TimeTests, apzAaa_TimePatch },
5267 { zAab_Dgux_Int_VarargsName, zAab_Dgux_Int_VarargsList,
5268 apzAab_Dgux_Int_VarargsMachs,
5269 AAB_DGUX_INT_VARARGS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5270 aAab_Dgux_Int_VarargsTests, apzAab_Dgux_Int_VarargsPatch },
5272 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
5273 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
5274 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5275 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch },
5277 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
5278 apzAab_Fd_Zero_Gnu_Types_HMachs,
5279 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5280 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch },
5282 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
5283 apzAab_Fd_Zero_Selectbits_HMachs,
5284 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5285 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch },
5287 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
5288 apzAab_Sun_MemcpyMachs,
5289 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5290 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch },
5292 { zAab_Svr4_Replace_ByteorderName, zAab_Svr4_Replace_ByteorderList,
5293 apzAab_Svr4_Replace_ByteorderMachs,
5294 AAB_SVR4_REPLACE_BYTEORDER_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5295 aAab_Svr4_Replace_ByteorderTests, apzAab_Svr4_Replace_ByteorderPatch },
5297 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
5298 apzAab_Ultrix_Ansi_CompatMachs,
5299 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5300 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch },
5302 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
5303 apzAab_Ultrix_LimitsMachs,
5304 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5305 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch },
5307 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
5308 apzAab_Ultrix_MemoryMachs,
5309 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5310 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch },
5312 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
5313 apzAab_Ultrix_StringMachs,
5314 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5315 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch },
5317 { zAix_PthreadName, zAix_PthreadList,
5318 apzAix_PthreadMachs,
5319 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5320 aAix_PthreadTests, apzAix_PthreadPatch },
5322 { zAix_SysmachineName, zAix_SysmachineList,
5323 apzAix_SysmachineMachs,
5324 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5325 aAix_SysmachineTests, apzAix_SysmachinePatch },
5327 { zAix_SyswaitName, zAix_SyswaitList,
5328 apzAix_SyswaitMachs,
5329 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5330 aAix_SyswaitTests, apzAix_SyswaitPatch },
5332 { zAix_VolatileName, zAix_VolatileList,
5333 apzAix_VolatileMachs,
5334 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5335 aAix_VolatileTests, apzAix_VolatilePatch },
5337 { zAlpha_GetoptName, zAlpha_GetoptList,
5338 apzAlpha_GetoptMachs,
5339 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5340 aAlpha_GetoptTests, apzAlpha_GetoptPatch },
5342 { zAlpha_ParensName, zAlpha_ParensList,
5343 apzAlpha_ParensMachs,
5344 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5345 aAlpha_ParensTests, apzAlpha_ParensPatch },
5347 { zAlpha_SbrkName, zAlpha_SbrkList,
5349 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5350 aAlpha_SbrkTests, apzAlpha_SbrkPatch },
5352 { zArm_Norcroft_HintName, zArm_Norcroft_HintList,
5353 apzArm_Norcroft_HintMachs,
5354 ARM_NORCROFT_HINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5355 aArm_Norcroft_HintTests, apzArm_Norcroft_HintPatch },
5357 { zArm_WcharName, zArm_WcharList,
5359 ARM_WCHAR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5360 aArm_WcharTests, apzArm_WcharPatch },
5362 { zAux_AsmName, zAux_AsmList,
5364 AUX_ASM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5365 aAux_AsmTests, apzAux_AsmPatch },
5367 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
5368 apzAvoid_Bool_DefineMachs,
5369 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5370 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch },
5372 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
5373 apzAvoid_Bool_TypeMachs,
5374 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5375 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch },
5377 { zBad_LvalName, zBad_LvalList,
5379 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
5380 aBad_LvalTests, apzBad_LvalPatch },
5382 { zBad_Struct_TermName, zBad_Struct_TermList,
5383 apzBad_Struct_TermMachs,
5384 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5385 aBad_Struct_TermTests, apzBad_Struct_TermPatch },
5387 { zBadquoteName, zBadquoteList,
5389 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5390 aBadquoteTests, apzBadquotePatch },
5392 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
5393 apzBroken_Assert_StdioMachs,
5394 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5395 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch },
5397 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
5398 apzBroken_Assert_StdlibMachs,
5399 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5400 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch },
5402 { zBroken_CabsName, zBroken_CabsList,
5403 apzBroken_CabsMachs,
5404 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5405 aBroken_CabsTests, apzBroken_CabsPatch },
5407 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
5408 apzCtrl_Quotes_DefMachs,
5409 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5410 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch },
5412 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
5413 apzCtrl_Quotes_UseMachs,
5414 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5415 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch },
5417 { zCxx_UnreadyName, zCxx_UnreadyList,
5418 apzCxx_UnreadyMachs,
5419 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5420 aCxx_UnreadyTests, apzCxx_UnreadyPatch },
5422 { zDec_Intern_AsmName, zDec_Intern_AsmList,
5423 apzDec_Intern_AsmMachs,
5424 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
5425 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch },
5427 { zEcd_CursorName, zEcd_CursorList,
5429 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5430 aEcd_CursorTests, apzEcd_CursorPatch },
5432 { zFix_Header_BreakageName, zFix_Header_BreakageList,
5433 apzFix_Header_BreakageMachs,
5434 FIX_HEADER_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5435 aFix_Header_BreakageTests, apzFix_Header_BreakagePatch },
5437 { zHp_InlineName, zHp_InlineList,
5439 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5440 aHp_InlineTests, apzHp_InlinePatch },
5442 { zHp_SysfileName, zHp_SysfileList,
5444 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5445 aHp_SysfileTests, apzHp_SysfilePatch },
5447 { zHpux11_FabsfName, zHpux11_FabsfList,
5448 apzHpux11_FabsfMachs,
5449 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5450 aHpux11_FabsfTests, apzHpux11_FabsfPatch },
5452 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
5453 apzHpux11_Uint32_CMachs,
5454 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5455 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch },
5457 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
5458 apzHpux8_Bogus_InlinesMachs,
5459 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
5460 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch },
5462 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
5463 apzInt_Abort_Free_And_ExitMachs,
5464 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5465 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch },
5467 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
5468 apzIsc_Omits_With_StdcMachs,
5469 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5470 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch },
5472 { zIo_Quotes_DefName, zIo_Quotes_DefList,
5473 apzIo_Quotes_DefMachs,
5474 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5475 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch },
5477 { zIo_Quotes_UseName, zIo_Quotes_UseList,
5478 apzIo_Quotes_UseMachs,
5479 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5480 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch },
5482 { zHpux_MaxintName, zHpux_MaxintList,
5483 apzHpux_MaxintMachs,
5484 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5485 aHpux_MaxintTests, apzHpux_MaxintPatch },
5487 { zHpux_SystimeName, zHpux_SystimeList,
5488 apzHpux_SystimeMachs,
5489 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5490 aHpux_SystimeTests, apzHpux_SystimePatch },
5492 { zIp_Missing_SemiName, zIp_Missing_SemiList,
5493 apzIp_Missing_SemiMachs,
5494 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
5495 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch },
5497 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
5498 apzIrix_Asm_ApostropheMachs,
5499 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5500 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch },
5502 { zIsc_FmodName, zIsc_FmodList,
5504 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5505 aIsc_FmodTests, apzIsc_FmodPatch },
5507 { zKandr_ConcatName, zKandr_ConcatList,
5508 apzKandr_ConcatMachs,
5509 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5510 aKandr_ConcatTests, apzKandr_ConcatPatch },
5512 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
5513 apzLibc1_Ifdefd_MemxMachs,
5514 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5515 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch },
5517 { zLimits_IfndefsName, zLimits_IfndefsList,
5518 apzLimits_IfndefsMachs,
5519 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5520 aLimits_IfndefsTests, apzLimits_IfndefsPatch },
5522 { zLynx_Void_IntName, zLynx_Void_IntList,
5523 apzLynx_Void_IntMachs,
5524 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5525 aLynx_Void_IntTests, apzLynx_Void_IntPatch },
5527 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
5528 apzLynxos_Fcntl_ProtoMachs,
5529 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5530 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch },
5532 { zM88k_Bad_Hypot_OptName, zM88k_Bad_Hypot_OptList,
5533 apzM88k_Bad_Hypot_OptMachs,
5534 M88K_BAD_HYPOT_OPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5535 aM88k_Bad_Hypot_OptTests, apzM88k_Bad_Hypot_OptPatch },
5537 { zM88k_Bad_S_IfName, zM88k_Bad_S_IfList,
5538 apzM88k_Bad_S_IfMachs,
5539 M88K_BAD_S_IF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5540 aM88k_Bad_S_IfTests, apzM88k_Bad_S_IfPatch },
5542 { zM88k_Multi_InclName, zM88k_Multi_InclList,
5543 apzM88k_Multi_InclMachs,
5544 M88K_MULTI_INCL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5545 aM88k_Multi_InclTests, apzM88k_Multi_InclPatch },
5547 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
5548 apzMachine_Ansi_H_Va_ListMachs,
5549 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5550 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch },
5552 { zMachine_NameName, zMachine_NameList,
5553 apzMachine_NameMachs,
5554 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5555 aMachine_NameTests, apzMachine_NamePatch },
5557 { zMath_ExceptionName, zMath_ExceptionList,
5558 apzMath_ExceptionMachs,
5559 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5560 aMath_ExceptionTests, apzMath_ExceptionPatch },
5562 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
5563 apzMath_Huge_Val_From_Dbl_MaxMachs,
5564 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
5565 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch },
5567 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
5568 apzMath_Huge_Val_IfndefMachs,
5569 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5570 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch },
5572 { zNested_MotorolaName, zNested_MotorolaList,
5573 apzNested_MotorolaMachs,
5574 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
5575 aNested_MotorolaTests, apzNested_MotorolaPatch },
5577 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
5578 apzNested_Sys_LimitsMachs,
5579 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
5580 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch },
5582 { zNested_Auth_DesName, zNested_Auth_DesList,
5583 apzNested_Auth_DesMachs,
5584 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5585 aNested_Auth_DesTests, apzNested_Auth_DesPatch },
5587 { zNews_Os_RecursionName, zNews_Os_RecursionList,
5588 apzNews_Os_RecursionMachs,
5589 NEWS_OS_RECURSION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5590 aNews_Os_RecursionTests, apzNews_Os_RecursionPatch },
5592 { zNext_Math_PrefixName, zNext_Math_PrefixList,
5593 apzNext_Math_PrefixMachs,
5594 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5595 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch },
5597 { zNext_TemplateName, zNext_TemplateList,
5598 apzNext_TemplateMachs,
5599 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5600 aNext_TemplateTests, apzNext_TemplatePatch },
5602 { zNext_VolitileName, zNext_VolitileList,
5603 apzNext_VolitileMachs,
5604 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5605 aNext_VolitileTests, apzNext_VolitilePatch },
5607 { zNext_Wait_UnionName, zNext_Wait_UnionList,
5608 apzNext_Wait_UnionMachs,
5609 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5610 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch },
5612 { zNodeent_SyntaxName, zNodeent_SyntaxList,
5613 apzNodeent_SyntaxMachs,
5614 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5615 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch },
5617 { zOsf_Namespace_AName, zOsf_Namespace_AList,
5618 apzOsf_Namespace_AMachs,
5619 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5620 aOsf_Namespace_ATests, apzOsf_Namespace_APatch },
5622 { zOsf_Namespace_CName, zOsf_Namespace_CList,
5623 apzOsf_Namespace_CMachs,
5624 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5625 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch },
5627 { zPthread_Page_SizeName, zPthread_Page_SizeList,
5628 apzPthread_Page_SizeMachs,
5629 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5630 aPthread_Page_SizeTests, apzPthread_Page_SizePatch },
5632 { zRead_Ret_TypeName, zRead_Ret_TypeList,
5633 apzRead_Ret_TypeMachs,
5634 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5635 aRead_Ret_TypeTests, apzRead_Ret_TypePatch },
5637 { zRs6000_DoubleName, zRs6000_DoubleList,
5638 apzRs6000_DoubleMachs,
5639 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5640 aRs6000_DoubleTests, apzRs6000_DoublePatch },
5642 { zRs6000_FchmodName, zRs6000_FchmodList,
5643 apzRs6000_FchmodMachs,
5644 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5645 aRs6000_FchmodTests, apzRs6000_FchmodPatch },
5647 { zRs6000_ParamName, zRs6000_ParamList,
5648 apzRs6000_ParamMachs,
5649 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5650 aRs6000_ParamTests, apzRs6000_ParamPatch },
5652 { zSco_Static_FuncName, zSco_Static_FuncList,
5653 apzSco_Static_FuncMachs,
5654 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
5655 aSco_Static_FuncTests, apzSco_Static_FuncPatch },
5657 { zSco_Strict_AnsiName, zSco_Strict_AnsiList,
5658 apzSco_Strict_AnsiMachs,
5659 SCO_STRICT_ANSI_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5660 aSco_Strict_AnsiTests, apzSco_Strict_AnsiPatch },
5662 { zSco_UtimeName, zSco_UtimeList,
5664 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5665 aSco_UtimeTests, apzSco_UtimePatch },
5667 { zStatsswtchName, zStatsswtchList,
5669 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5670 aStatsswtchTests, apzStatsswtchPatch },
5672 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
5673 apzStdio_Stdarg_HMachs,
5674 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5675 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch },
5677 { zStdio_Va_ListName, zStdio_Va_ListList,
5678 apzStdio_Va_ListMachs,
5679 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
5680 aStdio_Va_ListTests, apzStdio_Va_ListPatch },
5682 { zStruct_FileName, zStruct_FileList,
5683 apzStruct_FileMachs,
5684 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5685 aStruct_FileTests, apzStruct_FilePatch },
5687 { zStruct_SockaddrName, zStruct_SockaddrList,
5688 apzStruct_SockaddrMachs,
5689 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5690 aStruct_SockaddrTests, apzStruct_SockaddrPatch },
5692 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
5693 apzSun_Auth_ProtoMachs,
5694 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5695 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch },
5697 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
5698 apzSun_Bogus_IfdefMachs,
5699 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5700 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch },
5702 { zSun_CatmacroName, zSun_CatmacroList,
5703 apzSun_CatmacroMachs,
5704 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5705 aSun_CatmacroTests, apzSun_CatmacroPatch },
5707 { zSun_MallocName, zSun_MallocList,
5709 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
5710 aSun_MallocTests, apzSun_MallocPatch },
5712 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
5713 apzSun_Rusers_SemiMachs,
5714 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
5715 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch },
5717 { zSun_SignalName, zSun_SignalList,
5719 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5720 aSun_SignalTests, apzSun_SignalPatch },
5722 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
5723 apzSunos_Matherr_DeclMachs,
5724 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5725 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch },
5727 { zSunos_StrlenName, zSunos_StrlenList,
5728 apzSunos_StrlenMachs,
5729 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5730 aSunos_StrlenTests, apzSunos_StrlenPatch },
5732 { zSvr4__PName, zSvr4__PList,
5734 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5735 aSvr4__PTests, apzSvr4__PPatch },
5737 { zSvr4_GetcwdName, zSvr4_GetcwdList,
5738 apzSvr4_GetcwdMachs,
5739 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5740 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch },
5742 { zSvr4_ProfilName, zSvr4_ProfilList,
5743 apzSvr4_ProfilMachs,
5744 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5745 aSvr4_ProfilTests, apzSvr4_ProfilPatch },
5747 { zGnu_TypesName, zGnu_TypesList,
5749 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5750 aGnu_TypesTests, apzGnu_TypesPatch },
5752 { zSysv68_StringName, zSysv68_StringList,
5753 apzSysv68_StringMachs,
5754 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
5755 aSysv68_StringTests, apzSysv68_StringPatch },
5757 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
5758 apzSysz_Stdlib_For_SunMachs,
5759 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5760 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch },
5762 { zTinfo_CplusplusName, zTinfo_CplusplusList,
5763 apzTinfo_CplusplusMachs,
5764 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5765 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch },
5767 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
5768 apzUltrix_Atof_ParamMachs,
5769 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5770 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch },
5772 { zUltrix_ConstName, zUltrix_ConstList,
5773 apzUltrix_ConstMachs,
5774 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5775 aUltrix_ConstTests, apzUltrix_ConstPatch },
5777 { zUltrix_Const2Name, zUltrix_Const2List,
5778 apzUltrix_Const2Machs,
5779 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5780 aUltrix_Const2Tests, apzUltrix_Const2Patch },
5782 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
5783 apzUltrix_Fix_FixprotoMachs,
5784 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5785 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch },
5787 { zUltrix_IfdefName, zUltrix_IfdefList,
5788 apzUltrix_IfdefMachs,
5789 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5790 aUltrix_IfdefTests, apzUltrix_IfdefPatch },
5792 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
5793 apzUltrix_Math_IfdefMachs,
5794 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5795 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch },
5797 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
5798 apzUltrix_Nested_IoctlMachs,
5799 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
5800 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch },
5802 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
5803 apzUltrix_Nested_SvcMachs,
5804 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
5805 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch },
5807 { zUltrix_StatName, zUltrix_StatList,
5808 apzUltrix_StatMachs,
5809 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
5810 aUltrix_StatTests, apzUltrix_StatPatch },
5812 { zUltrix_StaticName, zUltrix_StaticList,
5813 apzUltrix_StaticMachs,
5814 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
5815 aUltrix_StaticTests, apzUltrix_StaticPatch },
5817 { zUltrix_StringsName, zUltrix_StringsList,
5818 apzUltrix_StringsMachs,
5819 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5820 aUltrix_StringsTests, apzUltrix_StringsPatch },
5822 { zUndefine_NullName, zUndefine_NullList,
5823 apzUndefine_NullMachs,
5824 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5825 aUndefine_NullTests, apzUndefine_NullPatch },
5827 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
5828 apzUw7_Byteorder_FixMachs,
5829 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5830 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch },
5832 { zVa_I960_MacroName, zVa_I960_MacroList,
5833 apzVa_I960_MacroMachs,
5834 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5835 aVa_I960_MacroTests, apzVa_I960_MacroPatch },
5837 { zVoid_NullName, zVoid_NullList,
5839 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5840 aVoid_NullTests, apzVoid_NullPatch },
5842 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
5843 apzVxworks_Gcc_ProblemMachs,
5844 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
5845 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch },
5847 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
5848 apzVxworks_Needs_VxtypesMachs,
5849 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5850 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch },
5852 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
5853 apzVxworks_Needs_VxworksMachs,
5854 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
5855 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch },
5857 { zVxworks_TimeName, zVxworks_TimeList,
5858 apzVxworks_TimeMachs,
5859 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5860 aVxworks_TimeTests, apzVxworks_TimePatch },
5862 { zX11_ClassName, zX11_ClassList,
5864 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5865 aX11_ClassTests, apzX11_ClassPatch },
5867 { zX11_Class_UsageName, zX11_Class_UsageList,
5868 apzX11_Class_UsageMachs,
5869 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5870 aX11_Class_UsageTests, apzX11_Class_UsagePatch },
5872 { zX11_NewName, zX11_NewList,
5874 X11_NEW_TEST_CT, FD_MACH_ONLY,
5875 aX11_NewTests, apzX11_NewPatch },
5877 { zX11_SprintfName, zX11_SprintfList,
5878 apzX11_SprintfMachs,
5879 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5880 aX11_SprintfTests, apzX11_SprintfPatch }