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 139 fixup descriptions.
10 * See README for more information.
12 * inclhack copyright (c) 1998, 1999, 2000, 2001
13 * The Free Software Foundation, Inc.
15 * inclhack is free software.
17 * You may redistribute it and/or modify it under the terms of the
18 * GNU General Public License, as published by the Free Software
19 * Foundation; either version 2, or (at your option) any later version.
21 * inclhack is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24 * See the GNU General Public License for more details.
26 * You should have received a copy of the GNU General Public License
27 * along with inclhack. See the file "COPYING". If not,
28 * write to: The Free Software Foundation, Inc.,
29 * 59 Temple Place - Suite 330,
30 * Boston, MA 02111-1307, USA.
33 /* * * * * * * * * * * * * * * * * * * * * * * * * *
35 * Description of Aaa_Ki_Iface fix
37 #define AAA_KI_IFACE_FIXIDX 0
38 tSCC zAaa_Ki_IfaceName[] =
42 * File name selection pattern
44 tSCC zAaa_Ki_IfaceList[] =
47 * Machine/OS name selection pattern
49 #define apzAaa_Ki_IfaceMachs (const char**)NULL
52 * content selection pattern - do fix if pattern found
54 tSCC zAaa_Ki_IfaceSelect0[] =
55 "These definitions are for HP Internal developers";
57 #define AAA_KI_IFACE_TEST_CT 1
58 static tTestDesc aAaa_Ki_IfaceTests[] = {
59 { TT_EGREP, zAaa_Ki_IfaceSelect0, (regex_t*)NULL }, };
62 * Fix Command Arguments for Aaa_Ki_Iface
64 static const char* apzAaa_Ki_IfacePatch[] = {
67 /* * * * * * * * * * * * * * * * * * * * * * * * * *
69 * Description of Aaa_Ki fix
71 #define AAA_KI_FIXIDX 1
76 * File name selection pattern
81 * Machine/OS name selection pattern
83 #define apzAaa_KiMachs (const char**)NULL
86 * content selection pattern - do fix if pattern found
88 tSCC zAaa_KiSelect0[] =
91 #define AAA_KI_TEST_CT 1
92 static tTestDesc aAaa_KiTests[] = {
93 { TT_EGREP, zAaa_KiSelect0, (regex_t*)NULL }, };
96 * Fix Command Arguments for Aaa_Ki
98 static const char* apzAaa_KiPatch[] = {
101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
103 * Description of Aaa_Ki_Calls fix
105 #define AAA_KI_CALLS_FIXIDX 2
106 tSCC zAaa_Ki_CallsName[] =
110 * File name selection pattern
112 tSCC zAaa_Ki_CallsList[] =
115 * Machine/OS name selection pattern
117 #define apzAaa_Ki_CallsMachs (const char**)NULL
120 * content selection pattern - do fix if pattern found
122 tSCC zAaa_Ki_CallsSelect0[] =
123 "kthread_create_caller_t";
125 #define AAA_KI_CALLS_TEST_CT 1
126 static tTestDesc aAaa_Ki_CallsTests[] = {
127 { TT_EGREP, zAaa_Ki_CallsSelect0, (regex_t*)NULL }, };
130 * Fix Command Arguments for Aaa_Ki_Calls
132 static const char* apzAaa_Ki_CallsPatch[] = {
135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
137 * Description of Aaa_Ki_Defs fix
139 #define AAA_KI_DEFS_FIXIDX 3
140 tSCC zAaa_Ki_DefsName[] =
144 * File name selection pattern
146 tSCC zAaa_Ki_DefsList[] =
149 * Machine/OS name selection pattern
151 #define apzAaa_Ki_DefsMachs (const char**)NULL
154 * content selection pattern - do fix if pattern found
156 tSCC zAaa_Ki_DefsSelect0[] =
157 "Kernel Instrumentation Definitions";
159 #define AAA_KI_DEFS_TEST_CT 1
160 static tTestDesc aAaa_Ki_DefsTests[] = {
161 { TT_EGREP, zAaa_Ki_DefsSelect0, (regex_t*)NULL }, };
164 * Fix Command Arguments for Aaa_Ki_Defs
166 static const char* apzAaa_Ki_DefsPatch[] = {
169 /* * * * * * * * * * * * * * * * * * * * * * * * * *
171 * Description of Aaa_Standards fix
173 #define AAA_STANDARDS_FIXIDX 4
174 tSCC zAaa_StandardsName[] =
178 * File name selection pattern
180 tSCC zAaa_StandardsList[] =
183 * Machine/OS name selection pattern
185 #define apzAaa_StandardsMachs (const char**)NULL
188 * content selection pattern - do fix if pattern found
190 tSCC zAaa_StandardsSelect0[] =
191 "GNU and MIPS C compilers define __STDC__ differently";
193 #define AAA_STANDARDS_TEST_CT 1
194 static tTestDesc aAaa_StandardsTests[] = {
195 { TT_EGREP, zAaa_StandardsSelect0, (regex_t*)NULL }, };
198 * Fix Command Arguments for Aaa_Standards
200 static const char* apzAaa_StandardsPatch[] = {
203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
205 * Description of Aaa_Bad_Fixes fix
207 #define AAA_BAD_FIXES_FIXIDX 5
208 tSCC zAaa_Bad_FixesName[] =
212 * File name selection pattern
214 tSCC zAaa_Bad_FixesList[] =
215 "|sundev/ipi_error.h|";
217 * Machine/OS name selection pattern
219 #define apzAaa_Bad_FixesMachs (const char**)NULL
220 #define AAA_BAD_FIXES_TEST_CT 0
221 #define aAaa_Bad_FixesTests (tTestDesc*)NULL
224 * Fix Command Arguments for Aaa_Bad_Fixes
226 static const char* apzAaa_Bad_FixesPatch[] = {
229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
231 * Description of Aaa_Time fix
233 #define AAA_TIME_FIXIDX 6
234 tSCC zAaa_TimeName[] =
238 * File name selection pattern
240 tSCC zAaa_TimeList[] =
243 * Machine/OS name selection pattern
245 #define apzAaa_TimeMachs (const char**)NULL
248 * content selection pattern - do fix if pattern found
250 tSCC zAaa_TimeSelect0[] =
251 "11.0 and later representation of ki time";
253 #define AAA_TIME_TEST_CT 1
254 static tTestDesc aAaa_TimeTests[] = {
255 { TT_EGREP, zAaa_TimeSelect0, (regex_t*)NULL }, };
258 * Fix Command Arguments for Aaa_Time
260 static const char* apzAaa_TimePatch[] = {
263 /* * * * * * * * * * * * * * * * * * * * * * * * * *
265 * Description of Aab_Dgux_Int_Varargs fix
267 #define AAB_DGUX_INT_VARARGS_FIXIDX 7
268 tSCC zAab_Dgux_Int_VarargsName[] =
269 "AAB_dgux_int_varargs";
272 * File name selection pattern
274 tSCC zAab_Dgux_Int_VarargsList[] =
277 * Machine/OS name selection pattern
279 #define apzAab_Dgux_Int_VarargsMachs (const char**)NULL
280 #define AAB_DGUX_INT_VARARGS_TEST_CT 0
281 #define aAab_Dgux_Int_VarargsTests (tTestDesc*)NULL
284 * Fix Command Arguments for Aab_Dgux_Int_Varargs
286 static const char* apzAab_Dgux_Int_VarargsPatch[] = {
287 "#ifndef __INT_VARARGS_H\n\
288 #define __INT_VARARGS_H\n\n\
289 /************************************************************************/\n\
290 /* _INT_VARARGS.H - Define the common stuff for varargs/stdarg/stdio. */\n\
291 /************************************************************************/\n\n\
293 ** This file is a DG internal header. Never include this\n\
296 #ifndef ___int_features_h\n\
297 #include <sys/_int_features.h>\n\
299 #if !(defined(_VA_LIST) || defined(_VA_LIST_))\n\
301 #define _VA_LIST_\n\n\
304 typedef void * va_list;\n\
306 typedef char * va_list;\n\
310 #if defined(__DCC__)\n\n\
316 #else /* ! defined(__DCC__) */\n\n\
318 int __va_arg; /* argument number */\n\
319 int *__va_stk; /* start of args passed on stack */\n\
320 int *__va_reg; /* start of args passed in regs */\n\
322 #endif /* ! defined(__DCC__) */\n\n\
324 #if defined(__GNUC__) || defined(__STDC__)\n\
325 typedef void * va_list;\n\
327 typedef char * va_list;\n\
329 #endif /* _IX86_ANY */\n\n\
330 #endif /* __LINT__ */\n\
331 #endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */\n\
332 #endif /* #ifndef __INT_VARARGS_H */\n",
335 /* * * * * * * * * * * * * * * * * * * * * * * * * *
337 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
339 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX 8
340 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
341 "AAB_fd_zero_asm_posix_types_h";
344 * File name selection pattern
346 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
347 "|asm/posix_types.h|";
349 * Machine/OS name selection pattern
351 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
352 "i[34567]86-*-linux*",
356 * content bypass pattern - skip fix if pattern found
358 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
361 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
362 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
363 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
366 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
368 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
369 "/* This file fixes a bug in the __FD_ZERO macro\n\
370 for older versions of the Linux kernel. */\n\
371 #ifndef _POSIX_TYPES_H_WRAPPER\n\
372 #include <features.h>\n\
373 #include_next <asm/posix_types.h>\n\n\
374 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
376 #define __FD_ZERO(fdsetp) \\\n\
378 int __d0, __d1; \\\n\
379 \t\t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
380 \t\t\t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
381 \t\t\t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
382 \t\t\t \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
385 #define _POSIX_TYPES_H_WRAPPER\n\
386 #endif /* _POSIX_TYPES_H_WRAPPER */\n",
389 /* * * * * * * * * * * * * * * * * * * * * * * * * *
391 * Description of Aab_Fd_Zero_Gnu_Types_H fix
393 #define AAB_FD_ZERO_GNU_TYPES_H_FIXIDX 9
394 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
395 "AAB_fd_zero_gnu_types_h";
398 * File name selection pattern
400 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
403 * Machine/OS name selection pattern
405 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
406 "i[34567]86-*-linux*",
408 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
409 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
412 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
414 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
415 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
416 #ifndef _TYPES_H_WRAPPER\n\
417 #include <features.h>\n\
418 #include_next <gnu/types.h>\n\n\
419 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
421 # define __FD_ZERO(fdsetp) \\\n\
423 int __d0, __d1; \\\n\
424 \t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
425 \t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
426 \t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
427 \t\t \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
430 #define _TYPES_H_WRAPPER\n\
431 #endif /* _TYPES_H_WRAPPER */\n",
434 /* * * * * * * * * * * * * * * * * * * * * * * * * *
436 * Description of Aab_Fd_Zero_Selectbits_H fix
438 #define AAB_FD_ZERO_SELECTBITS_H_FIXIDX 10
439 tSCC zAab_Fd_Zero_Selectbits_HName[] =
440 "AAB_fd_zero_selectbits_h";
443 * File name selection pattern
445 tSCC zAab_Fd_Zero_Selectbits_HList[] =
448 * Machine/OS name selection pattern
450 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
451 "i[34567]86-*-linux*",
453 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
454 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
457 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
459 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
460 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
461 #ifndef _SELECTBITS_H_WRAPPER\n\
462 #include <features.h>\n\
463 #include_next <selectbits.h>\n\n\
464 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\n\
465 \t&& defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\n\
466 \t&& __GLIBC_MINOR__ == 0\n\
468 #define __FD_ZERO(fdsetp) \\\n\
470 int __d0, __d1; \\\n\
471 __asm__ __volatile__ (\"cld; rep; stosl\" \\\n\
472 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
473 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\n\
474 / sizeof (__fd_mask)), \\\n\
475 \"1\" ((__fd_mask *) (fdsetp)) \\\n\
479 #define _SELECTBITS_H_WRAPPER\n\
480 #endif /* _SELECTBITS_H_WRAPPER */\n",
483 /* * * * * * * * * * * * * * * * * * * * * * * * * *
485 * Description of Aab_Sun_Memcpy fix
487 #define AAB_SUN_MEMCPY_FIXIDX 11
488 tSCC zAab_Sun_MemcpyName[] =
492 * File name selection pattern
494 tSCC zAab_Sun_MemcpyList[] =
497 * Machine/OS name selection pattern
499 #define apzAab_Sun_MemcpyMachs (const char**)NULL
502 * content selection pattern - do fix if pattern found
504 tSCC zAab_Sun_MemcpySelect0[] =
505 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
507 #define AAB_SUN_MEMCPY_TEST_CT 1
508 static tTestDesc aAab_Sun_MemcpyTests[] = {
509 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
512 * Fix Command Arguments for Aab_Sun_Memcpy
514 static const char* apzAab_Sun_MemcpyPatch[] = {
515 "/* This file was generated by fixincludes */\n\
516 #ifndef __memory_h__\n\
517 #define __memory_h__\n\n\
519 extern void *memccpy();\n\
520 extern void *memchr();\n\
521 extern void *memcpy();\n\
522 extern void *memset();\n\
524 extern char *memccpy();\n\
525 extern char *memchr();\n\
526 extern char *memcpy();\n\
527 extern char *memset();\n\
528 #endif /* __STDC__ */\n\n\
529 extern int memcmp();\n\n\
530 #endif /* __memory_h__ */\n",
533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
535 * Description of Aab_Svr4_Replace_Byteorder fix
537 #define AAB_SVR4_REPLACE_BYTEORDER_FIXIDX 12
538 tSCC zAab_Svr4_Replace_ByteorderName[] =
539 "AAB_svr4_replace_byteorder";
542 * File name selection pattern
544 tSCC zAab_Svr4_Replace_ByteorderList[] =
547 * Machine/OS name selection pattern
549 tSCC* apzAab_Svr4_Replace_ByteorderMachs[] = {
551 "i[34567]86-*-sysv5*",
553 "i[34567]86-*-solaris2.[0-4]",
554 "powerpcle-*-solaris2.[0-4]",
555 "sparc-*-solaris2.[0-4]",
557 #define AAB_SVR4_REPLACE_BYTEORDER_TEST_CT 0
558 #define aAab_Svr4_Replace_ByteorderTests (tTestDesc*)NULL
561 * Fix Command Arguments for Aab_Svr4_Replace_Byteorder
563 static const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
564 "#ifndef _SYS_BYTEORDER_H\n\
565 #define _SYS_BYTEORDER_H\n\n\
566 /* Functions to convert `short' and `long' quantities from host byte order\n\
567 to (internet) network byte order (i.e. big-endian).\n\n\
568 Written by Ron Guilmette (rfg@ncd.com).\n\n\
569 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
570 For big-endian machines these functions are essentially no-ops.\n\n\
571 For little-endian machines, we define the functions using specialized\n\
572 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
573 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
574 #error You lose! This file is only useful with GNU compilers.\n\
576 #ifndef __BYTE_ORDER__\n\
577 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
578 double underscores added at the front and back. */\n\
579 #define __LITTLE_ENDIAN__ 1234\n\
580 #define __BIG_ENDIAN__ 4321\n\
581 #define __PDP_ENDIAN__ 3412\n\
584 static __inline__ unsigned long htonl (unsigned long);\n\
585 static __inline__ unsigned short htons (unsigned int);\n\
586 static __inline__ unsigned long ntohl (unsigned long);\n\
587 static __inline__ unsigned short ntohs (unsigned int);\n\
588 #endif /* defined (__STDC__) */\n\n\
589 #if defined (__i386__)\n\n\
590 #ifndef __BYTE_ORDER__\n\
591 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
593 /* Convert a host long to a network long. */\n\n\
594 /* We must use a new-style function definition, so that this will also\n\
595 be valid for C++. */\n\
596 static __inline__ unsigned long\n\
597 htonl (unsigned long __arg)\n\
599 register unsigned long __result;\n\n\
600 __asm__ (\"xchg%B0 %b0,%h0\n\
602 \txchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
605 /* Convert a host short to a network short. */\n\n\
606 static __inline__ unsigned short\n\
607 htons (unsigned int __arg)\n\
609 register unsigned short __result;\n\n\
610 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
613 #elif ((defined (__i860__) && !defined (__i860_big_endian__))\t\\\n\
614 || defined (__ns32k__) || defined (__vax__)\t\t\\\n\
615 || defined (__spur__) || defined (__arm__))\n\n\
616 #ifndef __BYTE_ORDER__\n\
617 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
619 /* For other little-endian machines, using C code is just as efficient as\n\
620 using assembly code. */\n\n\
621 /* Convert a host long to a network long. */\n\n\
622 static __inline__ unsigned long\n\
623 htonl (unsigned long __arg)\n\
625 register unsigned long __result;\n\n\
626 __result = (__arg >> 24) & 0x000000ff;\n\
627 __result |= (__arg >> 8) & 0x0000ff00;\n\
628 __result |= (__arg << 8) & 0x00ff0000;\n\
629 __result |= (__arg << 24) & 0xff000000;\n\
632 /* Convert a host short to a network short. */\n\n\
633 static __inline__ unsigned short\n\
634 htons (unsigned int __arg)\n\
636 register unsigned short __result;\n\n\
637 __result = (__arg << 8) & 0xff00;\n\
638 __result |= (__arg >> 8) & 0x00ff;\n\
641 #else /* must be a big-endian machine */\n\n\
642 #ifndef __BYTE_ORDER__\n\
643 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
645 /* Convert a host long to a network long. */\n\n\
646 static __inline__ unsigned long\n\
647 htonl (unsigned long __arg)\n\
651 /* Convert a host short to a network short. */\n\n\
652 static __inline__ unsigned short\n\
653 htons (unsigned int __arg)\n\
657 #endif /* big-endian */\n\n\
658 /* Convert a network long to a host long. */\n\n\
659 static __inline__ unsigned long\n\
660 ntohl (unsigned long __arg)\n\
662 return htonl (__arg);\n\
664 /* Convert a network short to a host short. */\n\n\
665 static __inline__ unsigned short\n\
666 ntohs (unsigned int __arg)\n\
668 return htons (__arg);\n\
673 /* * * * * * * * * * * * * * * * * * * * * * * * * *
675 * Description of Aab_Ultrix_Ansi_Compat fix
677 #define AAB_ULTRIX_ANSI_COMPAT_FIXIDX 13
678 tSCC zAab_Ultrix_Ansi_CompatName[] =
679 "AAB_ultrix_ansi_compat";
682 * File name selection pattern
684 tSCC zAab_Ultrix_Ansi_CompatList[] =
687 * Machine/OS name selection pattern
689 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
692 * content selection pattern - do fix if pattern found
694 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
697 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
698 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
699 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
702 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
704 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
705 "/* This file intentionally left blank. */\n",
708 /* * * * * * * * * * * * * * * * * * * * * * * * * *
710 * Description of Aab_Ultrix_Limits fix
712 #define AAB_ULTRIX_LIMITS_FIXIDX 14
713 tSCC zAab_Ultrix_LimitsName[] =
717 * File name selection pattern
719 tSCC zAab_Ultrix_LimitsList[] =
722 * Machine/OS name selection pattern
724 tSCC* apzAab_Ultrix_LimitsMachs[] = {
727 #define AAB_ULTRIX_LIMITS_TEST_CT 0
728 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
731 * Fix Command Arguments for Aab_Ultrix_Limits
733 static const char* apzAab_Ultrix_LimitsPatch[] = {
734 "/*\t@(#)limits.h\t\t\t\t*/\n\
735 /* This file was generated by fixincludes\t*/\n\
736 #ifndef _LIMITS_INCLUDED\n\
737 #define _LIMITS_INCLUDED\n\
738 #include <sys/limits.h>\n\
739 #endif /* _LIMITS_INCLUDED */\n",
742 /* * * * * * * * * * * * * * * * * * * * * * * * * *
744 * Description of Aab_Ultrix_Memory fix
746 #define AAB_ULTRIX_MEMORY_FIXIDX 15
747 tSCC zAab_Ultrix_MemoryName[] =
751 * File name selection pattern
753 tSCC zAab_Ultrix_MemoryList[] =
756 * Machine/OS name selection pattern
758 tSCC* apzAab_Ultrix_MemoryMachs[] = {
761 #define AAB_ULTRIX_MEMORY_TEST_CT 0
762 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
765 * Fix Command Arguments for Aab_Ultrix_Memory
767 static const char* apzAab_Ultrix_MemoryPatch[] = {
768 "/*\t@(#)memory.h\t\t\t\t*/\n\
769 /* This file was generated by fixincludes\t*/\n\
770 #ifndef _MEMORY_INCLUDED\n\
771 #define _MEMORY_INCLUDED\n\
772 #include <strings.h>\n\
773 #endif /* _MEMORY_INCLUDED */\n",
776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
778 * Description of Aab_Ultrix_String fix
780 #define AAB_ULTRIX_STRING_FIXIDX 16
781 tSCC zAab_Ultrix_StringName[] =
785 * File name selection pattern
787 tSCC zAab_Ultrix_StringList[] =
790 * Machine/OS name selection pattern
792 tSCC* apzAab_Ultrix_StringMachs[] = {
795 #define AAB_ULTRIX_STRING_TEST_CT 0
796 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
799 * Fix Command Arguments for Aab_Ultrix_String
801 static const char* apzAab_Ultrix_StringPatch[] = {
802 "/*\t@(#)string.h\t\t\t\t*/\n\
803 /* This file was generated by fixincludes\t*/\n\
804 #ifndef _STRING_INCLUDED\n\
805 #define _STRING_INCLUDED\n\
806 #include <strings.h>\n\
807 #endif /* _STRING_INCLUDED */\n",
810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
812 * Description of Aix_Pthread fix
814 #define AIX_PTHREAD_FIXIDX 17
815 tSCC zAix_PthreadName[] =
819 * File name selection pattern
821 tSCC zAix_PthreadList[] =
824 * Machine/OS name selection pattern
826 #define apzAix_PthreadMachs (const char**)NULL
829 * content selection pattern - do fix if pattern found
831 tSCC zAix_PthreadSelect0[] =
832 "(#define [A-Za-z_0-9]+)(\\\\\n\
836 #define AIX_PTHREAD_TEST_CT 1
837 static tTestDesc aAix_PthreadTests[] = {
838 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
841 * Fix Command Arguments for Aix_Pthread
843 static const char* apzAix_PthreadPatch[] = {
848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
850 * Description of Aix_Sysmachine fix
852 #define AIX_SYSMACHINE_FIXIDX 18
853 tSCC zAix_SysmachineName[] =
857 * File name selection pattern
859 tSCC zAix_SysmachineList[] =
862 * Machine/OS name selection pattern
864 #define apzAix_SysmachineMachs (const char**)NULL
867 * content selection pattern - do fix if pattern found
869 tSCC zAix_SysmachineSelect0[] =
872 #define AIX_SYSMACHINE_TEST_CT 1
873 static tTestDesc aAix_SysmachineTests[] = {
874 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
877 * Fix Command Arguments for Aix_Sysmachine
879 static const char* apzAix_SysmachinePatch[] = {
884 /* * * * * * * * * * * * * * * * * * * * * * * * * *
886 * Description of Aix_Syswait fix
888 #define AIX_SYSWAIT_FIXIDX 19
889 tSCC zAix_SyswaitName[] =
893 * File name selection pattern
895 tSCC zAix_SyswaitList[] =
898 * Machine/OS name selection pattern
900 #define apzAix_SyswaitMachs (const char**)NULL
903 * content selection pattern - do fix if pattern found
905 tSCC zAix_SyswaitSelect0[] =
906 "^extern pid_t wait3\\(\\);\n";
907 tSCC zAix_SyswaitSelect1[] =
910 #define AIX_SYSWAIT_TEST_CT 2
911 static tTestDesc aAix_SyswaitTests[] = {
912 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
913 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
916 * Fix Command Arguments for Aix_Syswait
918 static const char* apzAix_SyswaitPatch[] = {
924 /* * * * * * * * * * * * * * * * * * * * * * * * * *
926 * Description of Aix_Volatile fix
928 #define AIX_VOLATILE_FIXIDX 20
929 tSCC zAix_VolatileName[] =
933 * File name selection pattern
935 tSCC zAix_VolatileList[] =
938 * Machine/OS name selection pattern
940 #define apzAix_VolatileMachs (const char**)NULL
943 * content selection pattern - do fix if pattern found
945 tSCC zAix_VolatileSelect0[] =
946 "typedef volatile int sig_atomic_t";
948 #define AIX_VOLATILE_TEST_CT 1
949 static tTestDesc aAix_VolatileTests[] = {
950 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
953 * Fix Command Arguments for Aix_Volatile
955 static const char* apzAix_VolatilePatch[] = {
957 "typedef int sig_atomic_t",
960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
962 * Description of Alpha___Assert fix
964 #define ALPHA___ASSERT_FIXIDX 21
965 tSCC zAlpha___AssertName[] =
969 * File name selection pattern
971 tSCC zAlpha___AssertList[] =
974 * Machine/OS name selection pattern
976 #define apzAlpha___AssertMachs (const char**)NULL
979 * content selection pattern - do fix if pattern found
981 tSCC zAlpha___AssertSelect0[] =
982 "__assert\\(char \\*, char \\*, int\\)";
984 #define ALPHA___ASSERT_TEST_CT 1
985 static tTestDesc aAlpha___AssertTests[] = {
986 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
989 * Fix Command Arguments for Alpha___Assert
991 static const char* apzAlpha___AssertPatch[] = {
993 "__assert(const char *, const char *, int)",
996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
998 * Description of Alpha_Getopt fix
1000 #define ALPHA_GETOPT_FIXIDX 22
1001 tSCC zAlpha_GetoptName[] =
1005 * File name selection pattern
1007 tSCC zAlpha_GetoptList[] =
1008 "|stdio.h|stdlib.h|";
1010 * Machine/OS name selection pattern
1012 #define apzAlpha_GetoptMachs (const char**)NULL
1015 * content selection pattern - do fix if pattern found
1017 tSCC zAlpha_GetoptSelect0[] =
1018 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1020 #define ALPHA_GETOPT_TEST_CT 1
1021 static tTestDesc aAlpha_GetoptTests[] = {
1022 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1025 * Fix Command Arguments for Alpha_Getopt
1027 static const char* apzAlpha_GetoptPatch[] = {
1029 "getopt(int, char *const[], const char *)",
1032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1034 * Description of Alpha_Parens fix
1036 #define ALPHA_PARENS_FIXIDX 23
1037 tSCC zAlpha_ParensName[] =
1041 * File name selection pattern
1043 tSCC zAlpha_ParensList[] =
1046 * Machine/OS name selection pattern
1048 #define apzAlpha_ParensMachs (const char**)NULL
1051 * content selection pattern - do fix if pattern found
1053 tSCC zAlpha_ParensSelect0[] =
1054 "#ifndef\\(__mips64\\)";
1056 #define ALPHA_PARENS_TEST_CT 1
1057 static tTestDesc aAlpha_ParensTests[] = {
1058 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1061 * Fix Command Arguments for Alpha_Parens
1063 static const char* apzAlpha_ParensPatch[] = {
1068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1070 * Description of Alpha_Sbrk fix
1072 #define ALPHA_SBRK_FIXIDX 24
1073 tSCC zAlpha_SbrkName[] =
1077 * File name selection pattern
1079 tSCC zAlpha_SbrkList[] =
1082 * Machine/OS name selection pattern
1084 #define apzAlpha_SbrkMachs (const char**)NULL
1087 * content selection pattern - do fix if pattern found
1089 tSCC zAlpha_SbrkSelect0[] =
1090 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1092 #define ALPHA_SBRK_TEST_CT 1
1093 static tTestDesc aAlpha_SbrkTests[] = {
1094 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1097 * Fix Command Arguments for Alpha_Sbrk
1099 static const char* apzAlpha_SbrkPatch[] = {
1104 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1106 * Description of Arm_Norcroft_Hint fix
1108 #define ARM_NORCROFT_HINT_FIXIDX 25
1109 tSCC zArm_Norcroft_HintName[] =
1110 "arm_norcroft_hint";
1113 * File name selection pattern
1115 tSCC zArm_Norcroft_HintList[] =
1116 "|X11/Intrinsic.h|";
1118 * Machine/OS name selection pattern
1120 #define apzArm_Norcroft_HintMachs (const char**)NULL
1123 * content selection pattern - do fix if pattern found
1125 tSCC zArm_Norcroft_HintSelect0[] =
1128 #define ARM_NORCROFT_HINT_TEST_CT 1
1129 static tTestDesc aArm_Norcroft_HintTests[] = {
1130 { TT_EGREP, zArm_Norcroft_HintSelect0, (regex_t*)NULL }, };
1133 * Fix Command Arguments for Arm_Norcroft_Hint
1135 static const char* apzArm_Norcroft_HintPatch[] = {
1140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1142 * Description of Arm_Wchar fix
1144 #define ARM_WCHAR_FIXIDX 26
1145 tSCC zArm_WcharName[] =
1149 * File name selection pattern
1151 tSCC zArm_WcharList[] =
1154 * Machine/OS name selection pattern
1156 #define apzArm_WcharMachs (const char**)NULL
1159 * content selection pattern - do fix if pattern found
1161 tSCC zArm_WcharSelect0[] =
1162 "#[ \t]*define[ \t]*__wchar_t";
1164 #define ARM_WCHAR_TEST_CT 1
1165 static tTestDesc aArm_WcharTests[] = {
1166 { TT_EGREP, zArm_WcharSelect0, (regex_t*)NULL }, };
1169 * Fix Command Arguments for Arm_Wchar
1171 static const char* apzArm_WcharPatch[] = {
1174 "(#[ \t]*(ifndef|define)[ \t]+)__wchar_t",
1177 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1179 * Description of Aux_Asm fix
1181 #define AUX_ASM_FIXIDX 27
1182 tSCC zAux_AsmName[] =
1186 * File name selection pattern
1188 tSCC zAux_AsmList[] =
1191 * Machine/OS name selection pattern
1193 #define apzAux_AsmMachs (const char**)NULL
1196 * content selection pattern - do fix if pattern found
1198 tSCC zAux_AsmSelect0[] =
1201 #define AUX_ASM_TEST_CT 1
1202 static tTestDesc aAux_AsmTests[] = {
1203 { TT_EGREP, zAux_AsmSelect0, (regex_t*)NULL }, };
1206 * Fix Command Arguments for Aux_Asm
1208 static const char* apzAux_AsmPatch[] = {
1210 "#if !defined(NOINLINE) && !defined(__GNUC__)",
1213 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1215 * Description of Avoid_Bool_Define fix
1217 #define AVOID_BOOL_DEFINE_FIXIDX 28
1218 tSCC zAvoid_Bool_DefineName[] =
1219 "avoid_bool_define";
1222 * File name selection pattern
1224 tSCC zAvoid_Bool_DefineList[] =
1225 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1227 * Machine/OS name selection pattern
1229 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1232 * content selection pattern - do fix if pattern found
1234 tSCC zAvoid_Bool_DefineSelect0[] =
1235 "#[ \t]*define[ \t]+bool[ \t]";
1238 * content bypass pattern - skip fix if pattern found
1240 tSCC zAvoid_Bool_DefineBypass0[] =
1241 "we must use the C\\+\\+ compiler's type";
1243 #define AVOID_BOOL_DEFINE_TEST_CT 2
1244 static tTestDesc aAvoid_Bool_DefineTests[] = {
1245 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1246 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1249 * Fix Command Arguments for Avoid_Bool_Define
1251 static const char* apzAvoid_Bool_DefinePatch[] = {
1253 "#ifndef __cplusplus\n\
1256 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1259 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1261 * Description of Avoid_Bool_Type fix
1263 #define AVOID_BOOL_TYPE_FIXIDX 29
1264 tSCC zAvoid_Bool_TypeName[] =
1268 * File name selection pattern
1270 tSCC zAvoid_Bool_TypeList[] =
1271 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1273 * Machine/OS name selection pattern
1275 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1278 * content selection pattern - do fix if pattern found
1280 tSCC zAvoid_Bool_TypeSelect0[] =
1281 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1284 * content bypass pattern - skip fix if pattern found
1286 tSCC zAvoid_Bool_TypeBypass0[] =
1287 "we must use the C\\+\\+ compiler's type";
1289 #define AVOID_BOOL_TYPE_TEST_CT 2
1290 static tTestDesc aAvoid_Bool_TypeTests[] = {
1291 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1292 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1295 * Fix Command Arguments for Avoid_Bool_Type
1297 static const char* apzAvoid_Bool_TypePatch[] = {
1299 "#ifndef __cplusplus\n\
1304 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1306 * Description of Avoid_Wchar_T_Type fix
1308 #define AVOID_WCHAR_T_TYPE_FIXIDX 30
1309 tSCC zAvoid_Wchar_T_TypeName[] =
1310 "avoid_wchar_t_type";
1313 * File name selection pattern
1315 #define zAvoid_Wchar_T_TypeList (char*)NULL
1317 * Machine/OS name selection pattern
1319 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1322 * content selection pattern - do fix if pattern found
1324 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1325 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1327 #define AVOID_WCHAR_T_TYPE_TEST_CT 1
1328 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1329 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1332 * Fix Command Arguments for Avoid_Wchar_T_Type
1334 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1336 "#ifndef __cplusplus\n\
1341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1343 * Description of Bad_Lval fix
1345 #define BAD_LVAL_FIXIDX 31
1346 tSCC zBad_LvalName[] =
1350 * File name selection pattern
1352 tSCC zBad_LvalList[] =
1353 "|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|";
1355 * Machine/OS name selection pattern
1357 #define apzBad_LvalMachs (const char**)NULL
1360 * content selection pattern - do fix if pattern found
1362 tSCC zBad_LvalSelect0[] =
1363 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1365 #define BAD_LVAL_TEST_CT 1
1366 static tTestDesc aBad_LvalTests[] = {
1367 { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
1370 * Fix Command Arguments for Bad_Lval
1372 static const char* apzBad_LvalPatch[] = { "sed",
1373 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1376 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1378 * Description of Bad_Struct_Term fix
1380 #define BAD_STRUCT_TERM_FIXIDX 32
1381 tSCC zBad_Struct_TermName[] =
1385 * File name selection pattern
1387 tSCC zBad_Struct_TermList[] =
1390 * Machine/OS name selection pattern
1392 #define apzBad_Struct_TermMachs (const char**)NULL
1395 * content selection pattern - do fix if pattern found
1397 tSCC zBad_Struct_TermSelect0[] =
1398 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1400 #define BAD_STRUCT_TERM_TEST_CT 1
1401 static tTestDesc aBad_Struct_TermTests[] = {
1402 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1405 * Fix Command Arguments for Bad_Struct_Term
1407 static const char* apzBad_Struct_TermPatch[] = {
1412 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1414 * Description of Badquote fix
1416 #define BADQUOTE_FIXIDX 33
1417 tSCC zBadquoteName[] =
1421 * File name selection pattern
1423 tSCC zBadquoteList[] =
1424 "|sundev/vuid_event.h|";
1426 * Machine/OS name selection pattern
1428 #define apzBadquoteMachs (const char**)NULL
1431 * content selection pattern - do fix if pattern found
1433 tSCC zBadquoteSelect0[] =
1436 #define BADQUOTE_TEST_CT 1
1437 static tTestDesc aBadquoteTests[] = {
1438 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1441 * Fix Command Arguments for Badquote
1443 static const char* apzBadquotePatch[] = {
1448 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1450 * Description of Broken_Assert_Stdio fix
1452 #define BROKEN_ASSERT_STDIO_FIXIDX 34
1453 tSCC zBroken_Assert_StdioName[] =
1454 "broken_assert_stdio";
1457 * File name selection pattern
1459 tSCC zBroken_Assert_StdioList[] =
1462 * Machine/OS name selection pattern
1464 #define apzBroken_Assert_StdioMachs (const char**)NULL
1467 * content selection pattern - do fix if pattern found
1469 tSCC zBroken_Assert_StdioSelect0[] =
1473 * content bypass pattern - skip fix if pattern found
1475 tSCC zBroken_Assert_StdioBypass0[] =
1476 "include.*stdio\\.h";
1478 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1479 static tTestDesc aBroken_Assert_StdioTests[] = {
1480 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1481 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1484 * Fix Command Arguments for Broken_Assert_Stdio
1486 static const char* apzBroken_Assert_StdioPatch[] = {
1488 "#include <stdio.h>\n",
1491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1493 * Description of Broken_Assert_Stdlib fix
1495 #define BROKEN_ASSERT_STDLIB_FIXIDX 35
1496 tSCC zBroken_Assert_StdlibName[] =
1497 "broken_assert_stdlib";
1500 * File name selection pattern
1502 tSCC zBroken_Assert_StdlibList[] =
1505 * Machine/OS name selection pattern
1507 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1510 * content selection pattern - do fix if pattern found
1512 tSCC zBroken_Assert_StdlibSelect0[] =
1513 "exit *\\(|abort *\\(";
1516 * content bypass pattern - skip fix if pattern found
1518 tSCC zBroken_Assert_StdlibBypass0[] =
1519 "include.*stdlib\\.h";
1521 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1522 static tTestDesc aBroken_Assert_StdlibTests[] = {
1523 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1524 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1527 * Fix Command Arguments for Broken_Assert_Stdlib
1529 static const char* apzBroken_Assert_StdlibPatch[] = {
1531 "#ifdef __cplusplus\n\
1532 #include <stdlib.h>\n\
1536 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1538 * Description of Broken_Cabs fix
1540 #define BROKEN_CABS_FIXIDX 36
1541 tSCC zBroken_CabsName[] =
1545 * File name selection pattern
1547 tSCC zBroken_CabsList[] =
1550 * Machine/OS name selection pattern
1552 #define apzBroken_CabsMachs (const char**)NULL
1555 * content selection pattern - do fix if pattern found
1557 tSCC zBroken_CabsSelect0[] =
1558 "^extern[ \\t]+double[ \\t]+cabs";
1560 #define BROKEN_CABS_TEST_CT 1
1561 static tTestDesc aBroken_CabsTests[] = {
1562 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1565 * Fix Command Arguments for Broken_Cabs
1567 static const char* apzBroken_CabsPatch[] = {
1570 "^extern[ \t]+double[ \t]+cabs\\((struct dbl_hypot|)\\);",
1573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1575 * Description of Ctrl_Quotes_Def fix
1577 #define CTRL_QUOTES_DEF_FIXIDX 37
1578 tSCC zCtrl_Quotes_DefName[] =
1582 * File name selection pattern
1584 #define zCtrl_Quotes_DefList (char*)NULL
1586 * Machine/OS name selection pattern
1588 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1591 * content selection pattern - do fix if pattern found
1593 tSCC zCtrl_Quotes_DefSelect0[] =
1594 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1596 #define CTRL_QUOTES_DEF_TEST_CT 1
1597 static tTestDesc aCtrl_Quotes_DefTests[] = {
1598 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1601 * Fix Command Arguments for Ctrl_Quotes_Def
1603 static const char* apzCtrl_Quotes_DefPatch[] = {
1608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1610 * Description of Ctrl_Quotes_Use fix
1612 #define CTRL_QUOTES_USE_FIXIDX 38
1613 tSCC zCtrl_Quotes_UseName[] =
1617 * File name selection pattern
1619 #define zCtrl_Quotes_UseList (char*)NULL
1621 * Machine/OS name selection pattern
1623 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1626 * content selection pattern - do fix if pattern found
1628 tSCC zCtrl_Quotes_UseSelect0[] =
1629 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1631 #define CTRL_QUOTES_USE_TEST_CT 1
1632 static tTestDesc aCtrl_Quotes_UseTests[] = {
1633 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1636 * Fix Command Arguments for Ctrl_Quotes_Use
1638 static const char* apzCtrl_Quotes_UsePatch[] = {
1643 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1645 * Description of Cxx_Unready fix
1647 #define CXX_UNREADY_FIXIDX 39
1648 tSCC zCxx_UnreadyName[] =
1652 * File name selection pattern
1654 tSCC zCxx_UnreadyList[] =
1655 "|sys/mman.h|rpc/types.h|";
1657 * Machine/OS name selection pattern
1659 #define apzCxx_UnreadyMachs (const char**)NULL
1662 * content selection pattern - do fix if pattern found
1664 tSCC zCxx_UnreadySelect0[] =
1668 * content bypass pattern - skip fix if pattern found
1670 tSCC zCxx_UnreadyBypass0[] =
1671 "\"C\"|__BEGIN_DECLS";
1673 #define CXX_UNREADY_TEST_CT 2
1674 static tTestDesc aCxx_UnreadyTests[] = {
1675 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1676 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1679 * Fix Command Arguments for Cxx_Unready
1681 static const char* apzCxx_UnreadyPatch[] = {
1683 "#ifdef __cplusplus\n\
1686 "#ifdef __cplusplus\n\
1691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1693 * Description of Dec_Intern_Asm fix
1695 #define DEC_INTERN_ASM_FIXIDX 40
1696 tSCC zDec_Intern_AsmName[] =
1700 * File name selection pattern
1702 tSCC zDec_Intern_AsmList[] =
1705 * Machine/OS name selection pattern
1707 #define apzDec_Intern_AsmMachs (const char**)NULL
1708 #define DEC_INTERN_ASM_TEST_CT 0
1709 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1712 * Fix Command Arguments for Dec_Intern_Asm
1714 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1715 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1717 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1723 * Description of Djgpp_Wchar_H fix
1725 #define DJGPP_WCHAR_H_FIXIDX 41
1726 tSCC zDjgpp_Wchar_HName[] =
1730 * File name selection pattern
1732 #define zDjgpp_Wchar_HList (char*)NULL
1734 * Machine/OS name selection pattern
1736 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1739 * content selection pattern - do fix if pattern found
1741 tSCC zDjgpp_Wchar_HSelect0[] =
1745 * content bypass pattern - skip fix if pattern found
1747 tSCC zDjgpp_Wchar_HBypass0[] =
1750 #define DJGPP_WCHAR_H_TEST_CT 2
1751 static tTestDesc aDjgpp_Wchar_HTests[] = {
1752 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1753 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1756 * Fix Command Arguments for Djgpp_Wchar_H
1758 static const char* apzDjgpp_Wchar_HPatch[] = {
1761 #include <sys/djtypes.h>",
1762 "#include <stddef.h>",
1765 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1767 * Description of Ecd_Cursor fix
1769 #define ECD_CURSOR_FIXIDX 42
1770 tSCC zEcd_CursorName[] =
1774 * File name selection pattern
1776 tSCC zEcd_CursorList[] =
1777 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1779 * Machine/OS name selection pattern
1781 #define apzEcd_CursorMachs (const char**)NULL
1784 * content selection pattern - do fix if pattern found
1786 tSCC zEcd_CursorSelect0[] =
1789 #define ECD_CURSOR_TEST_CT 1
1790 static tTestDesc aEcd_CursorTests[] = {
1791 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1794 * Fix Command Arguments for Ecd_Cursor
1796 static const char* apzEcd_CursorPatch[] = {
1801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1803 * Description of Fix_Header_Breakage fix
1805 #define FIX_HEADER_BREAKAGE_FIXIDX 43
1806 tSCC zFix_Header_BreakageName[] =
1807 "fix_header_breakage";
1810 * File name selection pattern
1812 tSCC zFix_Header_BreakageList[] =
1815 * Machine/OS name selection pattern
1817 tSCC* apzFix_Header_BreakageMachs[] = {
1818 "m88k-motorola-sysv3*",
1819 (const char*)NULL };
1822 * content selection pattern - do fix if pattern found
1824 tSCC zFix_Header_BreakageSelect0[] =
1825 "extern double floor\\(\\), ceil\\(\\), fmod\\(\\), fabs\\(\\);";
1827 #define FIX_HEADER_BREAKAGE_TEST_CT 1
1828 static tTestDesc aFix_Header_BreakageTests[] = {
1829 { TT_EGREP, zFix_Header_BreakageSelect0, (regex_t*)NULL }, };
1832 * Fix Command Arguments for Fix_Header_Breakage
1834 static const char* apzFix_Header_BreakagePatch[] = {
1836 "extern double floor(), ceil(), fmod(), fabs _PARAMS((double));",
1839 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1841 * Description of Freebsd_Gcc3_Breakage fix
1843 #define FREEBSD_GCC3_BREAKAGE_FIXIDX 44
1844 tSCC zFreebsd_Gcc3_BreakageName[] =
1845 "freebsd_gcc3_breakage";
1848 * File name selection pattern
1850 tSCC zFreebsd_Gcc3_BreakageList[] =
1853 * Machine/OS name selection pattern
1855 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
1857 (const char*)NULL };
1860 * content selection pattern - do fix if pattern found
1862 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
1863 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
1866 * content bypass pattern - skip fix if pattern found
1868 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
1869 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
1871 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
1872 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
1873 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
1874 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
1877 * Fix Command Arguments for Freebsd_Gcc3_Breakage
1879 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
1881 "%0 || __GNUC__ >= 3",
1884 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1886 * Description of Hp_Inline fix
1888 #define HP_INLINE_FIXIDX 45
1889 tSCC zHp_InlineName[] =
1893 * File name selection pattern
1895 tSCC zHp_InlineList[] =
1896 "|sys/spinlock.h|machine/machparam.h|";
1898 * Machine/OS name selection pattern
1900 #define apzHp_InlineMachs (const char**)NULL
1903 * content selection pattern - do fix if pattern found
1905 tSCC zHp_InlineSelect0[] =
1906 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1908 #define HP_INLINE_TEST_CT 1
1909 static tTestDesc aHp_InlineTests[] = {
1910 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1913 * Fix Command Arguments for Hp_Inline
1915 static const char* apzHp_InlinePatch[] = {
1918 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1921 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1923 * Description of Hp_Sysfile fix
1925 #define HP_SYSFILE_FIXIDX 46
1926 tSCC zHp_SysfileName[] =
1930 * File name selection pattern
1932 tSCC zHp_SysfileList[] =
1935 * Machine/OS name selection pattern
1937 #define apzHp_SysfileMachs (const char**)NULL
1940 * content selection pattern - do fix if pattern found
1942 tSCC zHp_SysfileSelect0[] =
1945 #define HP_SYSFILE_TEST_CT 1
1946 static tTestDesc aHp_SysfileTests[] = {
1947 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
1950 * Fix Command Arguments for Hp_Sysfile
1952 static const char* apzHp_SysfilePatch[] = {
1954 "(struct file *, ...)",
1958 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1960 * Description of Hpux11_Fabsf fix
1962 #define HPUX11_FABSF_FIXIDX 47
1963 tSCC zHpux11_FabsfName[] =
1967 * File name selection pattern
1969 tSCC zHpux11_FabsfList[] =
1972 * Machine/OS name selection pattern
1974 #define apzHpux11_FabsfMachs (const char**)NULL
1977 * content selection pattern - do fix if pattern found
1979 tSCC zHpux11_FabsfSelect0[] =
1980 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
1983 * content bypass pattern - skip fix if pattern found
1985 tSCC zHpux11_FabsfBypass0[] =
1988 #define HPUX11_FABSF_TEST_CT 2
1989 static tTestDesc aHpux11_FabsfTests[] = {
1990 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
1991 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
1994 * Fix Command Arguments for Hpux11_Fabsf
1996 static const char* apzHpux11_FabsfPatch[] = {
1998 "#ifndef __cplusplus\n\
2003 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2005 * Description of Hpux11_Uint32_C fix
2007 #define HPUX11_UINT32_C_FIXIDX 48
2008 tSCC zHpux11_Uint32_CName[] =
2012 * File name selection pattern
2014 tSCC zHpux11_Uint32_CList[] =
2017 * Machine/OS name selection pattern
2019 #define apzHpux11_Uint32_CMachs (const char**)NULL
2022 * content selection pattern - do fix if pattern found
2024 tSCC zHpux11_Uint32_CSelect0[] =
2025 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2027 #define HPUX11_UINT32_C_TEST_CT 1
2028 static tTestDesc aHpux11_Uint32_CTests[] = {
2029 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2032 * Fix Command Arguments for Hpux11_Uint32_C
2034 static const char* apzHpux11_Uint32_CPatch[] = {
2036 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2039 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2041 * Description of Hpux8_Bogus_Inlines fix
2043 #define HPUX8_BOGUS_INLINES_FIXIDX 49
2044 tSCC zHpux8_Bogus_InlinesName[] =
2045 "hpux8_bogus_inlines";
2048 * File name selection pattern
2050 tSCC zHpux8_Bogus_InlinesList[] =
2053 * Machine/OS name selection pattern
2055 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2058 * content selection pattern - do fix if pattern found
2060 tSCC zHpux8_Bogus_InlinesSelect0[] =
2063 #define HPUX8_BOGUS_INLINES_TEST_CT 1
2064 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2065 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2068 * Fix Command Arguments for Hpux8_Bogus_Inlines
2070 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2071 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2072 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2073 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2074 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2079 * Description of Int_Abort_Free_And_Exit fix
2081 #define INT_ABORT_FREE_AND_EXIT_FIXIDX 50
2082 tSCC zInt_Abort_Free_And_ExitName[] =
2083 "int_abort_free_and_exit";
2086 * File name selection pattern
2088 tSCC zInt_Abort_Free_And_ExitList[] =
2091 * Machine/OS name selection pattern
2093 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2096 * content selection pattern - do fix if pattern found
2098 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2099 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2101 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2102 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2103 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2106 * Fix Command Arguments for Int_Abort_Free_And_Exit
2108 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2115 * Description of Isc_Omits_With_Stdc fix
2117 #define ISC_OMITS_WITH_STDC_FIXIDX 51
2118 tSCC zIsc_Omits_With_StdcName[] =
2119 "isc_omits_with_stdc";
2122 * File name selection pattern
2124 tSCC zIsc_Omits_With_StdcList[] =
2125 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
2127 * Machine/OS name selection pattern
2129 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
2132 * content selection pattern - do fix if pattern found
2134 tSCC zIsc_Omits_With_StdcSelect0[] =
2135 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
2137 #define ISC_OMITS_WITH_STDC_TEST_CT 1
2138 static tTestDesc aIsc_Omits_With_StdcTests[] = {
2139 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
2142 * Fix Command Arguments for Isc_Omits_With_Stdc
2144 static const char* apzIsc_Omits_With_StdcPatch[] = {
2146 "!defined(_POSIX_SOURCE)",
2149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2151 * Description of Io_Quotes_Def fix
2153 #define IO_QUOTES_DEF_FIXIDX 52
2154 tSCC zIo_Quotes_DefName[] =
2158 * File name selection pattern
2160 #define zIo_Quotes_DefList (char*)NULL
2162 * Machine/OS name selection pattern
2164 #define apzIo_Quotes_DefMachs (const char**)NULL
2167 * content selection pattern - do fix if pattern found
2169 tSCC zIo_Quotes_DefSelect0[] =
2170 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2172 #define IO_QUOTES_DEF_TEST_CT 1
2173 static tTestDesc aIo_Quotes_DefTests[] = {
2174 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2177 * Fix Command Arguments for Io_Quotes_Def
2179 static const char* apzIo_Quotes_DefPatch[] = {
2184 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2186 * Description of Io_Quotes_Use fix
2188 #define IO_QUOTES_USE_FIXIDX 53
2189 tSCC zIo_Quotes_UseName[] =
2193 * File name selection pattern
2195 #define zIo_Quotes_UseList (char*)NULL
2197 * Machine/OS name selection pattern
2199 #define apzIo_Quotes_UseMachs (const char**)NULL
2202 * content selection pattern - do fix if pattern found
2204 tSCC zIo_Quotes_UseSelect0[] =
2205 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2207 #define IO_QUOTES_USE_TEST_CT 1
2208 static tTestDesc aIo_Quotes_UseTests[] = {
2209 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2212 * Fix Command Arguments for Io_Quotes_Use
2214 static const char* apzIo_Quotes_UsePatch[] = {
2219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2221 * Description of Hpux_Maxint fix
2223 #define HPUX_MAXINT_FIXIDX 54
2224 tSCC zHpux_MaxintName[] =
2228 * File name selection pattern
2230 tSCC zHpux_MaxintList[] =
2231 "|sys/param.h|values.h|";
2233 * Machine/OS name selection pattern
2235 #define apzHpux_MaxintMachs (const char**)NULL
2238 * content selection pattern - do fix if pattern found
2240 tSCC zHpux_MaxintSelect0[] =
2241 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2244 * content bypass pattern - skip fix if pattern found
2246 tSCC zHpux_MaxintBypass0[] =
2247 "^#[ \t]*ifndef[ \t]+MAXINT";
2250 * perform the 'test' shell command - do fix on success
2252 tSCC zHpux_MaxintTest0[] =
2253 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2255 #define HPUX_MAXINT_TEST_CT 3
2256 static tTestDesc aHpux_MaxintTests[] = {
2257 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2258 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2259 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2262 * Fix Command Arguments for Hpux_Maxint
2264 static const char* apzHpux_MaxintPatch[] = {
2269 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2272 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2274 * Description of Hpux_Systime fix
2276 #define HPUX_SYSTIME_FIXIDX 55
2277 tSCC zHpux_SystimeName[] =
2281 * File name selection pattern
2283 tSCC zHpux_SystimeList[] =
2286 * Machine/OS name selection pattern
2288 #define apzHpux_SystimeMachs (const char**)NULL
2291 * content selection pattern - do fix if pattern found
2293 tSCC zHpux_SystimeSelect0[] =
2294 "^extern struct sigevent;";
2296 #define HPUX_SYSTIME_TEST_CT 1
2297 static tTestDesc aHpux_SystimeTests[] = {
2298 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2301 * Fix Command Arguments for Hpux_Systime
2303 static const char* apzHpux_SystimePatch[] = {
2308 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2310 * Description of Ip_Missing_Semi fix
2312 #define IP_MISSING_SEMI_FIXIDX 56
2313 tSCC zIp_Missing_SemiName[] =
2317 * File name selection pattern
2319 tSCC zIp_Missing_SemiList[] =
2322 * Machine/OS name selection pattern
2324 #define apzIp_Missing_SemiMachs (const char**)NULL
2327 * content selection pattern - do fix if pattern found
2329 tSCC zIp_Missing_SemiSelect0[] =
2332 #define IP_MISSING_SEMI_TEST_CT 1
2333 static tTestDesc aIp_Missing_SemiTests[] = {
2334 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2337 * Fix Command Arguments for Ip_Missing_Semi
2339 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2340 "-e", "/^struct/,/^};/s/}$/};/",
2343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2345 * Description of Irix_Asm_Apostrophe fix
2347 #define IRIX_ASM_APOSTROPHE_FIXIDX 57
2348 tSCC zIrix_Asm_ApostropheName[] =
2349 "irix_asm_apostrophe";
2352 * File name selection pattern
2354 tSCC zIrix_Asm_ApostropheList[] =
2357 * Machine/OS name selection pattern
2359 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2362 * content selection pattern - do fix if pattern found
2364 tSCC zIrix_Asm_ApostropheSelect0[] =
2365 "^[ \t]*#.*[Ww]e're";
2367 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2368 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2369 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2372 * Fix Command Arguments for Irix_Asm_Apostrophe
2374 static const char* apzIrix_Asm_ApostrophePatch[] = {
2377 "^([ \t]*#.*[Ww]e)'re",
2380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2382 * Description of Irix_Stdio_Va_List fix
2384 #define IRIX_STDIO_VA_LIST_FIXIDX 58
2385 tSCC zIrix_Stdio_Va_ListName[] =
2386 "irix_stdio_va_list";
2389 * File name selection pattern
2391 tSCC zIrix_Stdio_Va_ListList[] =
2394 * Machine/OS name selection pattern
2396 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
2399 * content selection pattern - do fix if pattern found
2401 tSCC zIrix_Stdio_Va_ListSelect0[] =
2402 "(printf\\(.*), /\\* va_list \\*/ char \\*";
2404 #define IRIX_STDIO_VA_LIST_TEST_CT 1
2405 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
2406 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
2409 * Fix Command Arguments for Irix_Stdio_Va_List
2411 static const char* apzIrix_Stdio_Va_ListPatch[] = {
2413 "%1, __gnuc_va_list",
2416 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2418 * Description of Irix_Limits_Const fix
2420 #define IRIX_LIMITS_CONST_FIXIDX 59
2421 tSCC zIrix_Limits_ConstName[] =
2422 "irix_limits_const";
2425 * File name selection pattern
2427 tSCC zIrix_Limits_ConstList[] =
2430 * Machine/OS name selection pattern
2432 #define apzIrix_Limits_ConstMachs (const char**)NULL
2435 * content selection pattern - do fix if pattern found
2437 tSCC zIrix_Limits_ConstSelect0[] =
2440 #define IRIX_LIMITS_CONST_TEST_CT 1
2441 static tTestDesc aIrix_Limits_ConstTests[] = {
2442 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
2445 * Fix Command Arguments for Irix_Limits_Const
2447 static const char* apzIrix_Limits_ConstPatch[] = {
2452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2454 * Description of Isc_Fmod fix
2456 #define ISC_FMOD_FIXIDX 60
2457 tSCC zIsc_FmodName[] =
2461 * File name selection pattern
2463 tSCC zIsc_FmodList[] =
2466 * Machine/OS name selection pattern
2468 #define apzIsc_FmodMachs (const char**)NULL
2471 * content selection pattern - do fix if pattern found
2473 tSCC zIsc_FmodSelect0[] =
2476 #define ISC_FMOD_TEST_CT 1
2477 static tTestDesc aIsc_FmodTests[] = {
2478 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
2481 * Fix Command Arguments for Isc_Fmod
2483 static const char* apzIsc_FmodPatch[] = {
2485 "fmod(double, double)",
2488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2490 * Description of Kandr_Concat fix
2492 #define KANDR_CONCAT_FIXIDX 61
2493 tSCC zKandr_ConcatName[] =
2497 * File name selection pattern
2499 tSCC zKandr_ConcatList[] =
2500 "|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|";
2502 * Machine/OS name selection pattern
2504 #define apzKandr_ConcatMachs (const char**)NULL
2507 * content selection pattern - do fix if pattern found
2509 tSCC zKandr_ConcatSelect0[] =
2512 #define KANDR_CONCAT_TEST_CT 1
2513 static tTestDesc aKandr_ConcatTests[] = {
2514 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
2517 * Fix Command Arguments for Kandr_Concat
2519 static const char* apzKandr_ConcatPatch[] = {
2524 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2526 * Description of Libc1_Ifdefd_Memx fix
2528 #define LIBC1_IFDEFD_MEMX_FIXIDX 62
2529 tSCC zLibc1_Ifdefd_MemxName[] =
2530 "libc1_ifdefd_memx";
2533 * File name selection pattern
2535 tSCC zLibc1_Ifdefd_MemxList[] =
2536 "|testing.h|string.h|";
2538 * Machine/OS name selection pattern
2540 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
2543 * content selection pattern - do fix if pattern found
2545 tSCC zLibc1_Ifdefd_MemxSelect0[] =
2546 "' is a built-in function for gcc 2\\.x\\. \\*/";
2549 * content bypass pattern - skip fix if pattern found
2551 tSCC zLibc1_Ifdefd_MemxBypass0[] =
2554 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
2555 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
2556 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
2557 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
2560 * Fix Command Arguments for Libc1_Ifdefd_Memx
2562 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
2565 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
2566 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
2568 extern [a-z_]+ mem.*(\n\
2573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2575 * Description of Limits_Ifndefs fix
2577 #define LIMITS_IFNDEFS_FIXIDX 63
2578 tSCC zLimits_IfndefsName[] =
2582 * File name selection pattern
2584 tSCC zLimits_IfndefsList[] =
2585 "|sys/limits.h|limits.h|";
2587 * Machine/OS name selection pattern
2589 #define apzLimits_IfndefsMachs (const char**)NULL
2592 * content bypass pattern - skip fix if pattern found
2594 tSCC zLimits_IfndefsBypass0[] =
2595 "ifndef[ \t]+FLT_MIN";
2597 #define LIMITS_IFNDEFS_TEST_CT 1
2598 static tTestDesc aLimits_IfndefsTests[] = {
2599 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
2602 * Fix Command Arguments for Limits_Ifndefs
2604 static const char* apzLimits_IfndefsPatch[] = {
2609 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*",
2612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2614 * Description of Lynx_Void_Int fix
2616 #define LYNX_VOID_INT_FIXIDX 64
2617 tSCC zLynx_Void_IntName[] =
2621 * File name selection pattern
2623 tSCC zLynx_Void_IntList[] =
2626 * Machine/OS name selection pattern
2628 #define apzLynx_Void_IntMachs (const char**)NULL
2631 * content selection pattern - do fix if pattern found
2633 tSCC zLynx_Void_IntSelect0[] =
2634 "#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
2636 #define LYNX_VOID_INT_TEST_CT 1
2637 static tTestDesc aLynx_Void_IntTests[] = {
2638 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
2641 * Fix Command Arguments for Lynx_Void_Int
2643 static const char* apzLynx_Void_IntPatch[] = {
2648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2650 * Description of Lynxos_Fcntl_Proto fix
2652 #define LYNXOS_FCNTL_PROTO_FIXIDX 65
2653 tSCC zLynxos_Fcntl_ProtoName[] =
2654 "lynxos_fcntl_proto";
2657 * File name selection pattern
2659 tSCC zLynxos_Fcntl_ProtoList[] =
2662 * Machine/OS name selection pattern
2664 #define apzLynxos_Fcntl_ProtoMachs (const char**)NULL
2667 * content selection pattern - do fix if pattern found
2669 tSCC zLynxos_Fcntl_ProtoSelect0[] =
2670 "fcntl[ \t]*\\(int, int, int\\)";
2672 #define LYNXOS_FCNTL_PROTO_TEST_CT 1
2673 static tTestDesc aLynxos_Fcntl_ProtoTests[] = {
2674 { TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
2677 * Fix Command Arguments for Lynxos_Fcntl_Proto
2679 static const char* apzLynxos_Fcntl_ProtoPatch[] = {
2682 "(fcntl[ \t]*\\(int, int, )int\\)",
2685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2687 * Description of M88k_Bad_Hypot_Opt fix
2689 #define M88K_BAD_HYPOT_OPT_FIXIDX 66
2690 tSCC zM88k_Bad_Hypot_OptName[] =
2691 "m88k_bad_hypot_opt";
2694 * File name selection pattern
2696 tSCC zM88k_Bad_Hypot_OptList[] =
2699 * Machine/OS name selection pattern
2701 tSCC* apzM88k_Bad_Hypot_OptMachs[] = {
2702 "m88k-motorola-sysv3*",
2703 (const char*)NULL };
2706 * content selection pattern - do fix if pattern found
2708 tSCC zM88k_Bad_Hypot_OptSelect0[] =
2709 "^extern double hypot\\(\\);\n";
2711 #define M88K_BAD_HYPOT_OPT_TEST_CT 1
2712 static tTestDesc aM88k_Bad_Hypot_OptTests[] = {
2713 { TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
2716 * Fix Command Arguments for M88k_Bad_Hypot_Opt
2718 static const char* apzM88k_Bad_Hypot_OptPatch[] = {
2720 "%0/* Workaround a stupid Motorola optimization if one\n\
2721 of x or y is 0.0 and the other is negative! */\n\
2723 static __inline__ double fake_hypot (double x, double y)\n\
2725 static __inline__ double fake_hypot (x, y)\n\
2729 \treturn fabs (hypot (x, y));\n\
2731 #define hypot\tfake_hypot\n",
2734 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2736 * Description of M88k_Bad_S_If fix
2738 #define M88K_BAD_S_IF_FIXIDX 67
2739 tSCC zM88k_Bad_S_IfName[] =
2743 * File name selection pattern
2745 tSCC zM88k_Bad_S_IfList[] =
2748 * Machine/OS name selection pattern
2750 tSCC* apzM88k_Bad_S_IfMachs[] = {
2752 (const char*)NULL };
2755 * content selection pattern - do fix if pattern found
2757 tSCC zM88k_Bad_S_IfSelect0[] =
2758 "#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
2760 #define M88K_BAD_S_IF_TEST_CT 1
2761 static tTestDesc aM88k_Bad_S_IfTests[] = {
2762 { TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
2765 * Fix Command Arguments for M88k_Bad_S_If
2767 static const char* apzM88k_Bad_S_IfPatch[] = {
2769 "#define %1(m) (((m) & S_IFMT) == %2)",
2770 "#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
2773 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2775 * Description of M88k_Multi_Incl fix
2777 #define M88K_MULTI_INCL_FIXIDX 68
2778 tSCC zM88k_Multi_InclName[] =
2782 * File name selection pattern
2784 tSCC zM88k_Multi_InclList[] =
2787 * Machine/OS name selection pattern
2789 tSCC* apzM88k_Multi_InclMachs[] = {
2790 "m88k-tektronix-sysv3*",
2791 (const char*)NULL };
2794 * content bypass pattern - skip fix if pattern found
2796 tSCC zM88k_Multi_InclBypass0[] =
2799 #define M88K_MULTI_INCL_TEST_CT 1
2800 static tTestDesc aM88k_Multi_InclTests[] = {
2801 { TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
2804 * Fix Command Arguments for M88k_Multi_Incl
2806 static const char* apzM88k_Multi_InclPatch[] = {
2810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2812 * Description of Machine_Ansi_H_Va_List fix
2814 #define MACHINE_ANSI_H_VA_LIST_FIXIDX 69
2815 tSCC zMachine_Ansi_H_Va_ListName[] =
2816 "machine_ansi_h_va_list";
2819 * File name selection pattern
2821 #define zMachine_Ansi_H_Va_ListList (char*)NULL
2823 * Machine/OS name selection pattern
2825 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
2828 * content selection pattern - do fix if pattern found
2830 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
2831 "define[ \t]+_BSD_VA_LIST_[ \t]";
2834 * content bypass pattern - skip fix if pattern found
2836 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
2837 "__builtin_va_list";
2839 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
2840 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
2841 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
2842 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
2845 * Fix Command Arguments for Machine_Ansi_H_Va_List
2847 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
2849 "%1__builtin_va_list",
2850 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
2853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2855 * Description of Machine_Name fix
2857 #define MACHINE_NAME_FIXIDX 70
2858 tSCC zMachine_NameName[] =
2862 * File name selection pattern
2864 #define zMachine_NameList (char*)NULL
2866 * Machine/OS name selection pattern
2868 #define apzMachine_NameMachs (const char**)NULL
2871 * perform the C function call test
2873 tSCC zMachine_NameFTst0[] = "machine_name";
2875 #define MACHINE_NAME_TEST_CT 1
2876 static tTestDesc aMachine_NameTests[] = {
2877 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
2880 * Fix Command Arguments for Machine_Name
2882 static const char* apzMachine_NamePatch[] = {
2886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2888 * Description of Math_Exception fix
2890 #define MATH_EXCEPTION_FIXIDX 71
2891 tSCC zMath_ExceptionName[] =
2895 * File name selection pattern
2897 tSCC zMath_ExceptionList[] =
2900 * Machine/OS name selection pattern
2902 #define apzMath_ExceptionMachs (const char**)NULL
2905 * content selection pattern - do fix if pattern found
2907 tSCC zMath_ExceptionSelect0[] =
2911 * content bypass pattern - skip fix if pattern found
2913 tSCC zMath_ExceptionBypass0[] =
2914 "We have a problem when using C\\+\\+";
2916 #define MATH_EXCEPTION_TEST_CT 2
2917 static tTestDesc aMath_ExceptionTests[] = {
2918 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
2919 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
2922 * Fix Command Arguments for Math_Exception
2924 static const char* apzMath_ExceptionPatch[] = {
2926 "#ifdef __cplusplus\n\
2927 #define exception __math_exception\n\
2929 "#ifdef __cplusplus\n\
2934 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2936 * Description of Math_Huge_Val_From_Dbl_Max fix
2938 #define MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX 72
2939 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
2940 "math_huge_val_from_dbl_max";
2943 * File name selection pattern
2945 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
2948 * Machine/OS name selection pattern
2950 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
2953 * content selection pattern - do fix if pattern found
2955 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
2956 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
2959 * content bypass pattern - skip fix if pattern found
2961 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
2962 "define[ \t]+DBL_MAX";
2964 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
2965 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
2966 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
2967 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
2970 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
2972 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
2973 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
2974 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
2975 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
2980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2982 * Description of Math_Huge_Val_Ifndef fix
2984 #define MATH_HUGE_VAL_IFNDEF_FIXIDX 73
2985 tSCC zMath_Huge_Val_IfndefName[] =
2986 "math_huge_val_ifndef";
2989 * File name selection pattern
2991 tSCC zMath_Huge_Val_IfndefList[] =
2992 "|math.h|math/math.h|";
2994 * Machine/OS name selection pattern
2996 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
2999 * content selection pattern - do fix if pattern found
3001 tSCC zMath_Huge_Val_IfndefSelect0[] =
3002 "define[ \t]+HUGE_VAL";
3004 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
3005 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
3006 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
3009 * Fix Command Arguments for Math_Huge_Val_Ifndef
3011 static const char* apzMath_Huge_Val_IfndefPatch[] = {
3013 "#ifndef HUGE_VAL\n\
3016 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
3019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3021 * Description of Nested_Motorola fix
3023 #define NESTED_MOTOROLA_FIXIDX 74
3024 tSCC zNested_MotorolaName[] =
3028 * File name selection pattern
3030 tSCC zNested_MotorolaList[] =
3031 "|sys/limits.h|limits.h|";
3033 * Machine/OS name selection pattern
3035 tSCC* apzNested_MotorolaMachs[] = {
3036 "m68k-motorola-sysv*",
3037 (const char*)NULL };
3040 * content selection pattern - do fix if pattern found
3042 tSCC zNested_MotorolaSelect0[] =
3043 "max # bytes atomic in write|error value returned by Math lib";
3045 #define NESTED_MOTOROLA_TEST_CT 1
3046 static tTestDesc aNested_MotorolaTests[] = {
3047 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3050 * Fix Command Arguments for Nested_Motorola
3052 static const char* apzNested_MotorolaPatch[] = { "sed",
3053 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3054 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3059 * Description of Nested_Sys_Limits fix
3061 #define NESTED_SYS_LIMITS_FIXIDX 75
3062 tSCC zNested_Sys_LimitsName[] =
3063 "nested_sys_limits";
3066 * File name selection pattern
3068 tSCC zNested_Sys_LimitsList[] =
3071 * Machine/OS name selection pattern
3073 #define apzNested_Sys_LimitsMachs (const char**)NULL
3076 * content selection pattern - do fix if pattern found
3078 tSCC zNested_Sys_LimitsSelect0[] =
3081 #define NESTED_SYS_LIMITS_TEST_CT 1
3082 static tTestDesc aNested_Sys_LimitsTests[] = {
3083 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3086 * Fix Command Arguments for Nested_Sys_Limits
3088 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3089 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3090 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3095 * Description of Nested_Auth_Des fix
3097 #define NESTED_AUTH_DES_FIXIDX 76
3098 tSCC zNested_Auth_DesName[] =
3102 * File name selection pattern
3104 tSCC zNested_Auth_DesList[] =
3107 * Machine/OS name selection pattern
3109 #define apzNested_Auth_DesMachs (const char**)NULL
3112 * content selection pattern - do fix if pattern found
3114 tSCC zNested_Auth_DesSelect0[] =
3115 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3117 #define NESTED_AUTH_DES_TEST_CT 1
3118 static tTestDesc aNested_Auth_DesTests[] = {
3119 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3122 * Fix Command Arguments for Nested_Auth_Des
3124 static const char* apzNested_Auth_DesPatch[] = {
3129 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3131 * Description of News_Os_Recursion fix
3133 #define NEWS_OS_RECURSION_FIXIDX 77
3134 tSCC zNews_Os_RecursionName[] =
3135 "news_os_recursion";
3138 * File name selection pattern
3140 tSCC zNews_Os_RecursionList[] =
3143 * Machine/OS name selection pattern
3145 #define apzNews_Os_RecursionMachs (const char**)NULL
3148 * content selection pattern - do fix if pattern found
3150 tSCC zNews_Os_RecursionSelect0[] =
3151 "[ \t]*#include <stdlib\\.h>.*";
3153 #define NEWS_OS_RECURSION_TEST_CT 1
3154 static tTestDesc aNews_Os_RecursionTests[] = {
3155 { TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
3158 * Fix Command Arguments for News_Os_Recursion
3160 static const char* apzNews_Os_RecursionPatch[] = {
3162 "#ifdef BOGUS_RECURSION\n\
3167 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3169 * Description of Next_Math_Prefix fix
3171 #define NEXT_MATH_PREFIX_FIXIDX 78
3172 tSCC zNext_Math_PrefixName[] =
3176 * File name selection pattern
3178 tSCC zNext_Math_PrefixList[] =
3181 * Machine/OS name selection pattern
3183 #define apzNext_Math_PrefixMachs (const char**)NULL
3186 * content selection pattern - do fix if pattern found
3188 tSCC zNext_Math_PrefixSelect0[] =
3189 "^extern[ \t]+double[ \t]+__const__[ \t]";
3191 #define NEXT_MATH_PREFIX_TEST_CT 1
3192 static tTestDesc aNext_Math_PrefixTests[] = {
3193 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3196 * Fix Command Arguments for Next_Math_Prefix
3198 static const char* apzNext_Math_PrefixPatch[] = {
3200 "extern double %1(",
3201 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3206 * Description of Next_Template fix
3208 #define NEXT_TEMPLATE_FIXIDX 79
3209 tSCC zNext_TemplateName[] =
3213 * File name selection pattern
3215 tSCC zNext_TemplateList[] =
3218 * Machine/OS name selection pattern
3220 #define apzNext_TemplateMachs (const char**)NULL
3223 * content selection pattern - do fix if pattern found
3225 tSCC zNext_TemplateSelect0[] =
3228 #define NEXT_TEMPLATE_TEST_CT 1
3229 static tTestDesc aNext_TemplateTests[] = {
3230 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3233 * Fix Command Arguments for Next_Template
3235 static const char* apzNext_TemplatePatch[] = {
3238 "\\(([^)]*)[ \t]template\\)",
3241 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3243 * Description of Next_Volitile fix
3245 #define NEXT_VOLITILE_FIXIDX 80
3246 tSCC zNext_VolitileName[] =
3250 * File name selection pattern
3252 tSCC zNext_VolitileList[] =
3255 * Machine/OS name selection pattern
3257 #define apzNext_VolitileMachs (const char**)NULL
3260 * content selection pattern - do fix if pattern found
3262 tSCC zNext_VolitileSelect0[] =
3263 "^extern[ \t]+volatile[ \t]+void[ \t]";
3265 #define NEXT_VOLITILE_TEST_CT 1
3266 static tTestDesc aNext_VolitileTests[] = {
3267 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3270 * Fix Command Arguments for Next_Volitile
3272 static const char* apzNext_VolitilePatch[] = {
3275 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3278 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3280 * Description of Next_Wait_Union fix
3282 #define NEXT_WAIT_UNION_FIXIDX 81
3283 tSCC zNext_Wait_UnionName[] =
3287 * File name selection pattern
3289 tSCC zNext_Wait_UnionList[] =
3292 * Machine/OS name selection pattern
3294 #define apzNext_Wait_UnionMachs (const char**)NULL
3297 * content selection pattern - do fix if pattern found
3299 tSCC zNext_Wait_UnionSelect0[] =
3300 "wait\\(union wait";
3302 #define NEXT_WAIT_UNION_TEST_CT 1
3303 static tTestDesc aNext_Wait_UnionTests[] = {
3304 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3307 * Fix Command Arguments for Next_Wait_Union
3309 static const char* apzNext_Wait_UnionPatch[] = {
3314 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3316 * Description of Nodeent_Syntax fix
3318 #define NODEENT_SYNTAX_FIXIDX 82
3319 tSCC zNodeent_SyntaxName[] =
3323 * File name selection pattern
3325 tSCC zNodeent_SyntaxList[] =
3326 "|netdnet/dnetdb.h|";
3328 * Machine/OS name selection pattern
3330 #define apzNodeent_SyntaxMachs (const char**)NULL
3333 * content selection pattern - do fix if pattern found
3335 tSCC zNodeent_SyntaxSelect0[] =
3336 "char[ \t]*\\*na_addr[ \t]*$";
3338 #define NODEENT_SYNTAX_TEST_CT 1
3339 static tTestDesc aNodeent_SyntaxTests[] = {
3340 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3343 * Fix Command Arguments for Nodeent_Syntax
3345 static const char* apzNodeent_SyntaxPatch[] = {
3350 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3352 * Description of Osf_Namespace_A fix
3354 #define OSF_NAMESPACE_A_FIXIDX 83
3355 tSCC zOsf_Namespace_AName[] =
3359 * File name selection pattern
3361 tSCC zOsf_Namespace_AList[] =
3362 "|reg_types.h|sys/lc_core.h|";
3364 * Machine/OS name selection pattern
3366 #define apzOsf_Namespace_AMachs (const char**)NULL
3369 * perform the 'test' shell command - do fix on success
3371 tSCC zOsf_Namespace_ATest0[] =
3373 tSCC zOsf_Namespace_ATest1[] =
3374 " -r sys/lc_core.h";
3375 tSCC zOsf_Namespace_ATest2[] =
3376 " -n \"`grep '} regex_t;' reg_types.h`\"";
3377 tSCC zOsf_Namespace_ATest3[] =
3378 " -z \"`grep __regex_t regex.h`\"";
3380 #define OSF_NAMESPACE_A_TEST_CT 4
3381 static tTestDesc aOsf_Namespace_ATests[] = {
3382 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
3383 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
3384 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
3385 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
3388 * Fix Command Arguments for Osf_Namespace_A
3390 static const char* apzOsf_Namespace_APatch[] = {
3393 "reg(ex|off|match)_t",
3396 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3398 * Description of Osf_Namespace_C fix
3400 #define OSF_NAMESPACE_C_FIXIDX 84
3401 tSCC zOsf_Namespace_CName[] =
3405 * File name selection pattern
3407 tSCC zOsf_Namespace_CList[] =
3410 * Machine/OS name selection pattern
3412 #define apzOsf_Namespace_CMachs (const char**)NULL
3415 * content selection pattern - do fix if pattern found
3417 tSCC zOsf_Namespace_CSelect0[] =
3418 "#include <reg_types.h>.*";
3421 * perform the 'test' shell command - do fix on success
3423 tSCC zOsf_Namespace_CTest0[] =
3425 tSCC zOsf_Namespace_CTest1[] =
3426 " -r sys/lc_core.h";
3427 tSCC zOsf_Namespace_CTest2[] =
3428 " -n \"`grep '} regex_t;' reg_types.h`\"";
3429 tSCC zOsf_Namespace_CTest3[] =
3430 " -z \"`grep __regex_t regex.h`\"";
3432 #define OSF_NAMESPACE_C_TEST_CT 5
3433 static tTestDesc aOsf_Namespace_CTests[] = {
3434 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
3435 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
3436 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
3437 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
3438 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
3441 * Fix Command Arguments for Osf_Namespace_C
3443 static const char* apzOsf_Namespace_CPatch[] = {
3446 typedef __regex_t\tregex_t;\n\
3447 typedef __regoff_t\tregoff_t;\n\
3448 typedef __regmatch_t\tregmatch_t;",
3451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3453 * Description of Pthread_Page_Size fix
3455 #define PTHREAD_PAGE_SIZE_FIXIDX 85
3456 tSCC zPthread_Page_SizeName[] =
3457 "pthread_page_size";
3460 * File name selection pattern
3462 tSCC zPthread_Page_SizeList[] =
3465 * Machine/OS name selection pattern
3467 #define apzPthread_Page_SizeMachs (const char**)NULL
3470 * content selection pattern - do fix if pattern found
3472 tSCC zPthread_Page_SizeSelect0[] =
3475 #define PTHREAD_PAGE_SIZE_TEST_CT 1
3476 static tTestDesc aPthread_Page_SizeTests[] = {
3477 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
3480 * Fix Command Arguments for Pthread_Page_Size
3482 static const char* apzPthread_Page_SizePatch[] = {
3487 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3489 * Description of Read_Ret_Type fix
3491 #define READ_RET_TYPE_FIXIDX 86
3492 tSCC zRead_Ret_TypeName[] =
3496 * File name selection pattern
3498 tSCC zRead_Ret_TypeList[] =
3501 * Machine/OS name selection pattern
3503 #define apzRead_Ret_TypeMachs (const char**)NULL
3506 * content selection pattern - do fix if pattern found
3508 tSCC zRead_Ret_TypeSelect0[] =
3509 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
3511 #define READ_RET_TYPE_TEST_CT 1
3512 static tTestDesc aRead_Ret_TypeTests[] = {
3513 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
3516 * Fix Command Arguments for Read_Ret_Type
3518 static const char* apzRead_Ret_TypePatch[] = {
3520 "extern unsigned int fread(), fwrite();\n\
3522 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
3525 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3527 * Description of Rs6000_Double fix
3529 #define RS6000_DOUBLE_FIXIDX 87
3530 tSCC zRs6000_DoubleName[] =
3534 * File name selection pattern
3536 tSCC zRs6000_DoubleList[] =
3539 * Machine/OS name selection pattern
3541 #define apzRs6000_DoubleMachs (const char**)NULL
3544 * content selection pattern - do fix if pattern found
3546 tSCC zRs6000_DoubleSelect0[] =
3547 "[^a-zA-Z_]class\\(";
3549 #define RS6000_DOUBLE_TEST_CT 1
3550 static tTestDesc aRs6000_DoubleTests[] = {
3551 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
3554 * Fix Command Arguments for Rs6000_Double
3556 static const char* apzRs6000_DoublePatch[] = {
3558 "#ifndef __cplusplus\n\
3561 "^.*[^a-zA-Z_]class\\(.*",
3564 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3566 * Description of Rs6000_Fchmod fix
3568 #define RS6000_FCHMOD_FIXIDX 88
3569 tSCC zRs6000_FchmodName[] =
3573 * File name selection pattern
3575 tSCC zRs6000_FchmodList[] =
3578 * Machine/OS name selection pattern
3580 #define apzRs6000_FchmodMachs (const char**)NULL
3583 * content selection pattern - do fix if pattern found
3585 tSCC zRs6000_FchmodSelect0[] =
3586 "fchmod\\(char \\*";
3588 #define RS6000_FCHMOD_TEST_CT 1
3589 static tTestDesc aRs6000_FchmodTests[] = {
3590 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
3593 * Fix Command Arguments for Rs6000_Fchmod
3595 static const char* apzRs6000_FchmodPatch[] = {
3600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3602 * Description of Rs6000_Param fix
3604 #define RS6000_PARAM_FIXIDX 89
3605 tSCC zRs6000_ParamName[] =
3609 * File name selection pattern
3611 tSCC zRs6000_ParamList[] =
3612 "|stdio.h|unistd.h|";
3614 * Machine/OS name selection pattern
3616 #define apzRs6000_ParamMachs (const char**)NULL
3619 * content selection pattern - do fix if pattern found
3621 tSCC zRs6000_ParamSelect0[] =
3622 "rename\\(const char \\*old, const char \\*new\\)";
3624 #define RS6000_PARAM_TEST_CT 1
3625 static tTestDesc aRs6000_ParamTests[] = {
3626 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
3629 * Fix Command Arguments for Rs6000_Param
3631 static const char* apzRs6000_ParamPatch[] = {
3633 "rename(const char *_old, const char *_new)",
3636 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3638 * Description of Sco_Static_Func fix
3640 #define SCO_STATIC_FUNC_FIXIDX 90
3641 tSCC zSco_Static_FuncName[] =
3645 * File name selection pattern
3647 tSCC zSco_Static_FuncList[] =
3650 * Machine/OS name selection pattern
3652 tSCC* apzSco_Static_FuncMachs[] = {
3654 (const char*)NULL };
3657 * content selection pattern - do fix if pattern found
3659 tSCC zSco_Static_FuncSelect0[] =
3662 #define SCO_STATIC_FUNC_TEST_CT 1
3663 static tTestDesc aSco_Static_FuncTests[] = {
3664 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
3667 * Fix Command Arguments for Sco_Static_Func
3669 static const char* apzSco_Static_FuncPatch[] = { "sed",
3670 "-e", "/^static int/i\\\n\
3671 #if __cplusplus\\\n\
3673 #endif /* __cplusplus */",
3675 #if __cplusplus\\\n\
3677 #endif /* __cplusplus */",
3680 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3682 * Description of Strict_Ansi_Not fix
3684 #define STRICT_ANSI_NOT_FIXIDX 91
3685 tSCC zStrict_Ansi_NotName[] =
3689 * File name selection pattern
3691 #define zStrict_Ansi_NotList (char*)NULL
3693 * Machine/OS name selection pattern
3695 #define apzStrict_Ansi_NotMachs (const char**)NULL
3698 * content selection pattern - do fix if pattern found
3700 tSCC zStrict_Ansi_NotSelect0[] =
3701 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)(.*)";
3704 * perform the C function call test
3706 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
3708 #define STRICT_ANSI_NOT_TEST_CT 2
3709 static tTestDesc aStrict_Ansi_NotTests[] = {
3710 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
3711 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
3714 * Fix Command Arguments for Strict_Ansi_Not
3716 static const char* apzStrict_Ansi_NotPatch[] = {
3718 "%1 !defined(__STRICT_ANSI__)%3",
3721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3723 * Description of Strict_Ansi_Not_Ctd fix
3725 #define STRICT_ANSI_NOT_CTD_FIXIDX 92
3726 tSCC zStrict_Ansi_Not_CtdName[] =
3727 "strict_ansi_not_ctd";
3730 * File name selection pattern
3732 tSCC zStrict_Ansi_Not_CtdList[] =
3733 "|limits.h|math.h|stdio.h|signal.h|stdlib.h|time.h|";
3735 * Machine/OS name selection pattern
3737 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
3740 * content selection pattern - do fix if pattern found
3742 tSCC zStrict_Ansi_Not_CtdSelect0[] =
3743 "^([ \t]*[|&][|&][ \t(]*)(__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)(.*)";
3746 * perform the C function call test
3748 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
3750 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
3751 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
3752 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
3753 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
3756 * Fix Command Arguments for Strict_Ansi_Not_Ctd
3758 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
3760 "%1 !defined(__STRICT_ANSI__)%3",
3763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3765 * Description of Strict_Ansi_Only fix
3767 #define STRICT_ANSI_ONLY_FIXIDX 93
3768 tSCC zStrict_Ansi_OnlyName[] =
3772 * File name selection pattern
3774 #define zStrict_Ansi_OnlyList (char*)NULL
3776 * Machine/OS name selection pattern
3778 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
3781 * content selection pattern - do fix if pattern found
3783 tSCC zStrict_Ansi_OnlySelect0[] =
3784 "^([ \t]*#[ \t]*if.*)(__STDC__[ \t]*!=[ \t]*0|__STDC__[ \t]*==[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*!=[ \t]*0)(.*)";
3787 * perform the C function call test
3789 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
3791 #define STRICT_ANSI_ONLY_TEST_CT 2
3792 static tTestDesc aStrict_Ansi_OnlyTests[] = {
3793 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
3794 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
3797 * Fix Command Arguments for Strict_Ansi_Only
3799 static const char* apzStrict_Ansi_OnlyPatch[] = {
3801 "%1 defined(__STRICT_ANSI__)%3",
3804 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3806 * Description of Sco_Utime fix
3808 #define SCO_UTIME_FIXIDX 94
3809 tSCC zSco_UtimeName[] =
3813 * File name selection pattern
3815 tSCC zSco_UtimeList[] =
3818 * Machine/OS name selection pattern
3820 tSCC* apzSco_UtimeMachs[] = {
3822 (const char*)NULL };
3825 * content selection pattern - do fix if pattern found
3827 tSCC zSco_UtimeSelect0[] =
3828 "\\(const char \\*, struct utimbuf \\*\\);";
3830 #define SCO_UTIME_TEST_CT 1
3831 static tTestDesc aSco_UtimeTests[] = {
3832 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
3835 * Fix Command Arguments for Sco_Utime
3837 static const char* apzSco_UtimePatch[] = {
3839 "(const char *, const struct utimbuf *);",
3842 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3844 * Description of Solaris27_Mutex_Init fix
3846 #define SOLARIS27_MUTEX_INIT_FIXIDX 95
3847 tSCC zSolaris27_Mutex_InitName[] =
3848 "solaris27_mutex_init";
3851 * File name selection pattern
3853 tSCC zSolaris27_Mutex_InitList[] =
3856 * Machine/OS name selection pattern
3858 #define apzSolaris27_Mutex_InitMachs (const char**)NULL
3861 * content selection pattern - do fix if pattern found
3863 tSCC zSolaris27_Mutex_InitSelect0[] =
3864 "@\\(#\\)pthread.h[ \t]+1.26[ \t]+98/04/12 SMI";
3866 #define SOLARIS27_MUTEX_INIT_TEST_CT 1
3867 static tTestDesc aSolaris27_Mutex_InitTests[] = {
3868 { TT_EGREP, zSolaris27_Mutex_InitSelect0, (regex_t*)NULL }, };
3871 * Fix Command Arguments for Solaris27_Mutex_Init
3873 static const char* apzSolaris27_Mutex_InitPatch[] = {
3876 "(define[ \t]+PTHREAD_MUTEX_INITIALIZER.*),[ \t]*0}$",
3879 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3881 * Description of Statsswtch fix
3883 #define STATSSWTCH_FIXIDX 96
3884 tSCC zStatsswtchName[] =
3888 * File name selection pattern
3890 tSCC zStatsswtchList[] =
3893 * Machine/OS name selection pattern
3895 #define apzStatsswtchMachs (const char**)NULL
3898 * content selection pattern - do fix if pattern found
3900 tSCC zStatsswtchSelect0[] =
3903 #define STATSSWTCH_TEST_CT 1
3904 static tTestDesc aStatsswtchTests[] = {
3905 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
3908 * Fix Command Arguments for Statsswtch
3910 static const char* apzStatsswtchPatch[] = {
3915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3917 * Description of Stdio_Stdarg_H fix
3919 #define STDIO_STDARG_H_FIXIDX 97
3920 tSCC zStdio_Stdarg_HName[] =
3924 * File name selection pattern
3926 tSCC zStdio_Stdarg_HList[] =
3929 * Machine/OS name selection pattern
3931 #define apzStdio_Stdarg_HMachs (const char**)NULL
3934 * content bypass pattern - skip fix if pattern found
3936 tSCC zStdio_Stdarg_HBypass0[] =
3937 "include.*(stdarg.h|machine/ansi.h)";
3939 #define STDIO_STDARG_H_TEST_CT 1
3940 static tTestDesc aStdio_Stdarg_HTests[] = {
3941 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
3944 * Fix Command Arguments for Stdio_Stdarg_H
3946 static const char* apzStdio_Stdarg_HPatch[] = {
3948 "#define __need___va_list\n\
3949 #include <stdarg.h>\n",
3952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3954 * Description of Stdio_Va_List fix
3956 #define STDIO_VA_LIST_FIXIDX 98
3957 tSCC zStdio_Va_ListName[] =
3961 * File name selection pattern
3963 tSCC zStdio_Va_ListList[] =
3966 * Machine/OS name selection pattern
3968 #define apzStdio_Va_ListMachs (const char**)NULL
3971 * content bypass pattern - skip fix if pattern found
3973 tSCC zStdio_Va_ListBypass0[] =
3974 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list";
3976 #define STDIO_VA_LIST_TEST_CT 1
3977 static tTestDesc aStdio_Va_ListTests[] = {
3978 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
3981 * Fix Command Arguments for Stdio_Va_List
3983 static const char* apzStdio_Va_ListPatch[] = { "sed",
3984 "-e", "s@ va_list @ __gnuc_va_list @\n\
3985 s@ va_list)@ __gnuc_va_list)@\n\
3986 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
3987 s@ va_list@ __not_va_list__@\n\
3988 s@\\*va_list@*__not_va_list__@\n\
3989 s@ __va_list)@ __gnuc_va_list)@\n\
3990 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
3991 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
3992 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
3993 s@VA_LIST@DUMMY_VA_LIST@\n\
3994 s@_Va_LIST@_VA_LIST@",
3997 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3999 * Description of Struct_File fix
4001 #define STRUCT_FILE_FIXIDX 99
4002 tSCC zStruct_FileName[] =
4006 * File name selection pattern
4008 tSCC zStruct_FileList[] =
4011 * Machine/OS name selection pattern
4013 #define apzStruct_FileMachs (const char**)NULL
4016 * content selection pattern - do fix if pattern found
4018 tSCC zStruct_FileSelect0[] =
4019 "^.*xdrstdio_create.*struct __file_s";
4021 #define STRUCT_FILE_TEST_CT 1
4022 static tTestDesc aStruct_FileTests[] = {
4023 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
4026 * Fix Command Arguments for Struct_File
4028 static const char* apzStruct_FilePatch[] = {
4030 "struct __file_s;\n\
4034 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4036 * Description of Struct_Sockaddr fix
4038 #define STRUCT_SOCKADDR_FIXIDX 100
4039 tSCC zStruct_SockaddrName[] =
4043 * File name selection pattern
4045 tSCC zStruct_SockaddrList[] =
4048 * Machine/OS name selection pattern
4050 #define apzStruct_SockaddrMachs (const char**)NULL
4053 * content selection pattern - do fix if pattern found
4055 tSCC zStruct_SockaddrSelect0[] =
4056 "^.*authdes_create.*struct sockaddr";
4059 * content bypass pattern - skip fix if pattern found
4061 tSCC zStruct_SockaddrBypass0[] =
4064 #define STRUCT_SOCKADDR_TEST_CT 2
4065 static tTestDesc aStruct_SockaddrTests[] = {
4066 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
4067 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
4070 * Fix Command Arguments for Struct_Sockaddr
4072 static const char* apzStruct_SockaddrPatch[] = {
4074 "struct sockaddr;\n\
4078 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4080 * Description of Sun_Auth_Proto fix
4082 #define SUN_AUTH_PROTO_FIXIDX 101
4083 tSCC zSun_Auth_ProtoName[] =
4087 * File name selection pattern
4089 tSCC zSun_Auth_ProtoList[] =
4090 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
4092 * Machine/OS name selection pattern
4094 #define apzSun_Auth_ProtoMachs (const char**)NULL
4097 * content selection pattern - do fix if pattern found
4099 tSCC zSun_Auth_ProtoSelect0[] =
4100 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
4102 #define SUN_AUTH_PROTO_TEST_CT 1
4103 static tTestDesc aSun_Auth_ProtoTests[] = {
4104 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
4107 * Fix Command Arguments for Sun_Auth_Proto
4109 static const char* apzSun_Auth_ProtoPatch[] = {
4111 "#ifdef __cplusplus\n\
4116 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
4119 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4121 * Description of Sun_Bogus_Ifdef fix
4123 #define SUN_BOGUS_IFDEF_FIXIDX 102
4124 tSCC zSun_Bogus_IfdefName[] =
4128 * File name selection pattern
4130 tSCC zSun_Bogus_IfdefList[] =
4131 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
4133 * Machine/OS name selection pattern
4135 #define apzSun_Bogus_IfdefMachs (const char**)NULL
4138 * content selection pattern - do fix if pattern found
4140 tSCC zSun_Bogus_IfdefSelect0[] =
4141 "#ifdef(.*\\|\\|.*)";
4143 #define SUN_BOGUS_IFDEF_TEST_CT 1
4144 static tTestDesc aSun_Bogus_IfdefTests[] = {
4145 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
4148 * Fix Command Arguments for Sun_Bogus_Ifdef
4150 static const char* apzSun_Bogus_IfdefPatch[] = {
4155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4157 * Description of Sun_Catmacro fix
4159 #define SUN_CATMACRO_FIXIDX 103
4160 tSCC zSun_CatmacroName[] =
4164 * File name selection pattern
4166 tSCC zSun_CatmacroList[] =
4167 "|pixrect/memvar.h|";
4169 * Machine/OS name selection pattern
4171 #define apzSun_CatmacroMachs (const char**)NULL
4174 * content selection pattern - do fix if pattern found
4176 tSCC zSun_CatmacroSelect0[] =
4177 "^#define[ \t]+CAT\\(a,b\\).*";
4179 #define SUN_CATMACRO_TEST_CT 1
4180 static tTestDesc aSun_CatmacroTests[] = {
4181 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
4184 * Fix Command Arguments for Sun_Catmacro
4186 static const char* apzSun_CatmacroPatch[] = {
4189 # define CAT(a,b) a##b\n\
4195 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4197 * Description of Sun_Malloc fix
4199 #define SUN_MALLOC_FIXIDX 104
4200 tSCC zSun_MallocName[] =
4204 * File name selection pattern
4206 tSCC zSun_MallocList[] =
4209 * Machine/OS name selection pattern
4211 #define apzSun_MallocMachs (const char**)NULL
4212 #define SUN_MALLOC_TEST_CT 0
4213 #define aSun_MallocTests (tTestDesc*)NULL
4216 * Fix Command Arguments for Sun_Malloc
4218 static const char* apzSun_MallocPatch[] = { "sed",
4219 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
4220 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
4221 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
4222 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
4223 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
4226 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4228 * Description of Sun_Rusers_Semi fix
4230 #define SUN_RUSERS_SEMI_FIXIDX 105
4231 tSCC zSun_Rusers_SemiName[] =
4235 * File name selection pattern
4237 tSCC zSun_Rusers_SemiList[] =
4238 "|rpcsvc/rusers.h|";
4240 * Machine/OS name selection pattern
4242 #define apzSun_Rusers_SemiMachs (const char**)NULL
4245 * content selection pattern - do fix if pattern found
4247 tSCC zSun_Rusers_SemiSelect0[] =
4250 #define SUN_RUSERS_SEMI_TEST_CT 1
4251 static tTestDesc aSun_Rusers_SemiTests[] = {
4252 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
4255 * Fix Command Arguments for Sun_Rusers_Semi
4257 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
4258 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
4261 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4263 * Description of Sun_Signal fix
4265 #define SUN_SIGNAL_FIXIDX 106
4266 tSCC zSun_SignalName[] =
4270 * File name selection pattern
4272 tSCC zSun_SignalList[] =
4273 "|sys/signal.h|signal.h|";
4275 * Machine/OS name selection pattern
4277 #define apzSun_SignalMachs (const char**)NULL
4280 * content selection pattern - do fix if pattern found
4282 tSCC zSun_SignalSelect0[] =
4283 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
4285 #define SUN_SIGNAL_TEST_CT 1
4286 static tTestDesc aSun_SignalTests[] = {
4287 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
4290 * Fix Command Arguments for Sun_Signal
4292 static const char* apzSun_SignalPatch[] = {
4294 "#ifdef __cplusplus\n\
4295 void\t(*signal(...))(...);\n\
4301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4303 * Description of Sunos_Matherr_Decl fix
4305 #define SUNOS_MATHERR_DECL_FIXIDX 107
4306 tSCC zSunos_Matherr_DeclName[] =
4307 "sunos_matherr_decl";
4310 * File name selection pattern
4312 tSCC zSunos_Matherr_DeclList[] =
4315 * Machine/OS name selection pattern
4317 #define apzSunos_Matherr_DeclMachs (const char**)NULL
4320 * content selection pattern - do fix if pattern found
4322 tSCC zSunos_Matherr_DeclSelect0[] =
4326 * content bypass pattern - skip fix if pattern found
4328 tSCC zSunos_Matherr_DeclBypass0[] =
4329 "matherr.*(struct exception|__MATH_EXCEPTION)";
4331 #define SUNOS_MATHERR_DECL_TEST_CT 2
4332 static tTestDesc aSunos_Matherr_DeclTests[] = {
4333 { TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
4334 { TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
4337 * Fix Command Arguments for Sunos_Matherr_Decl
4339 static const char* apzSunos_Matherr_DeclPatch[] = {
4341 "struct exception;\n",
4344 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4346 * Description of Sunos_Strlen fix
4348 #define SUNOS_STRLEN_FIXIDX 108
4349 tSCC zSunos_StrlenName[] =
4353 * File name selection pattern
4355 tSCC zSunos_StrlenList[] =
4358 * Machine/OS name selection pattern
4360 #define apzSunos_StrlenMachs (const char**)NULL
4363 * content selection pattern - do fix if pattern found
4365 tSCC zSunos_StrlenSelect0[] =
4366 "int[ \t]*strlen\\(\\);(.*)";
4368 #define SUNOS_STRLEN_TEST_CT 1
4369 static tTestDesc aSunos_StrlenTests[] = {
4370 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
4373 * Fix Command Arguments for Sunos_Strlen
4375 static const char* apzSunos_StrlenPatch[] = {
4377 "__SIZE_TYPE__ strlen();%1",
4380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4382 * Description of Svr4__P fix
4384 #define SVR4__P_FIXIDX 109
4385 tSCC zSvr4__PName[] =
4389 * File name selection pattern
4391 tSCC zSvr4__PList[] =
4392 "|math.h|floatingpoint.h|";
4394 * Machine/OS name selection pattern
4396 #define apzSvr4__PMachs (const char**)NULL
4399 * content selection pattern - do fix if pattern found
4401 tSCC zSvr4__PSelect0[] =
4402 "^#define[ \t]+__P.*";
4404 #define SVR4__P_TEST_CT 1
4405 static tTestDesc aSvr4__PTests[] = {
4406 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
4409 * Fix Command Arguments for Svr4__P
4411 static const char* apzSvr4__PPatch[] = {
4418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4420 * Description of Svr4_Getcwd fix
4422 #define SVR4_GETCWD_FIXIDX 110
4423 tSCC zSvr4_GetcwdName[] =
4427 * File name selection pattern
4429 tSCC zSvr4_GetcwdList[] =
4430 "|stdlib.h|unistd.h|prototypes.h|";
4432 * Machine/OS name selection pattern
4434 #define apzSvr4_GetcwdMachs (const char**)NULL
4437 * content selection pattern - do fix if pattern found
4439 tSCC zSvr4_GetcwdSelect0[] =
4440 "getcwd\\(char \\*, int\\)";
4442 #define SVR4_GETCWD_TEST_CT 1
4443 static tTestDesc aSvr4_GetcwdTests[] = {
4444 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
4447 * Fix Command Arguments for Svr4_Getcwd
4449 static const char* apzSvr4_GetcwdPatch[] = {
4451 "getcwd(char *, size_t)",
4454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4456 * Description of Svr4_Profil fix
4458 #define SVR4_PROFIL_FIXIDX 111
4459 tSCC zSvr4_ProfilName[] =
4463 * File name selection pattern
4465 tSCC zSvr4_ProfilList[] =
4466 "|stdlib.h|unistd.h|";
4468 * Machine/OS name selection pattern
4470 #define apzSvr4_ProfilMachs (const char**)NULL
4473 * content selection pattern - do fix if pattern found
4475 tSCC zSvr4_ProfilSelect0[] =
4476 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
4478 #define SVR4_PROFIL_TEST_CT 1
4479 static tTestDesc aSvr4_ProfilTests[] = {
4480 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
4483 * Fix Command Arguments for Svr4_Profil
4485 static const char* apzSvr4_ProfilPatch[] = {
4487 "profil(unsigned short *, size_t, int, unsigned int)",
4490 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4492 * Description of Gnu_Types fix
4494 #define GNU_TYPES_FIXIDX 112
4495 tSCC zGnu_TypesName[] =
4499 * File name selection pattern
4501 tSCC zGnu_TypesList[] =
4502 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
4504 * Machine/OS name selection pattern
4506 #define apzGnu_TypesMachs (const char**)NULL
4509 * content selection pattern - do fix if pattern found
4511 tSCC zGnu_TypesSelect0[] =
4512 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4515 * content bypass pattern - skip fix if pattern found
4517 tSCC zGnu_TypesBypass0[] =
4518 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4520 #define GNU_TYPES_TEST_CT 2
4521 static tTestDesc aGnu_TypesTests[] = {
4522 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4523 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4526 * Fix Command Arguments for Gnu_Types
4528 static const char* apzGnu_TypesPatch[] = {
4532 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4534 * Description of Sysv68_String fix
4536 #define SYSV68_STRING_FIXIDX 113
4537 tSCC zSysv68_StringName[] =
4541 * File name selection pattern
4543 tSCC zSysv68_StringList[] =
4544 "|testing.h|string.h|";
4546 * Machine/OS name selection pattern
4548 #define apzSysv68_StringMachs (const char**)NULL
4549 #define SYSV68_STRING_TEST_CT 0
4550 #define aSysv68_StringTests (tTestDesc*)NULL
4553 * Fix Command Arguments for Sysv68_String
4555 static const char* apzSysv68_StringPatch[] = { "sed",
4556 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
4557 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
4558 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
4559 "-e", "/^extern char$/N",
4560 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
4561 "-e", "/^extern int$/N",
4562 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
4563 "-e", "/^\tstrncmp(),$/N",
4564 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
4565 extern unsigned int\\\n\
4569 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4571 * Description of Sysz_Stdlib_For_Sun fix
4573 #define SYSZ_STDLIB_FOR_SUN_FIXIDX 114
4574 tSCC zSysz_Stdlib_For_SunName[] =
4575 "sysz_stdlib_for_sun";
4578 * File name selection pattern
4580 tSCC zSysz_Stdlib_For_SunList[] =
4583 * Machine/OS name selection pattern
4585 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
4588 * content selection pattern - do fix if pattern found
4590 tSCC zSysz_Stdlib_For_SunSelect0[] =
4591 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
4593 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
4594 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
4595 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
4598 * Fix Command Arguments for Sysz_Stdlib_For_Sun
4600 static const char* apzSysz_Stdlib_For_SunPatch[] = {
4605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4607 * Description of Tinfo_Cplusplus fix
4609 #define TINFO_CPLUSPLUS_FIXIDX 115
4610 tSCC zTinfo_CplusplusName[] =
4614 * File name selection pattern
4616 tSCC zTinfo_CplusplusList[] =
4619 * Machine/OS name selection pattern
4621 #define apzTinfo_CplusplusMachs (const char**)NULL
4624 * content selection pattern - do fix if pattern found
4626 tSCC zTinfo_CplusplusSelect0[] =
4629 #define TINFO_CPLUSPLUS_TEST_CT 1
4630 static tTestDesc aTinfo_CplusplusTests[] = {
4631 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
4634 * Fix Command Arguments for Tinfo_Cplusplus
4636 static const char* apzTinfo_CplusplusPatch[] = {
4641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4643 * Description of Ultrix_Atof_Param fix
4645 #define ULTRIX_ATOF_PARAM_FIXIDX 116
4646 tSCC zUltrix_Atof_ParamName[] =
4647 "ultrix_atof_param";
4650 * File name selection pattern
4652 tSCC zUltrix_Atof_ParamList[] =
4655 * Machine/OS name selection pattern
4657 #define apzUltrix_Atof_ParamMachs (const char**)NULL
4660 * content selection pattern - do fix if pattern found
4662 tSCC zUltrix_Atof_ParamSelect0[] =
4663 "atof\\([ \t]*char";
4665 #define ULTRIX_ATOF_PARAM_TEST_CT 1
4666 static tTestDesc aUltrix_Atof_ParamTests[] = {
4667 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
4670 * Fix Command Arguments for Ultrix_Atof_Param
4672 static const char* apzUltrix_Atof_ParamPatch[] = {
4677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4679 * Description of Ultrix_Const fix
4681 #define ULTRIX_CONST_FIXIDX 117
4682 tSCC zUltrix_ConstName[] =
4686 * File name selection pattern
4688 tSCC zUltrix_ConstList[] =
4691 * Machine/OS name selection pattern
4693 #define apzUltrix_ConstMachs (const char**)NULL
4696 * content selection pattern - do fix if pattern found
4698 tSCC zUltrix_ConstSelect0[] =
4699 "perror\\( char \\*";
4701 #define ULTRIX_CONST_TEST_CT 1
4702 static tTestDesc aUltrix_ConstTests[] = {
4703 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
4706 * Fix Command Arguments for Ultrix_Const
4708 static const char* apzUltrix_ConstPatch[] = {
4711 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
4714 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4716 * Description of Ultrix_Const2 fix
4718 #define ULTRIX_CONST2_FIXIDX 118
4719 tSCC zUltrix_Const2Name[] =
4723 * File name selection pattern
4725 tSCC zUltrix_Const2List[] =
4728 * Machine/OS name selection pattern
4730 #define apzUltrix_Const2Machs (const char**)NULL
4733 * content selection pattern - do fix if pattern found
4735 tSCC zUltrix_Const2Select0[] =
4736 "\\*fopen\\( char \\*";
4738 #define ULTRIX_CONST2_TEST_CT 1
4739 static tTestDesc aUltrix_Const2Tests[] = {
4740 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
4743 * Fix Command Arguments for Ultrix_Const2
4745 static const char* apzUltrix_Const2Patch[] = {
4747 "%1( const char *%3, const char *",
4748 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
4751 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4753 * Description of Ultrix_Fix_Fixproto fix
4755 #define ULTRIX_FIX_FIXPROTO_FIXIDX 119
4756 tSCC zUltrix_Fix_FixprotoName[] =
4757 "ultrix_fix_fixproto";
4760 * File name selection pattern
4762 tSCC zUltrix_Fix_FixprotoList[] =
4765 * Machine/OS name selection pattern
4767 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
4770 * content selection pattern - do fix if pattern found
4772 tSCC zUltrix_Fix_FixprotoSelect0[] =
4775 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
4776 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
4777 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
4780 * Fix Command Arguments for Ultrix_Fix_Fixproto
4782 static const char* apzUltrix_Fix_FixprotoPatch[] = {
4786 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
4789 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4791 * Description of Ultrix_Ifdef fix
4793 #define ULTRIX_IFDEF_FIXIDX 120
4794 tSCC zUltrix_IfdefName[] =
4798 * File name selection pattern
4800 tSCC zUltrix_IfdefList[] =
4803 * Machine/OS name selection pattern
4805 #define apzUltrix_IfdefMachs (const char**)NULL
4808 * content selection pattern - do fix if pattern found
4810 tSCC zUltrix_IfdefSelect0[] =
4811 "^#ifdef KERNEL[ \t]+&&";
4813 #define ULTRIX_IFDEF_TEST_CT 1
4814 static tTestDesc aUltrix_IfdefTests[] = {
4815 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
4818 * Fix Command Arguments for Ultrix_Ifdef
4820 static const char* apzUltrix_IfdefPatch[] = {
4822 "#if defined(KERNEL) &&",
4825 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4827 * Description of Ultrix_Math_Ifdef fix
4829 #define ULTRIX_MATH_IFDEF_FIXIDX 121
4830 tSCC zUltrix_Math_IfdefName[] =
4831 "ultrix_math_ifdef";
4834 * File name selection pattern
4836 tSCC zUltrix_Math_IfdefList[] =
4837 "|sys/limits.h|float.h|math.h|";
4839 * Machine/OS name selection pattern
4841 #define apzUltrix_Math_IfdefMachs (const char**)NULL
4844 * content selection pattern - do fix if pattern found
4846 tSCC zUltrix_Math_IfdefSelect0[] =
4847 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
4849 #define ULTRIX_MATH_IFDEF_TEST_CT 1
4850 static tTestDesc aUltrix_Math_IfdefTests[] = {
4851 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
4854 * Fix Command Arguments for Ultrix_Math_Ifdef
4856 static const char* apzUltrix_Math_IfdefPatch[] = {
4861 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4863 * Description of Ultrix_Nested_Ioctl fix
4865 #define ULTRIX_NESTED_IOCTL_FIXIDX 122
4866 tSCC zUltrix_Nested_IoctlName[] =
4867 "ultrix_nested_ioctl";
4870 * File name selection pattern
4872 tSCC zUltrix_Nested_IoctlList[] =
4875 * Machine/OS name selection pattern
4877 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
4880 * content selection pattern - do fix if pattern found
4882 tSCC zUltrix_Nested_IoctlSelect0[] =
4883 "^/\\* #define SIOCSCREEN";
4885 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
4886 static tTestDesc aUltrix_Nested_IoctlTests[] = {
4887 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
4890 * Fix Command Arguments for Ultrix_Nested_Ioctl
4892 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
4893 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
4896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4898 * Description of Ultrix_Nested_Svc fix
4900 #define ULTRIX_NESTED_SVC_FIXIDX 123
4901 tSCC zUltrix_Nested_SvcName[] =
4902 "ultrix_nested_svc";
4905 * File name selection pattern
4907 tSCC zUltrix_Nested_SvcList[] =
4910 * Machine/OS name selection pattern
4912 #define apzUltrix_Nested_SvcMachs (const char**)NULL
4915 * content selection pattern - do fix if pattern found
4917 tSCC zUltrix_Nested_SvcSelect0[] =
4918 "^ \\*[ \t]*int protocol; */\\*";
4920 #define ULTRIX_NESTED_SVC_TEST_CT 1
4921 static tTestDesc aUltrix_Nested_SvcTests[] = {
4922 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
4925 * Fix Command Arguments for Ultrix_Nested_Svc
4927 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
4928 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
4931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4933 * Description of Ultrix_Stat fix
4935 #define ULTRIX_STAT_FIXIDX 124
4936 tSCC zUltrix_StatName[] =
4940 * File name selection pattern
4942 tSCC zUltrix_StatList[] =
4945 * Machine/OS name selection pattern
4947 #define apzUltrix_StatMachs (const char**)NULL
4950 * content selection pattern - do fix if pattern found
4952 tSCC zUltrix_StatSelect0[] =
4953 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
4955 #define ULTRIX_STAT_TEST_CT 1
4956 static tTestDesc aUltrix_StatTests[] = {
4957 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
4960 * Fix Command Arguments for Ultrix_Stat
4962 static const char* apzUltrix_StatPatch[] = { "sed",
4963 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
4965 /* macro to test for symbolic link */\\\n\
4966 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
4967 "-e", "/^[ \t]*fstat(),$/a\\\n\
4971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4973 * Description of Ultrix_Static fix
4975 #define ULTRIX_STATIC_FIXIDX 125
4976 tSCC zUltrix_StaticName[] =
4980 * File name selection pattern
4982 tSCC zUltrix_StaticList[] =
4985 * Machine/OS name selection pattern
4987 #define apzUltrix_StaticMachs (const char**)NULL
4990 * content selection pattern - do fix if pattern found
4992 tSCC zUltrix_StaticSelect0[] =
4993 "#include \"r[34]_cpu";
4995 #define ULTRIX_STATIC_TEST_CT 1
4996 static tTestDesc aUltrix_StaticTests[] = {
4997 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
5000 * Fix Command Arguments for Ultrix_Static
5002 static const char* apzUltrix_StaticPatch[] = { "sed",
5003 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
5004 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
5005 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
5008 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5010 * Description of Ultrix_Strings fix
5012 #define ULTRIX_STRINGS_FIXIDX 126
5013 tSCC zUltrix_StringsName[] =
5017 * File name selection pattern
5019 tSCC zUltrix_StringsList[] =
5022 * Machine/OS name selection pattern
5024 #define apzUltrix_StringsMachs (const char**)NULL
5027 * content selection pattern - do fix if pattern found
5029 tSCC zUltrix_StringsSelect0[] =
5030 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
5032 #define ULTRIX_STRINGS_TEST_CT 1
5033 static tTestDesc aUltrix_StringsTests[] = {
5034 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
5037 * Fix Command Arguments for Ultrix_Strings
5039 static const char* apzUltrix_StringsPatch[] = {
5043 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5045 * Description of Undefine_Null fix
5047 #define UNDEFINE_NULL_FIXIDX 127
5048 tSCC zUndefine_NullName[] =
5052 * File name selection pattern
5054 #define zUndefine_NullList (char*)NULL
5056 * Machine/OS name selection pattern
5058 #define apzUndefine_NullMachs (const char**)NULL
5061 * content selection pattern - do fix if pattern found
5063 tSCC zUndefine_NullSelect0[] =
5064 "^#[ \t]*define[ \t]+NULL[ \t]";
5067 * content bypass pattern - skip fix if pattern found
5069 tSCC zUndefine_NullBypass0[] =
5070 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
5072 #define UNDEFINE_NULL_TEST_CT 2
5073 static tTestDesc aUndefine_NullTests[] = {
5074 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
5075 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
5078 * Fix Command Arguments for Undefine_Null
5080 static const char* apzUndefine_NullPatch[] = {
5085 "^#[ \t]*define[ \t]*[ \t]NULL([^\r\n\
5089 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5091 * Description of Uw7_Byteorder_Fix fix
5093 #define UW7_BYTEORDER_FIX_FIXIDX 128
5094 tSCC zUw7_Byteorder_FixName[] =
5095 "uw7_byteorder_fix";
5098 * File name selection pattern
5100 tSCC zUw7_Byteorder_FixList[] =
5103 * Machine/OS name selection pattern
5105 tSCC* apzUw7_Byteorder_FixMachs[] = {
5109 "i?86-*-solaris2.[0-4]",
5110 "powerpcle-*-solaris2.[0-4]",
5111 "sparc-*-solaris2.[0-4]",
5112 (const char*)NULL };
5115 * content selection pattern - do fix if pattern found
5117 tSCC zUw7_Byteorder_FixSelect0[] =
5121 * perform the 'test' shell command - do fix on success
5123 tSCC zUw7_Byteorder_FixTest0[] =
5124 "-f $DESTDIR/sys/byteorder.h";
5126 #define UW7_BYTEORDER_FIX_TEST_CT 2
5127 static tTestDesc aUw7_Byteorder_FixTests[] = {
5128 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
5129 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
5132 * Fix Command Arguments for Uw7_Byteorder_Fix
5134 static const char* apzUw7_Byteorder_FixPatch[] = {
5137 "^extern.*(htons|ntohs).*\\(in_port_t\\).*\n",
5140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5142 * Description of Va_I960_Macro fix
5144 #define VA_I960_MACRO_FIXIDX 129
5145 tSCC zVa_I960_MacroName[] =
5149 * File name selection pattern
5151 tSCC zVa_I960_MacroList[] =
5152 "|arch/i960/archI960.h|";
5154 * Machine/OS name selection pattern
5156 #define apzVa_I960_MacroMachs (const char**)NULL
5159 * content selection pattern - do fix if pattern found
5161 tSCC zVa_I960_MacroSelect0[] =
5162 "__(vsiz|vali|vpad|alignof__)";
5164 #define VA_I960_MACRO_TEST_CT 1
5165 static tTestDesc aVa_I960_MacroTests[] = {
5166 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
5169 * Fix Command Arguments for Va_I960_Macro
5171 static const char* apzVa_I960_MacroPatch[] = {
5176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5178 * Description of Void_Null fix
5180 #define VOID_NULL_FIXIDX 130
5181 tSCC zVoid_NullName[] =
5185 * File name selection pattern
5187 tSCC zVoid_NullList[] =
5188 "|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|";
5190 * Machine/OS name selection pattern
5192 #define apzVoid_NullMachs (const char**)NULL
5195 * content selection pattern - do fix if pattern found
5197 tSCC zVoid_NullSelect0[] =
5198 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
5200 #define VOID_NULL_TEST_CT 1
5201 static tTestDesc aVoid_NullTests[] = {
5202 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
5205 * Fix Command Arguments for Void_Null
5207 static const char* apzVoid_NullPatch[] = {
5212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5214 * Description of Vxworks_Gcc_Problem fix
5216 #define VXWORKS_GCC_PROBLEM_FIXIDX 131
5217 tSCC zVxworks_Gcc_ProblemName[] =
5218 "vxworks_gcc_problem";
5221 * File name selection pattern
5223 tSCC zVxworks_Gcc_ProblemList[] =
5224 "|types/vxTypesBase.h|";
5226 * Machine/OS name selection pattern
5228 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
5231 * content selection pattern - do fix if pattern found
5233 tSCC zVxworks_Gcc_ProblemSelect0[] =
5234 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
5236 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
5237 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
5238 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
5241 * Fix Command Arguments for Vxworks_Gcc_Problem
5243 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
5244 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
5245 "-e", "/[ \t]size_t/i\\\n\
5246 #ifndef _GCC_SIZE_T\\\n\
5247 #define _GCC_SIZE_T\n",
5248 "-e", "/[ \t]size_t/a\\\n\
5250 "-e", "/[ \t]ptrdiff_t/i\\\n\
5251 #ifndef _GCC_PTRDIFF_T\\\n\
5252 #define _GCC_PTRDIFF_T\n",
5253 "-e", "/[ \t]ptrdiff_t/a\\\n\
5255 "-e", "/[ \t]wchar_t/i\\\n\
5256 #ifndef _GCC_WCHAR_T\\\n\
5257 #define _GCC_WCHAR_T\n",
5258 "-e", "/[ \t]wchar_t/a\\\n\
5262 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5264 * Description of Vxworks_Needs_Vxtypes fix
5266 #define VXWORKS_NEEDS_VXTYPES_FIXIDX 132
5267 tSCC zVxworks_Needs_VxtypesName[] =
5268 "vxworks_needs_vxtypes";
5271 * File name selection pattern
5273 tSCC zVxworks_Needs_VxtypesList[] =
5276 * Machine/OS name selection pattern
5278 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
5281 * content selection pattern - do fix if pattern found
5283 tSCC zVxworks_Needs_VxtypesSelect0[] =
5284 "uint_t([ \t]+_clocks_per_sec)";
5286 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
5287 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
5288 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
5291 * Fix Command Arguments for Vxworks_Needs_Vxtypes
5293 static const char* apzVxworks_Needs_VxtypesPatch[] = {
5298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5300 * Description of Vxworks_Needs_Vxworks fix
5302 #define VXWORKS_NEEDS_VXWORKS_FIXIDX 133
5303 tSCC zVxworks_Needs_VxworksName[] =
5304 "vxworks_needs_vxworks";
5307 * File name selection pattern
5309 tSCC zVxworks_Needs_VxworksList[] =
5312 * Machine/OS name selection pattern
5314 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
5317 * content selection pattern - do fix if pattern found
5319 tSCC zVxworks_Needs_VxworksSelect0[] =
5320 "#[ \t]define[ \t]+__INCstath";
5323 * perform the 'test' shell command - do fix on success
5325 tSCC zVxworks_Needs_VxworksTest0[] =
5326 " -r types/vxTypesOld.h";
5327 tSCC zVxworks_Needs_VxworksTest1[] =
5328 " -n \"`egrep '#include' $file`\"";
5329 tSCC zVxworks_Needs_VxworksTest2[] =
5330 " -n \"`egrep ULONG $file`\"";
5332 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
5333 static tTestDesc aVxworks_Needs_VxworksTests[] = {
5334 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
5335 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
5336 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
5337 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
5340 * Fix Command Arguments for Vxworks_Needs_Vxworks
5342 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
5343 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
5344 #include <types/vxTypesOld.h>\n",
5347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5349 * Description of Vxworks_Time fix
5351 #define VXWORKS_TIME_FIXIDX 134
5352 tSCC zVxworks_TimeName[] =
5356 * File name selection pattern
5358 tSCC zVxworks_TimeList[] =
5361 * Machine/OS name selection pattern
5363 #define apzVxworks_TimeMachs (const char**)NULL
5366 * content selection pattern - do fix if pattern found
5368 tSCC zVxworks_TimeSelect0[] =
5369 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
5372 * perform the 'test' shell command - do fix on success
5374 tSCC zVxworks_TimeTest0[] =
5377 #define VXWORKS_TIME_TEST_CT 2
5378 static tTestDesc aVxworks_TimeTests[] = {
5379 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
5380 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
5383 * Fix Command Arguments for Vxworks_Time
5385 static const char* apzVxworks_TimePatch[] = {
5387 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
5388 #ifdef __cplusplus\n\
5389 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
5391 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
5393 #define __gcc_VOIDFUNCPTR_defined\n\
5395 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
5398 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5400 * Description of X11_Class fix
5402 #define X11_CLASS_FIXIDX 135
5403 tSCC zX11_ClassName[] =
5407 * File name selection pattern
5409 tSCC zX11_ClassList[] =
5412 * Machine/OS name selection pattern
5414 #define apzX11_ClassMachs (const char**)NULL
5417 * content selection pattern - do fix if pattern found
5419 tSCC zX11_ClassSelect0[] =
5420 "^([ \t]*char \\*)class;(.*)";
5423 * content bypass pattern - skip fix if pattern found
5425 tSCC zX11_ClassBypass0[] =
5428 #define X11_CLASS_TEST_CT 2
5429 static tTestDesc aX11_ClassTests[] = {
5430 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
5431 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
5434 * Fix Command Arguments for X11_Class
5436 static const char* apzX11_ClassPatch[] = {
5438 "#ifdef __cplusplus\n\
5445 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5447 * Description of X11_Class_Usage fix
5449 #define X11_CLASS_USAGE_FIXIDX 136
5450 tSCC zX11_Class_UsageName[] =
5454 * File name selection pattern
5456 tSCC zX11_Class_UsageList[] =
5457 "|Xm/BaseClassI.h|";
5459 * Machine/OS name selection pattern
5461 #define apzX11_Class_UsageMachs (const char**)NULL
5464 * content selection pattern - do fix if pattern found
5466 tSCC zX11_Class_UsageSelect0[] =
5470 * content bypass pattern - skip fix if pattern found
5472 tSCC zX11_Class_UsageBypass0[] =
5475 #define X11_CLASS_USAGE_TEST_CT 2
5476 static tTestDesc aX11_Class_UsageTests[] = {
5477 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
5478 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
5481 * Fix Command Arguments for X11_Class_Usage
5483 static const char* apzX11_Class_UsagePatch[] = {
5488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5490 * Description of X11_New fix
5492 #define X11_NEW_FIXIDX 137
5493 tSCC zX11_NewName[] =
5497 * File name selection pattern
5499 tSCC zX11_NewList[] =
5502 * Machine/OS name selection pattern
5504 #define apzX11_NewMachs (const char**)NULL
5507 * content bypass pattern - skip fix if pattern found
5509 tSCC zX11_NewBypass0[] =
5512 #define X11_NEW_TEST_CT 1
5513 static tTestDesc aX11_NewTests[] = {
5514 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
5517 * Fix Command Arguments for X11_New
5519 static const char* apzX11_NewPatch[] = { "sed",
5520 "-e", "/Widget\told, new;/i\\\n\
5521 #ifdef __cplusplus\\\n\
5522 \tWidget\told, c_new;\\\n\
5524 "-e", "/Widget\told, new;/a\\\n\
5526 "-e", "s/Widget new,/Widget c_new,/g",
5529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5531 * Description of X11_Sprintf fix
5533 #define X11_SPRINTF_FIXIDX 138
5534 tSCC zX11_SprintfName[] =
5538 * File name selection pattern
5540 tSCC zX11_SprintfList[] =
5541 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
5543 * Machine/OS name selection pattern
5545 #define apzX11_SprintfMachs (const char**)NULL
5548 * content selection pattern - do fix if pattern found
5550 tSCC zX11_SprintfSelect0[] =
5551 "^extern char \\*\tsprintf\\(\\);$";
5553 #define X11_SPRINTF_TEST_CT 1
5554 static tTestDesc aX11_SprintfTests[] = {
5555 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
5558 * Fix Command Arguments for X11_Sprintf
5560 static const char* apzX11_SprintfPatch[] = {
5562 "#ifndef __STDC__\n\
5564 #endif /* !defined __STDC__ */",
5568 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5572 #define REGEX_COUNT 146
5573 #define MACH_LIST_SIZE_LIMIT 279
5574 #define FIX_COUNT 139
5576 tFixDesc fixDescList[ FIX_COUNT ] = {
5577 { zAaa_Ki_IfaceName, zAaa_Ki_IfaceList,
5578 apzAaa_Ki_IfaceMachs,
5579 AAA_KI_IFACE_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5580 aAaa_Ki_IfaceTests, apzAaa_Ki_IfacePatch, 0 },
5582 { zAaa_KiName, zAaa_KiList,
5584 AAA_KI_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5585 aAaa_KiTests, apzAaa_KiPatch, 0 },
5587 { zAaa_Ki_CallsName, zAaa_Ki_CallsList,
5588 apzAaa_Ki_CallsMachs,
5589 AAA_KI_CALLS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5590 aAaa_Ki_CallsTests, apzAaa_Ki_CallsPatch, 0 },
5592 { zAaa_Ki_DefsName, zAaa_Ki_DefsList,
5593 apzAaa_Ki_DefsMachs,
5594 AAA_KI_DEFS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5595 aAaa_Ki_DefsTests, apzAaa_Ki_DefsPatch, 0 },
5597 { zAaa_StandardsName, zAaa_StandardsList,
5598 apzAaa_StandardsMachs,
5599 AAA_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5600 aAaa_StandardsTests, apzAaa_StandardsPatch, 0 },
5602 { zAaa_Bad_FixesName, zAaa_Bad_FixesList,
5603 apzAaa_Bad_FixesMachs,
5604 AAA_BAD_FIXES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5605 aAaa_Bad_FixesTests, apzAaa_Bad_FixesPatch, 0 },
5607 { zAaa_TimeName, zAaa_TimeList,
5609 AAA_TIME_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5610 aAaa_TimeTests, apzAaa_TimePatch, 0 },
5612 { zAab_Dgux_Int_VarargsName, zAab_Dgux_Int_VarargsList,
5613 apzAab_Dgux_Int_VarargsMachs,
5614 AAB_DGUX_INT_VARARGS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5615 aAab_Dgux_Int_VarargsTests, apzAab_Dgux_Int_VarargsPatch, 0 },
5617 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
5618 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
5619 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5620 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
5622 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
5623 apzAab_Fd_Zero_Gnu_Types_HMachs,
5624 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5625 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
5627 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
5628 apzAab_Fd_Zero_Selectbits_HMachs,
5629 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5630 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
5632 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
5633 apzAab_Sun_MemcpyMachs,
5634 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5635 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
5637 { zAab_Svr4_Replace_ByteorderName, zAab_Svr4_Replace_ByteorderList,
5638 apzAab_Svr4_Replace_ByteorderMachs,
5639 AAB_SVR4_REPLACE_BYTEORDER_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5640 aAab_Svr4_Replace_ByteorderTests, apzAab_Svr4_Replace_ByteorderPatch, 0 },
5642 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
5643 apzAab_Ultrix_Ansi_CompatMachs,
5644 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5645 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
5647 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
5648 apzAab_Ultrix_LimitsMachs,
5649 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5650 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
5652 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
5653 apzAab_Ultrix_MemoryMachs,
5654 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5655 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
5657 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
5658 apzAab_Ultrix_StringMachs,
5659 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5660 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
5662 { zAix_PthreadName, zAix_PthreadList,
5663 apzAix_PthreadMachs,
5664 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5665 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
5667 { zAix_SysmachineName, zAix_SysmachineList,
5668 apzAix_SysmachineMachs,
5669 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5670 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
5672 { zAix_SyswaitName, zAix_SyswaitList,
5673 apzAix_SyswaitMachs,
5674 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5675 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
5677 { zAix_VolatileName, zAix_VolatileList,
5678 apzAix_VolatileMachs,
5679 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5680 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
5682 { zAlpha___AssertName, zAlpha___AssertList,
5683 apzAlpha___AssertMachs,
5684 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5685 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
5687 { zAlpha_GetoptName, zAlpha_GetoptList,
5688 apzAlpha_GetoptMachs,
5689 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5690 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
5692 { zAlpha_ParensName, zAlpha_ParensList,
5693 apzAlpha_ParensMachs,
5694 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5695 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
5697 { zAlpha_SbrkName, zAlpha_SbrkList,
5699 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5700 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
5702 { zArm_Norcroft_HintName, zArm_Norcroft_HintList,
5703 apzArm_Norcroft_HintMachs,
5704 ARM_NORCROFT_HINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5705 aArm_Norcroft_HintTests, apzArm_Norcroft_HintPatch, 0 },
5707 { zArm_WcharName, zArm_WcharList,
5709 ARM_WCHAR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5710 aArm_WcharTests, apzArm_WcharPatch, 0 },
5712 { zAux_AsmName, zAux_AsmList,
5714 AUX_ASM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5715 aAux_AsmTests, apzAux_AsmPatch, 0 },
5717 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
5718 apzAvoid_Bool_DefineMachs,
5719 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5720 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
5722 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
5723 apzAvoid_Bool_TypeMachs,
5724 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5725 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
5727 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
5728 apzAvoid_Wchar_T_TypeMachs,
5729 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5730 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
5732 { zBad_LvalName, zBad_LvalList,
5734 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
5735 aBad_LvalTests, apzBad_LvalPatch, 0 },
5737 { zBad_Struct_TermName, zBad_Struct_TermList,
5738 apzBad_Struct_TermMachs,
5739 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5740 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
5742 { zBadquoteName, zBadquoteList,
5744 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5745 aBadquoteTests, apzBadquotePatch, 0 },
5747 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
5748 apzBroken_Assert_StdioMachs,
5749 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5750 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
5752 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
5753 apzBroken_Assert_StdlibMachs,
5754 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5755 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
5757 { zBroken_CabsName, zBroken_CabsList,
5758 apzBroken_CabsMachs,
5759 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5760 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
5762 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
5763 apzCtrl_Quotes_DefMachs,
5764 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5765 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
5767 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
5768 apzCtrl_Quotes_UseMachs,
5769 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5770 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
5772 { zCxx_UnreadyName, zCxx_UnreadyList,
5773 apzCxx_UnreadyMachs,
5774 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5775 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
5777 { zDec_Intern_AsmName, zDec_Intern_AsmList,
5778 apzDec_Intern_AsmMachs,
5779 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
5780 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
5782 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
5783 apzDjgpp_Wchar_HMachs,
5784 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5785 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
5787 { zEcd_CursorName, zEcd_CursorList,
5789 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5790 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
5792 { zFix_Header_BreakageName, zFix_Header_BreakageList,
5793 apzFix_Header_BreakageMachs,
5794 FIX_HEADER_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5795 aFix_Header_BreakageTests, apzFix_Header_BreakagePatch, 0 },
5797 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
5798 apzFreebsd_Gcc3_BreakageMachs,
5799 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5800 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
5802 { zHp_InlineName, zHp_InlineList,
5804 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5805 aHp_InlineTests, apzHp_InlinePatch, 0 },
5807 { zHp_SysfileName, zHp_SysfileList,
5809 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5810 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
5812 { zHpux11_FabsfName, zHpux11_FabsfList,
5813 apzHpux11_FabsfMachs,
5814 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5815 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
5817 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
5818 apzHpux11_Uint32_CMachs,
5819 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5820 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
5822 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
5823 apzHpux8_Bogus_InlinesMachs,
5824 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
5825 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
5827 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
5828 apzInt_Abort_Free_And_ExitMachs,
5829 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5830 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
5832 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
5833 apzIsc_Omits_With_StdcMachs,
5834 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5835 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
5837 { zIo_Quotes_DefName, zIo_Quotes_DefList,
5838 apzIo_Quotes_DefMachs,
5839 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5840 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
5842 { zIo_Quotes_UseName, zIo_Quotes_UseList,
5843 apzIo_Quotes_UseMachs,
5844 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5845 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
5847 { zHpux_MaxintName, zHpux_MaxintList,
5848 apzHpux_MaxintMachs,
5849 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5850 aHpux_MaxintTests, apzHpux_MaxintPatch, 0 },
5852 { zHpux_SystimeName, zHpux_SystimeList,
5853 apzHpux_SystimeMachs,
5854 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5855 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
5857 { zIp_Missing_SemiName, zIp_Missing_SemiList,
5858 apzIp_Missing_SemiMachs,
5859 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
5860 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
5862 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
5863 apzIrix_Asm_ApostropheMachs,
5864 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5865 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
5867 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
5868 apzIrix_Stdio_Va_ListMachs,
5869 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5870 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
5872 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
5873 apzIrix_Limits_ConstMachs,
5874 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5875 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
5877 { zIsc_FmodName, zIsc_FmodList,
5879 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5880 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
5882 { zKandr_ConcatName, zKandr_ConcatList,
5883 apzKandr_ConcatMachs,
5884 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5885 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
5887 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
5888 apzLibc1_Ifdefd_MemxMachs,
5889 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5890 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
5892 { zLimits_IfndefsName, zLimits_IfndefsList,
5893 apzLimits_IfndefsMachs,
5894 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5895 aLimits_IfndefsTests, apzLimits_IfndefsPatch, 0 },
5897 { zLynx_Void_IntName, zLynx_Void_IntList,
5898 apzLynx_Void_IntMachs,
5899 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5900 aLynx_Void_IntTests, apzLynx_Void_IntPatch, 0 },
5902 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
5903 apzLynxos_Fcntl_ProtoMachs,
5904 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5905 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch, 0 },
5907 { zM88k_Bad_Hypot_OptName, zM88k_Bad_Hypot_OptList,
5908 apzM88k_Bad_Hypot_OptMachs,
5909 M88K_BAD_HYPOT_OPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5910 aM88k_Bad_Hypot_OptTests, apzM88k_Bad_Hypot_OptPatch, 0 },
5912 { zM88k_Bad_S_IfName, zM88k_Bad_S_IfList,
5913 apzM88k_Bad_S_IfMachs,
5914 M88K_BAD_S_IF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5915 aM88k_Bad_S_IfTests, apzM88k_Bad_S_IfPatch, 0 },
5917 { zM88k_Multi_InclName, zM88k_Multi_InclList,
5918 apzM88k_Multi_InclMachs,
5919 M88K_MULTI_INCL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5920 aM88k_Multi_InclTests, apzM88k_Multi_InclPatch, 0 },
5922 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
5923 apzMachine_Ansi_H_Va_ListMachs,
5924 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5925 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
5927 { zMachine_NameName, zMachine_NameList,
5928 apzMachine_NameMachs,
5929 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5930 aMachine_NameTests, apzMachine_NamePatch, 0 },
5932 { zMath_ExceptionName, zMath_ExceptionList,
5933 apzMath_ExceptionMachs,
5934 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5935 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
5937 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
5938 apzMath_Huge_Val_From_Dbl_MaxMachs,
5939 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
5940 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
5942 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
5943 apzMath_Huge_Val_IfndefMachs,
5944 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5945 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch, 0 },
5947 { zNested_MotorolaName, zNested_MotorolaList,
5948 apzNested_MotorolaMachs,
5949 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
5950 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
5952 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
5953 apzNested_Sys_LimitsMachs,
5954 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
5955 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
5957 { zNested_Auth_DesName, zNested_Auth_DesList,
5958 apzNested_Auth_DesMachs,
5959 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5960 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
5962 { zNews_Os_RecursionName, zNews_Os_RecursionList,
5963 apzNews_Os_RecursionMachs,
5964 NEWS_OS_RECURSION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5965 aNews_Os_RecursionTests, apzNews_Os_RecursionPatch, 0 },
5967 { zNext_Math_PrefixName, zNext_Math_PrefixList,
5968 apzNext_Math_PrefixMachs,
5969 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5970 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
5972 { zNext_TemplateName, zNext_TemplateList,
5973 apzNext_TemplateMachs,
5974 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5975 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
5977 { zNext_VolitileName, zNext_VolitileList,
5978 apzNext_VolitileMachs,
5979 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5980 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
5982 { zNext_Wait_UnionName, zNext_Wait_UnionList,
5983 apzNext_Wait_UnionMachs,
5984 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5985 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
5987 { zNodeent_SyntaxName, zNodeent_SyntaxList,
5988 apzNodeent_SyntaxMachs,
5989 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5990 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
5992 { zOsf_Namespace_AName, zOsf_Namespace_AList,
5993 apzOsf_Namespace_AMachs,
5994 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5995 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
5997 { zOsf_Namespace_CName, zOsf_Namespace_CList,
5998 apzOsf_Namespace_CMachs,
5999 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6000 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
6002 { zPthread_Page_SizeName, zPthread_Page_SizeList,
6003 apzPthread_Page_SizeMachs,
6004 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6005 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
6007 { zRead_Ret_TypeName, zRead_Ret_TypeList,
6008 apzRead_Ret_TypeMachs,
6009 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6010 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
6012 { zRs6000_DoubleName, zRs6000_DoubleList,
6013 apzRs6000_DoubleMachs,
6014 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6015 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
6017 { zRs6000_FchmodName, zRs6000_FchmodList,
6018 apzRs6000_FchmodMachs,
6019 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6020 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
6022 { zRs6000_ParamName, zRs6000_ParamList,
6023 apzRs6000_ParamMachs,
6024 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6025 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
6027 { zSco_Static_FuncName, zSco_Static_FuncList,
6028 apzSco_Static_FuncMachs,
6029 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
6030 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
6032 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
6033 apzStrict_Ansi_NotMachs,
6034 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6035 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
6037 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
6038 apzStrict_Ansi_Not_CtdMachs,
6039 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6040 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
6042 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
6043 apzStrict_Ansi_OnlyMachs,
6044 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6045 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
6047 { zSco_UtimeName, zSco_UtimeList,
6049 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6050 aSco_UtimeTests, apzSco_UtimePatch, 0 },
6052 { zSolaris27_Mutex_InitName, zSolaris27_Mutex_InitList,
6053 apzSolaris27_Mutex_InitMachs,
6054 SOLARIS27_MUTEX_INIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6055 aSolaris27_Mutex_InitTests, apzSolaris27_Mutex_InitPatch, 0 },
6057 { zStatsswtchName, zStatsswtchList,
6059 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6060 aStatsswtchTests, apzStatsswtchPatch, 0 },
6062 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
6063 apzStdio_Stdarg_HMachs,
6064 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6065 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
6067 { zStdio_Va_ListName, zStdio_Va_ListList,
6068 apzStdio_Va_ListMachs,
6069 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
6070 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
6072 { zStruct_FileName, zStruct_FileList,
6073 apzStruct_FileMachs,
6074 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6075 aStruct_FileTests, apzStruct_FilePatch, 0 },
6077 { zStruct_SockaddrName, zStruct_SockaddrList,
6078 apzStruct_SockaddrMachs,
6079 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6080 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
6082 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
6083 apzSun_Auth_ProtoMachs,
6084 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6085 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
6087 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
6088 apzSun_Bogus_IfdefMachs,
6089 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6090 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
6092 { zSun_CatmacroName, zSun_CatmacroList,
6093 apzSun_CatmacroMachs,
6094 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6095 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
6097 { zSun_MallocName, zSun_MallocList,
6099 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
6100 aSun_MallocTests, apzSun_MallocPatch, 0 },
6102 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
6103 apzSun_Rusers_SemiMachs,
6104 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
6105 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
6107 { zSun_SignalName, zSun_SignalList,
6109 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6110 aSun_SignalTests, apzSun_SignalPatch, 0 },
6112 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
6113 apzSunos_Matherr_DeclMachs,
6114 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6115 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch, 0 },
6117 { zSunos_StrlenName, zSunos_StrlenList,
6118 apzSunos_StrlenMachs,
6119 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6120 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
6122 { zSvr4__PName, zSvr4__PList,
6124 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6125 aSvr4__PTests, apzSvr4__PPatch, 0 },
6127 { zSvr4_GetcwdName, zSvr4_GetcwdList,
6128 apzSvr4_GetcwdMachs,
6129 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6130 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
6132 { zSvr4_ProfilName, zSvr4_ProfilList,
6133 apzSvr4_ProfilMachs,
6134 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6135 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
6137 { zGnu_TypesName, zGnu_TypesList,
6139 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6140 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
6142 { zSysv68_StringName, zSysv68_StringList,
6143 apzSysv68_StringMachs,
6144 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
6145 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
6147 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
6148 apzSysz_Stdlib_For_SunMachs,
6149 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6150 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
6152 { zTinfo_CplusplusName, zTinfo_CplusplusList,
6153 apzTinfo_CplusplusMachs,
6154 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6155 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
6157 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
6158 apzUltrix_Atof_ParamMachs,
6159 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6160 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
6162 { zUltrix_ConstName, zUltrix_ConstList,
6163 apzUltrix_ConstMachs,
6164 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6165 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
6167 { zUltrix_Const2Name, zUltrix_Const2List,
6168 apzUltrix_Const2Machs,
6169 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6170 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
6172 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
6173 apzUltrix_Fix_FixprotoMachs,
6174 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6175 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
6177 { zUltrix_IfdefName, zUltrix_IfdefList,
6178 apzUltrix_IfdefMachs,
6179 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6180 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
6182 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
6183 apzUltrix_Math_IfdefMachs,
6184 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6185 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
6187 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
6188 apzUltrix_Nested_IoctlMachs,
6189 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
6190 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
6192 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
6193 apzUltrix_Nested_SvcMachs,
6194 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
6195 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
6197 { zUltrix_StatName, zUltrix_StatList,
6198 apzUltrix_StatMachs,
6199 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
6200 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
6202 { zUltrix_StaticName, zUltrix_StaticList,
6203 apzUltrix_StaticMachs,
6204 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
6205 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
6207 { zUltrix_StringsName, zUltrix_StringsList,
6208 apzUltrix_StringsMachs,
6209 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6210 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
6212 { zUndefine_NullName, zUndefine_NullList,
6213 apzUndefine_NullMachs,
6214 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6215 aUndefine_NullTests, apzUndefine_NullPatch, 0 },
6217 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
6218 apzUw7_Byteorder_FixMachs,
6219 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6220 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
6222 { zVa_I960_MacroName, zVa_I960_MacroList,
6223 apzVa_I960_MacroMachs,
6224 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6225 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
6227 { zVoid_NullName, zVoid_NullList,
6229 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6230 aVoid_NullTests, apzVoid_NullPatch, 0 },
6232 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
6233 apzVxworks_Gcc_ProblemMachs,
6234 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
6235 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
6237 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
6238 apzVxworks_Needs_VxtypesMachs,
6239 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6240 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
6242 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
6243 apzVxworks_Needs_VxworksMachs,
6244 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
6245 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
6247 { zVxworks_TimeName, zVxworks_TimeList,
6248 apzVxworks_TimeMachs,
6249 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6250 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
6252 { zX11_ClassName, zX11_ClassList,
6254 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6255 aX11_ClassTests, apzX11_ClassPatch, 0 },
6257 { zX11_Class_UsageName, zX11_Class_UsageList,
6258 apzX11_Class_UsageMachs,
6259 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6260 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
6262 { zX11_NewName, zX11_NewList,
6264 X11_NEW_TEST_CT, FD_MACH_ONLY,
6265 aX11_NewTests, apzX11_NewPatch, 0 },
6267 { zX11_SprintfName, zX11_SprintfList,
6268 apzX11_SprintfMachs,
6269 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6270 aX11_SprintfTests, apzX11_SprintfPatch, 0 }