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 145 fixup descriptions.
10 * See README for more information.
12 * inclhack copyright (c) 1998, 1999, 2000, 2001
13 * The Free Software Foundation, Inc.
15 * inclhack is free software.
17 * You may redistribute it and/or modify it under the terms of the
18 * GNU General Public License, as published by the Free Software
19 * Foundation; either version 2, or (at your option) any later version.
21 * inclhack is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24 * See the GNU General Public License for more details.
26 * You should have received a copy of the GNU General Public License
27 * along with inclhack. See the file "COPYING". If not,
28 * write to: The Free Software Foundation, Inc.,
29 * 59 Temple Place - Suite 330,
30 * Boston, MA 02111-1307, USA.
33 /* * * * * * * * * * * * * * * * * * * * * * * * * *
35 * Description of Aaa_Bad_Fixes fix
37 tSCC zAaa_Bad_FixesName[] =
41 * File name selection pattern
43 tSCC zAaa_Bad_FixesList[] =
44 "|sundev/ipi_error.h|";
46 * Machine/OS name selection pattern
48 #define apzAaa_Bad_FixesMachs (const char**)NULL
49 #define AAA_BAD_FIXES_TEST_CT 0
50 #define aAaa_Bad_FixesTests (tTestDesc*)NULL
53 * Fix Command Arguments for Aaa_Bad_Fixes
55 static const char* apzAaa_Bad_FixesPatch[] = {
58 /* * * * * * * * * * * * * * * * * * * * * * * * * *
60 * Description of Aaa_Ki fix
66 * File name selection pattern
71 * Machine/OS name selection pattern
73 #define apzAaa_KiMachs (const char**)NULL
76 * content selection pattern - do fix if pattern found
78 tSCC zAaa_KiSelect0[] =
81 #define AAA_KI_TEST_CT 1
82 static tTestDesc aAaa_KiTests[] = {
83 { TT_EGREP, zAaa_KiSelect0, (regex_t*)NULL }, };
86 * Fix Command Arguments for Aaa_Ki
88 static const char* apzAaa_KiPatch[] = {
91 /* * * * * * * * * * * * * * * * * * * * * * * * * *
93 * Description of Aaa_Ki_Calls fix
95 tSCC zAaa_Ki_CallsName[] =
99 * File name selection pattern
101 tSCC zAaa_Ki_CallsList[] =
104 * Machine/OS name selection pattern
106 #define apzAaa_Ki_CallsMachs (const char**)NULL
109 * content selection pattern - do fix if pattern found
111 tSCC zAaa_Ki_CallsSelect0[] =
112 "kthread_create_caller_t";
114 #define AAA_KI_CALLS_TEST_CT 1
115 static tTestDesc aAaa_Ki_CallsTests[] = {
116 { TT_EGREP, zAaa_Ki_CallsSelect0, (regex_t*)NULL }, };
119 * Fix Command Arguments for Aaa_Ki_Calls
121 static const char* apzAaa_Ki_CallsPatch[] = {
124 /* * * * * * * * * * * * * * * * * * * * * * * * * *
126 * Description of Aaa_Ki_Defs fix
128 tSCC zAaa_Ki_DefsName[] =
132 * File name selection pattern
134 tSCC zAaa_Ki_DefsList[] =
137 * Machine/OS name selection pattern
139 #define apzAaa_Ki_DefsMachs (const char**)NULL
142 * content selection pattern - do fix if pattern found
144 tSCC zAaa_Ki_DefsSelect0[] =
145 "Kernel Instrumentation Definitions";
147 #define AAA_KI_DEFS_TEST_CT 1
148 static tTestDesc aAaa_Ki_DefsTests[] = {
149 { TT_EGREP, zAaa_Ki_DefsSelect0, (regex_t*)NULL }, };
152 * Fix Command Arguments for Aaa_Ki_Defs
154 static const char* apzAaa_Ki_DefsPatch[] = {
157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
159 * Description of Aaa_Ki_Iface fix
161 tSCC zAaa_Ki_IfaceName[] =
165 * File name selection pattern
167 tSCC zAaa_Ki_IfaceList[] =
170 * Machine/OS name selection pattern
172 #define apzAaa_Ki_IfaceMachs (const char**)NULL
175 * content selection pattern - do fix if pattern found
177 tSCC zAaa_Ki_IfaceSelect0[] =
178 "These definitions are for HP Internal developers";
180 #define AAA_KI_IFACE_TEST_CT 1
181 static tTestDesc aAaa_Ki_IfaceTests[] = {
182 { TT_EGREP, zAaa_Ki_IfaceSelect0, (regex_t*)NULL }, };
185 * Fix Command Arguments for Aaa_Ki_Iface
187 static const char* apzAaa_Ki_IfacePatch[] = {
190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
192 * Description of Aaa_Standards fix
194 tSCC zAaa_StandardsName[] =
198 * File name selection pattern
200 tSCC zAaa_StandardsList[] =
203 * Machine/OS name selection pattern
205 #define apzAaa_StandardsMachs (const char**)NULL
208 * content selection pattern - do fix if pattern found
210 tSCC zAaa_StandardsSelect0[] =
211 "GNU and MIPS C compilers define __STDC__ differently";
213 #define AAA_STANDARDS_TEST_CT 1
214 static tTestDesc aAaa_StandardsTests[] = {
215 { TT_EGREP, zAaa_StandardsSelect0, (regex_t*)NULL }, };
218 * Fix Command Arguments for Aaa_Standards
220 static const char* apzAaa_StandardsPatch[] = {
223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
225 * Description of Aaa_Time fix
227 tSCC zAaa_TimeName[] =
231 * File name selection pattern
233 tSCC zAaa_TimeList[] =
236 * Machine/OS name selection pattern
238 #define apzAaa_TimeMachs (const char**)NULL
241 * content selection pattern - do fix if pattern found
243 tSCC zAaa_TimeSelect0[] =
244 "11.0 and later representation of ki time";
246 #define AAA_TIME_TEST_CT 1
247 static tTestDesc aAaa_TimeTests[] = {
248 { TT_EGREP, zAaa_TimeSelect0, (regex_t*)NULL }, };
251 * Fix Command Arguments for Aaa_Time
253 static const char* apzAaa_TimePatch[] = {
256 /* * * * * * * * * * * * * * * * * * * * * * * * * *
258 * Description of Aab_Dgux_Int_Varargs fix
260 tSCC zAab_Dgux_Int_VarargsName[] =
261 "AAB_dgux_int_varargs";
264 * File name selection pattern
266 tSCC zAab_Dgux_Int_VarargsList[] =
269 * Machine/OS name selection pattern
271 #define apzAab_Dgux_Int_VarargsMachs (const char**)NULL
272 #define AAB_DGUX_INT_VARARGS_TEST_CT 0
273 #define aAab_Dgux_Int_VarargsTests (tTestDesc*)NULL
276 * Fix Command Arguments for Aab_Dgux_Int_Varargs
278 static const char* apzAab_Dgux_Int_VarargsPatch[] = {
279 "#ifndef __INT_VARARGS_H\n\
280 #define __INT_VARARGS_H\n\n\
281 /************************************************************************/\n\
282 /* _INT_VARARGS.H - Define the common stuff for varargs/stdarg/stdio. */\n\
283 /************************************************************************/\n\n\
285 ** This file is a DG internal header. Never include this\n\
288 #ifndef ___int_features_h\n\
289 #include <sys/_int_features.h>\n\
291 #if !(defined(_VA_LIST) || defined(_VA_LIST_))\n\
293 #define _VA_LIST_\n\n\
296 typedef void * va_list;\n\
298 typedef char * va_list;\n\
302 #if defined(__DCC__)\n\n\
308 #else /* ! defined(__DCC__) */\n\n\
310 int __va_arg; /* argument number */\n\
311 int *__va_stk; /* start of args passed on stack */\n\
312 int *__va_reg; /* start of args passed in regs */\n\
314 #endif /* ! defined(__DCC__) */\n\n\
316 #if defined(__GNUC__) || defined(__STDC__)\n\
317 typedef void * va_list;\n\
319 typedef char * va_list;\n\
321 #endif /* _IX86_ANY */\n\n\
322 #endif /* __LINT__ */\n\
323 #endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */\n\
324 #endif /* #ifndef __INT_VARARGS_H */\n",
327 /* * * * * * * * * * * * * * * * * * * * * * * * * *
329 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
331 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
332 "AAB_fd_zero_asm_posix_types_h";
335 * File name selection pattern
337 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
338 "|asm/posix_types.h|";
340 * Machine/OS name selection pattern
342 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
343 "i[34567]86-*-linux*",
347 * content bypass pattern - skip fix if pattern found
349 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
352 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
353 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
354 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
357 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
359 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
360 "/* This file fixes a bug in the __FD_ZERO macro\n\
361 for older versions of the Linux kernel. */\n\
362 #ifndef _POSIX_TYPES_H_WRAPPER\n\
363 #include <features.h>\n\
364 #include_next <asm/posix_types.h>\n\n\
365 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
367 #define __FD_ZERO(fdsetp) \\\n\
369 int __d0, __d1; \\\n\
370 \t\t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
371 \t\t\t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
372 \t\t\t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
373 \t\t\t \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
376 #define _POSIX_TYPES_H_WRAPPER\n\
377 #endif /* _POSIX_TYPES_H_WRAPPER */\n",
380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
382 * Description of Aab_Fd_Zero_Gnu_Types_H fix
384 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
385 "AAB_fd_zero_gnu_types_h";
388 * File name selection pattern
390 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
393 * Machine/OS name selection pattern
395 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
396 "i[34567]86-*-linux*",
398 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
399 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
402 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
404 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
405 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
406 #ifndef _TYPES_H_WRAPPER\n\
407 #include <features.h>\n\
408 #include_next <gnu/types.h>\n\n\
409 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
411 # define __FD_ZERO(fdsetp) \\\n\
413 int __d0, __d1; \\\n\
414 \t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
415 \t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
416 \t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
417 \t\t \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
420 #define _TYPES_H_WRAPPER\n\
421 #endif /* _TYPES_H_WRAPPER */\n",
424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
426 * Description of Aab_Fd_Zero_Selectbits_H fix
428 tSCC zAab_Fd_Zero_Selectbits_HName[] =
429 "AAB_fd_zero_selectbits_h";
432 * File name selection pattern
434 tSCC zAab_Fd_Zero_Selectbits_HList[] =
437 * Machine/OS name selection pattern
439 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
440 "i[34567]86-*-linux*",
442 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
443 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
446 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
448 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
449 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
450 #ifndef _SELECTBITS_H_WRAPPER\n\
451 #include <features.h>\n\
452 #include_next <selectbits.h>\n\n\
453 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\n\
454 \t&& defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\n\
455 \t&& __GLIBC_MINOR__ == 0\n\
457 #define __FD_ZERO(fdsetp) \\\n\
459 int __d0, __d1; \\\n\
460 __asm__ __volatile__ (\"cld; rep; stosl\" \\\n\
461 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
462 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\n\
463 / sizeof (__fd_mask)), \\\n\
464 \"1\" ((__fd_mask *) (fdsetp)) \\\n\
468 #define _SELECTBITS_H_WRAPPER\n\
469 #endif /* _SELECTBITS_H_WRAPPER */\n",
472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
474 * Description of Aab_Sun_Memcpy fix
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\n\
507 extern void *memccpy();\n\
508 extern void *memchr();\n\
509 extern void *memcpy();\n\
510 extern void *memset();\n\
512 extern char *memccpy();\n\
513 extern char *memchr();\n\
514 extern char *memcpy();\n\
515 extern char *memset();\n\
516 #endif /* __STDC__ */\n\n\
517 extern int memcmp();\n\n\
518 #endif /* __memory_h__ */\n",
521 /* * * * * * * * * * * * * * * * * * * * * * * * * *
523 * Description of Aab_Svr4_Replace_Byteorder fix
525 tSCC zAab_Svr4_Replace_ByteorderName[] =
526 "AAB_svr4_replace_byteorder";
529 * File name selection pattern
531 tSCC zAab_Svr4_Replace_ByteorderList[] =
534 * Machine/OS name selection pattern
536 tSCC* apzAab_Svr4_Replace_ByteorderMachs[] = {
538 "i[34567]86-*-sysv5*",
540 "i[34567]86-*-solaris2.[0-4]",
541 "powerpcle-*-solaris2.[0-4]",
542 "sparc-*-solaris2.[0-4]",
544 #define AAB_SVR4_REPLACE_BYTEORDER_TEST_CT 0
545 #define aAab_Svr4_Replace_ByteorderTests (tTestDesc*)NULL
548 * Fix Command Arguments for Aab_Svr4_Replace_Byteorder
550 static const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
551 "#ifndef _SYS_BYTEORDER_H\n\
552 #define _SYS_BYTEORDER_H\n\n\
553 /* Functions to convert `short' and `long' quantities from host byte order\n\
554 to (internet) network byte order (i.e. big-endian).\n\n\
555 Written by Ron Guilmette (rfg@ncd.com).\n\n\
556 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
557 For big-endian machines these functions are essentially no-ops.\n\n\
558 For little-endian machines, we define the functions using specialized\n\
559 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
560 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
561 #error You lose! This file is only useful with GNU compilers.\n\
563 #ifndef __BYTE_ORDER__\n\
564 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
565 double underscores added at the front and back. */\n\
566 #define __LITTLE_ENDIAN__ 1234\n\
567 #define __BIG_ENDIAN__ 4321\n\
568 #define __PDP_ENDIAN__ 3412\n\
571 static __inline__ unsigned long htonl (unsigned long);\n\
572 static __inline__ unsigned short htons (unsigned int);\n\
573 static __inline__ unsigned long ntohl (unsigned long);\n\
574 static __inline__ unsigned short ntohs (unsigned int);\n\
575 #endif /* defined (__STDC__) */\n\n\
576 #if defined (__i386__)\n\n\
577 #ifndef __BYTE_ORDER__\n\
578 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
580 /* Convert a host long to a network long. */\n\n\
581 /* We must use a new-style function definition, so that this will also\n\
582 be valid for C++. */\n\
583 static __inline__ unsigned long\n\
584 htonl (unsigned long __arg)\n\
586 register unsigned long __result;\n\n\
587 __asm__ (\"xchg%B0 %b0,%h0\n\
589 \txchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
592 /* Convert a host short to a network short. */\n\n\
593 static __inline__ unsigned short\n\
594 htons (unsigned int __arg)\n\
596 register unsigned short __result;\n\n\
597 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
600 #elif ((defined (__i860__) && !defined (__i860_big_endian__))\t\\\n\
601 || defined (__ns32k__) || defined (__vax__)\t\t\\\n\
602 || defined (__spur__) || defined (__arm__))\n\n\
603 #ifndef __BYTE_ORDER__\n\
604 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
606 /* For other little-endian machines, using C code is just as efficient as\n\
607 using assembly code. */\n\n\
608 /* Convert a host long to a network long. */\n\n\
609 static __inline__ unsigned long\n\
610 htonl (unsigned long __arg)\n\
612 register unsigned long __result;\n\n\
613 __result = (__arg >> 24) & 0x000000ff;\n\
614 __result |= (__arg >> 8) & 0x0000ff00;\n\
615 __result |= (__arg << 8) & 0x00ff0000;\n\
616 __result |= (__arg << 24) & 0xff000000;\n\
619 /* Convert a host short to a network short. */\n\n\
620 static __inline__ unsigned short\n\
621 htons (unsigned int __arg)\n\
623 register unsigned short __result;\n\n\
624 __result = (__arg << 8) & 0xff00;\n\
625 __result |= (__arg >> 8) & 0x00ff;\n\
628 #else /* must be a big-endian machine */\n\n\
629 #ifndef __BYTE_ORDER__\n\
630 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
632 /* Convert a host long to a network long. */\n\n\
633 static __inline__ unsigned long\n\
634 htonl (unsigned long __arg)\n\
638 /* Convert a host short to a network short. */\n\n\
639 static __inline__ unsigned short\n\
640 htons (unsigned int __arg)\n\
644 #endif /* big-endian */\n\n\
645 /* Convert a network long to a host long. */\n\n\
646 static __inline__ unsigned long\n\
647 ntohl (unsigned long __arg)\n\
649 return htonl (__arg);\n\
651 /* Convert a network short to a host short. */\n\n\
652 static __inline__ unsigned short\n\
653 ntohs (unsigned int __arg)\n\
655 return htons (__arg);\n\
660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
662 * Description of Aab_Ultrix_Ansi_Compat fix
664 tSCC zAab_Ultrix_Ansi_CompatName[] =
665 "AAB_ultrix_ansi_compat";
668 * File name selection pattern
670 tSCC zAab_Ultrix_Ansi_CompatList[] =
673 * Machine/OS name selection pattern
675 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
678 * content selection pattern - do fix if pattern found
680 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
683 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
684 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
685 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
688 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
690 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
691 "/* This file intentionally left blank. */\n",
694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
696 * Description of Aab_Ultrix_Limits fix
698 tSCC zAab_Ultrix_LimitsName[] =
702 * File name selection pattern
704 tSCC zAab_Ultrix_LimitsList[] =
707 * Machine/OS name selection pattern
709 tSCC* apzAab_Ultrix_LimitsMachs[] = {
712 #define AAB_ULTRIX_LIMITS_TEST_CT 0
713 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
716 * Fix Command Arguments for Aab_Ultrix_Limits
718 static const char* apzAab_Ultrix_LimitsPatch[] = {
719 "#ifndef _LIMITS_INCLUDED\n\
720 #define _LIMITS_INCLUDED\n\
721 #include <sys/limits.h>\n\
722 #endif /* _LIMITS_INCLUDED */\n",
725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
727 * Description of Aab_Ultrix_Memory fix
729 tSCC zAab_Ultrix_MemoryName[] =
733 * File name selection pattern
735 tSCC zAab_Ultrix_MemoryList[] =
738 * Machine/OS name selection pattern
740 tSCC* apzAab_Ultrix_MemoryMachs[] = {
743 #define AAB_ULTRIX_MEMORY_TEST_CT 0
744 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
747 * Fix Command Arguments for Aab_Ultrix_Memory
749 static const char* apzAab_Ultrix_MemoryPatch[] = {
750 "#ifndef _MEMORY_INCLUDED\n\
751 #define _MEMORY_INCLUDED\n\
752 #include <strings.h>\n\
753 #endif /* _MEMORY_INCLUDED */\n",
756 /* * * * * * * * * * * * * * * * * * * * * * * * * *
758 * Description of Aab_Ultrix_String fix
760 tSCC zAab_Ultrix_StringName[] =
764 * File name selection pattern
766 tSCC zAab_Ultrix_StringList[] =
769 * Machine/OS name selection pattern
771 tSCC* apzAab_Ultrix_StringMachs[] = {
774 #define AAB_ULTRIX_STRING_TEST_CT 0
775 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
778 * Fix Command Arguments for Aab_Ultrix_String
780 static const char* apzAab_Ultrix_StringPatch[] = {
781 "#ifndef _STRING_INCLUDED\n\
782 #define _STRING_INCLUDED\n\
783 #include <strings.h>\n\
784 #endif /* _STRING_INCLUDED */\n",
787 /* * * * * * * * * * * * * * * * * * * * * * * * * *
789 * Description of Aix_Pthread fix
791 tSCC zAix_PthreadName[] =
795 * File name selection pattern
797 tSCC zAix_PthreadList[] =
800 * Machine/OS name selection pattern
802 #define apzAix_PthreadMachs (const char**)NULL
805 * content selection pattern - do fix if pattern found
807 tSCC zAix_PthreadSelect0[] =
808 "(#define [A-Za-z_0-9]+)(\\\\\n\
812 #define AIX_PTHREAD_TEST_CT 1
813 static tTestDesc aAix_PthreadTests[] = {
814 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
817 * Fix Command Arguments for Aix_Pthread
819 static const char* apzAix_PthreadPatch[] = {
824 /* * * * * * * * * * * * * * * * * * * * * * * * * *
826 * Description of Aix_Sysmachine fix
828 tSCC zAix_SysmachineName[] =
832 * File name selection pattern
834 tSCC zAix_SysmachineList[] =
837 * Machine/OS name selection pattern
839 #define apzAix_SysmachineMachs (const char**)NULL
842 * content selection pattern - do fix if pattern found
844 tSCC zAix_SysmachineSelect0[] =
847 #define AIX_SYSMACHINE_TEST_CT 1
848 static tTestDesc aAix_SysmachineTests[] = {
849 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
852 * Fix Command Arguments for Aix_Sysmachine
854 static const char* apzAix_SysmachinePatch[] = {
859 /* * * * * * * * * * * * * * * * * * * * * * * * * *
861 * Description of Aix_Syswait fix
863 tSCC zAix_SyswaitName[] =
867 * File name selection pattern
869 tSCC zAix_SyswaitList[] =
872 * Machine/OS name selection pattern
874 #define apzAix_SyswaitMachs (const char**)NULL
877 * content selection pattern - do fix if pattern found
879 tSCC zAix_SyswaitSelect0[] =
880 "^extern pid_t wait3\\(\\);\n";
881 tSCC zAix_SyswaitSelect1[] =
884 #define AIX_SYSWAIT_TEST_CT 2
885 static tTestDesc aAix_SyswaitTests[] = {
886 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
887 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
890 * Fix Command Arguments for Aix_Syswait
892 static const char* apzAix_SyswaitPatch[] = {
898 /* * * * * * * * * * * * * * * * * * * * * * * * * *
900 * Description of Aix_Volatile fix
902 tSCC zAix_VolatileName[] =
906 * File name selection pattern
908 tSCC zAix_VolatileList[] =
911 * Machine/OS name selection pattern
913 #define apzAix_VolatileMachs (const char**)NULL
916 * content selection pattern - do fix if pattern found
918 tSCC zAix_VolatileSelect0[] =
919 "typedef volatile int sig_atomic_t";
921 #define AIX_VOLATILE_TEST_CT 1
922 static tTestDesc aAix_VolatileTests[] = {
923 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
926 * Fix Command Arguments for Aix_Volatile
928 static const char* apzAix_VolatilePatch[] = {
930 "typedef int sig_atomic_t",
933 /* * * * * * * * * * * * * * * * * * * * * * * * * *
935 * Description of Alpha___Assert fix
937 tSCC zAlpha___AssertName[] =
941 * File name selection pattern
943 tSCC zAlpha___AssertList[] =
946 * Machine/OS name selection pattern
948 #define apzAlpha___AssertMachs (const char**)NULL
951 * content selection pattern - do fix if pattern found
953 tSCC zAlpha___AssertSelect0[] =
954 "__assert\\(char \\*, char \\*, int\\)";
956 #define ALPHA___ASSERT_TEST_CT 1
957 static tTestDesc aAlpha___AssertTests[] = {
958 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
961 * Fix Command Arguments for Alpha___Assert
963 static const char* apzAlpha___AssertPatch[] = {
965 "__assert(const char *, const char *, int)",
968 /* * * * * * * * * * * * * * * * * * * * * * * * * *
970 * Description of Alpha_Getopt fix
972 tSCC zAlpha_GetoptName[] =
976 * File name selection pattern
978 tSCC zAlpha_GetoptList[] =
979 "|stdio.h|stdlib.h|";
981 * Machine/OS name selection pattern
983 #define apzAlpha_GetoptMachs (const char**)NULL
986 * content selection pattern - do fix if pattern found
988 tSCC zAlpha_GetoptSelect0[] =
989 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
991 #define ALPHA_GETOPT_TEST_CT 1
992 static tTestDesc aAlpha_GetoptTests[] = {
993 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
996 * Fix Command Arguments for Alpha_Getopt
998 static const char* apzAlpha_GetoptPatch[] = {
1000 "getopt(int, char *const[], const char *)",
1003 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1005 * Description of Alpha_Parens fix
1007 tSCC zAlpha_ParensName[] =
1011 * File name selection pattern
1013 tSCC zAlpha_ParensList[] =
1016 * Machine/OS name selection pattern
1018 #define apzAlpha_ParensMachs (const char**)NULL
1021 * content selection pattern - do fix if pattern found
1023 tSCC zAlpha_ParensSelect0[] =
1024 "#ifndef\\(__mips64\\)";
1026 #define ALPHA_PARENS_TEST_CT 1
1027 static tTestDesc aAlpha_ParensTests[] = {
1028 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1031 * Fix Command Arguments for Alpha_Parens
1033 static const char* apzAlpha_ParensPatch[] = {
1038 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1040 * Description of Alpha_Sbrk fix
1042 tSCC zAlpha_SbrkName[] =
1046 * File name selection pattern
1048 tSCC zAlpha_SbrkList[] =
1051 * Machine/OS name selection pattern
1053 #define apzAlpha_SbrkMachs (const char**)NULL
1056 * content selection pattern - do fix if pattern found
1058 tSCC zAlpha_SbrkSelect0[] =
1059 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1061 #define ALPHA_SBRK_TEST_CT 1
1062 static tTestDesc aAlpha_SbrkTests[] = {
1063 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1066 * Fix Command Arguments for Alpha_Sbrk
1068 static const char* apzAlpha_SbrkPatch[] = {
1073 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1075 * Description of Arm_Norcroft_Hint fix
1077 tSCC zArm_Norcroft_HintName[] =
1078 "arm_norcroft_hint";
1081 * File name selection pattern
1083 tSCC zArm_Norcroft_HintList[] =
1084 "|X11/Intrinsic.h|";
1086 * Machine/OS name selection pattern
1088 #define apzArm_Norcroft_HintMachs (const char**)NULL
1091 * content selection pattern - do fix if pattern found
1093 tSCC zArm_Norcroft_HintSelect0[] =
1096 #define ARM_NORCROFT_HINT_TEST_CT 1
1097 static tTestDesc aArm_Norcroft_HintTests[] = {
1098 { TT_EGREP, zArm_Norcroft_HintSelect0, (regex_t*)NULL }, };
1101 * Fix Command Arguments for Arm_Norcroft_Hint
1103 static const char* apzArm_Norcroft_HintPatch[] = {
1108 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1110 * Description of Arm_Wchar fix
1112 tSCC zArm_WcharName[] =
1116 * File name selection pattern
1118 tSCC zArm_WcharList[] =
1121 * Machine/OS name selection pattern
1123 #define apzArm_WcharMachs (const char**)NULL
1126 * content selection pattern - do fix if pattern found
1128 tSCC zArm_WcharSelect0[] =
1129 "#[ \t]*define[ \t]*__wchar_t";
1131 #define ARM_WCHAR_TEST_CT 1
1132 static tTestDesc aArm_WcharTests[] = {
1133 { TT_EGREP, zArm_WcharSelect0, (regex_t*)NULL }, };
1136 * Fix Command Arguments for Arm_Wchar
1138 static const char* apzArm_WcharPatch[] = {
1141 "(#[ \t]*(ifndef|define)[ \t]+)__wchar_t",
1144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1146 * Description of Aux_Asm fix
1148 tSCC zAux_AsmName[] =
1152 * File name selection pattern
1154 tSCC zAux_AsmList[] =
1157 * Machine/OS name selection pattern
1159 #define apzAux_AsmMachs (const char**)NULL
1162 * content selection pattern - do fix if pattern found
1164 tSCC zAux_AsmSelect0[] =
1167 #define AUX_ASM_TEST_CT 1
1168 static tTestDesc aAux_AsmTests[] = {
1169 { TT_EGREP, zAux_AsmSelect0, (regex_t*)NULL }, };
1172 * Fix Command Arguments for Aux_Asm
1174 static const char* apzAux_AsmPatch[] = {
1176 "#if !defined(NOINLINE) && !defined(__GNUC__)",
1179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1181 * Description of Avoid_Bool_Define fix
1183 tSCC zAvoid_Bool_DefineName[] =
1184 "avoid_bool_define";
1187 * File name selection pattern
1189 tSCC zAvoid_Bool_DefineList[] =
1190 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1192 * Machine/OS name selection pattern
1194 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1197 * content selection pattern - do fix if pattern found
1199 tSCC zAvoid_Bool_DefineSelect0[] =
1200 "#[ \t]*define[ \t]+bool[ \t]";
1203 * content bypass pattern - skip fix if pattern found
1205 tSCC zAvoid_Bool_DefineBypass0[] =
1206 "we must use the C\\+\\+ compiler's type";
1208 #define AVOID_BOOL_DEFINE_TEST_CT 2
1209 static tTestDesc aAvoid_Bool_DefineTests[] = {
1210 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1211 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1214 * Fix Command Arguments for Avoid_Bool_Define
1216 static const char* apzAvoid_Bool_DefinePatch[] = {
1218 "#ifndef __cplusplus\n\
1221 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1224 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1226 * Description of Avoid_Bool_Type fix
1228 tSCC zAvoid_Bool_TypeName[] =
1232 * File name selection pattern
1234 tSCC zAvoid_Bool_TypeList[] =
1235 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1237 * Machine/OS name selection pattern
1239 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1242 * content selection pattern - do fix if pattern found
1244 tSCC zAvoid_Bool_TypeSelect0[] =
1245 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1248 * content bypass pattern - skip fix if pattern found
1250 tSCC zAvoid_Bool_TypeBypass0[] =
1251 "we must use the C\\+\\+ compiler's type";
1253 #define AVOID_BOOL_TYPE_TEST_CT 2
1254 static tTestDesc aAvoid_Bool_TypeTests[] = {
1255 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1256 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1259 * Fix Command Arguments for Avoid_Bool_Type
1261 static const char* apzAvoid_Bool_TypePatch[] = {
1263 "#ifndef __cplusplus\n\
1268 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1270 * Description of Avoid_Wchar_T_Type fix
1272 tSCC zAvoid_Wchar_T_TypeName[] =
1273 "avoid_wchar_t_type";
1276 * File name selection pattern
1278 #define zAvoid_Wchar_T_TypeList (char*)NULL
1280 * Machine/OS name selection pattern
1282 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1285 * content selection pattern - do fix if pattern found
1287 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1288 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1290 #define AVOID_WCHAR_T_TYPE_TEST_CT 1
1291 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1292 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1295 * Fix Command Arguments for Avoid_Wchar_T_Type
1297 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1299 "#ifndef __cplusplus\n\
1304 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1306 * Description of Bad_Lval fix
1308 tSCC zBad_LvalName[] =
1312 * File name selection pattern
1314 tSCC zBad_LvalList[] =
1315 "|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|";
1317 * Machine/OS name selection pattern
1319 #define apzBad_LvalMachs (const char**)NULL
1322 * content selection pattern - do fix if pattern found
1324 tSCC zBad_LvalSelect0[] =
1325 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1327 #define BAD_LVAL_TEST_CT 1
1328 static tTestDesc aBad_LvalTests[] = {
1329 { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
1332 * Fix Command Arguments for Bad_Lval
1334 static const char* apzBad_LvalPatch[] = { "sed",
1335 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1340 * Description of Bad_Struct_Term fix
1342 tSCC zBad_Struct_TermName[] =
1346 * File name selection pattern
1348 tSCC zBad_Struct_TermList[] =
1351 * Machine/OS name selection pattern
1353 #define apzBad_Struct_TermMachs (const char**)NULL
1356 * content selection pattern - do fix if pattern found
1358 tSCC zBad_Struct_TermSelect0[] =
1359 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1361 #define BAD_STRUCT_TERM_TEST_CT 1
1362 static tTestDesc aBad_Struct_TermTests[] = {
1363 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1366 * Fix Command Arguments for Bad_Struct_Term
1368 static const char* apzBad_Struct_TermPatch[] = {
1373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1375 * Description of Badquote fix
1377 tSCC zBadquoteName[] =
1381 * File name selection pattern
1383 tSCC zBadquoteList[] =
1384 "|sundev/vuid_event.h|";
1386 * Machine/OS name selection pattern
1388 #define apzBadquoteMachs (const char**)NULL
1391 * content selection pattern - do fix if pattern found
1393 tSCC zBadquoteSelect0[] =
1396 #define BADQUOTE_TEST_CT 1
1397 static tTestDesc aBadquoteTests[] = {
1398 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1401 * Fix Command Arguments for Badquote
1403 static const char* apzBadquotePatch[] = {
1408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1410 * Description of Broken_Assert_Stdio fix
1412 tSCC zBroken_Assert_StdioName[] =
1413 "broken_assert_stdio";
1416 * File name selection pattern
1418 tSCC zBroken_Assert_StdioList[] =
1421 * Machine/OS name selection pattern
1423 #define apzBroken_Assert_StdioMachs (const char**)NULL
1426 * content selection pattern - do fix if pattern found
1428 tSCC zBroken_Assert_StdioSelect0[] =
1432 * content bypass pattern - skip fix if pattern found
1434 tSCC zBroken_Assert_StdioBypass0[] =
1435 "include.*stdio\\.h";
1437 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1438 static tTestDesc aBroken_Assert_StdioTests[] = {
1439 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1440 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1443 * Fix Command Arguments for Broken_Assert_Stdio
1445 static const char* apzBroken_Assert_StdioPatch[] = {
1447 "#include <stdio.h>\n",
1450 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1452 * Description of Broken_Assert_Stdlib fix
1454 tSCC zBroken_Assert_StdlibName[] =
1455 "broken_assert_stdlib";
1458 * File name selection pattern
1460 tSCC zBroken_Assert_StdlibList[] =
1463 * Machine/OS name selection pattern
1465 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1468 * content selection pattern - do fix if pattern found
1470 tSCC zBroken_Assert_StdlibSelect0[] =
1471 "exit *\\(|abort *\\(";
1474 * content bypass pattern - skip fix if pattern found
1476 tSCC zBroken_Assert_StdlibBypass0[] =
1477 "include.*stdlib\\.h";
1479 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1480 static tTestDesc aBroken_Assert_StdlibTests[] = {
1481 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1482 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1485 * Fix Command Arguments for Broken_Assert_Stdlib
1487 static const char* apzBroken_Assert_StdlibPatch[] = {
1489 "#ifdef __cplusplus\n\
1490 #include <stdlib.h>\n\
1494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1496 * Description of Broken_Cabs fix
1498 tSCC zBroken_CabsName[] =
1502 * File name selection pattern
1504 tSCC zBroken_CabsList[] =
1507 * Machine/OS name selection pattern
1509 #define apzBroken_CabsMachs (const char**)NULL
1512 * content selection pattern - do fix if pattern found
1514 tSCC zBroken_CabsSelect0[] =
1515 "^extern[ \\t]+double[ \\t]+cabs";
1517 #define BROKEN_CABS_TEST_CT 1
1518 static tTestDesc aBroken_CabsTests[] = {
1519 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1522 * Fix Command Arguments for Broken_Cabs
1524 static const char* apzBroken_CabsPatch[] = {
1527 "^extern[ \t]+double[ \t]+cabs\\((struct dbl_hypot|)\\);",
1530 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1532 * Description of Ctrl_Quotes_Def fix
1534 tSCC zCtrl_Quotes_DefName[] =
1538 * File name selection pattern
1540 #define zCtrl_Quotes_DefList (char*)NULL
1542 * Machine/OS name selection pattern
1544 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1547 * content selection pattern - do fix if pattern found
1549 tSCC zCtrl_Quotes_DefSelect0[] =
1550 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1552 #define CTRL_QUOTES_DEF_TEST_CT 1
1553 static tTestDesc aCtrl_Quotes_DefTests[] = {
1554 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1557 * Fix Command Arguments for Ctrl_Quotes_Def
1559 static const char* apzCtrl_Quotes_DefPatch[] = {
1564 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1566 * Description of Ctrl_Quotes_Use fix
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 tSCC zCxx_UnreadyName[] =
1606 * File name selection pattern
1608 tSCC zCxx_UnreadyList[] =
1609 "|sys/mman.h|rpc/types.h|";
1611 * Machine/OS name selection pattern
1613 #define apzCxx_UnreadyMachs (const char**)NULL
1616 * content selection pattern - do fix if pattern found
1618 tSCC zCxx_UnreadySelect0[] =
1622 * content bypass pattern - skip fix if pattern found
1624 tSCC zCxx_UnreadyBypass0[] =
1625 "\"C\"|__BEGIN_DECLS";
1627 #define CXX_UNREADY_TEST_CT 2
1628 static tTestDesc aCxx_UnreadyTests[] = {
1629 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1630 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1633 * Fix Command Arguments for Cxx_Unready
1635 static const char* apzCxx_UnreadyPatch[] = {
1637 "#ifdef __cplusplus\n\
1640 "#ifdef __cplusplus\n\
1645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1647 * Description of Dec_Intern_Asm fix
1649 tSCC zDec_Intern_AsmName[] =
1653 * File name selection pattern
1655 tSCC zDec_Intern_AsmList[] =
1658 * Machine/OS name selection pattern
1660 #define apzDec_Intern_AsmMachs (const char**)NULL
1661 #define DEC_INTERN_ASM_TEST_CT 0
1662 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1665 * Fix Command Arguments for Dec_Intern_Asm
1667 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1668 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1670 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1674 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1676 * Description of Djgpp_Wchar_H fix
1678 tSCC zDjgpp_Wchar_HName[] =
1682 * File name selection pattern
1684 #define zDjgpp_Wchar_HList (char*)NULL
1686 * Machine/OS name selection pattern
1688 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1691 * content selection pattern - do fix if pattern found
1693 tSCC zDjgpp_Wchar_HSelect0[] =
1697 * content bypass pattern - skip fix if pattern found
1699 tSCC zDjgpp_Wchar_HBypass0[] =
1702 #define DJGPP_WCHAR_H_TEST_CT 2
1703 static tTestDesc aDjgpp_Wchar_HTests[] = {
1704 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1705 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1708 * Fix Command Arguments for Djgpp_Wchar_H
1710 static const char* apzDjgpp_Wchar_HPatch[] = {
1713 #include <sys/djtypes.h>",
1714 "#include <stddef.h>",
1717 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1719 * Description of Ecd_Cursor fix
1721 tSCC zEcd_CursorName[] =
1725 * File name selection pattern
1727 tSCC zEcd_CursorList[] =
1728 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1730 * Machine/OS name selection pattern
1732 #define apzEcd_CursorMachs (const char**)NULL
1735 * content selection pattern - do fix if pattern found
1737 tSCC zEcd_CursorSelect0[] =
1740 #define ECD_CURSOR_TEST_CT 1
1741 static tTestDesc aEcd_CursorTests[] = {
1742 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1745 * Fix Command Arguments for Ecd_Cursor
1747 static const char* apzEcd_CursorPatch[] = {
1752 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1754 * Description of Fix_Header_Breakage fix
1756 tSCC zFix_Header_BreakageName[] =
1757 "fix_header_breakage";
1760 * File name selection pattern
1762 tSCC zFix_Header_BreakageList[] =
1765 * Machine/OS name selection pattern
1767 tSCC* apzFix_Header_BreakageMachs[] = {
1768 "m88k-motorola-sysv3*",
1769 (const char*)NULL };
1772 * content selection pattern - do fix if pattern found
1774 tSCC zFix_Header_BreakageSelect0[] =
1775 "extern double floor\\(\\), ceil\\(\\), fmod\\(\\), fabs\\(\\);";
1777 #define FIX_HEADER_BREAKAGE_TEST_CT 1
1778 static tTestDesc aFix_Header_BreakageTests[] = {
1779 { TT_EGREP, zFix_Header_BreakageSelect0, (regex_t*)NULL }, };
1782 * Fix Command Arguments for Fix_Header_Breakage
1784 static const char* apzFix_Header_BreakagePatch[] = {
1786 "extern double floor(), ceil(), fmod(), fabs _PARAMS((double));",
1789 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1791 * Description of Freebsd_Gcc3_Breakage fix
1793 tSCC zFreebsd_Gcc3_BreakageName[] =
1794 "freebsd_gcc3_breakage";
1797 * File name selection pattern
1799 tSCC zFreebsd_Gcc3_BreakageList[] =
1802 * Machine/OS name selection pattern
1804 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
1806 (const char*)NULL };
1809 * content selection pattern - do fix if pattern found
1811 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
1812 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
1815 * content bypass pattern - skip fix if pattern found
1817 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
1818 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
1820 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
1821 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
1822 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
1823 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
1826 * Fix Command Arguments for Freebsd_Gcc3_Breakage
1828 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
1830 "%0 || __GNUC__ >= 3",
1833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1835 * Description of Gnu_Types fix
1837 tSCC zGnu_TypesName[] =
1841 * File name selection pattern
1843 tSCC zGnu_TypesList[] =
1844 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
1846 * Machine/OS name selection pattern
1848 #define apzGnu_TypesMachs (const char**)NULL
1851 * content selection pattern - do fix if pattern found
1853 tSCC zGnu_TypesSelect0[] =
1854 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
1857 * content bypass pattern - skip fix if pattern found
1859 tSCC zGnu_TypesBypass0[] =
1860 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
1862 #define GNU_TYPES_TEST_CT 2
1863 static tTestDesc aGnu_TypesTests[] = {
1864 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
1865 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
1868 * Fix Command Arguments for Gnu_Types
1870 static const char* apzGnu_TypesPatch[] = {
1874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1876 * Description of Hp_Inline fix
1878 tSCC zHp_InlineName[] =
1882 * File name selection pattern
1884 tSCC zHp_InlineList[] =
1885 "|sys/spinlock.h|machine/machparam.h|";
1887 * Machine/OS name selection pattern
1889 #define apzHp_InlineMachs (const char**)NULL
1892 * content selection pattern - do fix if pattern found
1894 tSCC zHp_InlineSelect0[] =
1895 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1897 #define HP_INLINE_TEST_CT 1
1898 static tTestDesc aHp_InlineTests[] = {
1899 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1902 * Fix Command Arguments for Hp_Inline
1904 static const char* apzHp_InlinePatch[] = {
1907 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1910 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1912 * Description of Hp_Sysfile fix
1914 tSCC zHp_SysfileName[] =
1918 * File name selection pattern
1920 tSCC zHp_SysfileList[] =
1923 * Machine/OS name selection pattern
1925 #define apzHp_SysfileMachs (const char**)NULL
1928 * content selection pattern - do fix if pattern found
1930 tSCC zHp_SysfileSelect0[] =
1933 #define HP_SYSFILE_TEST_CT 1
1934 static tTestDesc aHp_SysfileTests[] = {
1935 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
1938 * Fix Command Arguments for Hp_Sysfile
1940 static const char* apzHp_SysfilePatch[] = {
1942 "(struct file *, ...)",
1946 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1948 * Description of Hpux10_Cpp_Pow_Inline fix
1950 tSCC zHpux10_Cpp_Pow_InlineName[] =
1951 "hpux10_cpp_pow_inline";
1954 * File name selection pattern
1956 tSCC zHpux10_Cpp_Pow_InlineList[] =
1957 "|fixinc-test-limits.h|math.h|";
1959 * Machine/OS name selection pattern
1961 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
1964 * content selection pattern - do fix if pattern found
1966 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
1967 "^# +ifdef +__cplusplus\n\
1969 +inline +double +pow\\(double +__d,int +__expon\\) +{\n\
1970 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
1972 +extern +\"C\" +{\n\
1976 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
1977 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
1978 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
1981 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
1983 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
1988 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1990 * Description of Hpux11_Cpp_Pow_Inline fix
1992 tSCC zHpux11_Cpp_Pow_InlineName[] =
1993 "hpux11_cpp_pow_inline";
1996 * File name selection pattern
1998 tSCC zHpux11_Cpp_Pow_InlineList[] =
2001 * Machine/OS name selection pattern
2003 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2006 * content selection pattern - do fix if pattern found
2008 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2009 " +inline double pow\\(double d,int expon\\) {\n\
2010 +return pow\\(d, \\(double\\)expon\\);\n\
2013 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2014 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2015 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2018 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2020 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2025 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2027 * Description of Hpux11_Fabsf fix
2029 tSCC zHpux11_FabsfName[] =
2033 * File name selection pattern
2035 tSCC zHpux11_FabsfList[] =
2038 * Machine/OS name selection pattern
2040 #define apzHpux11_FabsfMachs (const char**)NULL
2043 * content selection pattern - do fix if pattern found
2045 tSCC zHpux11_FabsfSelect0[] =
2046 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2049 * content bypass pattern - skip fix if pattern found
2051 tSCC zHpux11_FabsfBypass0[] =
2054 #define HPUX11_FABSF_TEST_CT 2
2055 static tTestDesc aHpux11_FabsfTests[] = {
2056 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2057 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2060 * Fix Command Arguments for Hpux11_Fabsf
2062 static const char* apzHpux11_FabsfPatch[] = {
2064 "#ifndef __cplusplus\n\
2069 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2071 * Description of Hpux11_Size_T fix
2073 tSCC zHpux11_Size_TName[] =
2077 * File name selection pattern
2079 #define zHpux11_Size_TList (char*)NULL
2081 * Machine/OS name selection pattern
2083 tSCC* apzHpux11_Size_TMachs[] = {
2085 (const char*)NULL };
2088 * content selection pattern - do fix if pattern found
2090 tSCC zHpux11_Size_TSelect0[] =
2091 "^#define __size_t size_t";
2093 #define HPUX11_SIZE_T_TEST_CT 1
2094 static tTestDesc aHpux11_Size_TTests[] = {
2095 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2098 * Fix Command Arguments for Hpux11_Size_T
2100 static const char* apzHpux11_Size_TPatch[] = {
2106 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2108 * Description of Hpux11_Uint32_C fix
2110 tSCC zHpux11_Uint32_CName[] =
2114 * File name selection pattern
2116 tSCC zHpux11_Uint32_CList[] =
2119 * Machine/OS name selection pattern
2121 #define apzHpux11_Uint32_CMachs (const char**)NULL
2124 * content selection pattern - do fix if pattern found
2126 tSCC zHpux11_Uint32_CSelect0[] =
2127 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2129 #define HPUX11_UINT32_C_TEST_CT 1
2130 static tTestDesc aHpux11_Uint32_CTests[] = {
2131 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2134 * Fix Command Arguments for Hpux11_Uint32_C
2136 static const char* apzHpux11_Uint32_CPatch[] = {
2138 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2141 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2143 * Description of Hpux11_Vsnprintf fix
2145 tSCC zHpux11_VsnprintfName[] =
2149 * File name selection pattern
2151 tSCC zHpux11_VsnprintfList[] =
2154 * Machine/OS name selection pattern
2156 #define apzHpux11_VsnprintfMachs (const char**)NULL
2159 * content selection pattern - do fix if pattern found
2161 tSCC zHpux11_VsnprintfSelect0[] =
2162 "extern int vsnprintf\\(char \\*, __size_t, const char \\*, __va__list\\);";
2164 #define HPUX11_VSNPRINTF_TEST_CT 1
2165 static tTestDesc aHpux11_VsnprintfTests[] = {
2166 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2169 * Fix Command Arguments for Hpux11_Vsnprintf
2171 static const char* apzHpux11_VsnprintfPatch[] = {
2173 "extern int vsnprintf(char *, __size_t, const char *, __va_list);",
2176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2178 * Description of Hpux8_Bogus_Inlines fix
2180 tSCC zHpux8_Bogus_InlinesName[] =
2181 "hpux8_bogus_inlines";
2184 * File name selection pattern
2186 tSCC zHpux8_Bogus_InlinesList[] =
2189 * Machine/OS name selection pattern
2191 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2194 * content selection pattern - do fix if pattern found
2196 tSCC zHpux8_Bogus_InlinesSelect0[] =
2199 #define HPUX8_BOGUS_INLINES_TEST_CT 1
2200 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2201 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2204 * Fix Command Arguments for Hpux8_Bogus_Inlines
2206 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2207 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2208 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2209 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2210 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2213 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2215 * Description of Hpux_Maxint fix
2217 tSCC zHpux_MaxintName[] =
2221 * File name selection pattern
2223 tSCC zHpux_MaxintList[] =
2224 "|sys/param.h|values.h|";
2226 * Machine/OS name selection pattern
2228 #define apzHpux_MaxintMachs (const char**)NULL
2231 * content selection pattern - do fix if pattern found
2233 tSCC zHpux_MaxintSelect0[] =
2234 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2237 * content bypass pattern - skip fix if pattern found
2239 tSCC zHpux_MaxintBypass0[] =
2240 "^#[ \t]*ifndef[ \t]+MAXINT";
2243 * perform the 'test' shell command - do fix on success
2245 tSCC zHpux_MaxintTest0[] =
2246 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2248 #define HPUX_MAXINT_TEST_CT 3
2249 static tTestDesc aHpux_MaxintTests[] = {
2250 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2251 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2252 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2255 * Fix Command Arguments for Hpux_Maxint
2257 static const char* apzHpux_MaxintPatch[] = {
2262 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2267 * Description of Hpux_Systime fix
2269 tSCC zHpux_SystimeName[] =
2273 * File name selection pattern
2275 tSCC zHpux_SystimeList[] =
2278 * Machine/OS name selection pattern
2280 #define apzHpux_SystimeMachs (const char**)NULL
2283 * content selection pattern - do fix if pattern found
2285 tSCC zHpux_SystimeSelect0[] =
2286 "^extern struct sigevent;";
2288 #define HPUX_SYSTIME_TEST_CT 1
2289 static tTestDesc aHpux_SystimeTests[] = {
2290 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2293 * Fix Command Arguments for Hpux_Systime
2295 static const char* apzHpux_SystimePatch[] = {
2300 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2302 * Description of Int_Abort_Free_And_Exit fix
2304 tSCC zInt_Abort_Free_And_ExitName[] =
2305 "int_abort_free_and_exit";
2308 * File name selection pattern
2310 tSCC zInt_Abort_Free_And_ExitList[] =
2313 * Machine/OS name selection pattern
2315 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2318 * content selection pattern - do fix if pattern found
2320 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2321 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2323 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2324 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2325 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2328 * Fix Command Arguments for Int_Abort_Free_And_Exit
2330 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2335 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2337 * Description of Io_Quotes_Def fix
2339 tSCC zIo_Quotes_DefName[] =
2343 * File name selection pattern
2345 #define zIo_Quotes_DefList (char*)NULL
2347 * Machine/OS name selection pattern
2349 #define apzIo_Quotes_DefMachs (const char**)NULL
2352 * content selection pattern - do fix if pattern found
2354 tSCC zIo_Quotes_DefSelect0[] =
2355 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2357 #define IO_QUOTES_DEF_TEST_CT 1
2358 static tTestDesc aIo_Quotes_DefTests[] = {
2359 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2362 * Fix Command Arguments for Io_Quotes_Def
2364 static const char* apzIo_Quotes_DefPatch[] = {
2369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2371 * Description of Io_Quotes_Use fix
2373 tSCC zIo_Quotes_UseName[] =
2377 * File name selection pattern
2379 #define zIo_Quotes_UseList (char*)NULL
2381 * Machine/OS name selection pattern
2383 #define apzIo_Quotes_UseMachs (const char**)NULL
2386 * content selection pattern - do fix if pattern found
2388 tSCC zIo_Quotes_UseSelect0[] =
2389 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2391 #define IO_QUOTES_USE_TEST_CT 1
2392 static tTestDesc aIo_Quotes_UseTests[] = {
2393 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2396 * Fix Command Arguments for Io_Quotes_Use
2398 static const char* apzIo_Quotes_UsePatch[] = {
2403 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2405 * Description of Ip_Missing_Semi fix
2407 tSCC zIp_Missing_SemiName[] =
2411 * File name selection pattern
2413 tSCC zIp_Missing_SemiList[] =
2416 * Machine/OS name selection pattern
2418 #define apzIp_Missing_SemiMachs (const char**)NULL
2421 * content selection pattern - do fix if pattern found
2423 tSCC zIp_Missing_SemiSelect0[] =
2426 #define IP_MISSING_SEMI_TEST_CT 1
2427 static tTestDesc aIp_Missing_SemiTests[] = {
2428 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2431 * Fix Command Arguments for Ip_Missing_Semi
2433 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2434 "-e", "/^struct/,/^};/s/}$/};/",
2437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2439 * Description of Irix_Asm_Apostrophe fix
2441 tSCC zIrix_Asm_ApostropheName[] =
2442 "irix_asm_apostrophe";
2445 * File name selection pattern
2447 tSCC zIrix_Asm_ApostropheList[] =
2450 * Machine/OS name selection pattern
2452 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2455 * content selection pattern - do fix if pattern found
2457 tSCC zIrix_Asm_ApostropheSelect0[] =
2458 "^[ \t]*#.*[Ww]e're";
2460 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2461 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2462 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2465 * Fix Command Arguments for Irix_Asm_Apostrophe
2467 static const char* apzIrix_Asm_ApostrophePatch[] = {
2470 "^([ \t]*#.*[Ww]e)'re",
2473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2475 * Description of Irix_Limits_Const fix
2477 tSCC zIrix_Limits_ConstName[] =
2478 "irix_limits_const";
2481 * File name selection pattern
2483 tSCC zIrix_Limits_ConstList[] =
2484 "|fixinc-test-limits.h|limits.h|";
2486 * Machine/OS name selection pattern
2488 #define apzIrix_Limits_ConstMachs (const char**)NULL
2491 * content selection pattern - do fix if pattern found
2493 tSCC zIrix_Limits_ConstSelect0[] =
2496 #define IRIX_LIMITS_CONST_TEST_CT 1
2497 static tTestDesc aIrix_Limits_ConstTests[] = {
2498 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
2501 * Fix Command Arguments for Irix_Limits_Const
2503 static const char* apzIrix_Limits_ConstPatch[] = {
2508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2510 * Description of Irix_Stdio_Va_List fix
2512 tSCC zIrix_Stdio_Va_ListName[] =
2513 "irix_stdio_va_list";
2516 * File name selection pattern
2518 tSCC zIrix_Stdio_Va_ListList[] =
2521 * Machine/OS name selection pattern
2523 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
2526 * content selection pattern - do fix if pattern found
2528 tSCC zIrix_Stdio_Va_ListSelect0[] =
2529 "(printf\\(.*), /\\* va_list \\*/ char \\*";
2531 #define IRIX_STDIO_VA_LIST_TEST_CT 1
2532 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
2533 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
2536 * Fix Command Arguments for Irix_Stdio_Va_List
2538 static const char* apzIrix_Stdio_Va_ListPatch[] = {
2540 "%1, __gnuc_va_list",
2543 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2545 * Description of Isc_Fmod fix
2547 tSCC zIsc_FmodName[] =
2551 * File name selection pattern
2553 tSCC zIsc_FmodList[] =
2556 * Machine/OS name selection pattern
2558 #define apzIsc_FmodMachs (const char**)NULL
2561 * content selection pattern - do fix if pattern found
2563 tSCC zIsc_FmodSelect0[] =
2566 #define ISC_FMOD_TEST_CT 1
2567 static tTestDesc aIsc_FmodTests[] = {
2568 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
2571 * Fix Command Arguments for Isc_Fmod
2573 static const char* apzIsc_FmodPatch[] = {
2575 "fmod(double, double)",
2578 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2580 * Description of Isc_Omits_With_Stdc fix
2582 tSCC zIsc_Omits_With_StdcName[] =
2583 "isc_omits_with_stdc";
2586 * File name selection pattern
2588 tSCC zIsc_Omits_With_StdcList[] =
2589 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
2591 * Machine/OS name selection pattern
2593 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
2596 * content selection pattern - do fix if pattern found
2598 tSCC zIsc_Omits_With_StdcSelect0[] =
2599 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
2601 #define ISC_OMITS_WITH_STDC_TEST_CT 1
2602 static tTestDesc aIsc_Omits_With_StdcTests[] = {
2603 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
2606 * Fix Command Arguments for Isc_Omits_With_Stdc
2608 static const char* apzIsc_Omits_With_StdcPatch[] = {
2610 "!defined(_POSIX_SOURCE)",
2613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2615 * Description of Kandr_Concat fix
2617 tSCC zKandr_ConcatName[] =
2621 * File name selection pattern
2623 tSCC zKandr_ConcatList[] =
2624 "|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|";
2626 * Machine/OS name selection pattern
2628 #define apzKandr_ConcatMachs (const char**)NULL
2631 * content selection pattern - do fix if pattern found
2633 tSCC zKandr_ConcatSelect0[] =
2636 #define KANDR_CONCAT_TEST_CT 1
2637 static tTestDesc aKandr_ConcatTests[] = {
2638 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
2641 * Fix Command Arguments for Kandr_Concat
2643 static const char* apzKandr_ConcatPatch[] = {
2648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2650 * Description of Libc1_Ifdefd_Memx fix
2652 tSCC zLibc1_Ifdefd_MemxName[] =
2653 "libc1_ifdefd_memx";
2656 * File name selection pattern
2658 tSCC zLibc1_Ifdefd_MemxList[] =
2659 "|testing.h|string.h|";
2661 * Machine/OS name selection pattern
2663 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
2666 * content selection pattern - do fix if pattern found
2668 tSCC zLibc1_Ifdefd_MemxSelect0[] =
2669 "' is a built-in function for gcc 2\\.x\\. \\*/";
2672 * content bypass pattern - skip fix if pattern found
2674 tSCC zLibc1_Ifdefd_MemxBypass0[] =
2677 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
2678 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
2679 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
2680 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
2683 * Fix Command Arguments for Libc1_Ifdefd_Memx
2685 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
2688 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
2689 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
2691 extern [a-z_]+ mem.*(\n\
2696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2698 * Description of Limits_Ifndefs fix
2700 tSCC zLimits_IfndefsName[] =
2704 * File name selection pattern
2706 tSCC zLimits_IfndefsList[] =
2707 "|sys/limits.h|limits.h|";
2709 * Machine/OS name selection pattern
2711 #define apzLimits_IfndefsMachs (const char**)NULL
2714 * content bypass pattern - skip fix if pattern found
2716 tSCC zLimits_IfndefsBypass0[] =
2717 "ifndef[ \t]+FLT_MIN";
2719 #define LIMITS_IFNDEFS_TEST_CT 1
2720 static tTestDesc aLimits_IfndefsTests[] = {
2721 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
2724 * Fix Command Arguments for Limits_Ifndefs
2726 static const char* apzLimits_IfndefsPatch[] = {
2731 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*",
2734 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2736 * Description of Lynx_Void_Int fix
2738 tSCC zLynx_Void_IntName[] =
2742 * File name selection pattern
2744 tSCC zLynx_Void_IntList[] =
2747 * Machine/OS name selection pattern
2749 #define apzLynx_Void_IntMachs (const char**)NULL
2752 * content selection pattern - do fix if pattern found
2754 tSCC zLynx_Void_IntSelect0[] =
2755 "#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
2757 #define LYNX_VOID_INT_TEST_CT 1
2758 static tTestDesc aLynx_Void_IntTests[] = {
2759 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
2762 * Fix Command Arguments for Lynx_Void_Int
2764 static const char* apzLynx_Void_IntPatch[] = {
2769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2771 * Description of Lynxos_Fcntl_Proto fix
2773 tSCC zLynxos_Fcntl_ProtoName[] =
2774 "lynxos_fcntl_proto";
2777 * File name selection pattern
2779 tSCC zLynxos_Fcntl_ProtoList[] =
2782 * Machine/OS name selection pattern
2784 #define apzLynxos_Fcntl_ProtoMachs (const char**)NULL
2787 * content selection pattern - do fix if pattern found
2789 tSCC zLynxos_Fcntl_ProtoSelect0[] =
2790 "fcntl[ \t]*\\(int, int, int\\)";
2792 #define LYNXOS_FCNTL_PROTO_TEST_CT 1
2793 static tTestDesc aLynxos_Fcntl_ProtoTests[] = {
2794 { TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
2797 * Fix Command Arguments for Lynxos_Fcntl_Proto
2799 static const char* apzLynxos_Fcntl_ProtoPatch[] = {
2802 "(fcntl[ \t]*\\(int, int, )int\\)",
2805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2807 * Description of M88k_Bad_Hypot_Opt fix
2809 tSCC zM88k_Bad_Hypot_OptName[] =
2810 "m88k_bad_hypot_opt";
2813 * File name selection pattern
2815 tSCC zM88k_Bad_Hypot_OptList[] =
2818 * Machine/OS name selection pattern
2820 tSCC* apzM88k_Bad_Hypot_OptMachs[] = {
2821 "m88k-motorola-sysv3*",
2822 (const char*)NULL };
2825 * content selection pattern - do fix if pattern found
2827 tSCC zM88k_Bad_Hypot_OptSelect0[] =
2828 "^extern double hypot\\(\\);\n";
2830 #define M88K_BAD_HYPOT_OPT_TEST_CT 1
2831 static tTestDesc aM88k_Bad_Hypot_OptTests[] = {
2832 { TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
2835 * Fix Command Arguments for M88k_Bad_Hypot_Opt
2837 static const char* apzM88k_Bad_Hypot_OptPatch[] = {
2839 "%0/* Workaround a stupid Motorola optimization if one\n\
2840 of x or y is 0.0 and the other is negative! */\n\
2842 static __inline__ double fake_hypot (double x, double y)\n\
2844 static __inline__ double fake_hypot (x, y)\n\
2848 \treturn fabs (hypot (x, y));\n\
2850 #define hypot\tfake_hypot\n",
2853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2855 * Description of M88k_Bad_S_If fix
2857 tSCC zM88k_Bad_S_IfName[] =
2861 * File name selection pattern
2863 tSCC zM88k_Bad_S_IfList[] =
2866 * Machine/OS name selection pattern
2868 tSCC* apzM88k_Bad_S_IfMachs[] = {
2870 (const char*)NULL };
2873 * content selection pattern - do fix if pattern found
2875 tSCC zM88k_Bad_S_IfSelect0[] =
2876 "#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
2878 #define M88K_BAD_S_IF_TEST_CT 1
2879 static tTestDesc aM88k_Bad_S_IfTests[] = {
2880 { TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
2883 * Fix Command Arguments for M88k_Bad_S_If
2885 static const char* apzM88k_Bad_S_IfPatch[] = {
2887 "#define %1(m) (((m) & S_IFMT) == %2)",
2888 "#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
2891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2893 * Description of M88k_Multi_Incl fix
2895 tSCC zM88k_Multi_InclName[] =
2899 * File name selection pattern
2901 tSCC zM88k_Multi_InclList[] =
2904 * Machine/OS name selection pattern
2906 tSCC* apzM88k_Multi_InclMachs[] = {
2907 "m88k-tektronix-sysv3*",
2908 (const char*)NULL };
2911 * content bypass pattern - skip fix if pattern found
2913 tSCC zM88k_Multi_InclBypass0[] =
2916 #define M88K_MULTI_INCL_TEST_CT 1
2917 static tTestDesc aM88k_Multi_InclTests[] = {
2918 { TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
2921 * Fix Command Arguments for M88k_Multi_Incl
2923 static const char* apzM88k_Multi_InclPatch[] = {
2927 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2929 * Description of Machine_Ansi_H_Va_List fix
2931 tSCC zMachine_Ansi_H_Va_ListName[] =
2932 "machine_ansi_h_va_list";
2935 * File name selection pattern
2937 #define zMachine_Ansi_H_Va_ListList (char*)NULL
2939 * Machine/OS name selection pattern
2941 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
2944 * content selection pattern - do fix if pattern found
2946 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
2947 "define[ \t]+_BSD_VA_LIST_[ \t]";
2950 * content bypass pattern - skip fix if pattern found
2952 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
2953 "__builtin_va_list";
2955 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
2956 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
2957 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
2958 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
2961 * Fix Command Arguments for Machine_Ansi_H_Va_List
2963 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
2965 "%1__builtin_va_list",
2966 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
2969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2971 * Description of Machine_Name fix
2973 tSCC zMachine_NameName[] =
2977 * File name selection pattern
2979 #define zMachine_NameList (char*)NULL
2981 * Machine/OS name selection pattern
2983 #define apzMachine_NameMachs (const char**)NULL
2986 * perform the C function call test
2988 tSCC zMachine_NameFTst0[] = "machine_name";
2990 #define MACHINE_NAME_TEST_CT 1
2991 static tTestDesc aMachine_NameTests[] = {
2992 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
2995 * Fix Command Arguments for Machine_Name
2997 static const char* apzMachine_NamePatch[] = {
3001 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3003 * Description of Math_Exception fix
3005 tSCC zMath_ExceptionName[] =
3009 * File name selection pattern
3011 tSCC zMath_ExceptionList[] =
3014 * Machine/OS name selection pattern
3016 #define apzMath_ExceptionMachs (const char**)NULL
3019 * content selection pattern - do fix if pattern found
3021 tSCC zMath_ExceptionSelect0[] =
3025 * content bypass pattern - skip fix if pattern found
3027 tSCC zMath_ExceptionBypass0[] =
3028 "We have a problem when using C\\+\\+";
3030 #define MATH_EXCEPTION_TEST_CT 2
3031 static tTestDesc aMath_ExceptionTests[] = {
3032 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
3033 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
3036 * Fix Command Arguments for Math_Exception
3038 static const char* apzMath_ExceptionPatch[] = {
3040 "#ifdef __cplusplus\n\
3041 #define exception __math_exception\n\
3043 "#ifdef __cplusplus\n\
3048 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3050 * Description of Math_Huge_Val_From_Dbl_Max fix
3052 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
3053 "math_huge_val_from_dbl_max";
3056 * File name selection pattern
3058 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
3061 * Machine/OS name selection pattern
3063 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
3066 * content selection pattern - do fix if pattern found
3068 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
3069 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
3072 * content bypass pattern - skip fix if pattern found
3074 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
3075 "define[ \t]+DBL_MAX";
3077 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
3078 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
3079 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
3080 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
3083 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
3085 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
3086 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
3087 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
3088 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
3093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3095 * Description of Math_Huge_Val_Ifndef fix
3097 tSCC zMath_Huge_Val_IfndefName[] =
3098 "math_huge_val_ifndef";
3101 * File name selection pattern
3103 tSCC zMath_Huge_Val_IfndefList[] =
3104 "|math.h|math/math.h|";
3106 * Machine/OS name selection pattern
3108 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
3111 * content selection pattern - do fix if pattern found
3113 tSCC zMath_Huge_Val_IfndefSelect0[] =
3114 "define[ \t]+HUGE_VAL";
3116 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
3117 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
3118 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
3121 * Fix Command Arguments for Math_Huge_Val_Ifndef
3123 static const char* apzMath_Huge_Val_IfndefPatch[] = {
3125 "#ifndef HUGE_VAL\n\
3128 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
3131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3133 * Description of Nested_Auth_Des fix
3135 tSCC zNested_Auth_DesName[] =
3139 * File name selection pattern
3141 tSCC zNested_Auth_DesList[] =
3144 * Machine/OS name selection pattern
3146 #define apzNested_Auth_DesMachs (const char**)NULL
3149 * content selection pattern - do fix if pattern found
3151 tSCC zNested_Auth_DesSelect0[] =
3152 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3154 #define NESTED_AUTH_DES_TEST_CT 1
3155 static tTestDesc aNested_Auth_DesTests[] = {
3156 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3159 * Fix Command Arguments for Nested_Auth_Des
3161 static const char* apzNested_Auth_DesPatch[] = {
3166 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3168 * Description of Nested_Motorola fix
3170 tSCC zNested_MotorolaName[] =
3174 * File name selection pattern
3176 tSCC zNested_MotorolaList[] =
3177 "|sys/limits.h|limits.h|";
3179 * Machine/OS name selection pattern
3181 tSCC* apzNested_MotorolaMachs[] = {
3182 "m68k-motorola-sysv*",
3183 (const char*)NULL };
3186 * content selection pattern - do fix if pattern found
3188 tSCC zNested_MotorolaSelect0[] =
3189 "max # bytes atomic in write|error value returned by Math lib";
3191 #define NESTED_MOTOROLA_TEST_CT 1
3192 static tTestDesc aNested_MotorolaTests[] = {
3193 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3196 * Fix Command Arguments for Nested_Motorola
3198 static const char* apzNested_MotorolaPatch[] = { "sed",
3199 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3200 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3205 * Description of Nested_Sys_Limits fix
3207 tSCC zNested_Sys_LimitsName[] =
3208 "nested_sys_limits";
3211 * File name selection pattern
3213 tSCC zNested_Sys_LimitsList[] =
3216 * Machine/OS name selection pattern
3218 #define apzNested_Sys_LimitsMachs (const char**)NULL
3221 * content selection pattern - do fix if pattern found
3223 tSCC zNested_Sys_LimitsSelect0[] =
3226 #define NESTED_SYS_LIMITS_TEST_CT 1
3227 static tTestDesc aNested_Sys_LimitsTests[] = {
3228 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3231 * Fix Command Arguments for Nested_Sys_Limits
3233 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3234 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3235 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3240 * Description of News_Os_Recursion fix
3242 tSCC zNews_Os_RecursionName[] =
3243 "news_os_recursion";
3246 * File name selection pattern
3248 tSCC zNews_Os_RecursionList[] =
3251 * Machine/OS name selection pattern
3253 #define apzNews_Os_RecursionMachs (const char**)NULL
3256 * content selection pattern - do fix if pattern found
3258 tSCC zNews_Os_RecursionSelect0[] =
3259 "[ \t]*#include <stdlib\\.h>.*";
3261 #define NEWS_OS_RECURSION_TEST_CT 1
3262 static tTestDesc aNews_Os_RecursionTests[] = {
3263 { TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
3266 * Fix Command Arguments for News_Os_Recursion
3268 static const char* apzNews_Os_RecursionPatch[] = {
3270 "#ifdef BOGUS_RECURSION\n\
3275 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3277 * Description of Next_Math_Prefix fix
3279 tSCC zNext_Math_PrefixName[] =
3283 * File name selection pattern
3285 tSCC zNext_Math_PrefixList[] =
3288 * Machine/OS name selection pattern
3290 #define apzNext_Math_PrefixMachs (const char**)NULL
3293 * content selection pattern - do fix if pattern found
3295 tSCC zNext_Math_PrefixSelect0[] =
3296 "^extern[ \t]+double[ \t]+__const__[ \t]";
3298 #define NEXT_MATH_PREFIX_TEST_CT 1
3299 static tTestDesc aNext_Math_PrefixTests[] = {
3300 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3303 * Fix Command Arguments for Next_Math_Prefix
3305 static const char* apzNext_Math_PrefixPatch[] = {
3307 "extern double %1(",
3308 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3311 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3313 * Description of Next_Template fix
3315 tSCC zNext_TemplateName[] =
3319 * File name selection pattern
3321 tSCC zNext_TemplateList[] =
3324 * Machine/OS name selection pattern
3326 #define apzNext_TemplateMachs (const char**)NULL
3329 * content selection pattern - do fix if pattern found
3331 tSCC zNext_TemplateSelect0[] =
3334 #define NEXT_TEMPLATE_TEST_CT 1
3335 static tTestDesc aNext_TemplateTests[] = {
3336 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3339 * Fix Command Arguments for Next_Template
3341 static const char* apzNext_TemplatePatch[] = {
3344 "\\(([^)]*)[ \t]template\\)",
3347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3349 * Description of Next_Volitile fix
3351 tSCC zNext_VolitileName[] =
3355 * File name selection pattern
3357 tSCC zNext_VolitileList[] =
3360 * Machine/OS name selection pattern
3362 #define apzNext_VolitileMachs (const char**)NULL
3365 * content selection pattern - do fix if pattern found
3367 tSCC zNext_VolitileSelect0[] =
3368 "^extern[ \t]+volatile[ \t]+void[ \t]";
3370 #define NEXT_VOLITILE_TEST_CT 1
3371 static tTestDesc aNext_VolitileTests[] = {
3372 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3375 * Fix Command Arguments for Next_Volitile
3377 static const char* apzNext_VolitilePatch[] = {
3380 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3385 * Description of Next_Wait_Union fix
3387 tSCC zNext_Wait_UnionName[] =
3391 * File name selection pattern
3393 tSCC zNext_Wait_UnionList[] =
3396 * Machine/OS name selection pattern
3398 #define apzNext_Wait_UnionMachs (const char**)NULL
3401 * content selection pattern - do fix if pattern found
3403 tSCC zNext_Wait_UnionSelect0[] =
3404 "wait\\(union wait";
3406 #define NEXT_WAIT_UNION_TEST_CT 1
3407 static tTestDesc aNext_Wait_UnionTests[] = {
3408 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3411 * Fix Command Arguments for Next_Wait_Union
3413 static const char* apzNext_Wait_UnionPatch[] = {
3418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3420 * Description of Nodeent_Syntax fix
3422 tSCC zNodeent_SyntaxName[] =
3426 * File name selection pattern
3428 tSCC zNodeent_SyntaxList[] =
3429 "|netdnet/dnetdb.h|";
3431 * Machine/OS name selection pattern
3433 #define apzNodeent_SyntaxMachs (const char**)NULL
3436 * content selection pattern - do fix if pattern found
3438 tSCC zNodeent_SyntaxSelect0[] =
3439 "char[ \t]*\\*na_addr[ \t]*$";
3441 #define NODEENT_SYNTAX_TEST_CT 1
3442 static tTestDesc aNodeent_SyntaxTests[] = {
3443 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3446 * Fix Command Arguments for Nodeent_Syntax
3448 static const char* apzNodeent_SyntaxPatch[] = {
3453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3455 * Description of Osf_Namespace_A fix
3457 tSCC zOsf_Namespace_AName[] =
3461 * File name selection pattern
3463 tSCC zOsf_Namespace_AList[] =
3464 "|reg_types.h|sys/lc_core.h|";
3466 * Machine/OS name selection pattern
3468 #define apzOsf_Namespace_AMachs (const char**)NULL
3471 * perform the 'test' shell command - do fix on success
3473 tSCC zOsf_Namespace_ATest0[] =
3475 tSCC zOsf_Namespace_ATest1[] =
3476 " -r sys/lc_core.h";
3477 tSCC zOsf_Namespace_ATest2[] =
3478 " -n \"`grep '} regex_t;' reg_types.h`\"";
3479 tSCC zOsf_Namespace_ATest3[] =
3480 " -z \"`grep __regex_t regex.h`\"";
3482 #define OSF_NAMESPACE_A_TEST_CT 4
3483 static tTestDesc aOsf_Namespace_ATests[] = {
3484 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
3485 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
3486 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
3487 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
3490 * Fix Command Arguments for Osf_Namespace_A
3492 static const char* apzOsf_Namespace_APatch[] = {
3495 "reg(ex|off|match)_t",
3498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3500 * Description of Osf_Namespace_C fix
3502 tSCC zOsf_Namespace_CName[] =
3506 * File name selection pattern
3508 tSCC zOsf_Namespace_CList[] =
3511 * Machine/OS name selection pattern
3513 #define apzOsf_Namespace_CMachs (const char**)NULL
3516 * content selection pattern - do fix if pattern found
3518 tSCC zOsf_Namespace_CSelect0[] =
3519 "#include <reg_types.h>.*";
3522 * perform the 'test' shell command - do fix on success
3524 tSCC zOsf_Namespace_CTest0[] =
3526 tSCC zOsf_Namespace_CTest1[] =
3527 " -r sys/lc_core.h";
3528 tSCC zOsf_Namespace_CTest2[] =
3529 " -n \"`grep '} regex_t;' reg_types.h`\"";
3530 tSCC zOsf_Namespace_CTest3[] =
3531 " -z \"`grep __regex_t regex.h`\"";
3533 #define OSF_NAMESPACE_C_TEST_CT 5
3534 static tTestDesc aOsf_Namespace_CTests[] = {
3535 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
3536 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
3537 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
3538 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
3539 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
3542 * Fix Command Arguments for Osf_Namespace_C
3544 static const char* apzOsf_Namespace_CPatch[] = {
3547 typedef __regex_t\tregex_t;\n\
3548 typedef __regoff_t\tregoff_t;\n\
3549 typedef __regmatch_t\tregmatch_t;",
3552 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3554 * Description of Pthread_Page_Size fix
3556 tSCC zPthread_Page_SizeName[] =
3557 "pthread_page_size";
3560 * File name selection pattern
3562 tSCC zPthread_Page_SizeList[] =
3565 * Machine/OS name selection pattern
3567 #define apzPthread_Page_SizeMachs (const char**)NULL
3570 * content selection pattern - do fix if pattern found
3572 tSCC zPthread_Page_SizeSelect0[] =
3575 #define PTHREAD_PAGE_SIZE_TEST_CT 1
3576 static tTestDesc aPthread_Page_SizeTests[] = {
3577 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
3580 * Fix Command Arguments for Pthread_Page_Size
3582 static const char* apzPthread_Page_SizePatch[] = {
3587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3589 * Description of Read_Ret_Type fix
3591 tSCC zRead_Ret_TypeName[] =
3595 * File name selection pattern
3597 tSCC zRead_Ret_TypeList[] =
3600 * Machine/OS name selection pattern
3602 #define apzRead_Ret_TypeMachs (const char**)NULL
3605 * content selection pattern - do fix if pattern found
3607 tSCC zRead_Ret_TypeSelect0[] =
3608 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
3610 #define READ_RET_TYPE_TEST_CT 1
3611 static tTestDesc aRead_Ret_TypeTests[] = {
3612 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
3615 * Fix Command Arguments for Read_Ret_Type
3617 static const char* apzRead_Ret_TypePatch[] = {
3619 "extern unsigned int fread(), fwrite();\n\
3621 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
3624 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3626 * Description of Rs6000_Double fix
3628 tSCC zRs6000_DoubleName[] =
3632 * File name selection pattern
3634 tSCC zRs6000_DoubleList[] =
3637 * Machine/OS name selection pattern
3639 #define apzRs6000_DoubleMachs (const char**)NULL
3642 * content selection pattern - do fix if pattern found
3644 tSCC zRs6000_DoubleSelect0[] =
3645 "[^a-zA-Z_]class\\(";
3647 #define RS6000_DOUBLE_TEST_CT 1
3648 static tTestDesc aRs6000_DoubleTests[] = {
3649 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
3652 * Fix Command Arguments for Rs6000_Double
3654 static const char* apzRs6000_DoublePatch[] = {
3656 "#ifndef __cplusplus\n\
3659 "^.*[^a-zA-Z_]class\\(.*",
3662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3664 * Description of Rs6000_Fchmod fix
3666 tSCC zRs6000_FchmodName[] =
3670 * File name selection pattern
3672 tSCC zRs6000_FchmodList[] =
3675 * Machine/OS name selection pattern
3677 #define apzRs6000_FchmodMachs (const char**)NULL
3680 * content selection pattern - do fix if pattern found
3682 tSCC zRs6000_FchmodSelect0[] =
3683 "fchmod\\(char \\*";
3685 #define RS6000_FCHMOD_TEST_CT 1
3686 static tTestDesc aRs6000_FchmodTests[] = {
3687 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
3690 * Fix Command Arguments for Rs6000_Fchmod
3692 static const char* apzRs6000_FchmodPatch[] = {
3697 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3699 * Description of Rs6000_Param fix
3701 tSCC zRs6000_ParamName[] =
3705 * File name selection pattern
3707 tSCC zRs6000_ParamList[] =
3708 "|stdio.h|unistd.h|";
3710 * Machine/OS name selection pattern
3712 #define apzRs6000_ParamMachs (const char**)NULL
3715 * content selection pattern - do fix if pattern found
3717 tSCC zRs6000_ParamSelect0[] =
3718 "rename\\(const char \\*old, const char \\*new\\)";
3720 #define RS6000_PARAM_TEST_CT 1
3721 static tTestDesc aRs6000_ParamTests[] = {
3722 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
3725 * Fix Command Arguments for Rs6000_Param
3727 static const char* apzRs6000_ParamPatch[] = {
3729 "rename(const char *_old, const char *_new)",
3732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3734 * Description of Sco_Static_Func fix
3736 tSCC zSco_Static_FuncName[] =
3740 * File name selection pattern
3742 tSCC zSco_Static_FuncList[] =
3745 * Machine/OS name selection pattern
3747 tSCC* apzSco_Static_FuncMachs[] = {
3749 (const char*)NULL };
3752 * content selection pattern - do fix if pattern found
3754 tSCC zSco_Static_FuncSelect0[] =
3757 #define SCO_STATIC_FUNC_TEST_CT 1
3758 static tTestDesc aSco_Static_FuncTests[] = {
3759 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
3762 * Fix Command Arguments for Sco_Static_Func
3764 static const char* apzSco_Static_FuncPatch[] = { "sed",
3765 "-e", "/^static int/i\\\n\
3766 #if __cplusplus\\\n\
3768 #endif /* __cplusplus */",
3770 #if __cplusplus\\\n\
3772 #endif /* __cplusplus */",
3775 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3777 * Description of Sco_Utime fix
3779 tSCC zSco_UtimeName[] =
3783 * File name selection pattern
3785 tSCC zSco_UtimeList[] =
3788 * Machine/OS name selection pattern
3790 tSCC* apzSco_UtimeMachs[] = {
3792 (const char*)NULL };
3795 * content selection pattern - do fix if pattern found
3797 tSCC zSco_UtimeSelect0[] =
3798 "\\(const char \\*, struct utimbuf \\*\\);";
3800 #define SCO_UTIME_TEST_CT 1
3801 static tTestDesc aSco_UtimeTests[] = {
3802 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
3805 * Fix Command Arguments for Sco_Utime
3807 static const char* apzSco_UtimePatch[] = {
3809 "(const char *, const struct utimbuf *);",
3812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3814 * Description of Solaris_Mutex_Init fix
3816 tSCC zSolaris_Mutex_InitName[] =
3817 "solaris_mutex_init";
3820 * File name selection pattern
3822 tSCC zSolaris_Mutex_InitList[] =
3825 * Machine/OS name selection pattern
3827 #define apzSolaris_Mutex_InitMachs (const char**)NULL
3830 * content selection pattern - do fix if pattern found
3832 tSCC zSolaris_Mutex_InitSelect0[] =
3833 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
3835 #define SOLARIS_MUTEX_INIT_TEST_CT 1
3836 static tTestDesc aSolaris_Mutex_InitTests[] = {
3837 { TT_EGREP, zSolaris_Mutex_InitSelect0, (regex_t*)NULL }, };
3840 * Fix Command Arguments for Solaris_Mutex_Init
3842 static const char* apzSolaris_Mutex_InitPatch[] = {
3844 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
3849 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+{.*),[ \t]*0}(|[ \t].*)$",
3852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3854 * Description of Statsswtch fix
3856 tSCC zStatsswtchName[] =
3860 * File name selection pattern
3862 tSCC zStatsswtchList[] =
3865 * Machine/OS name selection pattern
3867 #define apzStatsswtchMachs (const char**)NULL
3870 * content selection pattern - do fix if pattern found
3872 tSCC zStatsswtchSelect0[] =
3875 #define STATSSWTCH_TEST_CT 1
3876 static tTestDesc aStatsswtchTests[] = {
3877 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
3880 * Fix Command Arguments for Statsswtch
3882 static const char* apzStatsswtchPatch[] = {
3887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3889 * Description of Stdio_Stdarg_H fix
3891 tSCC zStdio_Stdarg_HName[] =
3895 * File name selection pattern
3897 tSCC zStdio_Stdarg_HList[] =
3900 * Machine/OS name selection pattern
3902 #define apzStdio_Stdarg_HMachs (const char**)NULL
3905 * content bypass pattern - skip fix if pattern found
3907 tSCC zStdio_Stdarg_HBypass0[] =
3908 "include.*(stdarg.h|machine/ansi.h)";
3910 #define STDIO_STDARG_H_TEST_CT 1
3911 static tTestDesc aStdio_Stdarg_HTests[] = {
3912 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
3915 * Fix Command Arguments for Stdio_Stdarg_H
3917 static const char* apzStdio_Stdarg_HPatch[] = {
3919 "#define __need___va_list\n\
3920 #include <stdarg.h>\n",
3923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3925 * Description of Stdio_Va_List fix
3927 tSCC zStdio_Va_ListName[] =
3931 * File name selection pattern
3933 tSCC zStdio_Va_ListList[] =
3936 * Machine/OS name selection pattern
3938 #define apzStdio_Va_ListMachs (const char**)NULL
3941 * content bypass pattern - skip fix if pattern found
3943 tSCC zStdio_Va_ListBypass0[] =
3944 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list";
3946 #define STDIO_VA_LIST_TEST_CT 1
3947 static tTestDesc aStdio_Va_ListTests[] = {
3948 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
3951 * Fix Command Arguments for Stdio_Va_List
3953 static const char* apzStdio_Va_ListPatch[] = { "sed",
3954 "-e", "s@ va_list @ __gnuc_va_list @\n\
3955 s@ va_list)@ __gnuc_va_list)@\n\
3956 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
3957 s@ va_list@ __not_va_list__@\n\
3958 s@\\*va_list@*__not_va_list__@\n\
3959 s@ __va_list)@ __gnuc_va_list)@\n\
3960 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
3961 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
3962 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
3963 s@VA_LIST@DUMMY_VA_LIST@\n\
3964 s@_Va_LIST@_VA_LIST@",
3967 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3969 * Description of Strict_Ansi_Not fix
3971 tSCC zStrict_Ansi_NotName[] =
3975 * File name selection pattern
3977 #define zStrict_Ansi_NotList (char*)NULL
3979 * Machine/OS name selection pattern
3981 #define apzStrict_Ansi_NotMachs (const char**)NULL
3984 * content selection pattern - do fix if pattern found
3986 tSCC zStrict_Ansi_NotSelect0[] =
3987 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)(.*)";
3990 * perform the C function call test
3992 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
3994 #define STRICT_ANSI_NOT_TEST_CT 2
3995 static tTestDesc aStrict_Ansi_NotTests[] = {
3996 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
3997 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
4000 * Fix Command Arguments for Strict_Ansi_Not
4002 static const char* apzStrict_Ansi_NotPatch[] = {
4004 "%1 !defined(__STRICT_ANSI__)%3",
4007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4009 * Description of Strict_Ansi_Not_Ctd fix
4011 tSCC zStrict_Ansi_Not_CtdName[] =
4012 "strict_ansi_not_ctd";
4015 * File name selection pattern
4017 tSCC zStrict_Ansi_Not_CtdList[] =
4018 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|time.h|";
4020 * Machine/OS name selection pattern
4022 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
4025 * content selection pattern - do fix if pattern found
4027 tSCC zStrict_Ansi_Not_CtdSelect0[] =
4028 "^([ \t]*[|&][|&][ \t(]*)(__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)(.*)";
4031 * perform the C function call test
4033 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
4035 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
4036 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
4037 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
4038 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
4041 * Fix Command Arguments for Strict_Ansi_Not_Ctd
4043 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
4045 "%1 !defined(__STRICT_ANSI__)%3",
4048 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4050 * Description of Strict_Ansi_Only fix
4052 tSCC zStrict_Ansi_OnlyName[] =
4056 * File name selection pattern
4058 #define zStrict_Ansi_OnlyList (char*)NULL
4060 * Machine/OS name selection pattern
4062 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
4065 * content selection pattern - do fix if pattern found
4067 tSCC zStrict_Ansi_OnlySelect0[] =
4068 "^([ \t]*#[ \t]*if.*)(__STDC__[ \t]*!=[ \t]*0|__STDC__[ \t]*==[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*!=[ \t]*0)(.*)";
4071 * perform the C function call test
4073 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
4075 #define STRICT_ANSI_ONLY_TEST_CT 2
4076 static tTestDesc aStrict_Ansi_OnlyTests[] = {
4077 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
4078 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
4081 * Fix Command Arguments for Strict_Ansi_Only
4083 static const char* apzStrict_Ansi_OnlyPatch[] = {
4085 "%1 defined(__STRICT_ANSI__)%3",
4088 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4090 * Description of Struct_File fix
4092 tSCC zStruct_FileName[] =
4096 * File name selection pattern
4098 tSCC zStruct_FileList[] =
4101 * Machine/OS name selection pattern
4103 #define apzStruct_FileMachs (const char**)NULL
4106 * content selection pattern - do fix if pattern found
4108 tSCC zStruct_FileSelect0[] =
4109 "^.*xdrstdio_create.*struct __file_s";
4111 #define STRUCT_FILE_TEST_CT 1
4112 static tTestDesc aStruct_FileTests[] = {
4113 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
4116 * Fix Command Arguments for Struct_File
4118 static const char* apzStruct_FilePatch[] = {
4120 "struct __file_s;\n\
4124 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4126 * Description of Struct_Sockaddr fix
4128 tSCC zStruct_SockaddrName[] =
4132 * File name selection pattern
4134 tSCC zStruct_SockaddrList[] =
4137 * Machine/OS name selection pattern
4139 #define apzStruct_SockaddrMachs (const char**)NULL
4142 * content selection pattern - do fix if pattern found
4144 tSCC zStruct_SockaddrSelect0[] =
4145 "^.*authdes_create.*struct sockaddr";
4148 * content bypass pattern - skip fix if pattern found
4150 tSCC zStruct_SockaddrBypass0[] =
4153 #define STRUCT_SOCKADDR_TEST_CT 2
4154 static tTestDesc aStruct_SockaddrTests[] = {
4155 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
4156 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
4159 * Fix Command Arguments for Struct_Sockaddr
4161 static const char* apzStruct_SockaddrPatch[] = {
4163 "struct sockaddr;\n\
4167 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4169 * Description of Sun_Auth_Proto fix
4171 tSCC zSun_Auth_ProtoName[] =
4175 * File name selection pattern
4177 tSCC zSun_Auth_ProtoList[] =
4178 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
4180 * Machine/OS name selection pattern
4182 #define apzSun_Auth_ProtoMachs (const char**)NULL
4185 * content selection pattern - do fix if pattern found
4187 tSCC zSun_Auth_ProtoSelect0[] =
4188 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
4190 #define SUN_AUTH_PROTO_TEST_CT 1
4191 static tTestDesc aSun_Auth_ProtoTests[] = {
4192 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
4195 * Fix Command Arguments for Sun_Auth_Proto
4197 static const char* apzSun_Auth_ProtoPatch[] = {
4199 "#ifdef __cplusplus\n\
4204 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
4207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4209 * Description of Sun_Bogus_Ifdef fix
4211 tSCC zSun_Bogus_IfdefName[] =
4215 * File name selection pattern
4217 tSCC zSun_Bogus_IfdefList[] =
4218 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
4220 * Machine/OS name selection pattern
4222 #define apzSun_Bogus_IfdefMachs (const char**)NULL
4225 * content selection pattern - do fix if pattern found
4227 tSCC zSun_Bogus_IfdefSelect0[] =
4228 "#ifdef(.*\\|\\|.*)";
4230 #define SUN_BOGUS_IFDEF_TEST_CT 1
4231 static tTestDesc aSun_Bogus_IfdefTests[] = {
4232 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
4235 * Fix Command Arguments for Sun_Bogus_Ifdef
4237 static const char* apzSun_Bogus_IfdefPatch[] = {
4242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4244 * Description of Sun_Catmacro fix
4246 tSCC zSun_CatmacroName[] =
4250 * File name selection pattern
4252 tSCC zSun_CatmacroList[] =
4253 "|pixrect/memvar.h|";
4255 * Machine/OS name selection pattern
4257 #define apzSun_CatmacroMachs (const char**)NULL
4260 * content selection pattern - do fix if pattern found
4262 tSCC zSun_CatmacroSelect0[] =
4263 "^#define[ \t]+CAT\\(a,b\\).*";
4265 #define SUN_CATMACRO_TEST_CT 1
4266 static tTestDesc aSun_CatmacroTests[] = {
4267 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
4270 * Fix Command Arguments for Sun_Catmacro
4272 static const char* apzSun_CatmacroPatch[] = {
4275 # define CAT(a,b) a##b\n\
4281 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4283 * Description of Sun_Malloc fix
4285 tSCC zSun_MallocName[] =
4289 * File name selection pattern
4291 tSCC zSun_MallocList[] =
4294 * Machine/OS name selection pattern
4296 #define apzSun_MallocMachs (const char**)NULL
4297 #define SUN_MALLOC_TEST_CT 0
4298 #define aSun_MallocTests (tTestDesc*)NULL
4301 * Fix Command Arguments for Sun_Malloc
4303 static const char* apzSun_MallocPatch[] = { "sed",
4304 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
4305 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
4306 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
4307 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
4308 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
4311 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4313 * Description of Sun_Rusers_Semi fix
4315 tSCC zSun_Rusers_SemiName[] =
4319 * File name selection pattern
4321 tSCC zSun_Rusers_SemiList[] =
4322 "|rpcsvc/rusers.h|";
4324 * Machine/OS name selection pattern
4326 #define apzSun_Rusers_SemiMachs (const char**)NULL
4329 * content selection pattern - do fix if pattern found
4331 tSCC zSun_Rusers_SemiSelect0[] =
4334 #define SUN_RUSERS_SEMI_TEST_CT 1
4335 static tTestDesc aSun_Rusers_SemiTests[] = {
4336 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
4339 * Fix Command Arguments for Sun_Rusers_Semi
4341 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
4342 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
4345 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4347 * Description of Sun_Signal fix
4349 tSCC zSun_SignalName[] =
4353 * File name selection pattern
4355 tSCC zSun_SignalList[] =
4356 "|sys/signal.h|signal.h|";
4358 * Machine/OS name selection pattern
4360 #define apzSun_SignalMachs (const char**)NULL
4363 * content selection pattern - do fix if pattern found
4365 tSCC zSun_SignalSelect0[] =
4366 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
4368 #define SUN_SIGNAL_TEST_CT 1
4369 static tTestDesc aSun_SignalTests[] = {
4370 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
4373 * Fix Command Arguments for Sun_Signal
4375 static const char* apzSun_SignalPatch[] = {
4377 "#ifdef __cplusplus\n\
4378 void\t(*signal(...))(...);\n\
4384 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4386 * Description of Sunos_Matherr_Decl fix
4388 tSCC zSunos_Matherr_DeclName[] =
4389 "sunos_matherr_decl";
4392 * File name selection pattern
4394 tSCC zSunos_Matherr_DeclList[] =
4397 * Machine/OS name selection pattern
4399 #define apzSunos_Matherr_DeclMachs (const char**)NULL
4402 * content selection pattern - do fix if pattern found
4404 tSCC zSunos_Matherr_DeclSelect0[] =
4408 * content bypass pattern - skip fix if pattern found
4410 tSCC zSunos_Matherr_DeclBypass0[] =
4411 "matherr.*(struct exception|__MATH_EXCEPTION)";
4413 #define SUNOS_MATHERR_DECL_TEST_CT 2
4414 static tTestDesc aSunos_Matherr_DeclTests[] = {
4415 { TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
4416 { TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
4419 * Fix Command Arguments for Sunos_Matherr_Decl
4421 static const char* apzSunos_Matherr_DeclPatch[] = {
4423 "struct exception;\n",
4426 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4428 * Description of Sunos_Strlen fix
4430 tSCC zSunos_StrlenName[] =
4434 * File name selection pattern
4436 tSCC zSunos_StrlenList[] =
4439 * Machine/OS name selection pattern
4441 #define apzSunos_StrlenMachs (const char**)NULL
4444 * content selection pattern - do fix if pattern found
4446 tSCC zSunos_StrlenSelect0[] =
4447 "int[ \t]*strlen\\(\\);(.*)";
4449 #define SUNOS_STRLEN_TEST_CT 1
4450 static tTestDesc aSunos_StrlenTests[] = {
4451 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
4454 * Fix Command Arguments for Sunos_Strlen
4456 static const char* apzSunos_StrlenPatch[] = {
4458 "__SIZE_TYPE__ strlen();%1",
4461 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4463 * Description of Svr4__P fix
4465 tSCC zSvr4__PName[] =
4469 * File name selection pattern
4471 tSCC zSvr4__PList[] =
4472 "|math.h|floatingpoint.h|";
4474 * Machine/OS name selection pattern
4476 #define apzSvr4__PMachs (const char**)NULL
4479 * content selection pattern - do fix if pattern found
4481 tSCC zSvr4__PSelect0[] =
4482 "^#define[ \t]+__P.*";
4484 #define SVR4__P_TEST_CT 1
4485 static tTestDesc aSvr4__PTests[] = {
4486 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
4489 * Fix Command Arguments for Svr4__P
4491 static const char* apzSvr4__PPatch[] = {
4498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4500 * Description of Svr4_Getcwd fix
4502 tSCC zSvr4_GetcwdName[] =
4506 * File name selection pattern
4508 tSCC zSvr4_GetcwdList[] =
4509 "|stdlib.h|unistd.h|prototypes.h|";
4511 * Machine/OS name selection pattern
4513 #define apzSvr4_GetcwdMachs (const char**)NULL
4516 * content selection pattern - do fix if pattern found
4518 tSCC zSvr4_GetcwdSelect0[] =
4519 "getcwd\\(char \\*, int\\)";
4521 #define SVR4_GETCWD_TEST_CT 1
4522 static tTestDesc aSvr4_GetcwdTests[] = {
4523 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
4526 * Fix Command Arguments for Svr4_Getcwd
4528 static const char* apzSvr4_GetcwdPatch[] = {
4530 "getcwd(char *, size_t)",
4533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4535 * Description of Svr4_Profil fix
4537 tSCC zSvr4_ProfilName[] =
4541 * File name selection pattern
4543 tSCC zSvr4_ProfilList[] =
4544 "|stdlib.h|unistd.h|";
4546 * Machine/OS name selection pattern
4548 #define apzSvr4_ProfilMachs (const char**)NULL
4551 * content selection pattern - do fix if pattern found
4553 tSCC zSvr4_ProfilSelect0[] =
4554 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
4556 #define SVR4_PROFIL_TEST_CT 1
4557 static tTestDesc aSvr4_ProfilTests[] = {
4558 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
4561 * Fix Command Arguments for Svr4_Profil
4563 static const char* apzSvr4_ProfilPatch[] = {
4565 "profil(unsigned short *, size_t, int, unsigned int)",
4568 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4570 * Description of Sysv68_String fix
4572 tSCC zSysv68_StringName[] =
4576 * File name selection pattern
4578 tSCC zSysv68_StringList[] =
4579 "|testing.h|string.h|";
4581 * Machine/OS name selection pattern
4583 #define apzSysv68_StringMachs (const char**)NULL
4584 #define SYSV68_STRING_TEST_CT 0
4585 #define aSysv68_StringTests (tTestDesc*)NULL
4588 * Fix Command Arguments for Sysv68_String
4590 static const char* apzSysv68_StringPatch[] = { "sed",
4591 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
4592 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
4593 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
4594 "-e", "/^extern char$/N",
4595 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
4596 "-e", "/^extern int$/N",
4597 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
4598 "-e", "/^\tstrncmp(),$/N",
4599 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
4600 extern unsigned int\\\n\
4604 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4606 * Description of Sysz_Stdlib_For_Sun fix
4608 tSCC zSysz_Stdlib_For_SunName[] =
4609 "sysz_stdlib_for_sun";
4612 * File name selection pattern
4614 tSCC zSysz_Stdlib_For_SunList[] =
4617 * Machine/OS name selection pattern
4619 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
4622 * content selection pattern - do fix if pattern found
4624 tSCC zSysz_Stdlib_For_SunSelect0[] =
4625 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
4627 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
4628 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
4629 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
4632 * Fix Command Arguments for Sysz_Stdlib_For_Sun
4634 static const char* apzSysz_Stdlib_For_SunPatch[] = {
4639 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4641 * Description of Tinfo_Cplusplus fix
4643 tSCC zTinfo_CplusplusName[] =
4647 * File name selection pattern
4649 tSCC zTinfo_CplusplusList[] =
4652 * Machine/OS name selection pattern
4654 #define apzTinfo_CplusplusMachs (const char**)NULL
4657 * content selection pattern - do fix if pattern found
4659 tSCC zTinfo_CplusplusSelect0[] =
4662 #define TINFO_CPLUSPLUS_TEST_CT 1
4663 static tTestDesc aTinfo_CplusplusTests[] = {
4664 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
4667 * Fix Command Arguments for Tinfo_Cplusplus
4669 static const char* apzTinfo_CplusplusPatch[] = {
4674 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4676 * Description of Ultrix_Atexit_Param fix
4678 tSCC zUltrix_Atexit_ParamName[] =
4679 "ultrix_atexit_param";
4682 * File name selection pattern
4684 tSCC zUltrix_Atexit_ParamList[] =
4687 * Machine/OS name selection pattern
4689 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
4692 * content selection pattern - do fix if pattern found
4694 tSCC zUltrix_Atexit_ParamSelect0[] =
4695 "atexit\\(.*\\(\\)";
4697 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
4698 static tTestDesc aUltrix_Atexit_ParamTests[] = {
4699 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
4702 * Fix Command Arguments for Ultrix_Atexit_Param
4704 static const char* apzUltrix_Atexit_ParamPatch[] = {
4706 "atexit( void (*__func)( void )",
4709 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4711 * Description of Ultrix_Atof_Param fix
4713 tSCC zUltrix_Atof_ParamName[] =
4714 "ultrix_atof_param";
4717 * File name selection pattern
4719 tSCC zUltrix_Atof_ParamList[] =
4722 * Machine/OS name selection pattern
4724 #define apzUltrix_Atof_ParamMachs (const char**)NULL
4727 * content selection pattern - do fix if pattern found
4729 tSCC zUltrix_Atof_ParamSelect0[] =
4730 "atof\\([ \t]*char";
4732 #define ULTRIX_ATOF_PARAM_TEST_CT 1
4733 static tTestDesc aUltrix_Atof_ParamTests[] = {
4734 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
4737 * Fix Command Arguments for Ultrix_Atof_Param
4739 static const char* apzUltrix_Atof_ParamPatch[] = {
4744 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4746 * Description of Ultrix_Const fix
4748 tSCC zUltrix_ConstName[] =
4752 * File name selection pattern
4754 tSCC zUltrix_ConstList[] =
4757 * Machine/OS name selection pattern
4759 #define apzUltrix_ConstMachs (const char**)NULL
4762 * content selection pattern - do fix if pattern found
4764 tSCC zUltrix_ConstSelect0[] =
4765 "perror\\( char \\*";
4767 #define ULTRIX_CONST_TEST_CT 1
4768 static tTestDesc aUltrix_ConstTests[] = {
4769 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
4772 * Fix Command Arguments for Ultrix_Const
4774 static const char* apzUltrix_ConstPatch[] = {
4777 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
4780 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4782 * Description of Ultrix_Const2 fix
4784 tSCC zUltrix_Const2Name[] =
4788 * File name selection pattern
4790 tSCC zUltrix_Const2List[] =
4793 * Machine/OS name selection pattern
4795 #define apzUltrix_Const2Machs (const char**)NULL
4798 * content selection pattern - do fix if pattern found
4800 tSCC zUltrix_Const2Select0[] =
4801 "\\*fopen\\( char \\*";
4803 #define ULTRIX_CONST2_TEST_CT 1
4804 static tTestDesc aUltrix_Const2Tests[] = {
4805 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
4808 * Fix Command Arguments for Ultrix_Const2
4810 static const char* apzUltrix_Const2Patch[] = {
4812 "%1( const char *%3, const char *",
4813 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
4816 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4818 * Description of Ultrix_Fix_Fixproto fix
4820 tSCC zUltrix_Fix_FixprotoName[] =
4821 "ultrix_fix_fixproto";
4824 * File name selection pattern
4826 tSCC zUltrix_Fix_FixprotoList[] =
4829 * Machine/OS name selection pattern
4831 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
4834 * content selection pattern - do fix if pattern found
4836 tSCC zUltrix_Fix_FixprotoSelect0[] =
4839 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
4840 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
4841 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
4844 * Fix Command Arguments for Ultrix_Fix_Fixproto
4846 static const char* apzUltrix_Fix_FixprotoPatch[] = {
4850 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
4853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4855 * Description of Ultrix_Ifdef fix
4857 tSCC zUltrix_IfdefName[] =
4861 * File name selection pattern
4863 tSCC zUltrix_IfdefList[] =
4866 * Machine/OS name selection pattern
4868 #define apzUltrix_IfdefMachs (const char**)NULL
4871 * content selection pattern - do fix if pattern found
4873 tSCC zUltrix_IfdefSelect0[] =
4874 "^#ifdef KERNEL[ \t]+&&";
4876 #define ULTRIX_IFDEF_TEST_CT 1
4877 static tTestDesc aUltrix_IfdefTests[] = {
4878 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
4881 * Fix Command Arguments for Ultrix_Ifdef
4883 static const char* apzUltrix_IfdefPatch[] = {
4885 "#if defined(KERNEL) &&",
4888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4890 * Description of Ultrix_Math_Ifdef fix
4892 tSCC zUltrix_Math_IfdefName[] =
4893 "ultrix_math_ifdef";
4896 * File name selection pattern
4898 tSCC zUltrix_Math_IfdefList[] =
4899 "|sys/limits.h|float.h|math.h|";
4901 * Machine/OS name selection pattern
4903 #define apzUltrix_Math_IfdefMachs (const char**)NULL
4906 * content selection pattern - do fix if pattern found
4908 tSCC zUltrix_Math_IfdefSelect0[] =
4909 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
4911 #define ULTRIX_MATH_IFDEF_TEST_CT 1
4912 static tTestDesc aUltrix_Math_IfdefTests[] = {
4913 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
4916 * Fix Command Arguments for Ultrix_Math_Ifdef
4918 static const char* apzUltrix_Math_IfdefPatch[] = {
4923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4925 * Description of Ultrix_Nested_Ioctl fix
4927 tSCC zUltrix_Nested_IoctlName[] =
4928 "ultrix_nested_ioctl";
4931 * File name selection pattern
4933 tSCC zUltrix_Nested_IoctlList[] =
4936 * Machine/OS name selection pattern
4938 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
4941 * content selection pattern - do fix if pattern found
4943 tSCC zUltrix_Nested_IoctlSelect0[] =
4944 "^/\\* #define SIOCSCREEN";
4946 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
4947 static tTestDesc aUltrix_Nested_IoctlTests[] = {
4948 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
4951 * Fix Command Arguments for Ultrix_Nested_Ioctl
4953 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
4954 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
4957 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4959 * Description of Ultrix_Nested_Svc fix
4961 tSCC zUltrix_Nested_SvcName[] =
4962 "ultrix_nested_svc";
4965 * File name selection pattern
4967 tSCC zUltrix_Nested_SvcList[] =
4970 * Machine/OS name selection pattern
4972 #define apzUltrix_Nested_SvcMachs (const char**)NULL
4975 * content selection pattern - do fix if pattern found
4977 tSCC zUltrix_Nested_SvcSelect0[] =
4978 "^ \\*[ \t]*int protocol; */\\*";
4980 #define ULTRIX_NESTED_SVC_TEST_CT 1
4981 static tTestDesc aUltrix_Nested_SvcTests[] = {
4982 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
4985 * Fix Command Arguments for Ultrix_Nested_Svc
4987 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
4988 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
4991 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4993 * Description of Ultrix_Stat fix
4995 tSCC zUltrix_StatName[] =
4999 * File name selection pattern
5001 tSCC zUltrix_StatList[] =
5004 * Machine/OS name selection pattern
5006 #define apzUltrix_StatMachs (const char**)NULL
5009 * content selection pattern - do fix if pattern found
5011 tSCC zUltrix_StatSelect0[] =
5012 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
5014 #define ULTRIX_STAT_TEST_CT 1
5015 static tTestDesc aUltrix_StatTests[] = {
5016 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
5019 * Fix Command Arguments for Ultrix_Stat
5021 static const char* apzUltrix_StatPatch[] = { "sed",
5022 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
5024 /* macro to test for symbolic link */\\\n\
5025 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
5026 "-e", "/^[ \t]*fstat(),$/a\\\n\
5030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5032 * Description of Ultrix_Static fix
5034 tSCC zUltrix_StaticName[] =
5038 * File name selection pattern
5040 tSCC zUltrix_StaticList[] =
5043 * Machine/OS name selection pattern
5045 #define apzUltrix_StaticMachs (const char**)NULL
5048 * content selection pattern - do fix if pattern found
5050 tSCC zUltrix_StaticSelect0[] =
5051 "#include \"r[34]_cpu";
5053 #define ULTRIX_STATIC_TEST_CT 1
5054 static tTestDesc aUltrix_StaticTests[] = {
5055 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
5058 * Fix Command Arguments for Ultrix_Static
5060 static const char* apzUltrix_StaticPatch[] = { "sed",
5061 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
5062 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
5063 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
5066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5068 * Description of Ultrix_Strings fix
5070 tSCC zUltrix_StringsName[] =
5074 * File name selection pattern
5076 tSCC zUltrix_StringsList[] =
5079 * Machine/OS name selection pattern
5081 #define apzUltrix_StringsMachs (const char**)NULL
5084 * content selection pattern - do fix if pattern found
5086 tSCC zUltrix_StringsSelect0[] =
5087 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
5089 #define ULTRIX_STRINGS_TEST_CT 1
5090 static tTestDesc aUltrix_StringsTests[] = {
5091 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
5094 * Fix Command Arguments for Ultrix_Strings
5096 static const char* apzUltrix_StringsPatch[] = {
5100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5102 * Description of Undefine_Null fix
5104 tSCC zUndefine_NullName[] =
5108 * File name selection pattern
5110 #define zUndefine_NullList (char*)NULL
5112 * Machine/OS name selection pattern
5114 #define apzUndefine_NullMachs (const char**)NULL
5117 * content selection pattern - do fix if pattern found
5119 tSCC zUndefine_NullSelect0[] =
5120 "^#[ \t]*define[ \t]+NULL[ \t]";
5123 * content bypass pattern - skip fix if pattern found
5125 tSCC zUndefine_NullBypass0[] =
5126 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
5128 #define UNDEFINE_NULL_TEST_CT 2
5129 static tTestDesc aUndefine_NullTests[] = {
5130 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
5131 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
5134 * Fix Command Arguments for Undefine_Null
5136 static const char* apzUndefine_NullPatch[] = {
5141 "^#[ \t]*define[ \t]*[ \t]NULL([^\r\n\
5145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5147 * Description of Unicosmk_Restrict fix
5149 tSCC zUnicosmk_RestrictName[] =
5150 "unicosmk_restrict";
5153 * File name selection pattern
5155 tSCC zUnicosmk_RestrictList[] =
5156 "|stdio.h|stdlib.h|wchar.h|";
5158 * Machine/OS name selection pattern
5160 tSCC* apzUnicosmk_RestrictMachs[] = {
5162 (const char*)NULL };
5165 * content selection pattern - do fix if pattern found
5167 tSCC zUnicosmk_RestrictSelect0[] =
5168 "(\\*[ \t]*)restrict([ \t]+)";
5170 #define UNICOSMK_RESTRICT_TEST_CT 1
5171 static tTestDesc aUnicosmk_RestrictTests[] = {
5172 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
5175 * Fix Command Arguments for Unicosmk_Restrict
5177 static const char* apzUnicosmk_RestrictPatch[] = {
5182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5184 * Description of Uw7_Byteorder_Fix fix
5186 tSCC zUw7_Byteorder_FixName[] =
5187 "uw7_byteorder_fix";
5190 * File name selection pattern
5192 tSCC zUw7_Byteorder_FixList[] =
5195 * Machine/OS name selection pattern
5197 tSCC* apzUw7_Byteorder_FixMachs[] = {
5201 "i?86-*-solaris2.[0-4]",
5202 "powerpcle-*-solaris2.[0-4]",
5203 "sparc-*-solaris2.[0-4]",
5204 (const char*)NULL };
5207 * content selection pattern - do fix if pattern found
5209 tSCC zUw7_Byteorder_FixSelect0[] =
5213 * perform the 'test' shell command - do fix on success
5215 tSCC zUw7_Byteorder_FixTest0[] =
5216 "-f sys/byteorder.h";
5218 #define UW7_BYTEORDER_FIX_TEST_CT 2
5219 static tTestDesc aUw7_Byteorder_FixTests[] = {
5220 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
5221 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
5224 * Fix Command Arguments for Uw7_Byteorder_Fix
5226 static const char* apzUw7_Byteorder_FixPatch[] = {
5229 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
5232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5234 * Description of Va_I960_Macro fix
5236 tSCC zVa_I960_MacroName[] =
5240 * File name selection pattern
5242 tSCC zVa_I960_MacroList[] =
5243 "|arch/i960/archI960.h|";
5245 * Machine/OS name selection pattern
5247 #define apzVa_I960_MacroMachs (const char**)NULL
5250 * content selection pattern - do fix if pattern found
5252 tSCC zVa_I960_MacroSelect0[] =
5253 "__(vsiz|vali|vpad|alignof__)";
5255 #define VA_I960_MACRO_TEST_CT 1
5256 static tTestDesc aVa_I960_MacroTests[] = {
5257 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
5260 * Fix Command Arguments for Va_I960_Macro
5262 static const char* apzVa_I960_MacroPatch[] = {
5267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5269 * Description of Void_Null fix
5271 tSCC zVoid_NullName[] =
5275 * File name selection pattern
5277 tSCC zVoid_NullList[] =
5278 "|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|";
5280 * Machine/OS name selection pattern
5282 #define apzVoid_NullMachs (const char**)NULL
5285 * content selection pattern - do fix if pattern found
5287 tSCC zVoid_NullSelect0[] =
5288 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
5290 #define VOID_NULL_TEST_CT 1
5291 static tTestDesc aVoid_NullTests[] = {
5292 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
5295 * Fix Command Arguments for Void_Null
5297 static const char* apzVoid_NullPatch[] = {
5302 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5304 * Description of Vxworks_Gcc_Problem fix
5306 tSCC zVxworks_Gcc_ProblemName[] =
5307 "vxworks_gcc_problem";
5310 * File name selection pattern
5312 tSCC zVxworks_Gcc_ProblemList[] =
5313 "|types/vxTypesBase.h|";
5315 * Machine/OS name selection pattern
5317 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
5320 * content selection pattern - do fix if pattern found
5322 tSCC zVxworks_Gcc_ProblemSelect0[] =
5323 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
5325 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
5326 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
5327 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
5330 * Fix Command Arguments for Vxworks_Gcc_Problem
5332 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
5333 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
5334 "-e", "/[ \t]size_t/i\\\n\
5335 #ifndef _GCC_SIZE_T\\\n\
5336 #define _GCC_SIZE_T\n",
5337 "-e", "/[ \t]size_t/a\\\n\
5339 "-e", "/[ \t]ptrdiff_t/i\\\n\
5340 #ifndef _GCC_PTRDIFF_T\\\n\
5341 #define _GCC_PTRDIFF_T\n",
5342 "-e", "/[ \t]ptrdiff_t/a\\\n\
5344 "-e", "/[ \t]wchar_t/i\\\n\
5345 #ifndef _GCC_WCHAR_T\\\n\
5346 #define _GCC_WCHAR_T\n",
5347 "-e", "/[ \t]wchar_t/a\\\n\
5351 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5353 * Description of Vxworks_Needs_Vxtypes fix
5355 tSCC zVxworks_Needs_VxtypesName[] =
5356 "vxworks_needs_vxtypes";
5359 * File name selection pattern
5361 tSCC zVxworks_Needs_VxtypesList[] =
5364 * Machine/OS name selection pattern
5366 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
5369 * content selection pattern - do fix if pattern found
5371 tSCC zVxworks_Needs_VxtypesSelect0[] =
5372 "uint_t([ \t]+_clocks_per_sec)";
5374 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
5375 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
5376 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
5379 * Fix Command Arguments for Vxworks_Needs_Vxtypes
5381 static const char* apzVxworks_Needs_VxtypesPatch[] = {
5386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5388 * Description of Vxworks_Needs_Vxworks fix
5390 tSCC zVxworks_Needs_VxworksName[] =
5391 "vxworks_needs_vxworks";
5394 * File name selection pattern
5396 tSCC zVxworks_Needs_VxworksList[] =
5399 * Machine/OS name selection pattern
5401 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
5404 * content selection pattern - do fix if pattern found
5406 tSCC zVxworks_Needs_VxworksSelect0[] =
5407 "#[ \t]define[ \t]+__INCstath";
5410 * perform the 'test' shell command - do fix on success
5412 tSCC zVxworks_Needs_VxworksTest0[] =
5413 " -r types/vxTypesOld.h";
5414 tSCC zVxworks_Needs_VxworksTest1[] =
5415 " -n \"`egrep '#include' $file`\"";
5416 tSCC zVxworks_Needs_VxworksTest2[] =
5417 " -n \"`egrep ULONG $file`\"";
5419 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
5420 static tTestDesc aVxworks_Needs_VxworksTests[] = {
5421 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
5422 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
5423 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
5424 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
5427 * Fix Command Arguments for Vxworks_Needs_Vxworks
5429 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
5430 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
5431 #include <types/vxTypesOld.h>\n",
5434 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5436 * Description of Vxworks_Time fix
5438 tSCC zVxworks_TimeName[] =
5442 * File name selection pattern
5444 tSCC zVxworks_TimeList[] =
5447 * Machine/OS name selection pattern
5449 #define apzVxworks_TimeMachs (const char**)NULL
5452 * content selection pattern - do fix if pattern found
5454 tSCC zVxworks_TimeSelect0[] =
5455 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
5458 * perform the 'test' shell command - do fix on success
5460 tSCC zVxworks_TimeTest0[] =
5463 #define VXWORKS_TIME_TEST_CT 2
5464 static tTestDesc aVxworks_TimeTests[] = {
5465 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
5466 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
5469 * Fix Command Arguments for Vxworks_Time
5471 static const char* apzVxworks_TimePatch[] = {
5473 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
5474 #ifdef __cplusplus\n\
5475 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
5477 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
5479 #define __gcc_VOIDFUNCPTR_defined\n\
5481 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
5484 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5486 * Description of X11_Class fix
5488 tSCC zX11_ClassName[] =
5492 * File name selection pattern
5494 tSCC zX11_ClassList[] =
5497 * Machine/OS name selection pattern
5499 #define apzX11_ClassMachs (const char**)NULL
5502 * content selection pattern - do fix if pattern found
5504 tSCC zX11_ClassSelect0[] =
5505 "^([ \t]*char \\*)class;(.*)";
5508 * content bypass pattern - skip fix if pattern found
5510 tSCC zX11_ClassBypass0[] =
5513 #define X11_CLASS_TEST_CT 2
5514 static tTestDesc aX11_ClassTests[] = {
5515 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
5516 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
5519 * Fix Command Arguments for X11_Class
5521 static const char* apzX11_ClassPatch[] = {
5523 "#ifdef __cplusplus\n\
5530 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5532 * Description of X11_Class_Usage fix
5534 tSCC zX11_Class_UsageName[] =
5538 * File name selection pattern
5540 tSCC zX11_Class_UsageList[] =
5541 "|Xm/BaseClassI.h|";
5543 * Machine/OS name selection pattern
5545 #define apzX11_Class_UsageMachs (const char**)NULL
5548 * content selection pattern - do fix if pattern found
5550 tSCC zX11_Class_UsageSelect0[] =
5554 * content bypass pattern - skip fix if pattern found
5556 tSCC zX11_Class_UsageBypass0[] =
5559 #define X11_CLASS_USAGE_TEST_CT 2
5560 static tTestDesc aX11_Class_UsageTests[] = {
5561 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
5562 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
5565 * Fix Command Arguments for X11_Class_Usage
5567 static const char* apzX11_Class_UsagePatch[] = {
5572 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5574 * Description of X11_New fix
5576 tSCC zX11_NewName[] =
5580 * File name selection pattern
5582 tSCC zX11_NewList[] =
5585 * Machine/OS name selection pattern
5587 #define apzX11_NewMachs (const char**)NULL
5590 * content bypass pattern - skip fix if pattern found
5592 tSCC zX11_NewBypass0[] =
5595 #define X11_NEW_TEST_CT 1
5596 static tTestDesc aX11_NewTests[] = {
5597 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
5600 * Fix Command Arguments for X11_New
5602 static const char* apzX11_NewPatch[] = { "sed",
5603 "-e", "/Widget\told, new;/i\\\n\
5604 #ifdef __cplusplus\\\n\
5605 \tWidget\told, c_new;\\\n\
5607 "-e", "/Widget\told, new;/a\\\n\
5609 "-e", "s/Widget new,/Widget c_new,/g",
5612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5614 * Description of X11_Sprintf fix
5616 tSCC zX11_SprintfName[] =
5620 * File name selection pattern
5622 tSCC zX11_SprintfList[] =
5623 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
5625 * Machine/OS name selection pattern
5627 #define apzX11_SprintfMachs (const char**)NULL
5630 * content selection pattern - do fix if pattern found
5632 tSCC zX11_SprintfSelect0[] =
5633 "^extern char \\*\tsprintf\\(\\);$";
5635 #define X11_SPRINTF_TEST_CT 1
5636 static tTestDesc aX11_SprintfTests[] = {
5637 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
5640 * Fix Command Arguments for X11_Sprintf
5642 static const char* apzX11_SprintfPatch[] = {
5644 "#ifndef __STDC__\n\
5646 #endif /* !defined __STDC__ */",
5650 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5654 #define REGEX_COUNT 152
5655 #define MACH_LIST_SIZE_LIMIT 279
5656 #define FIX_COUNT 145
5659 * Enumerate the fixes
5662 AAA_BAD_FIXES_FIXIDX,
5664 AAA_KI_CALLS_FIXIDX,
5666 AAA_KI_IFACE_FIXIDX,
5667 AAA_STANDARDS_FIXIDX,
5669 AAB_DGUX_INT_VARARGS_FIXIDX,
5670 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
5671 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
5672 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
5673 AAB_SUN_MEMCPY_FIXIDX,
5674 AAB_SVR4_REPLACE_BYTEORDER_FIXIDX,
5675 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
5676 AAB_ULTRIX_LIMITS_FIXIDX,
5677 AAB_ULTRIX_MEMORY_FIXIDX,
5678 AAB_ULTRIX_STRING_FIXIDX,
5680 AIX_SYSMACHINE_FIXIDX,
5682 AIX_VOLATILE_FIXIDX,
5683 ALPHA___ASSERT_FIXIDX,
5684 ALPHA_GETOPT_FIXIDX,
5685 ALPHA_PARENS_FIXIDX,
5687 ARM_NORCROFT_HINT_FIXIDX,
5690 AVOID_BOOL_DEFINE_FIXIDX,
5691 AVOID_BOOL_TYPE_FIXIDX,
5692 AVOID_WCHAR_T_TYPE_FIXIDX,
5694 BAD_STRUCT_TERM_FIXIDX,
5696 BROKEN_ASSERT_STDIO_FIXIDX,
5697 BROKEN_ASSERT_STDLIB_FIXIDX,
5699 CTRL_QUOTES_DEF_FIXIDX,
5700 CTRL_QUOTES_USE_FIXIDX,
5702 DEC_INTERN_ASM_FIXIDX,
5703 DJGPP_WCHAR_H_FIXIDX,
5705 FIX_HEADER_BREAKAGE_FIXIDX,
5706 FREEBSD_GCC3_BREAKAGE_FIXIDX,
5710 HPUX10_CPP_POW_INLINE_FIXIDX,
5711 HPUX11_CPP_POW_INLINE_FIXIDX,
5712 HPUX11_FABSF_FIXIDX,
5713 HPUX11_SIZE_T_FIXIDX,
5714 HPUX11_UINT32_C_FIXIDX,
5715 HPUX11_VSNPRINTF_FIXIDX,
5716 HPUX8_BOGUS_INLINES_FIXIDX,
5718 HPUX_SYSTIME_FIXIDX,
5719 INT_ABORT_FREE_AND_EXIT_FIXIDX,
5720 IO_QUOTES_DEF_FIXIDX,
5721 IO_QUOTES_USE_FIXIDX,
5722 IP_MISSING_SEMI_FIXIDX,
5723 IRIX_ASM_APOSTROPHE_FIXIDX,
5724 IRIX_LIMITS_CONST_FIXIDX,
5725 IRIX_STDIO_VA_LIST_FIXIDX,
5727 ISC_OMITS_WITH_STDC_FIXIDX,
5728 KANDR_CONCAT_FIXIDX,
5729 LIBC1_IFDEFD_MEMX_FIXIDX,
5730 LIMITS_IFNDEFS_FIXIDX,
5731 LYNX_VOID_INT_FIXIDX,
5732 LYNXOS_FCNTL_PROTO_FIXIDX,
5733 M88K_BAD_HYPOT_OPT_FIXIDX,
5734 M88K_BAD_S_IF_FIXIDX,
5735 M88K_MULTI_INCL_FIXIDX,
5736 MACHINE_ANSI_H_VA_LIST_FIXIDX,
5737 MACHINE_NAME_FIXIDX,
5738 MATH_EXCEPTION_FIXIDX,
5739 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
5740 MATH_HUGE_VAL_IFNDEF_FIXIDX,
5741 NESTED_AUTH_DES_FIXIDX,
5742 NESTED_MOTOROLA_FIXIDX,
5743 NESTED_SYS_LIMITS_FIXIDX,
5744 NEWS_OS_RECURSION_FIXIDX,
5745 NEXT_MATH_PREFIX_FIXIDX,
5746 NEXT_TEMPLATE_FIXIDX,
5747 NEXT_VOLITILE_FIXIDX,
5748 NEXT_WAIT_UNION_FIXIDX,
5749 NODEENT_SYNTAX_FIXIDX,
5750 OSF_NAMESPACE_A_FIXIDX,
5751 OSF_NAMESPACE_C_FIXIDX,
5752 PTHREAD_PAGE_SIZE_FIXIDX,
5753 READ_RET_TYPE_FIXIDX,
5754 RS6000_DOUBLE_FIXIDX,
5755 RS6000_FCHMOD_FIXIDX,
5756 RS6000_PARAM_FIXIDX,
5757 SCO_STATIC_FUNC_FIXIDX,
5759 SOLARIS_MUTEX_INIT_FIXIDX,
5761 STDIO_STDARG_H_FIXIDX,
5762 STDIO_VA_LIST_FIXIDX,
5763 STRICT_ANSI_NOT_FIXIDX,
5764 STRICT_ANSI_NOT_CTD_FIXIDX,
5765 STRICT_ANSI_ONLY_FIXIDX,
5767 STRUCT_SOCKADDR_FIXIDX,
5768 SUN_AUTH_PROTO_FIXIDX,
5769 SUN_BOGUS_IFDEF_FIXIDX,
5770 SUN_CATMACRO_FIXIDX,
5772 SUN_RUSERS_SEMI_FIXIDX,
5774 SUNOS_MATHERR_DECL_FIXIDX,
5775 SUNOS_STRLEN_FIXIDX,
5779 SYSV68_STRING_FIXIDX,
5780 SYSZ_STDLIB_FOR_SUN_FIXIDX,
5781 TINFO_CPLUSPLUS_FIXIDX,
5782 ULTRIX_ATEXIT_PARAM_FIXIDX,
5783 ULTRIX_ATOF_PARAM_FIXIDX,
5784 ULTRIX_CONST_FIXIDX,
5785 ULTRIX_CONST2_FIXIDX,
5786 ULTRIX_FIX_FIXPROTO_FIXIDX,
5787 ULTRIX_IFDEF_FIXIDX,
5788 ULTRIX_MATH_IFDEF_FIXIDX,
5789 ULTRIX_NESTED_IOCTL_FIXIDX,
5790 ULTRIX_NESTED_SVC_FIXIDX,
5792 ULTRIX_STATIC_FIXIDX,
5793 ULTRIX_STRINGS_FIXIDX,
5794 UNDEFINE_NULL_FIXIDX,
5795 UNICOSMK_RESTRICT_FIXIDX,
5796 UW7_BYTEORDER_FIX_FIXIDX,
5797 VA_I960_MACRO_FIXIDX,
5799 VXWORKS_GCC_PROBLEM_FIXIDX,
5800 VXWORKS_NEEDS_VXTYPES_FIXIDX,
5801 VXWORKS_NEEDS_VXWORKS_FIXIDX,
5802 VXWORKS_TIME_FIXIDX,
5804 X11_CLASS_USAGE_FIXIDX,
5809 tFixDesc fixDescList[ FIX_COUNT ] = {
5810 { zAaa_Bad_FixesName, zAaa_Bad_FixesList,
5811 apzAaa_Bad_FixesMachs,
5812 AAA_BAD_FIXES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5813 aAaa_Bad_FixesTests, apzAaa_Bad_FixesPatch, 0 },
5815 { zAaa_KiName, zAaa_KiList,
5817 AAA_KI_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5818 aAaa_KiTests, apzAaa_KiPatch, 0 },
5820 { zAaa_Ki_CallsName, zAaa_Ki_CallsList,
5821 apzAaa_Ki_CallsMachs,
5822 AAA_KI_CALLS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5823 aAaa_Ki_CallsTests, apzAaa_Ki_CallsPatch, 0 },
5825 { zAaa_Ki_DefsName, zAaa_Ki_DefsList,
5826 apzAaa_Ki_DefsMachs,
5827 AAA_KI_DEFS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5828 aAaa_Ki_DefsTests, apzAaa_Ki_DefsPatch, 0 },
5830 { zAaa_Ki_IfaceName, zAaa_Ki_IfaceList,
5831 apzAaa_Ki_IfaceMachs,
5832 AAA_KI_IFACE_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5833 aAaa_Ki_IfaceTests, apzAaa_Ki_IfacePatch, 0 },
5835 { zAaa_StandardsName, zAaa_StandardsList,
5836 apzAaa_StandardsMachs,
5837 AAA_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5838 aAaa_StandardsTests, apzAaa_StandardsPatch, 0 },
5840 { zAaa_TimeName, zAaa_TimeList,
5842 AAA_TIME_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5843 aAaa_TimeTests, apzAaa_TimePatch, 0 },
5845 { zAab_Dgux_Int_VarargsName, zAab_Dgux_Int_VarargsList,
5846 apzAab_Dgux_Int_VarargsMachs,
5847 AAB_DGUX_INT_VARARGS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5848 aAab_Dgux_Int_VarargsTests, apzAab_Dgux_Int_VarargsPatch, 0 },
5850 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
5851 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
5852 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5853 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
5855 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
5856 apzAab_Fd_Zero_Gnu_Types_HMachs,
5857 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5858 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
5860 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
5861 apzAab_Fd_Zero_Selectbits_HMachs,
5862 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5863 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
5865 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
5866 apzAab_Sun_MemcpyMachs,
5867 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5868 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
5870 { zAab_Svr4_Replace_ByteorderName, zAab_Svr4_Replace_ByteorderList,
5871 apzAab_Svr4_Replace_ByteorderMachs,
5872 AAB_SVR4_REPLACE_BYTEORDER_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5873 aAab_Svr4_Replace_ByteorderTests, apzAab_Svr4_Replace_ByteorderPatch, 0 },
5875 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
5876 apzAab_Ultrix_Ansi_CompatMachs,
5877 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5878 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
5880 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
5881 apzAab_Ultrix_LimitsMachs,
5882 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5883 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
5885 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
5886 apzAab_Ultrix_MemoryMachs,
5887 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5888 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
5890 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
5891 apzAab_Ultrix_StringMachs,
5892 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5893 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
5895 { zAix_PthreadName, zAix_PthreadList,
5896 apzAix_PthreadMachs,
5897 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5898 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
5900 { zAix_SysmachineName, zAix_SysmachineList,
5901 apzAix_SysmachineMachs,
5902 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5903 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
5905 { zAix_SyswaitName, zAix_SyswaitList,
5906 apzAix_SyswaitMachs,
5907 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5908 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
5910 { zAix_VolatileName, zAix_VolatileList,
5911 apzAix_VolatileMachs,
5912 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5913 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
5915 { zAlpha___AssertName, zAlpha___AssertList,
5916 apzAlpha___AssertMachs,
5917 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5918 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
5920 { zAlpha_GetoptName, zAlpha_GetoptList,
5921 apzAlpha_GetoptMachs,
5922 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5923 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
5925 { zAlpha_ParensName, zAlpha_ParensList,
5926 apzAlpha_ParensMachs,
5927 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5928 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
5930 { zAlpha_SbrkName, zAlpha_SbrkList,
5932 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5933 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
5935 { zArm_Norcroft_HintName, zArm_Norcroft_HintList,
5936 apzArm_Norcroft_HintMachs,
5937 ARM_NORCROFT_HINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5938 aArm_Norcroft_HintTests, apzArm_Norcroft_HintPatch, 0 },
5940 { zArm_WcharName, zArm_WcharList,
5942 ARM_WCHAR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5943 aArm_WcharTests, apzArm_WcharPatch, 0 },
5945 { zAux_AsmName, zAux_AsmList,
5947 AUX_ASM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5948 aAux_AsmTests, apzAux_AsmPatch, 0 },
5950 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
5951 apzAvoid_Bool_DefineMachs,
5952 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5953 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
5955 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
5956 apzAvoid_Bool_TypeMachs,
5957 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5958 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
5960 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
5961 apzAvoid_Wchar_T_TypeMachs,
5962 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5963 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
5965 { zBad_LvalName, zBad_LvalList,
5967 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
5968 aBad_LvalTests, apzBad_LvalPatch, 0 },
5970 { zBad_Struct_TermName, zBad_Struct_TermList,
5971 apzBad_Struct_TermMachs,
5972 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5973 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
5975 { zBadquoteName, zBadquoteList,
5977 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5978 aBadquoteTests, apzBadquotePatch, 0 },
5980 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
5981 apzBroken_Assert_StdioMachs,
5982 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5983 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
5985 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
5986 apzBroken_Assert_StdlibMachs,
5987 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5988 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
5990 { zBroken_CabsName, zBroken_CabsList,
5991 apzBroken_CabsMachs,
5992 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5993 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
5995 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
5996 apzCtrl_Quotes_DefMachs,
5997 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5998 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
6000 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
6001 apzCtrl_Quotes_UseMachs,
6002 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6003 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
6005 { zCxx_UnreadyName, zCxx_UnreadyList,
6006 apzCxx_UnreadyMachs,
6007 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6008 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
6010 { zDec_Intern_AsmName, zDec_Intern_AsmList,
6011 apzDec_Intern_AsmMachs,
6012 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
6013 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
6015 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
6016 apzDjgpp_Wchar_HMachs,
6017 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6018 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
6020 { zEcd_CursorName, zEcd_CursorList,
6022 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6023 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
6025 { zFix_Header_BreakageName, zFix_Header_BreakageList,
6026 apzFix_Header_BreakageMachs,
6027 FIX_HEADER_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6028 aFix_Header_BreakageTests, apzFix_Header_BreakagePatch, 0 },
6030 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
6031 apzFreebsd_Gcc3_BreakageMachs,
6032 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6033 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
6035 { zGnu_TypesName, zGnu_TypesList,
6037 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6038 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
6040 { zHp_InlineName, zHp_InlineList,
6042 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6043 aHp_InlineTests, apzHp_InlinePatch, 0 },
6045 { zHp_SysfileName, zHp_SysfileList,
6047 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6048 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
6050 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
6051 apzHpux10_Cpp_Pow_InlineMachs,
6052 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6053 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
6055 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
6056 apzHpux11_Cpp_Pow_InlineMachs,
6057 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6058 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
6060 { zHpux11_FabsfName, zHpux11_FabsfList,
6061 apzHpux11_FabsfMachs,
6062 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6063 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
6065 { zHpux11_Size_TName, zHpux11_Size_TList,
6066 apzHpux11_Size_TMachs,
6067 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6068 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
6070 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
6071 apzHpux11_Uint32_CMachs,
6072 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6073 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
6075 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
6076 apzHpux11_VsnprintfMachs,
6077 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6078 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
6080 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
6081 apzHpux8_Bogus_InlinesMachs,
6082 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
6083 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
6085 { zHpux_MaxintName, zHpux_MaxintList,
6086 apzHpux_MaxintMachs,
6087 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6088 aHpux_MaxintTests, apzHpux_MaxintPatch, 0 },
6090 { zHpux_SystimeName, zHpux_SystimeList,
6091 apzHpux_SystimeMachs,
6092 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6093 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
6095 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
6096 apzInt_Abort_Free_And_ExitMachs,
6097 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6098 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
6100 { zIo_Quotes_DefName, zIo_Quotes_DefList,
6101 apzIo_Quotes_DefMachs,
6102 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6103 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
6105 { zIo_Quotes_UseName, zIo_Quotes_UseList,
6106 apzIo_Quotes_UseMachs,
6107 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6108 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
6110 { zIp_Missing_SemiName, zIp_Missing_SemiList,
6111 apzIp_Missing_SemiMachs,
6112 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
6113 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
6115 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
6116 apzIrix_Asm_ApostropheMachs,
6117 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6118 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
6120 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
6121 apzIrix_Limits_ConstMachs,
6122 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6123 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
6125 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
6126 apzIrix_Stdio_Va_ListMachs,
6127 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6128 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
6130 { zIsc_FmodName, zIsc_FmodList,
6132 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6133 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
6135 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
6136 apzIsc_Omits_With_StdcMachs,
6137 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6138 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
6140 { zKandr_ConcatName, zKandr_ConcatList,
6141 apzKandr_ConcatMachs,
6142 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6143 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
6145 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
6146 apzLibc1_Ifdefd_MemxMachs,
6147 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6148 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
6150 { zLimits_IfndefsName, zLimits_IfndefsList,
6151 apzLimits_IfndefsMachs,
6152 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6153 aLimits_IfndefsTests, apzLimits_IfndefsPatch, 0 },
6155 { zLynx_Void_IntName, zLynx_Void_IntList,
6156 apzLynx_Void_IntMachs,
6157 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6158 aLynx_Void_IntTests, apzLynx_Void_IntPatch, 0 },
6160 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
6161 apzLynxos_Fcntl_ProtoMachs,
6162 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6163 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch, 0 },
6165 { zM88k_Bad_Hypot_OptName, zM88k_Bad_Hypot_OptList,
6166 apzM88k_Bad_Hypot_OptMachs,
6167 M88K_BAD_HYPOT_OPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6168 aM88k_Bad_Hypot_OptTests, apzM88k_Bad_Hypot_OptPatch, 0 },
6170 { zM88k_Bad_S_IfName, zM88k_Bad_S_IfList,
6171 apzM88k_Bad_S_IfMachs,
6172 M88K_BAD_S_IF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6173 aM88k_Bad_S_IfTests, apzM88k_Bad_S_IfPatch, 0 },
6175 { zM88k_Multi_InclName, zM88k_Multi_InclList,
6176 apzM88k_Multi_InclMachs,
6177 M88K_MULTI_INCL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6178 aM88k_Multi_InclTests, apzM88k_Multi_InclPatch, 0 },
6180 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
6181 apzMachine_Ansi_H_Va_ListMachs,
6182 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6183 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
6185 { zMachine_NameName, zMachine_NameList,
6186 apzMachine_NameMachs,
6187 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6188 aMachine_NameTests, apzMachine_NamePatch, 0 },
6190 { zMath_ExceptionName, zMath_ExceptionList,
6191 apzMath_ExceptionMachs,
6192 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6193 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
6195 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
6196 apzMath_Huge_Val_From_Dbl_MaxMachs,
6197 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
6198 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
6200 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
6201 apzMath_Huge_Val_IfndefMachs,
6202 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6203 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch, 0 },
6205 { zNested_Auth_DesName, zNested_Auth_DesList,
6206 apzNested_Auth_DesMachs,
6207 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6208 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
6210 { zNested_MotorolaName, zNested_MotorolaList,
6211 apzNested_MotorolaMachs,
6212 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
6213 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
6215 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
6216 apzNested_Sys_LimitsMachs,
6217 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
6218 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
6220 { zNews_Os_RecursionName, zNews_Os_RecursionList,
6221 apzNews_Os_RecursionMachs,
6222 NEWS_OS_RECURSION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6223 aNews_Os_RecursionTests, apzNews_Os_RecursionPatch, 0 },
6225 { zNext_Math_PrefixName, zNext_Math_PrefixList,
6226 apzNext_Math_PrefixMachs,
6227 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6228 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
6230 { zNext_TemplateName, zNext_TemplateList,
6231 apzNext_TemplateMachs,
6232 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6233 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
6235 { zNext_VolitileName, zNext_VolitileList,
6236 apzNext_VolitileMachs,
6237 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6238 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
6240 { zNext_Wait_UnionName, zNext_Wait_UnionList,
6241 apzNext_Wait_UnionMachs,
6242 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6243 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
6245 { zNodeent_SyntaxName, zNodeent_SyntaxList,
6246 apzNodeent_SyntaxMachs,
6247 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6248 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
6250 { zOsf_Namespace_AName, zOsf_Namespace_AList,
6251 apzOsf_Namespace_AMachs,
6252 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6253 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
6255 { zOsf_Namespace_CName, zOsf_Namespace_CList,
6256 apzOsf_Namespace_CMachs,
6257 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6258 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
6260 { zPthread_Page_SizeName, zPthread_Page_SizeList,
6261 apzPthread_Page_SizeMachs,
6262 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6263 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
6265 { zRead_Ret_TypeName, zRead_Ret_TypeList,
6266 apzRead_Ret_TypeMachs,
6267 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6268 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
6270 { zRs6000_DoubleName, zRs6000_DoubleList,
6271 apzRs6000_DoubleMachs,
6272 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6273 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
6275 { zRs6000_FchmodName, zRs6000_FchmodList,
6276 apzRs6000_FchmodMachs,
6277 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6278 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
6280 { zRs6000_ParamName, zRs6000_ParamList,
6281 apzRs6000_ParamMachs,
6282 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6283 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
6285 { zSco_Static_FuncName, zSco_Static_FuncList,
6286 apzSco_Static_FuncMachs,
6287 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
6288 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
6290 { zSco_UtimeName, zSco_UtimeList,
6292 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6293 aSco_UtimeTests, apzSco_UtimePatch, 0 },
6295 { zSolaris_Mutex_InitName, zSolaris_Mutex_InitList,
6296 apzSolaris_Mutex_InitMachs,
6297 SOLARIS_MUTEX_INIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6298 aSolaris_Mutex_InitTests, apzSolaris_Mutex_InitPatch, 0 },
6300 { zStatsswtchName, zStatsswtchList,
6302 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6303 aStatsswtchTests, apzStatsswtchPatch, 0 },
6305 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
6306 apzStdio_Stdarg_HMachs,
6307 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6308 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
6310 { zStdio_Va_ListName, zStdio_Va_ListList,
6311 apzStdio_Va_ListMachs,
6312 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
6313 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
6315 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
6316 apzStrict_Ansi_NotMachs,
6317 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6318 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
6320 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
6321 apzStrict_Ansi_Not_CtdMachs,
6322 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6323 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
6325 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
6326 apzStrict_Ansi_OnlyMachs,
6327 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6328 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
6330 { zStruct_FileName, zStruct_FileList,
6331 apzStruct_FileMachs,
6332 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6333 aStruct_FileTests, apzStruct_FilePatch, 0 },
6335 { zStruct_SockaddrName, zStruct_SockaddrList,
6336 apzStruct_SockaddrMachs,
6337 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6338 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
6340 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
6341 apzSun_Auth_ProtoMachs,
6342 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6343 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
6345 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
6346 apzSun_Bogus_IfdefMachs,
6347 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6348 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
6350 { zSun_CatmacroName, zSun_CatmacroList,
6351 apzSun_CatmacroMachs,
6352 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6353 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
6355 { zSun_MallocName, zSun_MallocList,
6357 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
6358 aSun_MallocTests, apzSun_MallocPatch, 0 },
6360 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
6361 apzSun_Rusers_SemiMachs,
6362 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
6363 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
6365 { zSun_SignalName, zSun_SignalList,
6367 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6368 aSun_SignalTests, apzSun_SignalPatch, 0 },
6370 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
6371 apzSunos_Matherr_DeclMachs,
6372 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6373 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch, 0 },
6375 { zSunos_StrlenName, zSunos_StrlenList,
6376 apzSunos_StrlenMachs,
6377 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6378 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
6380 { zSvr4__PName, zSvr4__PList,
6382 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6383 aSvr4__PTests, apzSvr4__PPatch, 0 },
6385 { zSvr4_GetcwdName, zSvr4_GetcwdList,
6386 apzSvr4_GetcwdMachs,
6387 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6388 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
6390 { zSvr4_ProfilName, zSvr4_ProfilList,
6391 apzSvr4_ProfilMachs,
6392 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6393 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
6395 { zSysv68_StringName, zSysv68_StringList,
6396 apzSysv68_StringMachs,
6397 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
6398 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
6400 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
6401 apzSysz_Stdlib_For_SunMachs,
6402 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6403 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
6405 { zTinfo_CplusplusName, zTinfo_CplusplusList,
6406 apzTinfo_CplusplusMachs,
6407 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6408 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
6410 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
6411 apzUltrix_Atexit_ParamMachs,
6412 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6413 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
6415 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
6416 apzUltrix_Atof_ParamMachs,
6417 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6418 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
6420 { zUltrix_ConstName, zUltrix_ConstList,
6421 apzUltrix_ConstMachs,
6422 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6423 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
6425 { zUltrix_Const2Name, zUltrix_Const2List,
6426 apzUltrix_Const2Machs,
6427 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6428 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
6430 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
6431 apzUltrix_Fix_FixprotoMachs,
6432 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6433 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
6435 { zUltrix_IfdefName, zUltrix_IfdefList,
6436 apzUltrix_IfdefMachs,
6437 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6438 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
6440 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
6441 apzUltrix_Math_IfdefMachs,
6442 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6443 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
6445 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
6446 apzUltrix_Nested_IoctlMachs,
6447 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
6448 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
6450 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
6451 apzUltrix_Nested_SvcMachs,
6452 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
6453 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
6455 { zUltrix_StatName, zUltrix_StatList,
6456 apzUltrix_StatMachs,
6457 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
6458 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
6460 { zUltrix_StaticName, zUltrix_StaticList,
6461 apzUltrix_StaticMachs,
6462 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
6463 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
6465 { zUltrix_StringsName, zUltrix_StringsList,
6466 apzUltrix_StringsMachs,
6467 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6468 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
6470 { zUndefine_NullName, zUndefine_NullList,
6471 apzUndefine_NullMachs,
6472 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6473 aUndefine_NullTests, apzUndefine_NullPatch, 0 },
6475 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
6476 apzUnicosmk_RestrictMachs,
6477 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6478 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
6480 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
6481 apzUw7_Byteorder_FixMachs,
6482 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6483 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
6485 { zVa_I960_MacroName, zVa_I960_MacroList,
6486 apzVa_I960_MacroMachs,
6487 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6488 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
6490 { zVoid_NullName, zVoid_NullList,
6492 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6493 aVoid_NullTests, apzVoid_NullPatch, 0 },
6495 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
6496 apzVxworks_Gcc_ProblemMachs,
6497 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
6498 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
6500 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
6501 apzVxworks_Needs_VxtypesMachs,
6502 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6503 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
6505 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
6506 apzVxworks_Needs_VxworksMachs,
6507 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
6508 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
6510 { zVxworks_TimeName, zVxworks_TimeList,
6511 apzVxworks_TimeMachs,
6512 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6513 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
6515 { zX11_ClassName, zX11_ClassList,
6517 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6518 aX11_ClassTests, apzX11_ClassPatch, 0 },
6520 { zX11_Class_UsageName, zX11_Class_UsageList,
6521 apzX11_Class_UsageMachs,
6522 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6523 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
6525 { zX11_NewName, zX11_NewList,
6527 X11_NEW_TEST_CT, FD_MACH_ONLY,
6528 aX11_NewTests, apzX11_NewPatch, 0 },
6530 { zX11_SprintfName, zX11_SprintfList,
6531 apzX11_SprintfMachs,
6532 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6533 aX11_SprintfTests, apzX11_SprintfPatch, 0 }