2 * DO NOT EDIT THIS FILE - it has been generated
4 * Install modified versions of certain ANSI-incompatible system header
5 * files which are fixed to work correctly with ANSI C and placed in a
6 * directory that GNU C will search.
8 * This file contains 130 fixup descriptions.
10 * See README-fixinc for more information.
12 * inclhack copyright (c) 1998, 1999, 2000
13 * The Free Software Foundation, Inc.
15 * inclhack is free software.
17 * You may redistribute it and/or modify it under the terms of the
18 * GNU General Public License, as published by the Free Software
19 * Foundation; either version 2, or (at your option) any later version.
21 * inclhack is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24 * See the GNU General Public License for more details.
26 * You should have received a copy of the GNU General Public License
27 * along with inclhack. See the file "COPYING". If not,
28 * write to: The Free Software Foundation, Inc.,
29 * 59 Temple Place - Suite 330,
30 * Boston, MA 02111-1307, USA.
33 /* * * * * * * * * * * * * * * * * * * * * * * * * *
35 * Description of Aaa_Ki_Iface fix
37 #define AAA_KI_IFACE_FIXIDX 0
38 tSCC zAaa_Ki_IfaceName[] =
42 * File name selection pattern
44 tSCC zAaa_Ki_IfaceList[] =
47 * Machine/OS name selection pattern
49 #define apzAaa_Ki_IfaceMachs (const char**)NULL
52 * content selection pattern - do fix if pattern found
54 tSCC zAaa_Ki_IfaceSelect0[] =
55 "These definitions are for HP Internal developers";
57 #define AAA_KI_IFACE_TEST_CT 1
58 static tTestDesc aAaa_Ki_IfaceTests[] = {
59 { TT_EGREP, zAaa_Ki_IfaceSelect0, (regex_t*)NULL }, };
62 * Fix Command Arguments for Aaa_Ki_Iface
64 static const char* apzAaa_Ki_IfacePatch[] = {
67 /* * * * * * * * * * * * * * * * * * * * * * * * * *
69 * Description of Aaa_Ki fix
71 #define AAA_KI_FIXIDX 1
76 * File name selection pattern
81 * Machine/OS name selection pattern
83 #define apzAaa_KiMachs (const char**)NULL
86 * content selection pattern - do fix if pattern found
88 tSCC zAaa_KiSelect0[] =
91 #define AAA_KI_TEST_CT 1
92 static tTestDesc aAaa_KiTests[] = {
93 { TT_EGREP, zAaa_KiSelect0, (regex_t*)NULL }, };
96 * Fix Command Arguments for Aaa_Ki
98 static const char* apzAaa_KiPatch[] = {
101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
103 * Description of Aaa_Ki_Calls fix
105 #define AAA_KI_CALLS_FIXIDX 2
106 tSCC zAaa_Ki_CallsName[] =
110 * File name selection pattern
112 tSCC zAaa_Ki_CallsList[] =
115 * Machine/OS name selection pattern
117 #define apzAaa_Ki_CallsMachs (const char**)NULL
120 * content selection pattern - do fix if pattern found
122 tSCC zAaa_Ki_CallsSelect0[] =
123 "kthread_create_caller_t";
125 #define AAA_KI_CALLS_TEST_CT 1
126 static tTestDesc aAaa_Ki_CallsTests[] = {
127 { TT_EGREP, zAaa_Ki_CallsSelect0, (regex_t*)NULL }, };
130 * Fix Command Arguments for Aaa_Ki_Calls
132 static const char* apzAaa_Ki_CallsPatch[] = {
135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
137 * Description of Aaa_Ki_Defs fix
139 #define AAA_KI_DEFS_FIXIDX 3
140 tSCC zAaa_Ki_DefsName[] =
144 * File name selection pattern
146 tSCC zAaa_Ki_DefsList[] =
149 * Machine/OS name selection pattern
151 #define apzAaa_Ki_DefsMachs (const char**)NULL
154 * content selection pattern - do fix if pattern found
156 tSCC zAaa_Ki_DefsSelect0[] =
157 "Kernel Instrumentation Definitions";
159 #define AAA_KI_DEFS_TEST_CT 1
160 static tTestDesc aAaa_Ki_DefsTests[] = {
161 { TT_EGREP, zAaa_Ki_DefsSelect0, (regex_t*)NULL }, };
164 * Fix Command Arguments for Aaa_Ki_Defs
166 static const char* apzAaa_Ki_DefsPatch[] = {
169 /* * * * * * * * * * * * * * * * * * * * * * * * * *
171 * Description of Aaa_Bad_Fixes fix
173 #define AAA_BAD_FIXES_FIXIDX 4
174 tSCC zAaa_Bad_FixesName[] =
178 * File name selection pattern
180 tSCC zAaa_Bad_FixesList[] =
181 "|sundev/ipi_error.h|";
183 * Machine/OS name selection pattern
185 #define apzAaa_Bad_FixesMachs (const char**)NULL
186 #define AAA_BAD_FIXES_TEST_CT 0
187 #define aAaa_Bad_FixesTests (tTestDesc*)NULL
190 * Fix Command Arguments for Aaa_Bad_Fixes
192 static const char* apzAaa_Bad_FixesPatch[] = {
195 /* * * * * * * * * * * * * * * * * * * * * * * * * *
197 * Description of Aaa_Time fix
199 #define AAA_TIME_FIXIDX 5
200 tSCC zAaa_TimeName[] =
204 * File name selection pattern
206 tSCC zAaa_TimeList[] =
209 * Machine/OS name selection pattern
211 #define apzAaa_TimeMachs (const char**)NULL
214 * content selection pattern - do fix if pattern found
216 tSCC zAaa_TimeSelect0[] =
217 "11.0 and later representation of ki time";
219 #define AAA_TIME_TEST_CT 1
220 static tTestDesc aAaa_TimeTests[] = {
221 { TT_EGREP, zAaa_TimeSelect0, (regex_t*)NULL }, };
224 * Fix Command Arguments for Aaa_Time
226 static const char* apzAaa_TimePatch[] = {
229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
231 * Description of Aab_Dgux_Int_Varargs fix
233 #define AAB_DGUX_INT_VARARGS_FIXIDX 6
234 tSCC zAab_Dgux_Int_VarargsName[] =
235 "AAB_dgux_int_varargs";
238 * File name selection pattern
240 tSCC zAab_Dgux_Int_VarargsList[] =
243 * Machine/OS name selection pattern
245 #define apzAab_Dgux_Int_VarargsMachs (const char**)NULL
246 #define AAB_DGUX_INT_VARARGS_TEST_CT 0
247 #define aAab_Dgux_Int_VarargsTests (tTestDesc*)NULL
250 * Fix Command Arguments for Aab_Dgux_Int_Varargs
252 static const char* apzAab_Dgux_Int_VarargsPatch[] = {
253 "#ifndef __INT_VARARGS_H\n\
254 #define __INT_VARARGS_H\n\
256 /************************************************************************/\n\
257 /* _INT_VARARGS.H - Define the common stuff for varargs/stdarg/stdio. */\n\
258 /************************************************************************/\n\
261 ** This file is a DG internal header. Never include this\n\
265 #ifndef ___int_features_h\n\
266 #include <sys/_int_features.h>\n\
269 #if !(defined(_VA_LIST) || defined(_VA_LIST_))\n\
276 typedef void * va_list;\n\
278 typedef char * va_list;\n\
284 #if defined(__DCC__)\n\
292 #else /* ! defined(__DCC__) */\n\
295 int __va_arg; /* argument number */\n\
296 int *__va_stk; /* start of args passed on stack */\n\
297 int *__va_reg; /* start of args passed in regs */\n\
300 #endif /* ! defined(__DCC__) */\n\
304 #if defined(__GNUC__) || defined(__STDC__)\n\
305 typedef void * va_list;\n\
307 typedef char * va_list;\n\
310 #endif /* _IX86_ANY */\n\
312 #endif /* __LINT__ */\n\
313 #endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */\n\
314 #endif /* #ifndef __INT_VARARGS_H */\n",
317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
319 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
321 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX 7
322 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
323 "AAB_fd_zero_asm_posix_types_h";
326 * File name selection pattern
328 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
329 "|asm/posix_types.h|";
331 * Machine/OS name selection pattern
333 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
334 "i[34567]86-*-linux*",
338 * content bypass pattern - skip fix if pattern found
340 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
343 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
344 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
345 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
348 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
350 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
351 "/* This file fixes a bug in the __FD_ZERO macro\n\
352 for older versions of the Linux kernel. */\n\
353 #ifndef _POSIX_TYPES_H_WRAPPER\n\
354 #include <features.h>\n\
355 #include_next <asm/posix_types.h>\n\
357 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
359 #define __FD_ZERO(fdsetp) \\\n\
361 int __d0, __d1; \\\n\
362 \t\t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
363 \t\t\t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
364 \t\t\t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
365 \t\t\t \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
369 #define _POSIX_TYPES_H_WRAPPER\n\
370 #endif /* _POSIX_TYPES_H_WRAPPER */\n",
373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
375 * Description of Aab_Fd_Zero_Gnu_Types_H fix
377 #define AAB_FD_ZERO_GNU_TYPES_H_FIXIDX 8
378 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
379 "AAB_fd_zero_gnu_types_h";
382 * File name selection pattern
384 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
387 * Machine/OS name selection pattern
389 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
390 "i[34567]86-*-linux*",
392 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
393 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
396 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
398 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
399 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
400 #ifndef _TYPES_H_WRAPPER\n\
401 #include <features.h>\n\
402 #include_next <gnu/types.h>\n\
404 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
406 # define __FD_ZERO(fdsetp) \\\n\
408 int __d0, __d1; \\\n\
409 \t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
410 \t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
411 \t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
412 \t\t \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
416 #define _TYPES_H_WRAPPER\n\
417 #endif /* _TYPES_H_WRAPPER */\n",
420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
422 * Description of Aab_Fd_Zero_Selectbits_H fix
424 #define AAB_FD_ZERO_SELECTBITS_H_FIXIDX 9
425 tSCC zAab_Fd_Zero_Selectbits_HName[] =
426 "AAB_fd_zero_selectbits_h";
429 * File name selection pattern
431 tSCC zAab_Fd_Zero_Selectbits_HList[] =
434 * Machine/OS name selection pattern
436 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
437 "i[34567]86-*-linux*",
439 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
440 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
443 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
445 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
446 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
447 #ifndef _SELECTBITS_H_WRAPPER\n\
448 #include <features.h>\n\
449 #include_next <selectbits.h>\n\
451 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\n\
452 \t&& defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\n\
453 \t&& __GLIBC_MINOR__ == 0\n\
455 #define __FD_ZERO(fdsetp) \\\n\
457 int __d0, __d1; \\\n\
458 __asm__ __volatile__ (\"cld; rep; stosl\" \\\n\
459 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
460 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\n\
461 / sizeof (__fd_mask)), \\\n\
462 \"1\" ((__fd_mask *) (fdsetp)) \\\n\
467 #define _SELECTBITS_H_WRAPPER\n\
468 #endif /* _SELECTBITS_H_WRAPPER */\n",
471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
473 * Description of Aab_Sun_Memcpy fix
475 #define AAB_SUN_MEMCPY_FIXIDX 10
476 tSCC zAab_Sun_MemcpyName[] =
480 * File name selection pattern
482 tSCC zAab_Sun_MemcpyList[] =
485 * Machine/OS name selection pattern
487 #define apzAab_Sun_MemcpyMachs (const char**)NULL
490 * content selection pattern - do fix if pattern found
492 tSCC zAab_Sun_MemcpySelect0[] =
493 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
495 #define AAB_SUN_MEMCPY_TEST_CT 1
496 static tTestDesc aAab_Sun_MemcpyTests[] = {
497 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
500 * Fix Command Arguments for Aab_Sun_Memcpy
502 static const char* apzAab_Sun_MemcpyPatch[] = {
503 "/* This file was generated by fixincludes */\n\
504 #ifndef __memory_h__\n\
505 #define __memory_h__\n\
508 extern void *memccpy();\n\
509 extern void *memchr();\n\
510 extern void *memcpy();\n\
511 extern void *memset();\n\
513 extern char *memccpy();\n\
514 extern char *memchr();\n\
515 extern char *memcpy();\n\
516 extern char *memset();\n\
517 #endif /* __STDC__ */\n\
519 extern int memcmp();\n\
521 #endif /* __memory_h__ */\n",
524 /* * * * * * * * * * * * * * * * * * * * * * * * * *
526 * Description of Aab_Svr4_Replace_Byteorder fix
528 #define AAB_SVR4_REPLACE_BYTEORDER_FIXIDX 11
529 tSCC zAab_Svr4_Replace_ByteorderName[] =
530 "AAB_svr4_replace_byteorder";
533 * File name selection pattern
535 tSCC zAab_Svr4_Replace_ByteorderList[] =
538 * Machine/OS name selection pattern
540 tSCC* apzAab_Svr4_Replace_ByteorderMachs[] = {
542 "i[34567]86-*-sysv5*",
544 "i[34567]86-*-solaris2.[0-4]",
545 "powerpcle-*-solaris2.[0-4]",
546 "sparc-*-solaris2.[0-4]",
548 #define AAB_SVR4_REPLACE_BYTEORDER_TEST_CT 0
549 #define aAab_Svr4_Replace_ByteorderTests (tTestDesc*)NULL
552 * Fix Command Arguments for Aab_Svr4_Replace_Byteorder
554 static const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
555 "#ifndef _SYS_BYTEORDER_H\n\
556 #define _SYS_BYTEORDER_H\n\
558 /* Functions to convert `short' and `long' quantities from host byte order\n\
559 to (internet) network byte order (i.e. big-endian).\n\
561 Written by Ron Guilmette (rfg@ncd.com).\n\
563 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\
565 For big-endian machines these functions are essentially no-ops.\n\
567 For little-endian machines, we define the functions using specialized\n\
568 asm sequences in cases where doing so yields better code (e.g. i386). */\n\
570 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
571 #error You lose! This file is only useful with GNU compilers.\n\
574 #ifndef __BYTE_ORDER__\n\
575 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
576 double underscores added at the front and back. */\n\
577 #define __LITTLE_ENDIAN__ 1234\n\
578 #define __BIG_ENDIAN__ 4321\n\
579 #define __PDP_ENDIAN__ 3412\n\
583 static __inline__ unsigned long htonl (unsigned long);\n\
584 static __inline__ unsigned short htons (unsigned int);\n\
585 static __inline__ unsigned long ntohl (unsigned long);\n\
586 static __inline__ unsigned short ntohs (unsigned int);\n\
587 #endif /* defined (__STDC__) */\n\
589 #if defined (__i386__)\n\
591 #ifndef __BYTE_ORDER__\n\
592 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
595 /* Convert a host long to a network long. */\n\
597 /* We must use a new-style function definition, so that this will also\n\
598 be valid for C++. */\n\
599 static __inline__ unsigned long\n\
600 htonl (unsigned long __arg)\n\
602 register unsigned long __result;\n\
604 __asm__ (\"xchg%B0 %b0,%h0\n\
606 \txchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
610 /* Convert a host short to a network short. */\n\
612 static __inline__ unsigned short\n\
613 htons (unsigned int __arg)\n\
615 register unsigned short __result;\n\
617 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
621 #elif ((defined (__i860__) && !defined (__i860_big_endian__))\t\\\n\
622 || defined (__ns32k__) || defined (__vax__)\t\t\\\n\
623 || defined (__spur__) || defined (__arm__))\n\
625 #ifndef __BYTE_ORDER__\n\
626 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
629 /* For other little-endian machines, using C code is just as efficient as\n\
630 using assembly code. */\n\
632 /* Convert a host long to a network long. */\n\
634 static __inline__ unsigned long\n\
635 htonl (unsigned long __arg)\n\
637 register unsigned long __result;\n\
639 __result = (__arg >> 24) & 0x000000ff;\n\
640 __result |= (__arg >> 8) & 0x0000ff00;\n\
641 __result |= (__arg << 8) & 0x00ff0000;\n\
642 __result |= (__arg << 24) & 0xff000000;\n\
646 /* Convert a host short to a network short. */\n\
648 static __inline__ unsigned short\n\
649 htons (unsigned int __arg)\n\
651 register unsigned short __result;\n\
653 __result = (__arg << 8) & 0xff00;\n\
654 __result |= (__arg >> 8) & 0x00ff;\n\
658 #else /* must be a big-endian machine */\n\
660 #ifndef __BYTE_ORDER__\n\
661 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
664 /* Convert a host long to a network long. */\n\
666 static __inline__ unsigned long\n\
667 htonl (unsigned long __arg)\n\
672 /* Convert a host short to a network short. */\n\
674 static __inline__ unsigned short\n\
675 htons (unsigned int __arg)\n\
680 #endif /* big-endian */\n\
682 /* Convert a network long to a host long. */\n\
684 static __inline__ unsigned long\n\
685 ntohl (unsigned long __arg)\n\
687 return htonl (__arg);\n\
690 /* Convert a network short to a host short. */\n\
692 static __inline__ unsigned short\n\
693 ntohs (unsigned int __arg)\n\
695 return htons (__arg);\n\
700 /* * * * * * * * * * * * * * * * * * * * * * * * * *
702 * Description of Aab_Ultrix_Ansi_Compat fix
704 #define AAB_ULTRIX_ANSI_COMPAT_FIXIDX 12
705 tSCC zAab_Ultrix_Ansi_CompatName[] =
706 "AAB_ultrix_ansi_compat";
709 * File name selection pattern
711 tSCC zAab_Ultrix_Ansi_CompatList[] =
714 * Machine/OS name selection pattern
716 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
719 * content selection pattern - do fix if pattern found
721 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
724 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
725 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
726 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
729 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
731 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
732 "/* This file intentionally left blank. */\n",
735 /* * * * * * * * * * * * * * * * * * * * * * * * * *
737 * Description of Aab_Ultrix_Limits fix
739 #define AAB_ULTRIX_LIMITS_FIXIDX 13
740 tSCC zAab_Ultrix_LimitsName[] =
744 * File name selection pattern
746 tSCC zAab_Ultrix_LimitsList[] =
749 * Machine/OS name selection pattern
751 tSCC* apzAab_Ultrix_LimitsMachs[] = {
754 #define AAB_ULTRIX_LIMITS_TEST_CT 0
755 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
758 * Fix Command Arguments for Aab_Ultrix_Limits
760 static const char* apzAab_Ultrix_LimitsPatch[] = {
761 "/*\t@(#)limits.h\t\t\t\t*/\n\
762 /* This file was generated by fixincludes\t*/\n\
763 #ifndef _LIMITS_INCLUDED\n\
764 #define _LIMITS_INCLUDED\n\
765 #include <sys/limits.h>\n\
766 #endif /* _LIMITS_INCLUDED */\n",
769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
771 * Description of Aab_Ultrix_Memory fix
773 #define AAB_ULTRIX_MEMORY_FIXIDX 14
774 tSCC zAab_Ultrix_MemoryName[] =
778 * File name selection pattern
780 tSCC zAab_Ultrix_MemoryList[] =
783 * Machine/OS name selection pattern
785 tSCC* apzAab_Ultrix_MemoryMachs[] = {
788 #define AAB_ULTRIX_MEMORY_TEST_CT 0
789 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
792 * Fix Command Arguments for Aab_Ultrix_Memory
794 static const char* apzAab_Ultrix_MemoryPatch[] = {
795 "/*\t@(#)memory.h\t\t\t\t*/\n\
796 /* This file was generated by fixincludes\t*/\n\
797 #ifndef _MEMORY_INCLUDED\n\
798 #define _MEMORY_INCLUDED\n\
799 #include <strings.h>\n\
800 #endif /* _MEMORY_INCLUDED */\n",
803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
805 * Description of Aab_Ultrix_String fix
807 #define AAB_ULTRIX_STRING_FIXIDX 15
808 tSCC zAab_Ultrix_StringName[] =
812 * File name selection pattern
814 tSCC zAab_Ultrix_StringList[] =
817 * Machine/OS name selection pattern
819 tSCC* apzAab_Ultrix_StringMachs[] = {
822 #define AAB_ULTRIX_STRING_TEST_CT 0
823 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
826 * Fix Command Arguments for Aab_Ultrix_String
828 static const char* apzAab_Ultrix_StringPatch[] = {
829 "/*\t@(#)string.h\t\t\t\t*/\n\
830 /* This file was generated by fixincludes\t*/\n\
831 #ifndef _STRING_INCLUDED\n\
832 #define _STRING_INCLUDED\n\
833 #include <strings.h>\n\
834 #endif /* _STRING_INCLUDED */\n",
837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
839 * Description of Aix_Pthread fix
841 #define AIX_PTHREAD_FIXIDX 16
842 tSCC zAix_PthreadName[] =
846 * File name selection pattern
848 tSCC zAix_PthreadList[] =
851 * Machine/OS name selection pattern
853 #define apzAix_PthreadMachs (const char**)NULL
856 * content selection pattern - do fix if pattern found
858 tSCC zAix_PthreadSelect0[] =
859 "(#define [A-Za-z_0-9]+)(\\\\\n\
863 #define AIX_PTHREAD_TEST_CT 1
864 static tTestDesc aAix_PthreadTests[] = {
865 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
868 * Fix Command Arguments for Aix_Pthread
870 static const char* apzAix_PthreadPatch[] = {
875 /* * * * * * * * * * * * * * * * * * * * * * * * * *
877 * Description of Aix_Sysmachine fix
879 #define AIX_SYSMACHINE_FIXIDX 17
880 tSCC zAix_SysmachineName[] =
884 * File name selection pattern
886 tSCC zAix_SysmachineList[] =
889 * Machine/OS name selection pattern
891 #define apzAix_SysmachineMachs (const char**)NULL
894 * content selection pattern - do fix if pattern found
896 tSCC zAix_SysmachineSelect0[] =
899 #define AIX_SYSMACHINE_TEST_CT 1
900 static tTestDesc aAix_SysmachineTests[] = {
901 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
904 * Fix Command Arguments for Aix_Sysmachine
906 static const char* apzAix_SysmachinePatch[] = {
911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
913 * Description of Aix_Syswait fix
915 #define AIX_SYSWAIT_FIXIDX 18
916 tSCC zAix_SyswaitName[] =
920 * File name selection pattern
922 tSCC zAix_SyswaitList[] =
925 * Machine/OS name selection pattern
927 #define apzAix_SyswaitMachs (const char**)NULL
930 * content selection pattern - do fix if pattern found
932 tSCC zAix_SyswaitSelect0[] =
933 "^extern pid_t wait3\\(\\);\n";
934 tSCC zAix_SyswaitSelect1[] =
937 #define AIX_SYSWAIT_TEST_CT 2
938 static tTestDesc aAix_SyswaitTests[] = {
939 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
940 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
943 * Fix Command Arguments for Aix_Syswait
945 static const char* apzAix_SyswaitPatch[] = {
951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
953 * Description of Aix_Volatile fix
955 #define AIX_VOLATILE_FIXIDX 19
956 tSCC zAix_VolatileName[] =
960 * File name selection pattern
962 tSCC zAix_VolatileList[] =
965 * Machine/OS name selection pattern
967 #define apzAix_VolatileMachs (const char**)NULL
970 * content selection pattern - do fix if pattern found
972 tSCC zAix_VolatileSelect0[] =
973 "typedef volatile int sig_atomic_t";
975 #define AIX_VOLATILE_TEST_CT 1
976 static tTestDesc aAix_VolatileTests[] = {
977 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
980 * Fix Command Arguments for Aix_Volatile
982 static const char* apzAix_VolatilePatch[] = {
984 "typedef int sig_atomic_t",
987 /* * * * * * * * * * * * * * * * * * * * * * * * * *
989 * Description of Alpha_Getopt fix
991 #define ALPHA_GETOPT_FIXIDX 20
992 tSCC zAlpha_GetoptName[] =
996 * File name selection pattern
998 tSCC zAlpha_GetoptList[] =
999 "|stdio.h|stdlib.h|";
1001 * Machine/OS name selection pattern
1003 #define apzAlpha_GetoptMachs (const char**)NULL
1006 * content selection pattern - do fix if pattern found
1008 tSCC zAlpha_GetoptSelect0[] =
1009 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1011 #define ALPHA_GETOPT_TEST_CT 1
1012 static tTestDesc aAlpha_GetoptTests[] = {
1013 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1016 * Fix Command Arguments for Alpha_Getopt
1018 static const char* apzAlpha_GetoptPatch[] = {
1020 "getopt(int, char *const[], const char *)",
1023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1025 * Description of Alpha_Parens fix
1027 #define ALPHA_PARENS_FIXIDX 21
1028 tSCC zAlpha_ParensName[] =
1032 * File name selection pattern
1034 tSCC zAlpha_ParensList[] =
1037 * Machine/OS name selection pattern
1039 #define apzAlpha_ParensMachs (const char**)NULL
1042 * content selection pattern - do fix if pattern found
1044 tSCC zAlpha_ParensSelect0[] =
1045 "#ifndef\\(__mips64\\)";
1047 #define ALPHA_PARENS_TEST_CT 1
1048 static tTestDesc aAlpha_ParensTests[] = {
1049 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1052 * Fix Command Arguments for Alpha_Parens
1054 static const char* apzAlpha_ParensPatch[] = {
1059 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1061 * Description of Alpha_Sbrk fix
1063 #define ALPHA_SBRK_FIXIDX 22
1064 tSCC zAlpha_SbrkName[] =
1068 * File name selection pattern
1070 tSCC zAlpha_SbrkList[] =
1073 * Machine/OS name selection pattern
1075 #define apzAlpha_SbrkMachs (const char**)NULL
1078 * content selection pattern - do fix if pattern found
1080 tSCC zAlpha_SbrkSelect0[] =
1081 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1083 #define ALPHA_SBRK_TEST_CT 1
1084 static tTestDesc aAlpha_SbrkTests[] = {
1085 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1088 * Fix Command Arguments for Alpha_Sbrk
1090 static const char* apzAlpha_SbrkPatch[] = {
1095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1097 * Description of Arm_Norcroft_Hint fix
1099 #define ARM_NORCROFT_HINT_FIXIDX 23
1100 tSCC zArm_Norcroft_HintName[] =
1101 "arm_norcroft_hint";
1104 * File name selection pattern
1106 tSCC zArm_Norcroft_HintList[] =
1107 "|X11/Intrinsic.h|";
1109 * Machine/OS name selection pattern
1111 #define apzArm_Norcroft_HintMachs (const char**)NULL
1114 * content selection pattern - do fix if pattern found
1116 tSCC zArm_Norcroft_HintSelect0[] =
1119 #define ARM_NORCROFT_HINT_TEST_CT 1
1120 static tTestDesc aArm_Norcroft_HintTests[] = {
1121 { TT_EGREP, zArm_Norcroft_HintSelect0, (regex_t*)NULL }, };
1124 * Fix Command Arguments for Arm_Norcroft_Hint
1126 static const char* apzArm_Norcroft_HintPatch[] = {
1131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1133 * Description of Arm_Wchar fix
1135 #define ARM_WCHAR_FIXIDX 24
1136 tSCC zArm_WcharName[] =
1140 * File name selection pattern
1142 tSCC zArm_WcharList[] =
1145 * Machine/OS name selection pattern
1147 #define apzArm_WcharMachs (const char**)NULL
1150 * content selection pattern - do fix if pattern found
1152 tSCC zArm_WcharSelect0[] =
1153 "#[ \t]*define[ \t]*__wchar_t";
1155 #define ARM_WCHAR_TEST_CT 1
1156 static tTestDesc aArm_WcharTests[] = {
1157 { TT_EGREP, zArm_WcharSelect0, (regex_t*)NULL }, };
1160 * Fix Command Arguments for Arm_Wchar
1162 static const char* apzArm_WcharPatch[] = {
1165 "(#[ \t]*(ifndef|define)[ \t]+)__wchar_t",
1168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1170 * Description of Aux_Asm fix
1172 #define AUX_ASM_FIXIDX 25
1173 tSCC zAux_AsmName[] =
1177 * File name selection pattern
1179 tSCC zAux_AsmList[] =
1182 * Machine/OS name selection pattern
1184 #define apzAux_AsmMachs (const char**)NULL
1187 * content selection pattern - do fix if pattern found
1189 tSCC zAux_AsmSelect0[] =
1192 #define AUX_ASM_TEST_CT 1
1193 static tTestDesc aAux_AsmTests[] = {
1194 { TT_EGREP, zAux_AsmSelect0, (regex_t*)NULL }, };
1197 * Fix Command Arguments for Aux_Asm
1199 static const char* apzAux_AsmPatch[] = {
1201 "#if !defined(NOINLINE) && !defined(__GNUC__)",
1204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1206 * Description of Avoid_Bool_Define fix
1208 #define AVOID_BOOL_DEFINE_FIXIDX 26
1209 tSCC zAvoid_Bool_DefineName[] =
1210 "avoid_bool_define";
1213 * File name selection pattern
1215 tSCC zAvoid_Bool_DefineList[] =
1216 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1218 * Machine/OS name selection pattern
1220 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1223 * content selection pattern - do fix if pattern found
1225 tSCC zAvoid_Bool_DefineSelect0[] =
1226 "#[ \t]*define[ \t]+bool[ \t]";
1229 * content bypass pattern - skip fix if pattern found
1231 tSCC zAvoid_Bool_DefineBypass0[] =
1232 "we must use the C\\+\\+ compiler's type";
1234 #define AVOID_BOOL_DEFINE_TEST_CT 2
1235 static tTestDesc aAvoid_Bool_DefineTests[] = {
1236 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1237 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1240 * Fix Command Arguments for Avoid_Bool_Define
1242 static const char* apzAvoid_Bool_DefinePatch[] = {
1244 "#ifndef __cplusplus\n\
1247 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1250 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1252 * Description of Avoid_Bool_Type fix
1254 #define AVOID_BOOL_TYPE_FIXIDX 27
1255 tSCC zAvoid_Bool_TypeName[] =
1259 * File name selection pattern
1261 tSCC zAvoid_Bool_TypeList[] =
1262 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1264 * Machine/OS name selection pattern
1266 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1269 * content selection pattern - do fix if pattern found
1271 tSCC zAvoid_Bool_TypeSelect0[] =
1272 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1275 * content bypass pattern - skip fix if pattern found
1277 tSCC zAvoid_Bool_TypeBypass0[] =
1278 "we must use the C\\+\\+ compiler's type";
1280 #define AVOID_BOOL_TYPE_TEST_CT 2
1281 static tTestDesc aAvoid_Bool_TypeTests[] = {
1282 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1283 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1286 * Fix Command Arguments for Avoid_Bool_Type
1288 static const char* apzAvoid_Bool_TypePatch[] = {
1290 "#ifndef __cplusplus\n\
1295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1297 * Description of Avoid_Wchar_T_Type fix
1299 #define AVOID_WCHAR_T_TYPE_FIXIDX 28
1300 tSCC zAvoid_Wchar_T_TypeName[] =
1301 "avoid_wchar_t_type";
1304 * File name selection pattern
1306 #define zAvoid_Wchar_T_TypeList (char*)NULL
1308 * Machine/OS name selection pattern
1310 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1313 * content selection pattern - do fix if pattern found
1315 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1316 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1318 #define AVOID_WCHAR_T_TYPE_TEST_CT 1
1319 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1320 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1323 * Fix Command Arguments for Avoid_Wchar_T_Type
1325 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1327 "#ifndef __cplusplus\n\
1332 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1334 * Description of Bad_Lval fix
1336 #define BAD_LVAL_FIXIDX 29
1337 tSCC zBad_LvalName[] =
1341 * File name selection pattern
1343 tSCC zBad_LvalList[] =
1344 "|libgen.h|dirent.h|ftw.h|grp.h|ndbm.h|pthread.h|pwd.h|signal.h|standards.h|stdlib.h|string.h|stropts.h|time.h|unistd.h|";
1346 * Machine/OS name selection pattern
1348 #define apzBad_LvalMachs (const char**)NULL
1351 * content selection pattern - do fix if pattern found
1353 tSCC zBad_LvalSelect0[] =
1354 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1356 #define BAD_LVAL_TEST_CT 1
1357 static tTestDesc aBad_LvalTests[] = {
1358 { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
1361 * Fix Command Arguments for Bad_Lval
1363 static const char* apzBad_LvalPatch[] = { "sed",
1364 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1369 * Description of Bad_Struct_Term fix
1371 #define BAD_STRUCT_TERM_FIXIDX 30
1372 tSCC zBad_Struct_TermName[] =
1376 * File name selection pattern
1378 tSCC zBad_Struct_TermList[] =
1381 * Machine/OS name selection pattern
1383 #define apzBad_Struct_TermMachs (const char**)NULL
1386 * content selection pattern - do fix if pattern found
1388 tSCC zBad_Struct_TermSelect0[] =
1389 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1391 #define BAD_STRUCT_TERM_TEST_CT 1
1392 static tTestDesc aBad_Struct_TermTests[] = {
1393 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1396 * Fix Command Arguments for Bad_Struct_Term
1398 static const char* apzBad_Struct_TermPatch[] = {
1403 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1405 * Description of Badquote fix
1407 #define BADQUOTE_FIXIDX 31
1408 tSCC zBadquoteName[] =
1412 * File name selection pattern
1414 tSCC zBadquoteList[] =
1415 "|sundev/vuid_event.h|";
1417 * Machine/OS name selection pattern
1419 #define apzBadquoteMachs (const char**)NULL
1422 * content selection pattern - do fix if pattern found
1424 tSCC zBadquoteSelect0[] =
1427 #define BADQUOTE_TEST_CT 1
1428 static tTestDesc aBadquoteTests[] = {
1429 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1432 * Fix Command Arguments for Badquote
1434 static const char* apzBadquotePatch[] = {
1439 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1441 * Description of Broken_Assert_Stdio fix
1443 #define BROKEN_ASSERT_STDIO_FIXIDX 32
1444 tSCC zBroken_Assert_StdioName[] =
1445 "broken_assert_stdio";
1448 * File name selection pattern
1450 tSCC zBroken_Assert_StdioList[] =
1453 * Machine/OS name selection pattern
1455 #define apzBroken_Assert_StdioMachs (const char**)NULL
1458 * content selection pattern - do fix if pattern found
1460 tSCC zBroken_Assert_StdioSelect0[] =
1464 * content bypass pattern - skip fix if pattern found
1466 tSCC zBroken_Assert_StdioBypass0[] =
1467 "include.*stdio\\.h";
1469 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1470 static tTestDesc aBroken_Assert_StdioTests[] = {
1471 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1472 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1475 * Fix Command Arguments for Broken_Assert_Stdio
1477 static const char* apzBroken_Assert_StdioPatch[] = {
1479 "#include <stdio.h>\n",
1482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1484 * Description of Broken_Assert_Stdlib fix
1486 #define BROKEN_ASSERT_STDLIB_FIXIDX 33
1487 tSCC zBroken_Assert_StdlibName[] =
1488 "broken_assert_stdlib";
1491 * File name selection pattern
1493 tSCC zBroken_Assert_StdlibList[] =
1496 * Machine/OS name selection pattern
1498 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1501 * content selection pattern - do fix if pattern found
1503 tSCC zBroken_Assert_StdlibSelect0[] =
1504 "exit *\\(|abort *\\(";
1507 * content bypass pattern - skip fix if pattern found
1509 tSCC zBroken_Assert_StdlibBypass0[] =
1510 "include.*stdlib\\.h";
1512 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1513 static tTestDesc aBroken_Assert_StdlibTests[] = {
1514 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1515 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1518 * Fix Command Arguments for Broken_Assert_Stdlib
1520 static const char* apzBroken_Assert_StdlibPatch[] = {
1522 "#ifdef __cplusplus\n\
1523 #include <stdlib.h>\n\
1527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1529 * Description of Broken_Cabs fix
1531 #define BROKEN_CABS_FIXIDX 34
1532 tSCC zBroken_CabsName[] =
1536 * File name selection pattern
1538 tSCC zBroken_CabsList[] =
1541 * Machine/OS name selection pattern
1543 #define apzBroken_CabsMachs (const char**)NULL
1546 * content selection pattern - do fix if pattern found
1548 tSCC zBroken_CabsSelect0[] =
1549 "^extern[ \\t]+double[ \\t]+cabs";
1551 #define BROKEN_CABS_TEST_CT 1
1552 static tTestDesc aBroken_CabsTests[] = {
1553 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1556 * Fix Command Arguments for Broken_Cabs
1558 static const char* apzBroken_CabsPatch[] = {
1561 "^extern[ \t]+double[ \t]+cabs\\((struct dbl_hypot|)\\);",
1564 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1566 * Description of Ctrl_Quotes_Def fix
1568 #define CTRL_QUOTES_DEF_FIXIDX 35
1569 tSCC zCtrl_Quotes_DefName[] =
1573 * File name selection pattern
1575 #define zCtrl_Quotes_DefList (char*)NULL
1577 * Machine/OS name selection pattern
1579 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1582 * content selection pattern - do fix if pattern found
1584 tSCC zCtrl_Quotes_DefSelect0[] =
1585 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1587 #define CTRL_QUOTES_DEF_TEST_CT 1
1588 static tTestDesc aCtrl_Quotes_DefTests[] = {
1589 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1592 * Fix Command Arguments for Ctrl_Quotes_Def
1594 static const char* apzCtrl_Quotes_DefPatch[] = {
1599 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1601 * Description of Ctrl_Quotes_Use fix
1603 #define CTRL_QUOTES_USE_FIXIDX 36
1604 tSCC zCtrl_Quotes_UseName[] =
1608 * File name selection pattern
1610 #define zCtrl_Quotes_UseList (char*)NULL
1612 * Machine/OS name selection pattern
1614 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1617 * content selection pattern - do fix if pattern found
1619 tSCC zCtrl_Quotes_UseSelect0[] =
1620 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1622 #define CTRL_QUOTES_USE_TEST_CT 1
1623 static tTestDesc aCtrl_Quotes_UseTests[] = {
1624 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1627 * Fix Command Arguments for Ctrl_Quotes_Use
1629 static const char* apzCtrl_Quotes_UsePatch[] = {
1634 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1636 * Description of Cxx_Unready fix
1638 #define CXX_UNREADY_FIXIDX 37
1639 tSCC zCxx_UnreadyName[] =
1643 * File name selection pattern
1645 tSCC zCxx_UnreadyList[] =
1646 "|sys/mman.h|rpc/types.h|";
1648 * Machine/OS name selection pattern
1650 #define apzCxx_UnreadyMachs (const char**)NULL
1653 * content selection pattern - do fix if pattern found
1655 tSCC zCxx_UnreadySelect0[] =
1659 * content bypass pattern - skip fix if pattern found
1661 tSCC zCxx_UnreadyBypass0[] =
1662 "\"C\"|__BEGIN_DECLS";
1664 #define CXX_UNREADY_TEST_CT 2
1665 static tTestDesc aCxx_UnreadyTests[] = {
1666 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1667 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1670 * Fix Command Arguments for Cxx_Unready
1672 static const char* apzCxx_UnreadyPatch[] = {
1674 "#ifdef __cplusplus\n\
1677 "#ifdef __cplusplus\n\
1682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1684 * Description of Dec_Intern_Asm fix
1686 #define DEC_INTERN_ASM_FIXIDX 38
1687 tSCC zDec_Intern_AsmName[] =
1691 * File name selection pattern
1693 tSCC zDec_Intern_AsmList[] =
1696 * Machine/OS name selection pattern
1698 #define apzDec_Intern_AsmMachs (const char**)NULL
1699 #define DEC_INTERN_ASM_TEST_CT 0
1700 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1703 * Fix Command Arguments for Dec_Intern_Asm
1705 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1706 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1708 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1714 * Description of Ecd_Cursor fix
1716 #define ECD_CURSOR_FIXIDX 39
1717 tSCC zEcd_CursorName[] =
1721 * File name selection pattern
1723 tSCC zEcd_CursorList[] =
1724 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1726 * Machine/OS name selection pattern
1728 #define apzEcd_CursorMachs (const char**)NULL
1731 * content selection pattern - do fix if pattern found
1733 tSCC zEcd_CursorSelect0[] =
1736 #define ECD_CURSOR_TEST_CT 1
1737 static tTestDesc aEcd_CursorTests[] = {
1738 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1741 * Fix Command Arguments for Ecd_Cursor
1743 static const char* apzEcd_CursorPatch[] = {
1748 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1750 * Description of Fix_Header_Breakage fix
1752 #define FIX_HEADER_BREAKAGE_FIXIDX 40
1753 tSCC zFix_Header_BreakageName[] =
1754 "fix_header_breakage";
1757 * File name selection pattern
1759 tSCC zFix_Header_BreakageList[] =
1762 * Machine/OS name selection pattern
1764 tSCC* apzFix_Header_BreakageMachs[] = {
1765 "m88k-motorola-sysv3*",
1766 (const char*)NULL };
1769 * content selection pattern - do fix if pattern found
1771 tSCC zFix_Header_BreakageSelect0[] =
1772 "extern double floor\\(\\), ceil\\(\\), fmod\\(\\), fabs\\(\\);";
1774 #define FIX_HEADER_BREAKAGE_TEST_CT 1
1775 static tTestDesc aFix_Header_BreakageTests[] = {
1776 { TT_EGREP, zFix_Header_BreakageSelect0, (regex_t*)NULL }, };
1779 * Fix Command Arguments for Fix_Header_Breakage
1781 static const char* apzFix_Header_BreakagePatch[] = {
1783 "extern double floor(), ceil(), fmod(), fabs _PARAMS((double));",
1786 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1788 * Description of Hp_Inline fix
1790 #define HP_INLINE_FIXIDX 41
1791 tSCC zHp_InlineName[] =
1795 * File name selection pattern
1797 tSCC zHp_InlineList[] =
1798 "|sys/spinlock.h|machine/machparam.h|";
1800 * Machine/OS name selection pattern
1802 #define apzHp_InlineMachs (const char**)NULL
1805 * content selection pattern - do fix if pattern found
1807 tSCC zHp_InlineSelect0[] =
1808 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1810 #define HP_INLINE_TEST_CT 1
1811 static tTestDesc aHp_InlineTests[] = {
1812 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1815 * Fix Command Arguments for Hp_Inline
1817 static const char* apzHp_InlinePatch[] = {
1820 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1823 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1825 * Description of Hp_Sysfile fix
1827 #define HP_SYSFILE_FIXIDX 42
1828 tSCC zHp_SysfileName[] =
1832 * File name selection pattern
1834 tSCC zHp_SysfileList[] =
1837 * Machine/OS name selection pattern
1839 #define apzHp_SysfileMachs (const char**)NULL
1842 * content selection pattern - do fix if pattern found
1844 tSCC zHp_SysfileSelect0[] =
1847 #define HP_SYSFILE_TEST_CT 1
1848 static tTestDesc aHp_SysfileTests[] = {
1849 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
1852 * Fix Command Arguments for Hp_Sysfile
1854 static const char* apzHp_SysfilePatch[] = {
1856 "(struct file *, ...)",
1860 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1862 * Description of Hpux11_Fabsf fix
1864 #define HPUX11_FABSF_FIXIDX 43
1865 tSCC zHpux11_FabsfName[] =
1869 * File name selection pattern
1871 tSCC zHpux11_FabsfList[] =
1874 * Machine/OS name selection pattern
1876 #define apzHpux11_FabsfMachs (const char**)NULL
1879 * content selection pattern - do fix if pattern found
1881 tSCC zHpux11_FabsfSelect0[] =
1882 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
1885 * content bypass pattern - skip fix if pattern found
1887 tSCC zHpux11_FabsfBypass0[] =
1890 #define HPUX11_FABSF_TEST_CT 2
1891 static tTestDesc aHpux11_FabsfTests[] = {
1892 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
1893 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
1896 * Fix Command Arguments for Hpux11_Fabsf
1898 static const char* apzHpux11_FabsfPatch[] = {
1900 "#ifndef __cplusplus\n\
1905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1907 * Description of Hpux11_Uint32_C fix
1909 #define HPUX11_UINT32_C_FIXIDX 44
1910 tSCC zHpux11_Uint32_CName[] =
1914 * File name selection pattern
1916 tSCC zHpux11_Uint32_CList[] =
1919 * Machine/OS name selection pattern
1921 #define apzHpux11_Uint32_CMachs (const char**)NULL
1924 * content selection pattern - do fix if pattern found
1926 tSCC zHpux11_Uint32_CSelect0[] =
1927 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
1929 #define HPUX11_UINT32_C_TEST_CT 1
1930 static tTestDesc aHpux11_Uint32_CTests[] = {
1931 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
1934 * Fix Command Arguments for Hpux11_Uint32_C
1936 static const char* apzHpux11_Uint32_CPatch[] = {
1938 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
1941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1943 * Description of Hpux8_Bogus_Inlines fix
1945 #define HPUX8_BOGUS_INLINES_FIXIDX 45
1946 tSCC zHpux8_Bogus_InlinesName[] =
1947 "hpux8_bogus_inlines";
1950 * File name selection pattern
1952 tSCC zHpux8_Bogus_InlinesList[] =
1955 * Machine/OS name selection pattern
1957 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
1960 * content selection pattern - do fix if pattern found
1962 tSCC zHpux8_Bogus_InlinesSelect0[] =
1965 #define HPUX8_BOGUS_INLINES_TEST_CT 1
1966 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
1967 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
1970 * Fix Command Arguments for Hpux8_Bogus_Inlines
1972 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
1973 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
1974 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
1975 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
1976 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
1979 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1981 * Description of Int_Abort_Free_And_Exit fix
1983 #define INT_ABORT_FREE_AND_EXIT_FIXIDX 46
1984 tSCC zInt_Abort_Free_And_ExitName[] =
1985 "int_abort_free_and_exit";
1988 * File name selection pattern
1990 tSCC zInt_Abort_Free_And_ExitList[] =
1993 * Machine/OS name selection pattern
1995 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
1998 * content selection pattern - do fix if pattern found
2000 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2001 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2003 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2004 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2005 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2008 * Fix Command Arguments for Int_Abort_Free_And_Exit
2010 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2017 * Description of Isc_Omits_With_Stdc fix
2019 #define ISC_OMITS_WITH_STDC_FIXIDX 47
2020 tSCC zIsc_Omits_With_StdcName[] =
2021 "isc_omits_with_stdc";
2024 * File name selection pattern
2026 tSCC zIsc_Omits_With_StdcList[] =
2027 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
2029 * Machine/OS name selection pattern
2031 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
2034 * content selection pattern - do fix if pattern found
2036 tSCC zIsc_Omits_With_StdcSelect0[] =
2037 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
2039 #define ISC_OMITS_WITH_STDC_TEST_CT 1
2040 static tTestDesc aIsc_Omits_With_StdcTests[] = {
2041 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
2044 * Fix Command Arguments for Isc_Omits_With_Stdc
2046 static const char* apzIsc_Omits_With_StdcPatch[] = {
2048 "!defined(_POSIX_SOURCE)",
2051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2053 * Description of Io_Quotes_Def fix
2055 #define IO_QUOTES_DEF_FIXIDX 48
2056 tSCC zIo_Quotes_DefName[] =
2060 * File name selection pattern
2062 #define zIo_Quotes_DefList (char*)NULL
2064 * Machine/OS name selection pattern
2066 #define apzIo_Quotes_DefMachs (const char**)NULL
2069 * content selection pattern - do fix if pattern found
2071 tSCC zIo_Quotes_DefSelect0[] =
2072 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2074 #define IO_QUOTES_DEF_TEST_CT 1
2075 static tTestDesc aIo_Quotes_DefTests[] = {
2076 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2079 * Fix Command Arguments for Io_Quotes_Def
2081 static const char* apzIo_Quotes_DefPatch[] = {
2086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2088 * Description of Io_Quotes_Use fix
2090 #define IO_QUOTES_USE_FIXIDX 49
2091 tSCC zIo_Quotes_UseName[] =
2095 * File name selection pattern
2097 #define zIo_Quotes_UseList (char*)NULL
2099 * Machine/OS name selection pattern
2101 #define apzIo_Quotes_UseMachs (const char**)NULL
2104 * content selection pattern - do fix if pattern found
2106 tSCC zIo_Quotes_UseSelect0[] =
2107 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2109 #define IO_QUOTES_USE_TEST_CT 1
2110 static tTestDesc aIo_Quotes_UseTests[] = {
2111 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2114 * Fix Command Arguments for Io_Quotes_Use
2116 static const char* apzIo_Quotes_UsePatch[] = {
2121 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2123 * Description of Hpux_Maxint fix
2125 #define HPUX_MAXINT_FIXIDX 50
2126 tSCC zHpux_MaxintName[] =
2130 * File name selection pattern
2132 tSCC zHpux_MaxintList[] =
2133 "|sys/param.h|values.h|";
2135 * Machine/OS name selection pattern
2137 #define apzHpux_MaxintMachs (const char**)NULL
2140 * content selection pattern - do fix if pattern found
2142 tSCC zHpux_MaxintSelect0[] =
2143 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2146 * content bypass pattern - skip fix if pattern found
2148 tSCC zHpux_MaxintBypass0[] =
2149 "^#[ \t]*ifndef[ \t]+MAXINT";
2152 * perform the 'test' shell command - do fix on success
2154 tSCC zHpux_MaxintTest0[] =
2155 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2157 #define HPUX_MAXINT_TEST_CT 3
2158 static tTestDesc aHpux_MaxintTests[] = {
2159 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2160 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2161 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2164 * Fix Command Arguments for Hpux_Maxint
2166 static const char* apzHpux_MaxintPatch[] = {
2171 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2174 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2176 * Description of Hpux_Systime fix
2178 #define HPUX_SYSTIME_FIXIDX 51
2179 tSCC zHpux_SystimeName[] =
2183 * File name selection pattern
2185 tSCC zHpux_SystimeList[] =
2188 * Machine/OS name selection pattern
2190 #define apzHpux_SystimeMachs (const char**)NULL
2193 * content selection pattern - do fix if pattern found
2195 tSCC zHpux_SystimeSelect0[] =
2196 "^extern struct sigevent;";
2198 #define HPUX_SYSTIME_TEST_CT 1
2199 static tTestDesc aHpux_SystimeTests[] = {
2200 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2203 * Fix Command Arguments for Hpux_Systime
2205 static const char* apzHpux_SystimePatch[] = {
2210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2212 * Description of Ip_Missing_Semi fix
2214 #define IP_MISSING_SEMI_FIXIDX 52
2215 tSCC zIp_Missing_SemiName[] =
2219 * File name selection pattern
2221 tSCC zIp_Missing_SemiList[] =
2224 * Machine/OS name selection pattern
2226 #define apzIp_Missing_SemiMachs (const char**)NULL
2229 * content selection pattern - do fix if pattern found
2231 tSCC zIp_Missing_SemiSelect0[] =
2234 #define IP_MISSING_SEMI_TEST_CT 1
2235 static tTestDesc aIp_Missing_SemiTests[] = {
2236 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2239 * Fix Command Arguments for Ip_Missing_Semi
2241 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2242 "-e", "/^struct/,/^};/s/}$/};/",
2245 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2247 * Description of Irix_Asm_Apostrophe fix
2249 #define IRIX_ASM_APOSTROPHE_FIXIDX 53
2250 tSCC zIrix_Asm_ApostropheName[] =
2251 "irix_asm_apostrophe";
2254 * File name selection pattern
2256 tSCC zIrix_Asm_ApostropheList[] =
2259 * Machine/OS name selection pattern
2261 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2264 * content selection pattern - do fix if pattern found
2266 tSCC zIrix_Asm_ApostropheSelect0[] =
2267 "^[ \t]*#.*[Ww]e're";
2269 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2270 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2271 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2274 * Fix Command Arguments for Irix_Asm_Apostrophe
2276 static const char* apzIrix_Asm_ApostrophePatch[] = {
2279 "^([ \t]*#.*[Ww]e)'re",
2282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2284 * Description of Isc_Fmod fix
2286 #define ISC_FMOD_FIXIDX 54
2287 tSCC zIsc_FmodName[] =
2291 * File name selection pattern
2293 tSCC zIsc_FmodList[] =
2296 * Machine/OS name selection pattern
2298 #define apzIsc_FmodMachs (const char**)NULL
2301 * content selection pattern - do fix if pattern found
2303 tSCC zIsc_FmodSelect0[] =
2306 #define ISC_FMOD_TEST_CT 1
2307 static tTestDesc aIsc_FmodTests[] = {
2308 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
2311 * Fix Command Arguments for Isc_Fmod
2313 static const char* apzIsc_FmodPatch[] = {
2315 "fmod(double, double)",
2318 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2320 * Description of Kandr_Concat fix
2322 #define KANDR_CONCAT_FIXIDX 55
2323 tSCC zKandr_ConcatName[] =
2327 * File name selection pattern
2329 tSCC zKandr_ConcatList[] =
2330 "|sparc/asm_linkage.h|sun3/asm_linkage.h|sun3x/asm_linkage.h|sun4/asm_linkage.h|sun4c/asm_linkage.h|sun4m/asm_linkage.h|sun4c/debug/asm_linkage.h|sun4m/debug/asm_linkage.h|arm/as_support.h|arm/mc_type.h|arm/xcb.h|dev/chardefmac.h|dev/ps_irq.h|dev/screen.h|dev/scsi.h|sys/tty.h|Xm.acorn/XmP.h|bsd43/bsd43_.h|";
2332 * Machine/OS name selection pattern
2334 #define apzKandr_ConcatMachs (const char**)NULL
2337 * content selection pattern - do fix if pattern found
2339 tSCC zKandr_ConcatSelect0[] =
2342 #define KANDR_CONCAT_TEST_CT 1
2343 static tTestDesc aKandr_ConcatTests[] = {
2344 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
2347 * Fix Command Arguments for Kandr_Concat
2349 static const char* apzKandr_ConcatPatch[] = {
2354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2356 * Description of Libc1_Ifdefd_Memx fix
2358 #define LIBC1_IFDEFD_MEMX_FIXIDX 56
2359 tSCC zLibc1_Ifdefd_MemxName[] =
2360 "libc1_ifdefd_memx";
2363 * File name selection pattern
2365 tSCC zLibc1_Ifdefd_MemxList[] =
2366 "|testing.h|string.h|";
2368 * Machine/OS name selection pattern
2370 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
2373 * content selection pattern - do fix if pattern found
2375 tSCC zLibc1_Ifdefd_MemxSelect0[] =
2376 "' is a built-in function for gcc 2\\.x\\. \\*/";
2379 * content bypass pattern - skip fix if pattern found
2381 tSCC zLibc1_Ifdefd_MemxBypass0[] =
2384 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
2385 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
2386 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
2387 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
2390 * Fix Command Arguments for Libc1_Ifdefd_Memx
2392 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
2395 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
2396 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
2398 extern [a-z_]+ mem.*(\n\
2403 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2405 * Description of Limits_Ifndefs fix
2407 #define LIMITS_IFNDEFS_FIXIDX 57
2408 tSCC zLimits_IfndefsName[] =
2412 * File name selection pattern
2414 tSCC zLimits_IfndefsList[] =
2415 "|sys/limits.h|limits.h|";
2417 * Machine/OS name selection pattern
2419 #define apzLimits_IfndefsMachs (const char**)NULL
2422 * content bypass pattern - skip fix if pattern found
2424 tSCC zLimits_IfndefsBypass0[] =
2425 "ifndef[ \t]+FLT_MIN";
2427 #define LIMITS_IFNDEFS_TEST_CT 1
2428 static tTestDesc aLimits_IfndefsTests[] = {
2429 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
2432 * Fix Command Arguments for Limits_Ifndefs
2434 static const char* apzLimits_IfndefsPatch[] = {
2439 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*",
2442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2444 * Description of Lynx_Void_Int fix
2446 #define LYNX_VOID_INT_FIXIDX 58
2447 tSCC zLynx_Void_IntName[] =
2451 * File name selection pattern
2453 tSCC zLynx_Void_IntList[] =
2456 * Machine/OS name selection pattern
2458 #define apzLynx_Void_IntMachs (const char**)NULL
2461 * content selection pattern - do fix if pattern found
2463 tSCC zLynx_Void_IntSelect0[] =
2464 "#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
2466 #define LYNX_VOID_INT_TEST_CT 1
2467 static tTestDesc aLynx_Void_IntTests[] = {
2468 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
2471 * Fix Command Arguments for Lynx_Void_Int
2473 static const char* apzLynx_Void_IntPatch[] = {
2478 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2480 * Description of Lynxos_Fcntl_Proto fix
2482 #define LYNXOS_FCNTL_PROTO_FIXIDX 59
2483 tSCC zLynxos_Fcntl_ProtoName[] =
2484 "lynxos_fcntl_proto";
2487 * File name selection pattern
2489 tSCC zLynxos_Fcntl_ProtoList[] =
2492 * Machine/OS name selection pattern
2494 #define apzLynxos_Fcntl_ProtoMachs (const char**)NULL
2497 * content selection pattern - do fix if pattern found
2499 tSCC zLynxos_Fcntl_ProtoSelect0[] =
2500 "fcntl[ \t]*\\(int, int, int\\)";
2502 #define LYNXOS_FCNTL_PROTO_TEST_CT 1
2503 static tTestDesc aLynxos_Fcntl_ProtoTests[] = {
2504 { TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
2507 * Fix Command Arguments for Lynxos_Fcntl_Proto
2509 static const char* apzLynxos_Fcntl_ProtoPatch[] = {
2512 "(fcntl[ \t]*\\(int, int, )int\\)",
2515 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2517 * Description of M88k_Bad_Hypot_Opt fix
2519 #define M88K_BAD_HYPOT_OPT_FIXIDX 60
2520 tSCC zM88k_Bad_Hypot_OptName[] =
2521 "m88k_bad_hypot_opt";
2524 * File name selection pattern
2526 tSCC zM88k_Bad_Hypot_OptList[] =
2529 * Machine/OS name selection pattern
2531 tSCC* apzM88k_Bad_Hypot_OptMachs[] = {
2532 "m88k-motorola-sysv3*",
2533 (const char*)NULL };
2536 * content selection pattern - do fix if pattern found
2538 tSCC zM88k_Bad_Hypot_OptSelect0[] =
2539 "^extern double hypot\\(\\);\n";
2541 #define M88K_BAD_HYPOT_OPT_TEST_CT 1
2542 static tTestDesc aM88k_Bad_Hypot_OptTests[] = {
2543 { TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
2546 * Fix Command Arguments for M88k_Bad_Hypot_Opt
2548 static const char* apzM88k_Bad_Hypot_OptPatch[] = {
2550 "%0/* Workaround a stupid Motorola optimization if one\n\
2551 of x or y is 0.0 and the other is negative! */\n\
2553 static __inline__ double fake_hypot (double x, double y)\n\
2555 static __inline__ double fake_hypot (x, y)\n\
2559 \treturn fabs (hypot (x, y));\n\
2561 #define hypot\tfake_hypot\n",
2564 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2566 * Description of M88k_Bad_S_If fix
2568 #define M88K_BAD_S_IF_FIXIDX 61
2569 tSCC zM88k_Bad_S_IfName[] =
2573 * File name selection pattern
2575 tSCC zM88k_Bad_S_IfList[] =
2578 * Machine/OS name selection pattern
2580 tSCC* apzM88k_Bad_S_IfMachs[] = {
2582 (const char*)NULL };
2585 * content selection pattern - do fix if pattern found
2587 tSCC zM88k_Bad_S_IfSelect0[] =
2588 "#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
2590 #define M88K_BAD_S_IF_TEST_CT 1
2591 static tTestDesc aM88k_Bad_S_IfTests[] = {
2592 { TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
2595 * Fix Command Arguments for M88k_Bad_S_If
2597 static const char* apzM88k_Bad_S_IfPatch[] = {
2599 "#define %1(m) (((m) & S_IFMT) == %2)",
2600 "#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
2603 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2605 * Description of M88k_Multi_Incl fix
2607 #define M88K_MULTI_INCL_FIXIDX 62
2608 tSCC zM88k_Multi_InclName[] =
2612 * File name selection pattern
2614 tSCC zM88k_Multi_InclList[] =
2617 * Machine/OS name selection pattern
2619 tSCC* apzM88k_Multi_InclMachs[] = {
2620 "m88k-tektronix-sysv3*",
2621 (const char*)NULL };
2624 * content bypass pattern - skip fix if pattern found
2626 tSCC zM88k_Multi_InclBypass0[] =
2629 #define M88K_MULTI_INCL_TEST_CT 1
2630 static tTestDesc aM88k_Multi_InclTests[] = {
2631 { TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
2634 * Fix Command Arguments for M88k_Multi_Incl
2636 static const char* apzM88k_Multi_InclPatch[] = {
2640 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2642 * Description of Machine_Ansi_H_Va_List fix
2644 #define MACHINE_ANSI_H_VA_LIST_FIXIDX 63
2645 tSCC zMachine_Ansi_H_Va_ListName[] =
2646 "machine_ansi_h_va_list";
2649 * File name selection pattern
2651 #define zMachine_Ansi_H_Va_ListList (char*)NULL
2653 * Machine/OS name selection pattern
2655 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
2658 * content selection pattern - do fix if pattern found
2660 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
2661 "define[ \t]+_BSD_VA_LIST_[ \t]";
2664 * content bypass pattern - skip fix if pattern found
2666 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
2667 "__builtin_va_list";
2669 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
2670 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
2671 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
2672 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
2675 * Fix Command Arguments for Machine_Ansi_H_Va_List
2677 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
2679 "%1__builtin_va_list",
2680 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
2683 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2685 * Description of Machine_Name fix
2687 #define MACHINE_NAME_FIXIDX 64
2688 tSCC zMachine_NameName[] =
2692 * File name selection pattern
2694 #define zMachine_NameList (char*)NULL
2696 * Machine/OS name selection pattern
2698 #define apzMachine_NameMachs (const char**)NULL
2701 * perform the C function call test
2703 tSCC zMachine_NameFTst0[] = "machine_name";
2705 #define MACHINE_NAME_TEST_CT 1
2706 static tTestDesc aMachine_NameTests[] = {
2707 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
2710 * Fix Command Arguments for Machine_Name
2712 static const char* apzMachine_NamePatch[] = {
2716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2718 * Description of Math_Exception fix
2720 #define MATH_EXCEPTION_FIXIDX 65
2721 tSCC zMath_ExceptionName[] =
2725 * File name selection pattern
2727 tSCC zMath_ExceptionList[] =
2730 * Machine/OS name selection pattern
2732 #define apzMath_ExceptionMachs (const char**)NULL
2735 * content selection pattern - do fix if pattern found
2737 tSCC zMath_ExceptionSelect0[] =
2741 * content bypass pattern - skip fix if pattern found
2743 tSCC zMath_ExceptionBypass0[] =
2744 "We have a problem when using C\\+\\+";
2746 #define MATH_EXCEPTION_TEST_CT 2
2747 static tTestDesc aMath_ExceptionTests[] = {
2748 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
2749 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
2752 * Fix Command Arguments for Math_Exception
2754 static const char* apzMath_ExceptionPatch[] = {
2756 "#ifdef __cplusplus\n\
2757 #define exception __math_exception\n\
2759 "#ifdef __cplusplus\n\
2764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2766 * Description of Math_Huge_Val_From_Dbl_Max fix
2768 #define MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX 66
2769 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
2770 "math_huge_val_from_dbl_max";
2773 * File name selection pattern
2775 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
2778 * Machine/OS name selection pattern
2780 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
2783 * content selection pattern - do fix if pattern found
2785 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
2786 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
2789 * content bypass pattern - skip fix if pattern found
2791 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
2792 "define[ \t]+DBL_MAX";
2794 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
2795 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
2796 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
2797 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
2800 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
2802 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
2803 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\
2805 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
2806 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
2811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2813 * Description of Math_Huge_Val_Ifndef fix
2815 #define MATH_HUGE_VAL_IFNDEF_FIXIDX 67
2816 tSCC zMath_Huge_Val_IfndefName[] =
2817 "math_huge_val_ifndef";
2820 * File name selection pattern
2822 tSCC zMath_Huge_Val_IfndefList[] =
2823 "|math.h|math/math.h|";
2825 * Machine/OS name selection pattern
2827 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
2830 * content selection pattern - do fix if pattern found
2832 tSCC zMath_Huge_Val_IfndefSelect0[] =
2833 "define[ \t]+HUGE_VAL";
2835 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
2836 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
2837 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
2840 * Fix Command Arguments for Math_Huge_Val_Ifndef
2842 static const char* apzMath_Huge_Val_IfndefPatch[] = {
2844 "#ifndef HUGE_VAL\n\
2847 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
2850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2852 * Description of Nested_Motorola fix
2854 #define NESTED_MOTOROLA_FIXIDX 68
2855 tSCC zNested_MotorolaName[] =
2859 * File name selection pattern
2861 tSCC zNested_MotorolaList[] =
2862 "|sys/limits.h|limits.h|";
2864 * Machine/OS name selection pattern
2866 tSCC* apzNested_MotorolaMachs[] = {
2867 "m68k-motorola-sysv*",
2868 (const char*)NULL };
2871 * content selection pattern - do fix if pattern found
2873 tSCC zNested_MotorolaSelect0[] =
2874 "max # bytes atomic in write|error value returned by Math lib";
2876 #define NESTED_MOTOROLA_TEST_CT 1
2877 static tTestDesc aNested_MotorolaTests[] = {
2878 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
2881 * Fix Command Arguments for Nested_Motorola
2883 static const char* apzNested_MotorolaPatch[] = { "sed",
2884 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
2885 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
2888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2890 * Description of Nested_Sys_Limits fix
2892 #define NESTED_SYS_LIMITS_FIXIDX 69
2893 tSCC zNested_Sys_LimitsName[] =
2894 "nested_sys_limits";
2897 * File name selection pattern
2899 tSCC zNested_Sys_LimitsList[] =
2902 * Machine/OS name selection pattern
2904 #define apzNested_Sys_LimitsMachs (const char**)NULL
2907 * content selection pattern - do fix if pattern found
2909 tSCC zNested_Sys_LimitsSelect0[] =
2912 #define NESTED_SYS_LIMITS_TEST_CT 1
2913 static tTestDesc aNested_Sys_LimitsTests[] = {
2914 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
2917 * Fix Command Arguments for Nested_Sys_Limits
2919 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
2920 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
2921 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
2924 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2926 * Description of Nested_Auth_Des fix
2928 #define NESTED_AUTH_DES_FIXIDX 70
2929 tSCC zNested_Auth_DesName[] =
2933 * File name selection pattern
2935 tSCC zNested_Auth_DesList[] =
2938 * Machine/OS name selection pattern
2940 #define apzNested_Auth_DesMachs (const char**)NULL
2943 * content selection pattern - do fix if pattern found
2945 tSCC zNested_Auth_DesSelect0[] =
2946 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
2948 #define NESTED_AUTH_DES_TEST_CT 1
2949 static tTestDesc aNested_Auth_DesTests[] = {
2950 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
2953 * Fix Command Arguments for Nested_Auth_Des
2955 static const char* apzNested_Auth_DesPatch[] = {
2960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2962 * Description of News_Os_Recursion fix
2964 #define NEWS_OS_RECURSION_FIXIDX 71
2965 tSCC zNews_Os_RecursionName[] =
2966 "news_os_recursion";
2969 * File name selection pattern
2971 tSCC zNews_Os_RecursionList[] =
2974 * Machine/OS name selection pattern
2976 #define apzNews_Os_RecursionMachs (const char**)NULL
2979 * content selection pattern - do fix if pattern found
2981 tSCC zNews_Os_RecursionSelect0[] =
2982 "[ \t]*#include <stdlib\\.h>.*";
2984 #define NEWS_OS_RECURSION_TEST_CT 1
2985 static tTestDesc aNews_Os_RecursionTests[] = {
2986 { TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
2989 * Fix Command Arguments for News_Os_Recursion
2991 static const char* apzNews_Os_RecursionPatch[] = {
2993 "#ifdef BOGUS_RECURSION\n\
2998 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3000 * Description of Next_Math_Prefix fix
3002 #define NEXT_MATH_PREFIX_FIXIDX 72
3003 tSCC zNext_Math_PrefixName[] =
3007 * File name selection pattern
3009 tSCC zNext_Math_PrefixList[] =
3012 * Machine/OS name selection pattern
3014 #define apzNext_Math_PrefixMachs (const char**)NULL
3017 * content selection pattern - do fix if pattern found
3019 tSCC zNext_Math_PrefixSelect0[] =
3020 "^extern[ \t]+double[ \t]+__const__[ \t]";
3022 #define NEXT_MATH_PREFIX_TEST_CT 1
3023 static tTestDesc aNext_Math_PrefixTests[] = {
3024 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3027 * Fix Command Arguments for Next_Math_Prefix
3029 static const char* apzNext_Math_PrefixPatch[] = {
3031 "extern double %1(",
3032 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3035 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3037 * Description of Next_Template fix
3039 #define NEXT_TEMPLATE_FIXIDX 73
3040 tSCC zNext_TemplateName[] =
3044 * File name selection pattern
3046 tSCC zNext_TemplateList[] =
3049 * Machine/OS name selection pattern
3051 #define apzNext_TemplateMachs (const char**)NULL
3054 * content selection pattern - do fix if pattern found
3056 tSCC zNext_TemplateSelect0[] =
3059 #define NEXT_TEMPLATE_TEST_CT 1
3060 static tTestDesc aNext_TemplateTests[] = {
3061 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3064 * Fix Command Arguments for Next_Template
3066 static const char* apzNext_TemplatePatch[] = {
3069 "\\(([^)]*)[ \t]template\\)",
3072 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3074 * Description of Next_Volitile fix
3076 #define NEXT_VOLITILE_FIXIDX 74
3077 tSCC zNext_VolitileName[] =
3081 * File name selection pattern
3083 tSCC zNext_VolitileList[] =
3086 * Machine/OS name selection pattern
3088 #define apzNext_VolitileMachs (const char**)NULL
3091 * content selection pattern - do fix if pattern found
3093 tSCC zNext_VolitileSelect0[] =
3094 "^extern[ \t]+volatile[ \t]+void[ \t]";
3096 #define NEXT_VOLITILE_TEST_CT 1
3097 static tTestDesc aNext_VolitileTests[] = {
3098 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3101 * Fix Command Arguments for Next_Volitile
3103 static const char* apzNext_VolitilePatch[] = {
3106 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3111 * Description of Next_Wait_Union fix
3113 #define NEXT_WAIT_UNION_FIXIDX 75
3114 tSCC zNext_Wait_UnionName[] =
3118 * File name selection pattern
3120 tSCC zNext_Wait_UnionList[] =
3123 * Machine/OS name selection pattern
3125 #define apzNext_Wait_UnionMachs (const char**)NULL
3128 * content selection pattern - do fix if pattern found
3130 tSCC zNext_Wait_UnionSelect0[] =
3131 "wait\\(union wait";
3133 #define NEXT_WAIT_UNION_TEST_CT 1
3134 static tTestDesc aNext_Wait_UnionTests[] = {
3135 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3138 * Fix Command Arguments for Next_Wait_Union
3140 static const char* apzNext_Wait_UnionPatch[] = {
3145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3147 * Description of Nodeent_Syntax fix
3149 #define NODEENT_SYNTAX_FIXIDX 76
3150 tSCC zNodeent_SyntaxName[] =
3154 * File name selection pattern
3156 tSCC zNodeent_SyntaxList[] =
3157 "|netdnet/dnetdb.h|";
3159 * Machine/OS name selection pattern
3161 #define apzNodeent_SyntaxMachs (const char**)NULL
3164 * content selection pattern - do fix if pattern found
3166 tSCC zNodeent_SyntaxSelect0[] =
3167 "char[ \t]*\\*na_addr[ \t]*$";
3169 #define NODEENT_SYNTAX_TEST_CT 1
3170 static tTestDesc aNodeent_SyntaxTests[] = {
3171 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3174 * Fix Command Arguments for Nodeent_Syntax
3176 static const char* apzNodeent_SyntaxPatch[] = {
3181 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3183 * Description of Osf_Namespace_A fix
3185 #define OSF_NAMESPACE_A_FIXIDX 77
3186 tSCC zOsf_Namespace_AName[] =
3190 * File name selection pattern
3192 tSCC zOsf_Namespace_AList[] =
3193 "|reg_types.h|sys/lc_core.h|";
3195 * Machine/OS name selection pattern
3197 #define apzOsf_Namespace_AMachs (const char**)NULL
3200 * perform the 'test' shell command - do fix on success
3202 tSCC zOsf_Namespace_ATest0[] =
3204 tSCC zOsf_Namespace_ATest1[] =
3205 " -r sys/lc_core.h";
3206 tSCC zOsf_Namespace_ATest2[] =
3207 " -n \"`grep '} regex_t;' reg_types.h`\"";
3208 tSCC zOsf_Namespace_ATest3[] =
3209 " -z \"`grep __regex_t regex.h`\"";
3211 #define OSF_NAMESPACE_A_TEST_CT 4
3212 static tTestDesc aOsf_Namespace_ATests[] = {
3213 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
3214 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
3215 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
3216 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
3219 * Fix Command Arguments for Osf_Namespace_A
3221 static const char* apzOsf_Namespace_APatch[] = {
3224 "reg(ex|off|match)_t",
3227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3229 * Description of Osf_Namespace_C fix
3231 #define OSF_NAMESPACE_C_FIXIDX 78
3232 tSCC zOsf_Namespace_CName[] =
3236 * File name selection pattern
3238 tSCC zOsf_Namespace_CList[] =
3241 * Machine/OS name selection pattern
3243 #define apzOsf_Namespace_CMachs (const char**)NULL
3246 * content selection pattern - do fix if pattern found
3248 tSCC zOsf_Namespace_CSelect0[] =
3249 "#include <reg_types.h>.*";
3252 * perform the 'test' shell command - do fix on success
3254 tSCC zOsf_Namespace_CTest0[] =
3256 tSCC zOsf_Namespace_CTest1[] =
3257 " -r sys/lc_core.h";
3258 tSCC zOsf_Namespace_CTest2[] =
3259 " -n \"`grep '} regex_t;' reg_types.h`\"";
3260 tSCC zOsf_Namespace_CTest3[] =
3261 " -z \"`grep __regex_t regex.h`\"";
3263 #define OSF_NAMESPACE_C_TEST_CT 5
3264 static tTestDesc aOsf_Namespace_CTests[] = {
3265 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
3266 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
3267 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
3268 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
3269 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
3272 * Fix Command Arguments for Osf_Namespace_C
3274 static const char* apzOsf_Namespace_CPatch[] = {
3277 typedef __regex_t\tregex_t;\n\
3278 typedef __regoff_t\tregoff_t;\n\
3279 typedef __regmatch_t\tregmatch_t;",
3282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3284 * Description of Pthread_Page_Size fix
3286 #define PTHREAD_PAGE_SIZE_FIXIDX 79
3287 tSCC zPthread_Page_SizeName[] =
3288 "pthread_page_size";
3291 * File name selection pattern
3293 tSCC zPthread_Page_SizeList[] =
3296 * Machine/OS name selection pattern
3298 #define apzPthread_Page_SizeMachs (const char**)NULL
3301 * content selection pattern - do fix if pattern found
3303 tSCC zPthread_Page_SizeSelect0[] =
3306 #define PTHREAD_PAGE_SIZE_TEST_CT 1
3307 static tTestDesc aPthread_Page_SizeTests[] = {
3308 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
3311 * Fix Command Arguments for Pthread_Page_Size
3313 static const char* apzPthread_Page_SizePatch[] = {
3318 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3320 * Description of Read_Ret_Type fix
3322 #define READ_RET_TYPE_FIXIDX 80
3323 tSCC zRead_Ret_TypeName[] =
3327 * File name selection pattern
3329 tSCC zRead_Ret_TypeList[] =
3332 * Machine/OS name selection pattern
3334 #define apzRead_Ret_TypeMachs (const char**)NULL
3337 * content selection pattern - do fix if pattern found
3339 tSCC zRead_Ret_TypeSelect0[] =
3340 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
3342 #define READ_RET_TYPE_TEST_CT 1
3343 static tTestDesc aRead_Ret_TypeTests[] = {
3344 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
3347 * Fix Command Arguments for Read_Ret_Type
3349 static const char* apzRead_Ret_TypePatch[] = {
3351 "extern unsigned int fread(), fwrite();\n\
3353 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
3356 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3358 * Description of Rs6000_Double fix
3360 #define RS6000_DOUBLE_FIXIDX 81
3361 tSCC zRs6000_DoubleName[] =
3365 * File name selection pattern
3367 tSCC zRs6000_DoubleList[] =
3370 * Machine/OS name selection pattern
3372 #define apzRs6000_DoubleMachs (const char**)NULL
3375 * content selection pattern - do fix if pattern found
3377 tSCC zRs6000_DoubleSelect0[] =
3378 "[^a-zA-Z_]class\\(";
3380 #define RS6000_DOUBLE_TEST_CT 1
3381 static tTestDesc aRs6000_DoubleTests[] = {
3382 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
3385 * Fix Command Arguments for Rs6000_Double
3387 static const char* apzRs6000_DoublePatch[] = {
3389 "#ifndef __cplusplus\n\
3392 "^.*[^a-zA-Z_]class\\(.*",
3395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3397 * Description of Rs6000_Fchmod fix
3399 #define RS6000_FCHMOD_FIXIDX 82
3400 tSCC zRs6000_FchmodName[] =
3404 * File name selection pattern
3406 tSCC zRs6000_FchmodList[] =
3409 * Machine/OS name selection pattern
3411 #define apzRs6000_FchmodMachs (const char**)NULL
3414 * content selection pattern - do fix if pattern found
3416 tSCC zRs6000_FchmodSelect0[] =
3417 "fchmod\\(char \\*";
3419 #define RS6000_FCHMOD_TEST_CT 1
3420 static tTestDesc aRs6000_FchmodTests[] = {
3421 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
3424 * Fix Command Arguments for Rs6000_Fchmod
3426 static const char* apzRs6000_FchmodPatch[] = {
3431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3433 * Description of Rs6000_Param fix
3435 #define RS6000_PARAM_FIXIDX 83
3436 tSCC zRs6000_ParamName[] =
3440 * File name selection pattern
3442 tSCC zRs6000_ParamList[] =
3443 "|stdio.h|unistd.h|";
3445 * Machine/OS name selection pattern
3447 #define apzRs6000_ParamMachs (const char**)NULL
3450 * content selection pattern - do fix if pattern found
3452 tSCC zRs6000_ParamSelect0[] =
3453 "rename\\(const char \\*old, const char \\*new\\)";
3455 #define RS6000_PARAM_TEST_CT 1
3456 static tTestDesc aRs6000_ParamTests[] = {
3457 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
3460 * Fix Command Arguments for Rs6000_Param
3462 static const char* apzRs6000_ParamPatch[] = {
3464 "rename(const char *_old, const char *_new)",
3467 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3469 * Description of Sco_Static_Func fix
3471 #define SCO_STATIC_FUNC_FIXIDX 84
3472 tSCC zSco_Static_FuncName[] =
3476 * File name selection pattern
3478 tSCC zSco_Static_FuncList[] =
3481 * Machine/OS name selection pattern
3483 tSCC* apzSco_Static_FuncMachs[] = {
3485 (const char*)NULL };
3488 * content selection pattern - do fix if pattern found
3490 tSCC zSco_Static_FuncSelect0[] =
3493 #define SCO_STATIC_FUNC_TEST_CT 1
3494 static tTestDesc aSco_Static_FuncTests[] = {
3495 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
3498 * Fix Command Arguments for Sco_Static_Func
3500 static const char* apzSco_Static_FuncPatch[] = { "sed",
3501 "-e", "/^static int/i\\\n\
3502 #if __cplusplus\\\n\
3504 #endif /* __cplusplus */",
3506 #if __cplusplus\\\n\
3508 #endif /* __cplusplus */",
3511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3513 * Description of Sco_Strict_Ansi fix
3515 #define SCO_STRICT_ANSI_FIXIDX 85
3516 tSCC zSco_Strict_AnsiName[] =
3520 * File name selection pattern
3522 #define zSco_Strict_AnsiList (char*)NULL
3524 * Machine/OS name selection pattern
3526 tSCC* apzSco_Strict_AnsiMachs[] = {
3528 (const char*)NULL };
3531 * content selection pattern - do fix if pattern found
3533 tSCC zSco_Strict_AnsiSelect0[] =
3534 "^[ \t]*#[ \t]*if.*!__STDC__";
3536 #define SCO_STRICT_ANSI_TEST_CT 1
3537 static tTestDesc aSco_Strict_AnsiTests[] = {
3538 { TT_EGREP, zSco_Strict_AnsiSelect0, (regex_t*)NULL }, };
3541 * Fix Command Arguments for Sco_Strict_Ansi
3543 static const char* apzSco_Strict_AnsiPatch[] = {
3545 "%1defined(__STRICT_ANSI__)%2",
3546 "^([ \t]*#[ \t]*if[ \t].*!)__STDC__(.*)",
3549 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3551 * Description of Sco_Utime fix
3553 #define SCO_UTIME_FIXIDX 86
3554 tSCC zSco_UtimeName[] =
3558 * File name selection pattern
3560 tSCC zSco_UtimeList[] =
3563 * Machine/OS name selection pattern
3565 tSCC* apzSco_UtimeMachs[] = {
3567 (const char*)NULL };
3570 * content selection pattern - do fix if pattern found
3572 tSCC zSco_UtimeSelect0[] =
3573 "\\(const char \\*, struct utimbuf \\*\\);";
3575 #define SCO_UTIME_TEST_CT 1
3576 static tTestDesc aSco_UtimeTests[] = {
3577 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
3580 * Fix Command Arguments for Sco_Utime
3582 static const char* apzSco_UtimePatch[] = {
3584 "(const char *, const struct utimbuf *);",
3587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3589 * Description of Statsswtch fix
3591 #define STATSSWTCH_FIXIDX 87
3592 tSCC zStatsswtchName[] =
3596 * File name selection pattern
3598 tSCC zStatsswtchList[] =
3601 * Machine/OS name selection pattern
3603 #define apzStatsswtchMachs (const char**)NULL
3606 * content selection pattern - do fix if pattern found
3608 tSCC zStatsswtchSelect0[] =
3611 #define STATSSWTCH_TEST_CT 1
3612 static tTestDesc aStatsswtchTests[] = {
3613 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
3616 * Fix Command Arguments for Statsswtch
3618 static const char* apzStatsswtchPatch[] = {
3623 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3625 * Description of Stdio_Stdarg_H fix
3627 #define STDIO_STDARG_H_FIXIDX 88
3628 tSCC zStdio_Stdarg_HName[] =
3632 * File name selection pattern
3634 tSCC zStdio_Stdarg_HList[] =
3637 * Machine/OS name selection pattern
3639 #define apzStdio_Stdarg_HMachs (const char**)NULL
3642 * content bypass pattern - skip fix if pattern found
3644 tSCC zStdio_Stdarg_HBypass0[] =
3645 "include.*(stdarg.h|machine/ansi.h)";
3647 #define STDIO_STDARG_H_TEST_CT 1
3648 static tTestDesc aStdio_Stdarg_HTests[] = {
3649 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
3652 * Fix Command Arguments for Stdio_Stdarg_H
3654 static const char* apzStdio_Stdarg_HPatch[] = {
3656 "#define __need___va_list\n\
3657 #include <stdarg.h>\n",
3660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3662 * Description of Stdio_Va_List fix
3664 #define STDIO_VA_LIST_FIXIDX 89
3665 tSCC zStdio_Va_ListName[] =
3669 * File name selection pattern
3671 tSCC zStdio_Va_ListList[] =
3674 * Machine/OS name selection pattern
3676 #define apzStdio_Va_ListMachs (const char**)NULL
3679 * content bypass pattern - skip fix if pattern found
3681 tSCC zStdio_Va_ListBypass0[] =
3682 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list";
3684 #define STDIO_VA_LIST_TEST_CT 1
3685 static tTestDesc aStdio_Va_ListTests[] = {
3686 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
3689 * Fix Command Arguments for Stdio_Va_List
3691 static const char* apzStdio_Va_ListPatch[] = { "sed",
3692 "-e", "s@ va_list @ __gnuc_va_list @\n\
3693 s@ va_list)@ __gnuc_va_list)@\n\
3694 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
3695 s@ va_list@ __not_va_list__@\n\
3696 s@\\*va_list@*__not_va_list__@\n\
3697 s@ __va_list)@ __gnuc_va_list)@\n\
3698 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
3699 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
3700 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
3701 s@VA_LIST@DUMMY_VA_LIST@\n\
3702 s@_Va_LIST@_VA_LIST@",
3705 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3707 * Description of Struct_File fix
3709 #define STRUCT_FILE_FIXIDX 90
3710 tSCC zStruct_FileName[] =
3714 * File name selection pattern
3716 tSCC zStruct_FileList[] =
3719 * Machine/OS name selection pattern
3721 #define apzStruct_FileMachs (const char**)NULL
3724 * content selection pattern - do fix if pattern found
3726 tSCC zStruct_FileSelect0[] =
3727 "^.*xdrstdio_create.*struct __file_s";
3729 #define STRUCT_FILE_TEST_CT 1
3730 static tTestDesc aStruct_FileTests[] = {
3731 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
3734 * Fix Command Arguments for Struct_File
3736 static const char* apzStruct_FilePatch[] = {
3738 "struct __file_s;\n\
3742 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3744 * Description of Struct_Sockaddr fix
3746 #define STRUCT_SOCKADDR_FIXIDX 91
3747 tSCC zStruct_SockaddrName[] =
3751 * File name selection pattern
3753 tSCC zStruct_SockaddrList[] =
3756 * Machine/OS name selection pattern
3758 #define apzStruct_SockaddrMachs (const char**)NULL
3761 * content selection pattern - do fix if pattern found
3763 tSCC zStruct_SockaddrSelect0[] =
3764 "^.*authdes_create.*struct sockaddr";
3767 * content bypass pattern - skip fix if pattern found
3769 tSCC zStruct_SockaddrBypass0[] =
3772 #define STRUCT_SOCKADDR_TEST_CT 2
3773 static tTestDesc aStruct_SockaddrTests[] = {
3774 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
3775 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
3778 * Fix Command Arguments for Struct_Sockaddr
3780 static const char* apzStruct_SockaddrPatch[] = {
3782 "struct sockaddr;\n\
3786 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3788 * Description of Sun_Auth_Proto fix
3790 #define SUN_AUTH_PROTO_FIXIDX 92
3791 tSCC zSun_Auth_ProtoName[] =
3795 * File name selection pattern
3797 tSCC zSun_Auth_ProtoList[] =
3798 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
3800 * Machine/OS name selection pattern
3802 #define apzSun_Auth_ProtoMachs (const char**)NULL
3805 * content selection pattern - do fix if pattern found
3807 tSCC zSun_Auth_ProtoSelect0[] =
3808 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
3810 #define SUN_AUTH_PROTO_TEST_CT 1
3811 static tTestDesc aSun_Auth_ProtoTests[] = {
3812 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
3815 * Fix Command Arguments for Sun_Auth_Proto
3817 static const char* apzSun_Auth_ProtoPatch[] = {
3819 "#ifdef __cplusplus\n\
3824 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
3827 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3829 * Description of Sun_Bogus_Ifdef fix
3831 #define SUN_BOGUS_IFDEF_FIXIDX 93
3832 tSCC zSun_Bogus_IfdefName[] =
3836 * File name selection pattern
3838 tSCC zSun_Bogus_IfdefList[] =
3839 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
3841 * Machine/OS name selection pattern
3843 #define apzSun_Bogus_IfdefMachs (const char**)NULL
3846 * content selection pattern - do fix if pattern found
3848 tSCC zSun_Bogus_IfdefSelect0[] =
3849 "#ifdef(.*\\|\\|.*)";
3851 #define SUN_BOGUS_IFDEF_TEST_CT 1
3852 static tTestDesc aSun_Bogus_IfdefTests[] = {
3853 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
3856 * Fix Command Arguments for Sun_Bogus_Ifdef
3858 static const char* apzSun_Bogus_IfdefPatch[] = {
3863 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3865 * Description of Sun_Catmacro fix
3867 #define SUN_CATMACRO_FIXIDX 94
3868 tSCC zSun_CatmacroName[] =
3872 * File name selection pattern
3874 tSCC zSun_CatmacroList[] =
3875 "|pixrect/memvar.h|";
3877 * Machine/OS name selection pattern
3879 #define apzSun_CatmacroMachs (const char**)NULL
3882 * content selection pattern - do fix if pattern found
3884 tSCC zSun_CatmacroSelect0[] =
3885 "^#define[ \t]+CAT\\(a,b\\).*";
3887 #define SUN_CATMACRO_TEST_CT 1
3888 static tTestDesc aSun_CatmacroTests[] = {
3889 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
3892 * Fix Command Arguments for Sun_Catmacro
3894 static const char* apzSun_CatmacroPatch[] = {
3897 # define CAT(a,b) a##b\n\
3903 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3905 * Description of Sun_Malloc fix
3907 #define SUN_MALLOC_FIXIDX 95
3908 tSCC zSun_MallocName[] =
3912 * File name selection pattern
3914 tSCC zSun_MallocList[] =
3917 * Machine/OS name selection pattern
3919 #define apzSun_MallocMachs (const char**)NULL
3920 #define SUN_MALLOC_TEST_CT 0
3921 #define aSun_MallocTests (tTestDesc*)NULL
3924 * Fix Command Arguments for Sun_Malloc
3926 static const char* apzSun_MallocPatch[] = { "sed",
3927 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
3928 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
3929 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
3930 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
3931 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
3934 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3936 * Description of Sun_Rusers_Semi fix
3938 #define SUN_RUSERS_SEMI_FIXIDX 96
3939 tSCC zSun_Rusers_SemiName[] =
3943 * File name selection pattern
3945 tSCC zSun_Rusers_SemiList[] =
3946 "|rpcsvc/rusers.h|";
3948 * Machine/OS name selection pattern
3950 #define apzSun_Rusers_SemiMachs (const char**)NULL
3953 * content selection pattern - do fix if pattern found
3955 tSCC zSun_Rusers_SemiSelect0[] =
3958 #define SUN_RUSERS_SEMI_TEST_CT 1
3959 static tTestDesc aSun_Rusers_SemiTests[] = {
3960 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
3963 * Fix Command Arguments for Sun_Rusers_Semi
3965 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
3966 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
3969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3971 * Description of Sun_Signal fix
3973 #define SUN_SIGNAL_FIXIDX 97
3974 tSCC zSun_SignalName[] =
3978 * File name selection pattern
3980 tSCC zSun_SignalList[] =
3981 "|sys/signal.h|signal.h|";
3983 * Machine/OS name selection pattern
3985 #define apzSun_SignalMachs (const char**)NULL
3988 * content selection pattern - do fix if pattern found
3990 tSCC zSun_SignalSelect0[] =
3991 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
3993 #define SUN_SIGNAL_TEST_CT 1
3994 static tTestDesc aSun_SignalTests[] = {
3995 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
3998 * Fix Command Arguments for Sun_Signal
4000 static const char* apzSun_SignalPatch[] = {
4002 "#ifdef __cplusplus\n\
4003 void\t(*signal(...))(...);\n\
4009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4011 * Description of Sunos_Matherr_Decl fix
4013 #define SUNOS_MATHERR_DECL_FIXIDX 98
4014 tSCC zSunos_Matherr_DeclName[] =
4015 "sunos_matherr_decl";
4018 * File name selection pattern
4020 tSCC zSunos_Matherr_DeclList[] =
4023 * Machine/OS name selection pattern
4025 #define apzSunos_Matherr_DeclMachs (const char**)NULL
4028 * content selection pattern - do fix if pattern found
4030 tSCC zSunos_Matherr_DeclSelect0[] =
4034 * content bypass pattern - skip fix if pattern found
4036 tSCC zSunos_Matherr_DeclBypass0[] =
4037 "matherr.*(struct exception|__MATH_EXCEPTION)";
4039 #define SUNOS_MATHERR_DECL_TEST_CT 2
4040 static tTestDesc aSunos_Matherr_DeclTests[] = {
4041 { TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
4042 { TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
4045 * Fix Command Arguments for Sunos_Matherr_Decl
4047 static const char* apzSunos_Matherr_DeclPatch[] = {
4049 "struct exception;\n",
4052 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4054 * Description of Sunos_Strlen fix
4056 #define SUNOS_STRLEN_FIXIDX 99
4057 tSCC zSunos_StrlenName[] =
4061 * File name selection pattern
4063 tSCC zSunos_StrlenList[] =
4066 * Machine/OS name selection pattern
4068 #define apzSunos_StrlenMachs (const char**)NULL
4071 * content selection pattern - do fix if pattern found
4073 tSCC zSunos_StrlenSelect0[] =
4074 "int[ \t]*strlen\\(\\);(.*)";
4076 #define SUNOS_STRLEN_TEST_CT 1
4077 static tTestDesc aSunos_StrlenTests[] = {
4078 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
4081 * Fix Command Arguments for Sunos_Strlen
4083 static const char* apzSunos_StrlenPatch[] = {
4085 "__SIZE_TYPE__ strlen();%1",
4088 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4090 * Description of Svr4__P fix
4092 #define SVR4__P_FIXIDX 100
4093 tSCC zSvr4__PName[] =
4097 * File name selection pattern
4099 tSCC zSvr4__PList[] =
4100 "|math.h|floatingpoint.h|";
4102 * Machine/OS name selection pattern
4104 #define apzSvr4__PMachs (const char**)NULL
4107 * content selection pattern - do fix if pattern found
4109 tSCC zSvr4__PSelect0[] =
4110 "^#define[ \t]+__P.*";
4112 #define SVR4__P_TEST_CT 1
4113 static tTestDesc aSvr4__PTests[] = {
4114 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
4117 * Fix Command Arguments for Svr4__P
4119 static const char* apzSvr4__PPatch[] = {
4126 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4128 * Description of Svr4_Getcwd fix
4130 #define SVR4_GETCWD_FIXIDX 101
4131 tSCC zSvr4_GetcwdName[] =
4135 * File name selection pattern
4137 tSCC zSvr4_GetcwdList[] =
4138 "|stdlib.h|unistd.h|prototypes.h|";
4140 * Machine/OS name selection pattern
4142 #define apzSvr4_GetcwdMachs (const char**)NULL
4145 * content selection pattern - do fix if pattern found
4147 tSCC zSvr4_GetcwdSelect0[] =
4148 "getcwd\\(char \\*, int\\)";
4150 #define SVR4_GETCWD_TEST_CT 1
4151 static tTestDesc aSvr4_GetcwdTests[] = {
4152 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
4155 * Fix Command Arguments for Svr4_Getcwd
4157 static const char* apzSvr4_GetcwdPatch[] = {
4159 "getcwd(char *, size_t)",
4162 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4164 * Description of Svr4_Profil fix
4166 #define SVR4_PROFIL_FIXIDX 102
4167 tSCC zSvr4_ProfilName[] =
4171 * File name selection pattern
4173 tSCC zSvr4_ProfilList[] =
4174 "|stdlib.h|unistd.h|";
4176 * Machine/OS name selection pattern
4178 #define apzSvr4_ProfilMachs (const char**)NULL
4181 * content selection pattern - do fix if pattern found
4183 tSCC zSvr4_ProfilSelect0[] =
4184 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
4186 #define SVR4_PROFIL_TEST_CT 1
4187 static tTestDesc aSvr4_ProfilTests[] = {
4188 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
4191 * Fix Command Arguments for Svr4_Profil
4193 static const char* apzSvr4_ProfilPatch[] = {
4195 "profil(unsigned short *, size_t, int, unsigned int)",
4198 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4200 * Description of Gnu_Types fix
4202 #define GNU_TYPES_FIXIDX 103
4203 tSCC zGnu_TypesName[] =
4207 * File name selection pattern
4209 tSCC zGnu_TypesList[] =
4210 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
4212 * Machine/OS name selection pattern
4214 #define apzGnu_TypesMachs (const char**)NULL
4217 * content selection pattern - do fix if pattern found
4219 tSCC zGnu_TypesSelect0[] =
4220 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4223 * content bypass pattern - skip fix if pattern found
4225 tSCC zGnu_TypesBypass0[] =
4226 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4228 #define GNU_TYPES_TEST_CT 2
4229 static tTestDesc aGnu_TypesTests[] = {
4230 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4231 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4234 * Fix Command Arguments for Gnu_Types
4236 static const char* apzGnu_TypesPatch[] = {
4240 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4242 * Description of Sysv68_String fix
4244 #define SYSV68_STRING_FIXIDX 104
4245 tSCC zSysv68_StringName[] =
4249 * File name selection pattern
4251 tSCC zSysv68_StringList[] =
4252 "|testing.h|string.h|";
4254 * Machine/OS name selection pattern
4256 #define apzSysv68_StringMachs (const char**)NULL
4257 #define SYSV68_STRING_TEST_CT 0
4258 #define aSysv68_StringTests (tTestDesc*)NULL
4261 * Fix Command Arguments for Sysv68_String
4263 static const char* apzSysv68_StringPatch[] = { "sed",
4264 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
4265 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
4266 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
4267 "-e", "/^extern char$/N",
4268 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
4269 "-e", "/^extern int$/N",
4270 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
4271 "-e", "/^\tstrncmp(),$/N",
4272 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
4273 extern unsigned int\\\n\
4277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4279 * Description of Sysz_Stdlib_For_Sun fix
4281 #define SYSZ_STDLIB_FOR_SUN_FIXIDX 105
4282 tSCC zSysz_Stdlib_For_SunName[] =
4283 "sysz_stdlib_for_sun";
4286 * File name selection pattern
4288 tSCC zSysz_Stdlib_For_SunList[] =
4291 * Machine/OS name selection pattern
4293 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
4296 * content selection pattern - do fix if pattern found
4298 tSCC zSysz_Stdlib_For_SunSelect0[] =
4299 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
4301 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
4302 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
4303 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
4306 * Fix Command Arguments for Sysz_Stdlib_For_Sun
4308 static const char* apzSysz_Stdlib_For_SunPatch[] = {
4313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4315 * Description of Tinfo_Cplusplus fix
4317 #define TINFO_CPLUSPLUS_FIXIDX 106
4318 tSCC zTinfo_CplusplusName[] =
4322 * File name selection pattern
4324 tSCC zTinfo_CplusplusList[] =
4327 * Machine/OS name selection pattern
4329 #define apzTinfo_CplusplusMachs (const char**)NULL
4332 * content selection pattern - do fix if pattern found
4334 tSCC zTinfo_CplusplusSelect0[] =
4337 #define TINFO_CPLUSPLUS_TEST_CT 1
4338 static tTestDesc aTinfo_CplusplusTests[] = {
4339 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
4342 * Fix Command Arguments for Tinfo_Cplusplus
4344 static const char* apzTinfo_CplusplusPatch[] = {
4349 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4351 * Description of Ultrix_Atof_Param fix
4353 #define ULTRIX_ATOF_PARAM_FIXIDX 107
4354 tSCC zUltrix_Atof_ParamName[] =
4355 "ultrix_atof_param";
4358 * File name selection pattern
4360 tSCC zUltrix_Atof_ParamList[] =
4363 * Machine/OS name selection pattern
4365 #define apzUltrix_Atof_ParamMachs (const char**)NULL
4368 * content selection pattern - do fix if pattern found
4370 tSCC zUltrix_Atof_ParamSelect0[] =
4371 "atof\\([ \t]*char";
4373 #define ULTRIX_ATOF_PARAM_TEST_CT 1
4374 static tTestDesc aUltrix_Atof_ParamTests[] = {
4375 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
4378 * Fix Command Arguments for Ultrix_Atof_Param
4380 static const char* apzUltrix_Atof_ParamPatch[] = {
4385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4387 * Description of Ultrix_Const fix
4389 #define ULTRIX_CONST_FIXIDX 108
4390 tSCC zUltrix_ConstName[] =
4394 * File name selection pattern
4396 tSCC zUltrix_ConstList[] =
4399 * Machine/OS name selection pattern
4401 #define apzUltrix_ConstMachs (const char**)NULL
4404 * content selection pattern - do fix if pattern found
4406 tSCC zUltrix_ConstSelect0[] =
4407 "perror\\( char \\*";
4409 #define ULTRIX_CONST_TEST_CT 1
4410 static tTestDesc aUltrix_ConstTests[] = {
4411 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
4414 * Fix Command Arguments for Ultrix_Const
4416 static const char* apzUltrix_ConstPatch[] = {
4419 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
4422 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4424 * Description of Ultrix_Const2 fix
4426 #define ULTRIX_CONST2_FIXIDX 109
4427 tSCC zUltrix_Const2Name[] =
4431 * File name selection pattern
4433 tSCC zUltrix_Const2List[] =
4436 * Machine/OS name selection pattern
4438 #define apzUltrix_Const2Machs (const char**)NULL
4441 * content selection pattern - do fix if pattern found
4443 tSCC zUltrix_Const2Select0[] =
4444 "\\*fopen\\( char \\*";
4446 #define ULTRIX_CONST2_TEST_CT 1
4447 static tTestDesc aUltrix_Const2Tests[] = {
4448 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
4451 * Fix Command Arguments for Ultrix_Const2
4453 static const char* apzUltrix_Const2Patch[] = {
4455 "%1( const char *%3, const char *",
4456 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
4459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4461 * Description of Ultrix_Fix_Fixproto fix
4463 #define ULTRIX_FIX_FIXPROTO_FIXIDX 110
4464 tSCC zUltrix_Fix_FixprotoName[] =
4465 "ultrix_fix_fixproto";
4468 * File name selection pattern
4470 tSCC zUltrix_Fix_FixprotoList[] =
4473 * Machine/OS name selection pattern
4475 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
4478 * content selection pattern - do fix if pattern found
4480 tSCC zUltrix_Fix_FixprotoSelect0[] =
4483 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
4484 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
4485 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
4488 * Fix Command Arguments for Ultrix_Fix_Fixproto
4490 static const char* apzUltrix_Fix_FixprotoPatch[] = {
4494 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
4497 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4499 * Description of Ultrix_Ifdef fix
4501 #define ULTRIX_IFDEF_FIXIDX 111
4502 tSCC zUltrix_IfdefName[] =
4506 * File name selection pattern
4508 tSCC zUltrix_IfdefList[] =
4511 * Machine/OS name selection pattern
4513 #define apzUltrix_IfdefMachs (const char**)NULL
4516 * content selection pattern - do fix if pattern found
4518 tSCC zUltrix_IfdefSelect0[] =
4519 "^#ifdef KERNEL[ \t]+&&";
4521 #define ULTRIX_IFDEF_TEST_CT 1
4522 static tTestDesc aUltrix_IfdefTests[] = {
4523 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
4526 * Fix Command Arguments for Ultrix_Ifdef
4528 static const char* apzUltrix_IfdefPatch[] = {
4530 "#if defined(KERNEL) &&",
4533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4535 * Description of Ultrix_Math_Ifdef fix
4537 #define ULTRIX_MATH_IFDEF_FIXIDX 112
4538 tSCC zUltrix_Math_IfdefName[] =
4539 "ultrix_math_ifdef";
4542 * File name selection pattern
4544 tSCC zUltrix_Math_IfdefList[] =
4545 "|sys/limits.h|float.h|math.h|";
4547 * Machine/OS name selection pattern
4549 #define apzUltrix_Math_IfdefMachs (const char**)NULL
4552 * content selection pattern - do fix if pattern found
4554 tSCC zUltrix_Math_IfdefSelect0[] =
4555 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
4557 #define ULTRIX_MATH_IFDEF_TEST_CT 1
4558 static tTestDesc aUltrix_Math_IfdefTests[] = {
4559 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
4562 * Fix Command Arguments for Ultrix_Math_Ifdef
4564 static const char* apzUltrix_Math_IfdefPatch[] = {
4569 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4571 * Description of Ultrix_Nested_Ioctl fix
4573 #define ULTRIX_NESTED_IOCTL_FIXIDX 113
4574 tSCC zUltrix_Nested_IoctlName[] =
4575 "ultrix_nested_ioctl";
4578 * File name selection pattern
4580 tSCC zUltrix_Nested_IoctlList[] =
4583 * Machine/OS name selection pattern
4585 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
4588 * content selection pattern - do fix if pattern found
4590 tSCC zUltrix_Nested_IoctlSelect0[] =
4591 "^/\\* #define SIOCSCREEN";
4593 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
4594 static tTestDesc aUltrix_Nested_IoctlTests[] = {
4595 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
4598 * Fix Command Arguments for Ultrix_Nested_Ioctl
4600 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
4601 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
4604 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4606 * Description of Ultrix_Nested_Svc fix
4608 #define ULTRIX_NESTED_SVC_FIXIDX 114
4609 tSCC zUltrix_Nested_SvcName[] =
4610 "ultrix_nested_svc";
4613 * File name selection pattern
4615 tSCC zUltrix_Nested_SvcList[] =
4618 * Machine/OS name selection pattern
4620 #define apzUltrix_Nested_SvcMachs (const char**)NULL
4623 * content selection pattern - do fix if pattern found
4625 tSCC zUltrix_Nested_SvcSelect0[] =
4626 "^ \\*[ \t]*int protocol; */\\*";
4628 #define ULTRIX_NESTED_SVC_TEST_CT 1
4629 static tTestDesc aUltrix_Nested_SvcTests[] = {
4630 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
4633 * Fix Command Arguments for Ultrix_Nested_Svc
4635 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
4636 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
4639 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4641 * Description of Ultrix_Stat fix
4643 #define ULTRIX_STAT_FIXIDX 115
4644 tSCC zUltrix_StatName[] =
4648 * File name selection pattern
4650 tSCC zUltrix_StatList[] =
4653 * Machine/OS name selection pattern
4655 #define apzUltrix_StatMachs (const char**)NULL
4658 * content selection pattern - do fix if pattern found
4660 tSCC zUltrix_StatSelect0[] =
4661 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
4663 #define ULTRIX_STAT_TEST_CT 1
4664 static tTestDesc aUltrix_StatTests[] = {
4665 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
4668 * Fix Command Arguments for Ultrix_Stat
4670 static const char* apzUltrix_StatPatch[] = { "sed",
4671 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
4673 /* macro to test for symbolic link */\\\n\
4674 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\
4676 "-e", "/^[ \t]*fstat(),$/a\\\n\
4680 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4682 * Description of Ultrix_Static fix
4684 #define ULTRIX_STATIC_FIXIDX 116
4685 tSCC zUltrix_StaticName[] =
4689 * File name selection pattern
4691 tSCC zUltrix_StaticList[] =
4694 * Machine/OS name selection pattern
4696 #define apzUltrix_StaticMachs (const char**)NULL
4699 * content selection pattern - do fix if pattern found
4701 tSCC zUltrix_StaticSelect0[] =
4702 "#include \"r[34]_cpu";
4704 #define ULTRIX_STATIC_TEST_CT 1
4705 static tTestDesc aUltrix_StaticTests[] = {
4706 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
4709 * Fix Command Arguments for Ultrix_Static
4711 static const char* apzUltrix_StaticPatch[] = { "sed",
4712 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
4713 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
4714 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
4717 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4719 * Description of Ultrix_Strings fix
4721 #define ULTRIX_STRINGS_FIXIDX 117
4722 tSCC zUltrix_StringsName[] =
4726 * File name selection pattern
4728 tSCC zUltrix_StringsList[] =
4731 * Machine/OS name selection pattern
4733 #define apzUltrix_StringsMachs (const char**)NULL
4736 * content selection pattern - do fix if pattern found
4738 tSCC zUltrix_StringsSelect0[] =
4739 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
4741 #define ULTRIX_STRINGS_TEST_CT 1
4742 static tTestDesc aUltrix_StringsTests[] = {
4743 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
4746 * Fix Command Arguments for Ultrix_Strings
4748 static const char* apzUltrix_StringsPatch[] = {
4752 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4754 * Description of Undefine_Null fix
4756 #define UNDEFINE_NULL_FIXIDX 118
4757 tSCC zUndefine_NullName[] =
4761 * File name selection pattern
4763 #define zUndefine_NullList (char*)NULL
4765 * Machine/OS name selection pattern
4767 #define apzUndefine_NullMachs (const char**)NULL
4770 * content selection pattern - do fix if pattern found
4772 tSCC zUndefine_NullSelect0[] =
4773 "^#[ \t]*define[ \t]+NULL[ \t]";
4776 * content bypass pattern - skip fix if pattern found
4778 tSCC zUndefine_NullBypass0[] =
4779 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
4781 #define UNDEFINE_NULL_TEST_CT 2
4782 static tTestDesc aUndefine_NullTests[] = {
4783 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
4784 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
4787 * Fix Command Arguments for Undefine_Null
4789 static const char* apzUndefine_NullPatch[] = {
4794 "^#[ \t]*define[ \t]*[ \t]NULL([^\r\n\
4798 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4800 * Description of Uw7_Byteorder_Fix fix
4802 #define UW7_BYTEORDER_FIX_FIXIDX 119
4803 tSCC zUw7_Byteorder_FixName[] =
4804 "uw7_byteorder_fix";
4807 * File name selection pattern
4809 tSCC zUw7_Byteorder_FixList[] =
4812 * Machine/OS name selection pattern
4814 tSCC* apzUw7_Byteorder_FixMachs[] = {
4818 "i?86-*-solaris2.[0-4]",
4819 "powerpcle-*-solaris2.[0-4]",
4820 "sparc-*-solaris2.[0-4]",
4821 (const char*)NULL };
4824 * content selection pattern - do fix if pattern found
4826 tSCC zUw7_Byteorder_FixSelect0[] =
4830 * perform the 'test' shell command - do fix on success
4832 tSCC zUw7_Byteorder_FixTest0[] =
4833 "-f $DESTDIR/sys/byteorder.h";
4835 #define UW7_BYTEORDER_FIX_TEST_CT 2
4836 static tTestDesc aUw7_Byteorder_FixTests[] = {
4837 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
4838 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
4841 * Fix Command Arguments for Uw7_Byteorder_Fix
4843 static const char* apzUw7_Byteorder_FixPatch[] = {
4846 "^extern.*(htons|ntohs).*\\(in_port_t\\).*\n",
4849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4851 * Description of Va_I960_Macro fix
4853 #define VA_I960_MACRO_FIXIDX 120
4854 tSCC zVa_I960_MacroName[] =
4858 * File name selection pattern
4860 tSCC zVa_I960_MacroList[] =
4861 "|arch/i960/archI960.h|";
4863 * Machine/OS name selection pattern
4865 #define apzVa_I960_MacroMachs (const char**)NULL
4868 * content selection pattern - do fix if pattern found
4870 tSCC zVa_I960_MacroSelect0[] =
4871 "__(vsiz|vali|vpad|alignof__)";
4873 #define VA_I960_MACRO_TEST_CT 1
4874 static tTestDesc aVa_I960_MacroTests[] = {
4875 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
4878 * Fix Command Arguments for Va_I960_Macro
4880 static const char* apzVa_I960_MacroPatch[] = {
4885 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4887 * Description of Void_Null fix
4889 #define VOID_NULL_FIXIDX 121
4890 tSCC zVoid_NullName[] =
4894 * File name selection pattern
4896 tSCC zVoid_NullList[] =
4897 "|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|";
4899 * Machine/OS name selection pattern
4901 #define apzVoid_NullMachs (const char**)NULL
4904 * content selection pattern - do fix if pattern found
4906 tSCC zVoid_NullSelect0[] =
4907 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
4909 #define VOID_NULL_TEST_CT 1
4910 static tTestDesc aVoid_NullTests[] = {
4911 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
4914 * Fix Command Arguments for Void_Null
4916 static const char* apzVoid_NullPatch[] = {
4921 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4923 * Description of Vxworks_Gcc_Problem fix
4925 #define VXWORKS_GCC_PROBLEM_FIXIDX 122
4926 tSCC zVxworks_Gcc_ProblemName[] =
4927 "vxworks_gcc_problem";
4930 * File name selection pattern
4932 tSCC zVxworks_Gcc_ProblemList[] =
4933 "|types/vxTypesBase.h|";
4935 * Machine/OS name selection pattern
4937 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
4940 * content selection pattern - do fix if pattern found
4942 tSCC zVxworks_Gcc_ProblemSelect0[] =
4943 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
4945 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
4946 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
4947 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
4950 * Fix Command Arguments for Vxworks_Gcc_Problem
4952 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
4953 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
4954 "-e", "/[ \t]size_t/i\\\n\
4955 #ifndef _GCC_SIZE_T\\\n\
4956 #define _GCC_SIZE_T\n",
4957 "-e", "/[ \t]size_t/a\\\n\
4959 "-e", "/[ \t]ptrdiff_t/i\\\n\
4960 #ifndef _GCC_PTRDIFF_T\\\n\
4961 #define _GCC_PTRDIFF_T\n",
4962 "-e", "/[ \t]ptrdiff_t/a\\\n\
4964 "-e", "/[ \t]wchar_t/i\\\n\
4965 #ifndef _GCC_WCHAR_T\\\n\
4966 #define _GCC_WCHAR_T\n",
4967 "-e", "/[ \t]wchar_t/a\\\n\
4971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4973 * Description of Vxworks_Needs_Vxtypes fix
4975 #define VXWORKS_NEEDS_VXTYPES_FIXIDX 123
4976 tSCC zVxworks_Needs_VxtypesName[] =
4977 "vxworks_needs_vxtypes";
4980 * File name selection pattern
4982 tSCC zVxworks_Needs_VxtypesList[] =
4985 * Machine/OS name selection pattern
4987 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
4990 * content selection pattern - do fix if pattern found
4992 tSCC zVxworks_Needs_VxtypesSelect0[] =
4993 "uint_t([ \t]+_clocks_per_sec)";
4995 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
4996 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
4997 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
5000 * Fix Command Arguments for Vxworks_Needs_Vxtypes
5002 static const char* apzVxworks_Needs_VxtypesPatch[] = {
5007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5009 * Description of Vxworks_Needs_Vxworks fix
5011 #define VXWORKS_NEEDS_VXWORKS_FIXIDX 124
5012 tSCC zVxworks_Needs_VxworksName[] =
5013 "vxworks_needs_vxworks";
5016 * File name selection pattern
5018 tSCC zVxworks_Needs_VxworksList[] =
5021 * Machine/OS name selection pattern
5023 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
5026 * content selection pattern - do fix if pattern found
5028 tSCC zVxworks_Needs_VxworksSelect0[] =
5029 "#[ \t]define[ \t]+__INCstath";
5032 * perform the 'test' shell command - do fix on success
5034 tSCC zVxworks_Needs_VxworksTest0[] =
5035 " -r types/vxTypesOld.h";
5036 tSCC zVxworks_Needs_VxworksTest1[] =
5037 " -n \"`egrep '#include' $file`\"";
5038 tSCC zVxworks_Needs_VxworksTest2[] =
5039 " -n \"`egrep ULONG $file`\"";
5041 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
5042 static tTestDesc aVxworks_Needs_VxworksTests[] = {
5043 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
5044 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
5045 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
5046 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
5049 * Fix Command Arguments for Vxworks_Needs_Vxworks
5051 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
5052 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
5053 #include <types/vxTypesOld.h>\n",
5056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5058 * Description of Vxworks_Time fix
5060 #define VXWORKS_TIME_FIXIDX 125
5061 tSCC zVxworks_TimeName[] =
5065 * File name selection pattern
5067 tSCC zVxworks_TimeList[] =
5070 * Machine/OS name selection pattern
5072 #define apzVxworks_TimeMachs (const char**)NULL
5075 * content selection pattern - do fix if pattern found
5077 tSCC zVxworks_TimeSelect0[] =
5078 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
5081 * perform the 'test' shell command - do fix on success
5083 tSCC zVxworks_TimeTest0[] =
5086 #define VXWORKS_TIME_TEST_CT 2
5087 static tTestDesc aVxworks_TimeTests[] = {
5088 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
5089 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
5092 * Fix Command Arguments for Vxworks_Time
5094 static const char* apzVxworks_TimePatch[] = {
5096 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
5097 #ifdef __cplusplus\n\
5098 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
5100 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
5102 #define __gcc_VOIDFUNCPTR_defined\n\
5104 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
5107 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5109 * Description of X11_Class fix
5111 #define X11_CLASS_FIXIDX 126
5112 tSCC zX11_ClassName[] =
5116 * File name selection pattern
5118 tSCC zX11_ClassList[] =
5121 * Machine/OS name selection pattern
5123 #define apzX11_ClassMachs (const char**)NULL
5126 * content selection pattern - do fix if pattern found
5128 tSCC zX11_ClassSelect0[] =
5129 "^([ \t]*char \\*)class;(.*)";
5132 * content bypass pattern - skip fix if pattern found
5134 tSCC zX11_ClassBypass0[] =
5137 #define X11_CLASS_TEST_CT 2
5138 static tTestDesc aX11_ClassTests[] = {
5139 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
5140 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
5143 * Fix Command Arguments for X11_Class
5145 static const char* apzX11_ClassPatch[] = {
5147 "#ifdef __cplusplus\n\
5154 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5156 * Description of X11_Class_Usage fix
5158 #define X11_CLASS_USAGE_FIXIDX 127
5159 tSCC zX11_Class_UsageName[] =
5163 * File name selection pattern
5165 tSCC zX11_Class_UsageList[] =
5166 "|Xm/BaseClassI.h|";
5168 * Machine/OS name selection pattern
5170 #define apzX11_Class_UsageMachs (const char**)NULL
5173 * content selection pattern - do fix if pattern found
5175 tSCC zX11_Class_UsageSelect0[] =
5179 * content bypass pattern - skip fix if pattern found
5181 tSCC zX11_Class_UsageBypass0[] =
5184 #define X11_CLASS_USAGE_TEST_CT 2
5185 static tTestDesc aX11_Class_UsageTests[] = {
5186 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
5187 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
5190 * Fix Command Arguments for X11_Class_Usage
5192 static const char* apzX11_Class_UsagePatch[] = {
5197 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5199 * Description of X11_New fix
5201 #define X11_NEW_FIXIDX 128
5202 tSCC zX11_NewName[] =
5206 * File name selection pattern
5208 tSCC zX11_NewList[] =
5211 * Machine/OS name selection pattern
5213 #define apzX11_NewMachs (const char**)NULL
5216 * content bypass pattern - skip fix if pattern found
5218 tSCC zX11_NewBypass0[] =
5221 #define X11_NEW_TEST_CT 1
5222 static tTestDesc aX11_NewTests[] = {
5223 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
5226 * Fix Command Arguments for X11_New
5228 static const char* apzX11_NewPatch[] = { "sed",
5229 "-e", "/Widget\told, new;/i\\\n\
5230 #ifdef __cplusplus\\\n\
5231 \tWidget\told, c_new;\\\n\
5233 "-e", "/Widget\told, new;/a\\\n\
5235 "-e", "s/Widget new,/Widget c_new,/g",
5238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5240 * Description of X11_Sprintf fix
5242 #define X11_SPRINTF_FIXIDX 129
5243 tSCC zX11_SprintfName[] =
5247 * File name selection pattern
5249 tSCC zX11_SprintfList[] =
5250 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
5252 * Machine/OS name selection pattern
5254 #define apzX11_SprintfMachs (const char**)NULL
5257 * content selection pattern - do fix if pattern found
5259 tSCC zX11_SprintfSelect0[] =
5260 "^extern char \\*\tsprintf\\(\\);$";
5262 #define X11_SPRINTF_TEST_CT 1
5263 static tTestDesc aX11_SprintfTests[] = {
5264 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
5267 * Fix Command Arguments for X11_Sprintf
5269 static const char* apzX11_SprintfPatch[] = {
5271 "#ifndef __STDC__\n\
5273 #endif /* !defined __STDC__ */",
5277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5281 #define REGEX_COUNT 135
5282 #define MACH_LIST_SIZE_LIMIT 279
5283 #define FIX_COUNT 130
5285 tFixDesc fixDescList[ FIX_COUNT ] = {
5286 { zAaa_Ki_IfaceName, zAaa_Ki_IfaceList,
5287 apzAaa_Ki_IfaceMachs,
5288 AAA_KI_IFACE_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5289 aAaa_Ki_IfaceTests, apzAaa_Ki_IfacePatch, 0 },
5291 { zAaa_KiName, zAaa_KiList,
5293 AAA_KI_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5294 aAaa_KiTests, apzAaa_KiPatch, 0 },
5296 { zAaa_Ki_CallsName, zAaa_Ki_CallsList,
5297 apzAaa_Ki_CallsMachs,
5298 AAA_KI_CALLS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5299 aAaa_Ki_CallsTests, apzAaa_Ki_CallsPatch, 0 },
5301 { zAaa_Ki_DefsName, zAaa_Ki_DefsList,
5302 apzAaa_Ki_DefsMachs,
5303 AAA_KI_DEFS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5304 aAaa_Ki_DefsTests, apzAaa_Ki_DefsPatch, 0 },
5306 { zAaa_Bad_FixesName, zAaa_Bad_FixesList,
5307 apzAaa_Bad_FixesMachs,
5308 AAA_BAD_FIXES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5309 aAaa_Bad_FixesTests, apzAaa_Bad_FixesPatch, 0 },
5311 { zAaa_TimeName, zAaa_TimeList,
5313 AAA_TIME_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5314 aAaa_TimeTests, apzAaa_TimePatch, 0 },
5316 { zAab_Dgux_Int_VarargsName, zAab_Dgux_Int_VarargsList,
5317 apzAab_Dgux_Int_VarargsMachs,
5318 AAB_DGUX_INT_VARARGS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5319 aAab_Dgux_Int_VarargsTests, apzAab_Dgux_Int_VarargsPatch, 0 },
5321 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
5322 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
5323 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5324 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
5326 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
5327 apzAab_Fd_Zero_Gnu_Types_HMachs,
5328 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5329 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
5331 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
5332 apzAab_Fd_Zero_Selectbits_HMachs,
5333 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5334 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
5336 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
5337 apzAab_Sun_MemcpyMachs,
5338 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5339 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
5341 { zAab_Svr4_Replace_ByteorderName, zAab_Svr4_Replace_ByteorderList,
5342 apzAab_Svr4_Replace_ByteorderMachs,
5343 AAB_SVR4_REPLACE_BYTEORDER_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5344 aAab_Svr4_Replace_ByteorderTests, apzAab_Svr4_Replace_ByteorderPatch, 0 },
5346 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
5347 apzAab_Ultrix_Ansi_CompatMachs,
5348 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5349 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
5351 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
5352 apzAab_Ultrix_LimitsMachs,
5353 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5354 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
5356 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
5357 apzAab_Ultrix_MemoryMachs,
5358 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5359 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
5361 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
5362 apzAab_Ultrix_StringMachs,
5363 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5364 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
5366 { zAix_PthreadName, zAix_PthreadList,
5367 apzAix_PthreadMachs,
5368 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5369 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
5371 { zAix_SysmachineName, zAix_SysmachineList,
5372 apzAix_SysmachineMachs,
5373 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5374 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
5376 { zAix_SyswaitName, zAix_SyswaitList,
5377 apzAix_SyswaitMachs,
5378 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5379 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
5381 { zAix_VolatileName, zAix_VolatileList,
5382 apzAix_VolatileMachs,
5383 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5384 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
5386 { zAlpha_GetoptName, zAlpha_GetoptList,
5387 apzAlpha_GetoptMachs,
5388 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5389 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
5391 { zAlpha_ParensName, zAlpha_ParensList,
5392 apzAlpha_ParensMachs,
5393 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5394 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
5396 { zAlpha_SbrkName, zAlpha_SbrkList,
5398 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5399 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
5401 { zArm_Norcroft_HintName, zArm_Norcroft_HintList,
5402 apzArm_Norcroft_HintMachs,
5403 ARM_NORCROFT_HINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5404 aArm_Norcroft_HintTests, apzArm_Norcroft_HintPatch, 0 },
5406 { zArm_WcharName, zArm_WcharList,
5408 ARM_WCHAR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5409 aArm_WcharTests, apzArm_WcharPatch, 0 },
5411 { zAux_AsmName, zAux_AsmList,
5413 AUX_ASM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5414 aAux_AsmTests, apzAux_AsmPatch, 0 },
5416 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
5417 apzAvoid_Bool_DefineMachs,
5418 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5419 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
5421 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
5422 apzAvoid_Bool_TypeMachs,
5423 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5424 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
5426 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
5427 apzAvoid_Wchar_T_TypeMachs,
5428 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5429 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
5431 { zBad_LvalName, zBad_LvalList,
5433 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
5434 aBad_LvalTests, apzBad_LvalPatch, 0 },
5436 { zBad_Struct_TermName, zBad_Struct_TermList,
5437 apzBad_Struct_TermMachs,
5438 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5439 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
5441 { zBadquoteName, zBadquoteList,
5443 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5444 aBadquoteTests, apzBadquotePatch, 0 },
5446 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
5447 apzBroken_Assert_StdioMachs,
5448 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5449 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
5451 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
5452 apzBroken_Assert_StdlibMachs,
5453 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5454 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
5456 { zBroken_CabsName, zBroken_CabsList,
5457 apzBroken_CabsMachs,
5458 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5459 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
5461 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
5462 apzCtrl_Quotes_DefMachs,
5463 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5464 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
5466 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
5467 apzCtrl_Quotes_UseMachs,
5468 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5469 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
5471 { zCxx_UnreadyName, zCxx_UnreadyList,
5472 apzCxx_UnreadyMachs,
5473 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5474 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
5476 { zDec_Intern_AsmName, zDec_Intern_AsmList,
5477 apzDec_Intern_AsmMachs,
5478 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
5479 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
5481 { zEcd_CursorName, zEcd_CursorList,
5483 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5484 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
5486 { zFix_Header_BreakageName, zFix_Header_BreakageList,
5487 apzFix_Header_BreakageMachs,
5488 FIX_HEADER_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5489 aFix_Header_BreakageTests, apzFix_Header_BreakagePatch, 0 },
5491 { zHp_InlineName, zHp_InlineList,
5493 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5494 aHp_InlineTests, apzHp_InlinePatch, 0 },
5496 { zHp_SysfileName, zHp_SysfileList,
5498 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5499 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
5501 { zHpux11_FabsfName, zHpux11_FabsfList,
5502 apzHpux11_FabsfMachs,
5503 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5504 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
5506 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
5507 apzHpux11_Uint32_CMachs,
5508 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5509 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
5511 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
5512 apzHpux8_Bogus_InlinesMachs,
5513 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
5514 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
5516 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
5517 apzInt_Abort_Free_And_ExitMachs,
5518 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5519 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
5521 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
5522 apzIsc_Omits_With_StdcMachs,
5523 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5524 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
5526 { zIo_Quotes_DefName, zIo_Quotes_DefList,
5527 apzIo_Quotes_DefMachs,
5528 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5529 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
5531 { zIo_Quotes_UseName, zIo_Quotes_UseList,
5532 apzIo_Quotes_UseMachs,
5533 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5534 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
5536 { zHpux_MaxintName, zHpux_MaxintList,
5537 apzHpux_MaxintMachs,
5538 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5539 aHpux_MaxintTests, apzHpux_MaxintPatch, 0 },
5541 { zHpux_SystimeName, zHpux_SystimeList,
5542 apzHpux_SystimeMachs,
5543 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5544 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
5546 { zIp_Missing_SemiName, zIp_Missing_SemiList,
5547 apzIp_Missing_SemiMachs,
5548 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
5549 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
5551 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
5552 apzIrix_Asm_ApostropheMachs,
5553 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5554 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
5556 { zIsc_FmodName, zIsc_FmodList,
5558 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5559 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
5561 { zKandr_ConcatName, zKandr_ConcatList,
5562 apzKandr_ConcatMachs,
5563 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5564 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
5566 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
5567 apzLibc1_Ifdefd_MemxMachs,
5568 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5569 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
5571 { zLimits_IfndefsName, zLimits_IfndefsList,
5572 apzLimits_IfndefsMachs,
5573 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5574 aLimits_IfndefsTests, apzLimits_IfndefsPatch, 0 },
5576 { zLynx_Void_IntName, zLynx_Void_IntList,
5577 apzLynx_Void_IntMachs,
5578 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5579 aLynx_Void_IntTests, apzLynx_Void_IntPatch, 0 },
5581 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
5582 apzLynxos_Fcntl_ProtoMachs,
5583 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5584 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch, 0 },
5586 { zM88k_Bad_Hypot_OptName, zM88k_Bad_Hypot_OptList,
5587 apzM88k_Bad_Hypot_OptMachs,
5588 M88K_BAD_HYPOT_OPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5589 aM88k_Bad_Hypot_OptTests, apzM88k_Bad_Hypot_OptPatch, 0 },
5591 { zM88k_Bad_S_IfName, zM88k_Bad_S_IfList,
5592 apzM88k_Bad_S_IfMachs,
5593 M88K_BAD_S_IF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5594 aM88k_Bad_S_IfTests, apzM88k_Bad_S_IfPatch, 0 },
5596 { zM88k_Multi_InclName, zM88k_Multi_InclList,
5597 apzM88k_Multi_InclMachs,
5598 M88K_MULTI_INCL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5599 aM88k_Multi_InclTests, apzM88k_Multi_InclPatch, 0 },
5601 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
5602 apzMachine_Ansi_H_Va_ListMachs,
5603 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5604 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
5606 { zMachine_NameName, zMachine_NameList,
5607 apzMachine_NameMachs,
5608 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5609 aMachine_NameTests, apzMachine_NamePatch, 0 },
5611 { zMath_ExceptionName, zMath_ExceptionList,
5612 apzMath_ExceptionMachs,
5613 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5614 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
5616 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
5617 apzMath_Huge_Val_From_Dbl_MaxMachs,
5618 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
5619 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
5621 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
5622 apzMath_Huge_Val_IfndefMachs,
5623 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5624 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch, 0 },
5626 { zNested_MotorolaName, zNested_MotorolaList,
5627 apzNested_MotorolaMachs,
5628 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
5629 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
5631 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
5632 apzNested_Sys_LimitsMachs,
5633 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
5634 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
5636 { zNested_Auth_DesName, zNested_Auth_DesList,
5637 apzNested_Auth_DesMachs,
5638 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5639 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
5641 { zNews_Os_RecursionName, zNews_Os_RecursionList,
5642 apzNews_Os_RecursionMachs,
5643 NEWS_OS_RECURSION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5644 aNews_Os_RecursionTests, apzNews_Os_RecursionPatch, 0 },
5646 { zNext_Math_PrefixName, zNext_Math_PrefixList,
5647 apzNext_Math_PrefixMachs,
5648 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5649 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
5651 { zNext_TemplateName, zNext_TemplateList,
5652 apzNext_TemplateMachs,
5653 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5654 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
5656 { zNext_VolitileName, zNext_VolitileList,
5657 apzNext_VolitileMachs,
5658 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5659 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
5661 { zNext_Wait_UnionName, zNext_Wait_UnionList,
5662 apzNext_Wait_UnionMachs,
5663 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5664 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
5666 { zNodeent_SyntaxName, zNodeent_SyntaxList,
5667 apzNodeent_SyntaxMachs,
5668 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5669 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
5671 { zOsf_Namespace_AName, zOsf_Namespace_AList,
5672 apzOsf_Namespace_AMachs,
5673 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5674 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
5676 { zOsf_Namespace_CName, zOsf_Namespace_CList,
5677 apzOsf_Namespace_CMachs,
5678 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5679 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
5681 { zPthread_Page_SizeName, zPthread_Page_SizeList,
5682 apzPthread_Page_SizeMachs,
5683 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5684 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
5686 { zRead_Ret_TypeName, zRead_Ret_TypeList,
5687 apzRead_Ret_TypeMachs,
5688 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5689 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
5691 { zRs6000_DoubleName, zRs6000_DoubleList,
5692 apzRs6000_DoubleMachs,
5693 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5694 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
5696 { zRs6000_FchmodName, zRs6000_FchmodList,
5697 apzRs6000_FchmodMachs,
5698 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5699 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
5701 { zRs6000_ParamName, zRs6000_ParamList,
5702 apzRs6000_ParamMachs,
5703 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5704 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
5706 { zSco_Static_FuncName, zSco_Static_FuncList,
5707 apzSco_Static_FuncMachs,
5708 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
5709 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
5711 { zSco_Strict_AnsiName, zSco_Strict_AnsiList,
5712 apzSco_Strict_AnsiMachs,
5713 SCO_STRICT_ANSI_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5714 aSco_Strict_AnsiTests, apzSco_Strict_AnsiPatch, 0 },
5716 { zSco_UtimeName, zSco_UtimeList,
5718 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5719 aSco_UtimeTests, apzSco_UtimePatch, 0 },
5721 { zStatsswtchName, zStatsswtchList,
5723 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5724 aStatsswtchTests, apzStatsswtchPatch, 0 },
5726 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
5727 apzStdio_Stdarg_HMachs,
5728 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5729 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
5731 { zStdio_Va_ListName, zStdio_Va_ListList,
5732 apzStdio_Va_ListMachs,
5733 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
5734 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
5736 { zStruct_FileName, zStruct_FileList,
5737 apzStruct_FileMachs,
5738 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5739 aStruct_FileTests, apzStruct_FilePatch, 0 },
5741 { zStruct_SockaddrName, zStruct_SockaddrList,
5742 apzStruct_SockaddrMachs,
5743 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5744 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
5746 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
5747 apzSun_Auth_ProtoMachs,
5748 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5749 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
5751 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
5752 apzSun_Bogus_IfdefMachs,
5753 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5754 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
5756 { zSun_CatmacroName, zSun_CatmacroList,
5757 apzSun_CatmacroMachs,
5758 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5759 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
5761 { zSun_MallocName, zSun_MallocList,
5763 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
5764 aSun_MallocTests, apzSun_MallocPatch, 0 },
5766 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
5767 apzSun_Rusers_SemiMachs,
5768 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
5769 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
5771 { zSun_SignalName, zSun_SignalList,
5773 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5774 aSun_SignalTests, apzSun_SignalPatch, 0 },
5776 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
5777 apzSunos_Matherr_DeclMachs,
5778 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5779 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch, 0 },
5781 { zSunos_StrlenName, zSunos_StrlenList,
5782 apzSunos_StrlenMachs,
5783 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5784 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
5786 { zSvr4__PName, zSvr4__PList,
5788 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5789 aSvr4__PTests, apzSvr4__PPatch, 0 },
5791 { zSvr4_GetcwdName, zSvr4_GetcwdList,
5792 apzSvr4_GetcwdMachs,
5793 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5794 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
5796 { zSvr4_ProfilName, zSvr4_ProfilList,
5797 apzSvr4_ProfilMachs,
5798 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5799 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
5801 { zGnu_TypesName, zGnu_TypesList,
5803 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5804 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
5806 { zSysv68_StringName, zSysv68_StringList,
5807 apzSysv68_StringMachs,
5808 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
5809 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
5811 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
5812 apzSysz_Stdlib_For_SunMachs,
5813 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5814 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
5816 { zTinfo_CplusplusName, zTinfo_CplusplusList,
5817 apzTinfo_CplusplusMachs,
5818 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5819 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
5821 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
5822 apzUltrix_Atof_ParamMachs,
5823 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5824 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
5826 { zUltrix_ConstName, zUltrix_ConstList,
5827 apzUltrix_ConstMachs,
5828 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5829 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
5831 { zUltrix_Const2Name, zUltrix_Const2List,
5832 apzUltrix_Const2Machs,
5833 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5834 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
5836 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
5837 apzUltrix_Fix_FixprotoMachs,
5838 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5839 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
5841 { zUltrix_IfdefName, zUltrix_IfdefList,
5842 apzUltrix_IfdefMachs,
5843 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5844 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
5846 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
5847 apzUltrix_Math_IfdefMachs,
5848 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5849 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
5851 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
5852 apzUltrix_Nested_IoctlMachs,
5853 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
5854 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
5856 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
5857 apzUltrix_Nested_SvcMachs,
5858 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
5859 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
5861 { zUltrix_StatName, zUltrix_StatList,
5862 apzUltrix_StatMachs,
5863 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
5864 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
5866 { zUltrix_StaticName, zUltrix_StaticList,
5867 apzUltrix_StaticMachs,
5868 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
5869 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
5871 { zUltrix_StringsName, zUltrix_StringsList,
5872 apzUltrix_StringsMachs,
5873 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5874 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
5876 { zUndefine_NullName, zUndefine_NullList,
5877 apzUndefine_NullMachs,
5878 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5879 aUndefine_NullTests, apzUndefine_NullPatch, 0 },
5881 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
5882 apzUw7_Byteorder_FixMachs,
5883 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5884 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
5886 { zVa_I960_MacroName, zVa_I960_MacroList,
5887 apzVa_I960_MacroMachs,
5888 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5889 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
5891 { zVoid_NullName, zVoid_NullList,
5893 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5894 aVoid_NullTests, apzVoid_NullPatch, 0 },
5896 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
5897 apzVxworks_Gcc_ProblemMachs,
5898 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
5899 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
5901 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
5902 apzVxworks_Needs_VxtypesMachs,
5903 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5904 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
5906 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
5907 apzVxworks_Needs_VxworksMachs,
5908 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
5909 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
5911 { zVxworks_TimeName, zVxworks_TimeList,
5912 apzVxworks_TimeMachs,
5913 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5914 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
5916 { zX11_ClassName, zX11_ClassList,
5918 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5919 aX11_ClassTests, apzX11_ClassPatch, 0 },
5921 { zX11_Class_UsageName, zX11_Class_UsageList,
5922 apzX11_Class_UsageMachs,
5923 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5924 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
5926 { zX11_NewName, zX11_NewList,
5928 X11_NEW_TEST_CT, FD_MACH_ONLY,
5929 aX11_NewTests, apzX11_NewPatch, 0 },
5931 { zX11_SprintfName, zX11_SprintfList,
5932 apzX11_SprintfMachs,
5933 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5934 aX11_SprintfTests, apzX11_SprintfPatch, 0 }