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 147 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 Aab_Dgux_Int_Varargs fix
37 tSCC zAab_Dgux_Int_VarargsName[] =
38 "AAB_dgux_int_varargs";
41 * File name selection pattern
43 tSCC zAab_Dgux_Int_VarargsList[] =
46 * Machine/OS name selection pattern
48 #define apzAab_Dgux_Int_VarargsMachs (const char**)NULL
49 #define AAB_DGUX_INT_VARARGS_TEST_CT 0
50 #define aAab_Dgux_Int_VarargsTests (tTestDesc*)NULL
53 * Fix Command Arguments for Aab_Dgux_Int_Varargs
55 static const char* apzAab_Dgux_Int_VarargsPatch[] = {
56 "#ifndef __INT_VARARGS_H\n\
57 #define __INT_VARARGS_H\n\n\
58 /********************************************************/\n\
59 /* Define the common stuff for varargs/stdarg/stdio. */\n\
60 /********************************************************/\n\n\
62 ** This file is a DG internal header. Never include this\n\
65 #ifndef ___int_features_h\n\
66 #include <sys/_int_features.h>\n\
68 #if !(defined(_VA_LIST) || defined(_VA_LIST_))\n\
70 #define _VA_LIST_\n\n\
73 typedef void * va_list;\n\
75 typedef char * va_list;\n\
79 #if defined(__DCC__)\n\n\
85 #else /* ! defined(__DCC__) */\n\n\
87 int __va_arg; /* argument number */\n\
88 int *__va_stk; /* start of args passed on stack */\n\
89 int *__va_reg; /* start of args passed in regs */\n\
91 #endif /* ! defined(__DCC__) */\n\n\
93 #if defined(__GNUC__) || defined(__STDC__)\n\
94 typedef void * va_list;\n\
96 typedef char * va_list;\n\
98 #endif /* _IX86_ANY */\n\n\
99 #endif /* __LINT__ */\n\
100 #endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */\n\
101 #endif /* #ifndef __INT_VARARGS_H */",
104 /* * * * * * * * * * * * * * * * * * * * * * * * * *
106 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
108 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
109 "AAB_fd_zero_asm_posix_types_h";
112 * File name selection pattern
114 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
115 "|asm/posix_types.h|";
117 * Machine/OS name selection pattern
119 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
120 "i[34567]86-*-linux*",
124 * content bypass pattern - skip fix if pattern found
126 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
129 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
130 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
131 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
134 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
136 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
137 "/* This file fixes a bug in the __FD_ZERO macro\n\
138 for older versions of the Linux kernel. */\n\
139 #ifndef _POSIX_TYPES_H_WRAPPER\n\
140 #include <features.h>\n\
141 #include_next <asm/posix_types.h>\n\n\
142 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
144 #define __FD_ZERO(fdsetp) \\\n\
146 int __d0, __d1; \\\n\
147 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
148 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
149 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
150 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
153 #define _POSIX_TYPES_H_WRAPPER\n\
154 #endif /* _POSIX_TYPES_H_WRAPPER */",
157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
159 * Description of Aab_Fd_Zero_Gnu_Types_H fix
161 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
162 "AAB_fd_zero_gnu_types_h";
165 * File name selection pattern
167 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
170 * Machine/OS name selection pattern
172 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
173 "i[34567]86-*-linux*",
175 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
176 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
179 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
181 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
182 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
183 #ifndef _TYPES_H_WRAPPER\n\
184 #include <features.h>\n\
185 #include_next <gnu/types.h>\n\n\
186 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
188 # define __FD_ZERO(fdsetp) \\\n\
190 int __d0, __d1; \\\n\
191 \t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
192 \t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
193 \t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
194 \t\t \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
197 #define _TYPES_H_WRAPPER\n\
198 #endif /* _TYPES_H_WRAPPER */\n",
201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
203 * Description of Aab_Fd_Zero_Selectbits_H fix
205 tSCC zAab_Fd_Zero_Selectbits_HName[] =
206 "AAB_fd_zero_selectbits_h";
209 * File name selection pattern
211 tSCC zAab_Fd_Zero_Selectbits_HList[] =
214 * Machine/OS name selection pattern
216 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
217 "i[34567]86-*-linux*",
219 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
220 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
223 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
225 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
226 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
227 #ifndef _SELECTBITS_H_WRAPPER\n\
228 #include <features.h>\n\
229 #include_next <selectbits.h>\n\n\
230 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\n\
231 \t&& defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\n\
232 \t&& __GLIBC_MINOR__ == 0\n\
234 #define __FD_ZERO(fdsetp) \\\n\
236 int __d0, __d1; \\\n\
237 __asm__ __volatile__ (\"cld; rep; stosl\" \\\n\
238 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
239 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\n\
240 / sizeof (__fd_mask)), \\\n\
241 \"1\" ((__fd_mask *) (fdsetp)) \\\n\
245 #define _SELECTBITS_H_WRAPPER\n\
246 #endif /* _SELECTBITS_H_WRAPPER */\n",
249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
251 * Description of Aab_Solaris_Sys_Varargs_H fix
253 tSCC zAab_Solaris_Sys_Varargs_HName[] =
254 "AAB_solaris_sys_varargs_h";
257 * File name selection pattern
259 tSCC zAab_Solaris_Sys_Varargs_HList[] =
262 * Machine/OS name selection pattern
264 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
267 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
268 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
271 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
273 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
275 #include <stdarg.h>\n\
277 #include <varargs.h>\n\
281 /* * * * * * * * * * * * * * * * * * * * * * * * * *
283 * Description of Aab_Sun_Memcpy fix
285 tSCC zAab_Sun_MemcpyName[] =
289 * File name selection pattern
291 tSCC zAab_Sun_MemcpyList[] =
294 * Machine/OS name selection pattern
296 #define apzAab_Sun_MemcpyMachs (const char**)NULL
299 * content selection pattern - do fix if pattern found
301 tSCC zAab_Sun_MemcpySelect0[] =
302 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
304 #define AAB_SUN_MEMCPY_TEST_CT 1
305 static tTestDesc aAab_Sun_MemcpyTests[] = {
306 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
309 * Fix Command Arguments for Aab_Sun_Memcpy
311 static const char* apzAab_Sun_MemcpyPatch[] = {
312 "/* This file was generated by fixincludes */\n\
313 #ifndef __memory_h__\n\
314 #define __memory_h__\n\n\
316 extern void *memccpy();\n\
317 extern void *memchr();\n\
318 extern void *memcpy();\n\
319 extern void *memset();\n\
321 extern char *memccpy();\n\
322 extern char *memchr();\n\
323 extern char *memcpy();\n\
324 extern char *memset();\n\
325 #endif /* __STDC__ */\n\n\
326 extern int memcmp();\n\n\
327 #endif /* __memory_h__ */\n",
330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
332 * Description of Aab_Svr4_Replace_Byteorder fix
334 tSCC zAab_Svr4_Replace_ByteorderName[] =
335 "AAB_svr4_replace_byteorder";
338 * File name selection pattern
340 tSCC zAab_Svr4_Replace_ByteorderList[] =
343 * Machine/OS name selection pattern
345 tSCC* apzAab_Svr4_Replace_ByteorderMachs[] = {
347 "i[34567]86-*-sysv5*",
349 "i[34567]86-*-solaris2.[0-4]",
350 "powerpcle-*-solaris2.[0-4]",
351 "sparc-*-solaris2.[0-4]",
353 #define AAB_SVR4_REPLACE_BYTEORDER_TEST_CT 0
354 #define aAab_Svr4_Replace_ByteorderTests (tTestDesc*)NULL
357 * Fix Command Arguments for Aab_Svr4_Replace_Byteorder
359 static const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
360 "#ifndef _SYS_BYTEORDER_H\n\
361 #define _SYS_BYTEORDER_H\n\n\
362 /* Functions to convert `short' and `long' quantities from host byte order\n\
363 to (internet) network byte order (i.e. big-endian).\n\n\
364 Written by Ron Guilmette (rfg@ncd.com).\n\n\
365 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
366 For big-endian machines these functions are essentially no-ops.\n\n\
367 For little-endian machines, we define the functions using specialized\n\
368 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
369 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
370 #error You lose! This file is only useful with GNU compilers.\n\
372 #ifndef __BYTE_ORDER__\n\
373 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
374 double underscores added at the front and back. */\n\
375 #define __LITTLE_ENDIAN__ 1234\n\
376 #define __BIG_ENDIAN__ 4321\n\
377 #define __PDP_ENDIAN__ 3412\n\
380 static __inline__ unsigned long htonl (unsigned long);\n\
381 static __inline__ unsigned short htons (unsigned int);\n\
382 static __inline__ unsigned long ntohl (unsigned long);\n\
383 static __inline__ unsigned short ntohs (unsigned int);\n\
384 #endif /* defined (__STDC__) */\n\n\
385 #if defined (__i386__)\n\n\
386 #ifndef __BYTE_ORDER__\n\
387 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
389 /* Convert a host long to a network long. */\n\n\
390 /* We must use a new-style function definition, so that this will also\n\
391 be valid for C++. */\n\
392 static __inline__ unsigned long\n\
393 htonl (unsigned long __arg)\n\
395 register unsigned long __result;\n\n\
396 __asm__ (\"xchg%B0 %b0,%h0\n\
398 \txchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
401 /* Convert a host short to a network short. */\n\n\
402 static __inline__ unsigned short\n\
403 htons (unsigned int __arg)\n\
405 register unsigned short __result;\n\n\
406 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
409 #elif ((defined (__i860__) && !defined (__i860_big_endian__))\t\\\n\
410 || defined (__ns32k__) || defined (__vax__)\t\t\\\n\
411 || defined (__spur__) || defined (__arm__))\n\n\
412 #ifndef __BYTE_ORDER__\n\
413 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
415 /* For other little-endian machines, using C code is just as efficient as\n\
416 using assembly code. */\n\n\
417 /* Convert a host long to a network long. */\n\n\
418 static __inline__ unsigned long\n\
419 htonl (unsigned long __arg)\n\
421 register unsigned long __result;\n\n\
422 __result = (__arg >> 24) & 0x000000ff;\n\
423 __result |= (__arg >> 8) & 0x0000ff00;\n\
424 __result |= (__arg << 8) & 0x00ff0000;\n\
425 __result |= (__arg << 24) & 0xff000000;\n\
428 /* Convert a host short to a network short. */\n\n\
429 static __inline__ unsigned short\n\
430 htons (unsigned int __arg)\n\
432 register unsigned short __result;\n\n\
433 __result = (__arg << 8) & 0xff00;\n\
434 __result |= (__arg >> 8) & 0x00ff;\n\
437 #else /* must be a big-endian machine */\n\n\
438 #ifndef __BYTE_ORDER__\n\
439 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
441 /* Convert a host long to a network long. */\n\n\
442 static __inline__ unsigned long\n\
443 htonl (unsigned long __arg)\n\
447 /* Convert a host short to a network short. */\n\n\
448 static __inline__ unsigned short\n\
449 htons (unsigned int __arg)\n\
453 #endif /* big-endian */\n\n\
454 /* Convert a network long to a host long. */\n\n\
455 static __inline__ unsigned long\n\
456 ntohl (unsigned long __arg)\n\
458 return htonl (__arg);\n\
460 /* Convert a network short to a host short. */\n\n\
461 static __inline__ unsigned short\n\
462 ntohs (unsigned int __arg)\n\
464 return htons (__arg);\n\
469 /* * * * * * * * * * * * * * * * * * * * * * * * * *
471 * Description of Aab_Ultrix_Ansi_Compat fix
473 tSCC zAab_Ultrix_Ansi_CompatName[] =
474 "AAB_ultrix_ansi_compat";
477 * File name selection pattern
479 tSCC zAab_Ultrix_Ansi_CompatList[] =
482 * Machine/OS name selection pattern
484 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
487 * content selection pattern - do fix if pattern found
489 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
492 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
493 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
494 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
497 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
499 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
500 "/* This file intentionally left blank. */\n",
503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
505 * Description of Aab_Ultrix_Limits fix
507 tSCC zAab_Ultrix_LimitsName[] =
511 * File name selection pattern
513 tSCC zAab_Ultrix_LimitsList[] =
516 * Machine/OS name selection pattern
518 tSCC* apzAab_Ultrix_LimitsMachs[] = {
521 #define AAB_ULTRIX_LIMITS_TEST_CT 0
522 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
525 * Fix Command Arguments for Aab_Ultrix_Limits
527 static const char* apzAab_Ultrix_LimitsPatch[] = {
528 "#ifndef _LIMITS_INCLUDED\n\
529 #define _LIMITS_INCLUDED\n\
530 #include <sys/limits.h>\n\
531 #endif /* _LIMITS_INCLUDED */\n",
534 /* * * * * * * * * * * * * * * * * * * * * * * * * *
536 * Description of Aab_Ultrix_Memory fix
538 tSCC zAab_Ultrix_MemoryName[] =
542 * File name selection pattern
544 tSCC zAab_Ultrix_MemoryList[] =
547 * Machine/OS name selection pattern
549 tSCC* apzAab_Ultrix_MemoryMachs[] = {
552 #define AAB_ULTRIX_MEMORY_TEST_CT 0
553 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
556 * Fix Command Arguments for Aab_Ultrix_Memory
558 static const char* apzAab_Ultrix_MemoryPatch[] = {
559 "#ifndef _MEMORY_INCLUDED\n\
560 #define _MEMORY_INCLUDED\n\
561 #include <strings.h>\n\
562 #endif /* _MEMORY_INCLUDED */\n",
565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
567 * Description of Aab_Ultrix_String fix
569 tSCC zAab_Ultrix_StringName[] =
573 * File name selection pattern
575 tSCC zAab_Ultrix_StringList[] =
578 * Machine/OS name selection pattern
580 tSCC* apzAab_Ultrix_StringMachs[] = {
583 #define AAB_ULTRIX_STRING_TEST_CT 0
584 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
587 * Fix Command Arguments for Aab_Ultrix_String
589 static const char* apzAab_Ultrix_StringPatch[] = {
590 "#ifndef _STRING_INCLUDED\n\
591 #define _STRING_INCLUDED\n\
592 #include <strings.h>\n\
593 #endif /* _STRING_INCLUDED */\n",
596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
598 * Description of Aix_Pthread fix
600 tSCC zAix_PthreadName[] =
604 * File name selection pattern
606 tSCC zAix_PthreadList[] =
609 * Machine/OS name selection pattern
611 #define apzAix_PthreadMachs (const char**)NULL
614 * content selection pattern - do fix if pattern found
616 tSCC zAix_PthreadSelect0[] =
617 "(#define [A-Za-z_0-9]+)(\\\\\n\
621 #define AIX_PTHREAD_TEST_CT 1
622 static tTestDesc aAix_PthreadTests[] = {
623 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
626 * Fix Command Arguments for Aix_Pthread
628 static const char* apzAix_PthreadPatch[] = {
633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
635 * Description of Aix_Sysmachine fix
637 tSCC zAix_SysmachineName[] =
641 * File name selection pattern
643 tSCC zAix_SysmachineList[] =
646 * Machine/OS name selection pattern
648 #define apzAix_SysmachineMachs (const char**)NULL
651 * content selection pattern - do fix if pattern found
653 tSCC zAix_SysmachineSelect0[] =
656 #define AIX_SYSMACHINE_TEST_CT 1
657 static tTestDesc aAix_SysmachineTests[] = {
658 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
661 * Fix Command Arguments for Aix_Sysmachine
663 static const char* apzAix_SysmachinePatch[] = {
668 /* * * * * * * * * * * * * * * * * * * * * * * * * *
670 * Description of Aix_Syswait fix
672 tSCC zAix_SyswaitName[] =
676 * File name selection pattern
678 tSCC zAix_SyswaitList[] =
681 * Machine/OS name selection pattern
683 #define apzAix_SyswaitMachs (const char**)NULL
686 * content selection pattern - do fix if pattern found
688 tSCC zAix_SyswaitSelect0[] =
689 "^extern pid_t wait3\\(\\);\n";
690 tSCC zAix_SyswaitSelect1[] =
693 #define AIX_SYSWAIT_TEST_CT 2
694 static tTestDesc aAix_SyswaitTests[] = {
695 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
696 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
699 * Fix Command Arguments for Aix_Syswait
701 static const char* apzAix_SyswaitPatch[] = {
707 /* * * * * * * * * * * * * * * * * * * * * * * * * *
709 * Description of Aix_Volatile fix
711 tSCC zAix_VolatileName[] =
715 * File name selection pattern
717 tSCC zAix_VolatileList[] =
720 * Machine/OS name selection pattern
722 #define apzAix_VolatileMachs (const char**)NULL
725 * content selection pattern - do fix if pattern found
727 tSCC zAix_VolatileSelect0[] =
728 "typedef volatile int sig_atomic_t";
730 #define AIX_VOLATILE_TEST_CT 1
731 static tTestDesc aAix_VolatileTests[] = {
732 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
735 * Fix Command Arguments for Aix_Volatile
737 static const char* apzAix_VolatilePatch[] = {
739 "typedef int sig_atomic_t",
742 /* * * * * * * * * * * * * * * * * * * * * * * * * *
744 * Description of Alpha___Assert fix
746 tSCC zAlpha___AssertName[] =
750 * File name selection pattern
752 tSCC zAlpha___AssertList[] =
755 * Machine/OS name selection pattern
757 #define apzAlpha___AssertMachs (const char**)NULL
760 * content selection pattern - do fix if pattern found
762 tSCC zAlpha___AssertSelect0[] =
763 "__assert\\(char \\*, char \\*, int\\)";
765 #define ALPHA___ASSERT_TEST_CT 1
766 static tTestDesc aAlpha___AssertTests[] = {
767 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
770 * Fix Command Arguments for Alpha___Assert
772 static const char* apzAlpha___AssertPatch[] = {
774 "__assert(const char *, const char *, int)",
777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
779 * Description of Alpha_Assert fix
781 tSCC zAlpha_AssertName[] =
785 * File name selection pattern
787 tSCC zAlpha_AssertList[] =
790 * Machine/OS name selection pattern
792 #define apzAlpha_AssertMachs (const char**)NULL
795 * content selection pattern - do fix if pattern found
797 tSCC zAlpha_AssertSelect0[] =
798 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
800 #define ALPHA_ASSERT_TEST_CT 1
801 static tTestDesc aAlpha_AssertTests[] = {
802 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
805 * Fix Command Arguments for Alpha_Assert
807 static const char* apzAlpha_AssertPatch[] = {
812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
814 * Description of Alpha_Getopt fix
816 tSCC zAlpha_GetoptName[] =
820 * File name selection pattern
822 tSCC zAlpha_GetoptList[] =
823 "|stdio.h|stdlib.h|";
825 * Machine/OS name selection pattern
827 #define apzAlpha_GetoptMachs (const char**)NULL
830 * content selection pattern - do fix if pattern found
832 tSCC zAlpha_GetoptSelect0[] =
833 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
835 #define ALPHA_GETOPT_TEST_CT 1
836 static tTestDesc aAlpha_GetoptTests[] = {
837 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
840 * Fix Command Arguments for Alpha_Getopt
842 static const char* apzAlpha_GetoptPatch[] = {
844 "getopt(int, char *const[], const char *)",
847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
849 * Description of Alpha_Parens fix
851 tSCC zAlpha_ParensName[] =
855 * File name selection pattern
857 tSCC zAlpha_ParensList[] =
860 * Machine/OS name selection pattern
862 #define apzAlpha_ParensMachs (const char**)NULL
865 * content selection pattern - do fix if pattern found
867 tSCC zAlpha_ParensSelect0[] =
868 "#ifndef\\(__mips64\\)";
870 #define ALPHA_PARENS_TEST_CT 1
871 static tTestDesc aAlpha_ParensTests[] = {
872 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
875 * Fix Command Arguments for Alpha_Parens
877 static const char* apzAlpha_ParensPatch[] = {
882 /* * * * * * * * * * * * * * * * * * * * * * * * * *
884 * Description of Alpha_Sbrk fix
886 tSCC zAlpha_SbrkName[] =
890 * File name selection pattern
892 tSCC zAlpha_SbrkList[] =
895 * Machine/OS name selection pattern
897 #define apzAlpha_SbrkMachs (const char**)NULL
900 * content selection pattern - do fix if pattern found
902 tSCC zAlpha_SbrkSelect0[] =
903 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
905 #define ALPHA_SBRK_TEST_CT 1
906 static tTestDesc aAlpha_SbrkTests[] = {
907 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
910 * Fix Command Arguments for Alpha_Sbrk
912 static const char* apzAlpha_SbrkPatch[] = {
917 /* * * * * * * * * * * * * * * * * * * * * * * * * *
919 * Description of Arm_Norcroft_Hint fix
921 tSCC zArm_Norcroft_HintName[] =
925 * File name selection pattern
927 tSCC zArm_Norcroft_HintList[] =
930 * Machine/OS name selection pattern
932 #define apzArm_Norcroft_HintMachs (const char**)NULL
935 * content selection pattern - do fix if pattern found
937 tSCC zArm_Norcroft_HintSelect0[] =
940 #define ARM_NORCROFT_HINT_TEST_CT 1
941 static tTestDesc aArm_Norcroft_HintTests[] = {
942 { TT_EGREP, zArm_Norcroft_HintSelect0, (regex_t*)NULL }, };
945 * Fix Command Arguments for Arm_Norcroft_Hint
947 static const char* apzArm_Norcroft_HintPatch[] = {
952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
954 * Description of Arm_Wchar fix
956 tSCC zArm_WcharName[] =
960 * File name selection pattern
962 tSCC zArm_WcharList[] =
965 * Machine/OS name selection pattern
967 #define apzArm_WcharMachs (const char**)NULL
970 * content selection pattern - do fix if pattern found
972 tSCC zArm_WcharSelect0[] =
973 "#[ \t]*define[ \t]*__wchar_t";
975 #define ARM_WCHAR_TEST_CT 1
976 static tTestDesc aArm_WcharTests[] = {
977 { TT_EGREP, zArm_WcharSelect0, (regex_t*)NULL }, };
980 * Fix Command Arguments for Arm_Wchar
982 static const char* apzArm_WcharPatch[] = {
985 "(#[ \t]*(ifndef|define)[ \t]+)__wchar_t",
988 /* * * * * * * * * * * * * * * * * * * * * * * * * *
990 * Description of Aux_Asm fix
992 tSCC zAux_AsmName[] =
996 * File name selection pattern
998 tSCC zAux_AsmList[] =
1001 * Machine/OS name selection pattern
1003 #define apzAux_AsmMachs (const char**)NULL
1006 * content selection pattern - do fix if pattern found
1008 tSCC zAux_AsmSelect0[] =
1011 #define AUX_ASM_TEST_CT 1
1012 static tTestDesc aAux_AsmTests[] = {
1013 { TT_EGREP, zAux_AsmSelect0, (regex_t*)NULL }, };
1016 * Fix Command Arguments for Aux_Asm
1018 static const char* apzAux_AsmPatch[] = {
1020 "#if !defined(NOINLINE) && !defined(__GNUC__)",
1023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1025 * Description of Avoid_Bool_Define fix
1027 tSCC zAvoid_Bool_DefineName[] =
1028 "avoid_bool_define";
1031 * File name selection pattern
1033 tSCC zAvoid_Bool_DefineList[] =
1034 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1036 * Machine/OS name selection pattern
1038 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1041 * content selection pattern - do fix if pattern found
1043 tSCC zAvoid_Bool_DefineSelect0[] =
1044 "#[ \t]*define[ \t]+bool[ \t]";
1047 * content bypass pattern - skip fix if pattern found
1049 tSCC zAvoid_Bool_DefineBypass0[] =
1050 "we must use the C\\+\\+ compiler's type";
1052 #define AVOID_BOOL_DEFINE_TEST_CT 2
1053 static tTestDesc aAvoid_Bool_DefineTests[] = {
1054 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1055 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1058 * Fix Command Arguments for Avoid_Bool_Define
1060 static const char* apzAvoid_Bool_DefinePatch[] = {
1062 "#ifndef __cplusplus\n\
1065 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1070 * Description of Avoid_Bool_Type fix
1072 tSCC zAvoid_Bool_TypeName[] =
1076 * File name selection pattern
1078 tSCC zAvoid_Bool_TypeList[] =
1079 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1081 * Machine/OS name selection pattern
1083 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1086 * content selection pattern - do fix if pattern found
1088 tSCC zAvoid_Bool_TypeSelect0[] =
1089 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1092 * content bypass pattern - skip fix if pattern found
1094 tSCC zAvoid_Bool_TypeBypass0[] =
1095 "we must use the C\\+\\+ compiler's type";
1097 #define AVOID_BOOL_TYPE_TEST_CT 2
1098 static tTestDesc aAvoid_Bool_TypeTests[] = {
1099 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1100 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1103 * Fix Command Arguments for Avoid_Bool_Type
1105 static const char* apzAvoid_Bool_TypePatch[] = {
1107 "#ifndef __cplusplus\n\
1112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1114 * Description of Avoid_Wchar_T_Type fix
1116 tSCC zAvoid_Wchar_T_TypeName[] =
1117 "avoid_wchar_t_type";
1120 * File name selection pattern
1122 #define zAvoid_Wchar_T_TypeList (char*)NULL
1124 * Machine/OS name selection pattern
1126 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1129 * content selection pattern - do fix if pattern found
1131 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1132 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1134 #define AVOID_WCHAR_T_TYPE_TEST_CT 1
1135 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1136 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1139 * Fix Command Arguments for Avoid_Wchar_T_Type
1141 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1143 "#ifndef __cplusplus\n\
1148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1150 * Description of Bad_Lval fix
1152 tSCC zBad_LvalName[] =
1156 * File name selection pattern
1158 tSCC zBad_LvalList[] =
1159 "|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|";
1161 * Machine/OS name selection pattern
1163 #define apzBad_LvalMachs (const char**)NULL
1166 * content selection pattern - do fix if pattern found
1168 tSCC zBad_LvalSelect0[] =
1169 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1171 #define BAD_LVAL_TEST_CT 1
1172 static tTestDesc aBad_LvalTests[] = {
1173 { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
1176 * Fix Command Arguments for Bad_Lval
1178 static const char* apzBad_LvalPatch[] = { "sed",
1179 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1184 * Description of Bad_Struct_Term fix
1186 tSCC zBad_Struct_TermName[] =
1190 * File name selection pattern
1192 tSCC zBad_Struct_TermList[] =
1195 * Machine/OS name selection pattern
1197 #define apzBad_Struct_TermMachs (const char**)NULL
1200 * content selection pattern - do fix if pattern found
1202 tSCC zBad_Struct_TermSelect0[] =
1203 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1205 #define BAD_STRUCT_TERM_TEST_CT 1
1206 static tTestDesc aBad_Struct_TermTests[] = {
1207 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1210 * Fix Command Arguments for Bad_Struct_Term
1212 static const char* apzBad_Struct_TermPatch[] = {
1217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1219 * Description of Badquote fix
1221 tSCC zBadquoteName[] =
1225 * File name selection pattern
1227 tSCC zBadquoteList[] =
1228 "|sundev/vuid_event.h|";
1230 * Machine/OS name selection pattern
1232 #define apzBadquoteMachs (const char**)NULL
1235 * content selection pattern - do fix if pattern found
1237 tSCC zBadquoteSelect0[] =
1240 #define BADQUOTE_TEST_CT 1
1241 static tTestDesc aBadquoteTests[] = {
1242 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1245 * Fix Command Arguments for Badquote
1247 static const char* apzBadquotePatch[] = {
1252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1254 * Description of Broken_Assert_Stdio fix
1256 tSCC zBroken_Assert_StdioName[] =
1257 "broken_assert_stdio";
1260 * File name selection pattern
1262 tSCC zBroken_Assert_StdioList[] =
1265 * Machine/OS name selection pattern
1267 #define apzBroken_Assert_StdioMachs (const char**)NULL
1270 * content selection pattern - do fix if pattern found
1272 tSCC zBroken_Assert_StdioSelect0[] =
1276 * content bypass pattern - skip fix if pattern found
1278 tSCC zBroken_Assert_StdioBypass0[] =
1279 "include.*stdio\\.h";
1281 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1282 static tTestDesc aBroken_Assert_StdioTests[] = {
1283 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1284 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1287 * Fix Command Arguments for Broken_Assert_Stdio
1289 static const char* apzBroken_Assert_StdioPatch[] = {
1291 "#include <stdio.h>\n",
1294 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1296 * Description of Broken_Assert_Stdlib fix
1298 tSCC zBroken_Assert_StdlibName[] =
1299 "broken_assert_stdlib";
1302 * File name selection pattern
1304 tSCC zBroken_Assert_StdlibList[] =
1307 * Machine/OS name selection pattern
1309 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1312 * content selection pattern - do fix if pattern found
1314 tSCC zBroken_Assert_StdlibSelect0[] =
1315 "exit *\\(|abort *\\(";
1318 * content bypass pattern - skip fix if pattern found
1320 tSCC zBroken_Assert_StdlibBypass0[] =
1321 "include.*stdlib\\.h";
1323 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1324 static tTestDesc aBroken_Assert_StdlibTests[] = {
1325 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1326 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1329 * Fix Command Arguments for Broken_Assert_Stdlib
1331 static const char* apzBroken_Assert_StdlibPatch[] = {
1333 "#ifdef __cplusplus\n\
1334 #include <stdlib.h>\n\
1338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1340 * Description of Broken_Cabs fix
1342 tSCC zBroken_CabsName[] =
1346 * File name selection pattern
1348 tSCC zBroken_CabsList[] =
1351 * Machine/OS name selection pattern
1353 #define apzBroken_CabsMachs (const char**)NULL
1356 * content selection pattern - do fix if pattern found
1358 tSCC zBroken_CabsSelect0[] =
1359 "^extern[ \\t]+double[ \\t]+cabs";
1361 #define BROKEN_CABS_TEST_CT 1
1362 static tTestDesc aBroken_CabsTests[] = {
1363 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1366 * Fix Command Arguments for Broken_Cabs
1368 static const char* apzBroken_CabsPatch[] = {
1371 "^extern[ \t]+double[ \t]+cabs\\((struct dbl_hypot|)\\);",
1374 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1376 * Description of Ctrl_Quotes_Def fix
1378 tSCC zCtrl_Quotes_DefName[] =
1382 * File name selection pattern
1384 #define zCtrl_Quotes_DefList (char*)NULL
1386 * Machine/OS name selection pattern
1388 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1391 * content selection pattern - do fix if pattern found
1393 tSCC zCtrl_Quotes_DefSelect0[] =
1394 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1396 #define CTRL_QUOTES_DEF_TEST_CT 1
1397 static tTestDesc aCtrl_Quotes_DefTests[] = {
1398 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1401 * Fix Command Arguments for Ctrl_Quotes_Def
1403 static const char* apzCtrl_Quotes_DefPatch[] = {
1408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1410 * Description of Ctrl_Quotes_Use fix
1412 tSCC zCtrl_Quotes_UseName[] =
1416 * File name selection pattern
1418 #define zCtrl_Quotes_UseList (char*)NULL
1420 * Machine/OS name selection pattern
1422 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1425 * content selection pattern - do fix if pattern found
1427 tSCC zCtrl_Quotes_UseSelect0[] =
1428 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1430 #define CTRL_QUOTES_USE_TEST_CT 1
1431 static tTestDesc aCtrl_Quotes_UseTests[] = {
1432 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1435 * Fix Command Arguments for Ctrl_Quotes_Use
1437 static const char* apzCtrl_Quotes_UsePatch[] = {
1442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1444 * Description of Cxx_Unready fix
1446 tSCC zCxx_UnreadyName[] =
1450 * File name selection pattern
1452 tSCC zCxx_UnreadyList[] =
1453 "|sys/mman.h|rpc/types.h|";
1455 * Machine/OS name selection pattern
1457 #define apzCxx_UnreadyMachs (const char**)NULL
1460 * content selection pattern - do fix if pattern found
1462 tSCC zCxx_UnreadySelect0[] =
1466 * content bypass pattern - skip fix if pattern found
1468 tSCC zCxx_UnreadyBypass0[] =
1469 "\"C\"|__BEGIN_DECLS";
1471 #define CXX_UNREADY_TEST_CT 2
1472 static tTestDesc aCxx_UnreadyTests[] = {
1473 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1474 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1477 * Fix Command Arguments for Cxx_Unready
1479 static const char* apzCxx_UnreadyPatch[] = {
1481 "#ifdef __cplusplus\n\
1484 "#ifdef __cplusplus\n\
1489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1491 * Description of Dec_Intern_Asm fix
1493 tSCC zDec_Intern_AsmName[] =
1497 * File name selection pattern
1499 tSCC zDec_Intern_AsmList[] =
1502 * Machine/OS name selection pattern
1504 #define apzDec_Intern_AsmMachs (const char**)NULL
1505 #define DEC_INTERN_ASM_TEST_CT 0
1506 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1509 * Fix Command Arguments for Dec_Intern_Asm
1511 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1512 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1514 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1520 * Description of Djgpp_Wchar_H fix
1522 tSCC zDjgpp_Wchar_HName[] =
1526 * File name selection pattern
1528 #define zDjgpp_Wchar_HList (char*)NULL
1530 * Machine/OS name selection pattern
1532 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1535 * content selection pattern - do fix if pattern found
1537 tSCC zDjgpp_Wchar_HSelect0[] =
1541 * content bypass pattern - skip fix if pattern found
1543 tSCC zDjgpp_Wchar_HBypass0[] =
1546 #define DJGPP_WCHAR_H_TEST_CT 2
1547 static tTestDesc aDjgpp_Wchar_HTests[] = {
1548 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1549 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1552 * Fix Command Arguments for Djgpp_Wchar_H
1554 static const char* apzDjgpp_Wchar_HPatch[] = {
1557 #include <sys/djtypes.h>",
1558 "#include <stddef.h>",
1561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1563 * Description of Ecd_Cursor fix
1565 tSCC zEcd_CursorName[] =
1569 * File name selection pattern
1571 tSCC zEcd_CursorList[] =
1572 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1574 * Machine/OS name selection pattern
1576 #define apzEcd_CursorMachs (const char**)NULL
1579 * content selection pattern - do fix if pattern found
1581 tSCC zEcd_CursorSelect0[] =
1584 #define ECD_CURSOR_TEST_CT 1
1585 static tTestDesc aEcd_CursorTests[] = {
1586 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1589 * Fix Command Arguments for Ecd_Cursor
1591 static const char* apzEcd_CursorPatch[] = {
1596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1598 * Description of Fix_Header_Breakage fix
1600 tSCC zFix_Header_BreakageName[] =
1601 "fix_header_breakage";
1604 * File name selection pattern
1606 tSCC zFix_Header_BreakageList[] =
1609 * Machine/OS name selection pattern
1611 tSCC* apzFix_Header_BreakageMachs[] = {
1612 "m88k-motorola-sysv3*",
1613 (const char*)NULL };
1616 * content selection pattern - do fix if pattern found
1618 tSCC zFix_Header_BreakageSelect0[] =
1619 "extern double floor\\(\\), ceil\\(\\), fmod\\(\\), fabs\\(\\);";
1621 #define FIX_HEADER_BREAKAGE_TEST_CT 1
1622 static tTestDesc aFix_Header_BreakageTests[] = {
1623 { TT_EGREP, zFix_Header_BreakageSelect0, (regex_t*)NULL }, };
1626 * Fix Command Arguments for Fix_Header_Breakage
1628 static const char* apzFix_Header_BreakagePatch[] = {
1630 "extern double floor(), ceil(), fmod(), fabs _PARAMS((double));",
1633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1635 * Description of Freebsd_Gcc3_Breakage fix
1637 tSCC zFreebsd_Gcc3_BreakageName[] =
1638 "freebsd_gcc3_breakage";
1641 * File name selection pattern
1643 tSCC zFreebsd_Gcc3_BreakageList[] =
1646 * Machine/OS name selection pattern
1648 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
1650 (const char*)NULL };
1653 * content selection pattern - do fix if pattern found
1655 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
1656 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
1659 * content bypass pattern - skip fix if pattern found
1661 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
1662 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
1664 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
1665 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
1666 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
1667 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
1670 * Fix Command Arguments for Freebsd_Gcc3_Breakage
1672 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
1674 "%0 || __GNUC__ >= 3",
1677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1679 * Description of Gnu_Types fix
1681 tSCC zGnu_TypesName[] =
1685 * File name selection pattern
1687 tSCC zGnu_TypesList[] =
1688 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
1690 * Machine/OS name selection pattern
1692 #define apzGnu_TypesMachs (const char**)NULL
1695 * content selection pattern - do fix if pattern found
1697 tSCC zGnu_TypesSelect0[] =
1698 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
1701 * content bypass pattern - skip fix if pattern found
1703 tSCC zGnu_TypesBypass0[] =
1704 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
1706 #define GNU_TYPES_TEST_CT 2
1707 static tTestDesc aGnu_TypesTests[] = {
1708 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
1709 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
1712 * Fix Command Arguments for Gnu_Types
1714 static const char* apzGnu_TypesPatch[] = {
1718 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1720 * Description of Hp_Inline fix
1722 tSCC zHp_InlineName[] =
1726 * File name selection pattern
1728 tSCC zHp_InlineList[] =
1729 "|sys/spinlock.h|machine/machparam.h|";
1731 * Machine/OS name selection pattern
1733 #define apzHp_InlineMachs (const char**)NULL
1736 * content selection pattern - do fix if pattern found
1738 tSCC zHp_InlineSelect0[] =
1739 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1741 #define HP_INLINE_TEST_CT 1
1742 static tTestDesc aHp_InlineTests[] = {
1743 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1746 * Fix Command Arguments for Hp_Inline
1748 static const char* apzHp_InlinePatch[] = {
1751 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1754 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1756 * Description of Hp_Sysfile fix
1758 tSCC zHp_SysfileName[] =
1762 * File name selection pattern
1764 tSCC zHp_SysfileList[] =
1767 * Machine/OS name selection pattern
1769 #define apzHp_SysfileMachs (const char**)NULL
1772 * content selection pattern - do fix if pattern found
1774 tSCC zHp_SysfileSelect0[] =
1777 #define HP_SYSFILE_TEST_CT 1
1778 static tTestDesc aHp_SysfileTests[] = {
1779 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
1782 * Fix Command Arguments for Hp_Sysfile
1784 static const char* apzHp_SysfilePatch[] = {
1786 "(struct file *, ...)",
1790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1792 * Description of Hpux10_Cpp_Pow_Inline fix
1794 tSCC zHpux10_Cpp_Pow_InlineName[] =
1795 "hpux10_cpp_pow_inline";
1798 * File name selection pattern
1800 tSCC zHpux10_Cpp_Pow_InlineList[] =
1801 "|fixinc-test-limits.h|math.h|";
1803 * Machine/OS name selection pattern
1805 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
1808 * content selection pattern - do fix if pattern found
1810 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
1811 "^# +ifdef +__cplusplus\n\
1813 +inline +double +pow\\(double +__d,int +__expon\\) +{\n\
1814 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
1816 +extern +\"C\" +{\n\
1820 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
1821 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
1822 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
1825 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
1827 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
1832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1834 * Description of Hpux11_Cpp_Pow_Inline fix
1836 tSCC zHpux11_Cpp_Pow_InlineName[] =
1837 "hpux11_cpp_pow_inline";
1840 * File name selection pattern
1842 tSCC zHpux11_Cpp_Pow_InlineList[] =
1845 * Machine/OS name selection pattern
1847 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
1850 * content selection pattern - do fix if pattern found
1852 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
1853 " +inline double pow\\(double d,int expon\\) {\n\
1854 +return pow\\(d, \\(double\\)expon\\);\n\
1857 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
1858 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
1859 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
1862 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
1864 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
1869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1871 * Description of Hpux11_Fabsf fix
1873 tSCC zHpux11_FabsfName[] =
1877 * File name selection pattern
1879 tSCC zHpux11_FabsfList[] =
1882 * Machine/OS name selection pattern
1884 #define apzHpux11_FabsfMachs (const char**)NULL
1887 * content selection pattern - do fix if pattern found
1889 tSCC zHpux11_FabsfSelect0[] =
1890 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
1893 * content bypass pattern - skip fix if pattern found
1895 tSCC zHpux11_FabsfBypass0[] =
1898 #define HPUX11_FABSF_TEST_CT 2
1899 static tTestDesc aHpux11_FabsfTests[] = {
1900 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
1901 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
1904 * Fix Command Arguments for Hpux11_Fabsf
1906 static const char* apzHpux11_FabsfPatch[] = {
1908 "#ifndef __cplusplus\n\
1913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1915 * Description of Hpux11_Abs fix
1917 tSCC zHpux11_AbsName[] =
1921 * File name selection pattern
1923 tSCC zHpux11_AbsList[] =
1926 * Machine/OS name selection pattern
1928 tSCC* apzHpux11_AbsMachs[] = {
1930 (const char*)NULL };
1933 * content selection pattern - do fix if pattern found
1935 tSCC zHpux11_AbsSelect0[] =
1936 "ifndef _MATH_INCLUDED";
1938 #define HPUX11_ABS_TEST_CT 1
1939 static tTestDesc aHpux11_AbsTests[] = {
1940 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
1943 * Fix Command Arguments for Hpux11_Abs
1945 static const char* apzHpux11_AbsPatch[] = {
1947 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
1950 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1952 * Description of Hpux11_Size_T fix
1954 tSCC zHpux11_Size_TName[] =
1958 * File name selection pattern
1960 #define zHpux11_Size_TList (char*)NULL
1962 * Machine/OS name selection pattern
1964 tSCC* apzHpux11_Size_TMachs[] = {
1966 (const char*)NULL };
1969 * content selection pattern - do fix if pattern found
1971 tSCC zHpux11_Size_TSelect0[] =
1974 #define HPUX11_SIZE_T_TEST_CT 1
1975 static tTestDesc aHpux11_Size_TTests[] = {
1976 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
1979 * Fix Command Arguments for Hpux11_Size_T
1981 static const char* apzHpux11_Size_TPatch[] = {
1986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1988 * Description of Hpux11_Uint32_C fix
1990 tSCC zHpux11_Uint32_CName[] =
1994 * File name selection pattern
1996 tSCC zHpux11_Uint32_CList[] =
1999 * Machine/OS name selection pattern
2001 #define apzHpux11_Uint32_CMachs (const char**)NULL
2004 * content selection pattern - do fix if pattern found
2006 tSCC zHpux11_Uint32_CSelect0[] =
2007 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2009 #define HPUX11_UINT32_C_TEST_CT 1
2010 static tTestDesc aHpux11_Uint32_CTests[] = {
2011 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2014 * Fix Command Arguments for Hpux11_Uint32_C
2016 static const char* apzHpux11_Uint32_CPatch[] = {
2018 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2023 * Description of Hpux11_Vsnprintf fix
2025 tSCC zHpux11_VsnprintfName[] =
2029 * File name selection pattern
2031 tSCC zHpux11_VsnprintfList[] =
2034 * Machine/OS name selection pattern
2036 #define apzHpux11_VsnprintfMachs (const char**)NULL
2039 * content selection pattern - do fix if pattern found
2041 tSCC zHpux11_VsnprintfSelect0[] =
2042 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2044 #define HPUX11_VSNPRINTF_TEST_CT 1
2045 static tTestDesc aHpux11_VsnprintfTests[] = {
2046 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2049 * Fix Command Arguments for Hpux11_Vsnprintf
2051 static const char* apzHpux11_VsnprintfPatch[] = {
2056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2058 * Description of Hpux8_Bogus_Inlines fix
2060 tSCC zHpux8_Bogus_InlinesName[] =
2061 "hpux8_bogus_inlines";
2064 * File name selection pattern
2066 tSCC zHpux8_Bogus_InlinesList[] =
2069 * Machine/OS name selection pattern
2071 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2074 * content selection pattern - do fix if pattern found
2076 tSCC zHpux8_Bogus_InlinesSelect0[] =
2079 #define HPUX8_BOGUS_INLINES_TEST_CT 1
2080 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2081 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2084 * Fix Command Arguments for Hpux8_Bogus_Inlines
2086 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2087 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2088 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2089 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2090 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2095 * Description of Hpux_Maxint fix
2097 tSCC zHpux_MaxintName[] =
2101 * File name selection pattern
2103 tSCC zHpux_MaxintList[] =
2104 "|sys/param.h|values.h|";
2106 * Machine/OS name selection pattern
2108 #define apzHpux_MaxintMachs (const char**)NULL
2111 * content selection pattern - do fix if pattern found
2113 tSCC zHpux_MaxintSelect0[] =
2114 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2117 * content bypass pattern - skip fix if pattern found
2119 tSCC zHpux_MaxintBypass0[] =
2120 "^#[ \t]*ifndef[ \t]+MAXINT";
2123 * perform the 'test' shell command - do fix on success
2125 tSCC zHpux_MaxintTest0[] =
2126 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2128 #define HPUX_MAXINT_TEST_CT 3
2129 static tTestDesc aHpux_MaxintTests[] = {
2130 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2131 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2132 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2135 * Fix Command Arguments for Hpux_Maxint
2137 static const char* apzHpux_MaxintPatch[] = {
2142 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2147 * Description of Hpux_Systime fix
2149 tSCC zHpux_SystimeName[] =
2153 * File name selection pattern
2155 tSCC zHpux_SystimeList[] =
2158 * Machine/OS name selection pattern
2160 #define apzHpux_SystimeMachs (const char**)NULL
2163 * content selection pattern - do fix if pattern found
2165 tSCC zHpux_SystimeSelect0[] =
2166 "^extern struct sigevent;";
2168 #define HPUX_SYSTIME_TEST_CT 1
2169 static tTestDesc aHpux_SystimeTests[] = {
2170 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2173 * Fix Command Arguments for Hpux_Systime
2175 static const char* apzHpux_SystimePatch[] = {
2180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2182 * Description of Int_Abort_Free_And_Exit fix
2184 tSCC zInt_Abort_Free_And_ExitName[] =
2185 "int_abort_free_and_exit";
2188 * File name selection pattern
2190 tSCC zInt_Abort_Free_And_ExitList[] =
2193 * Machine/OS name selection pattern
2195 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2198 * content selection pattern - do fix if pattern found
2200 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2201 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2203 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2204 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2205 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2208 * Fix Command Arguments for Int_Abort_Free_And_Exit
2210 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2217 * Description of Io_Quotes_Def fix
2219 tSCC zIo_Quotes_DefName[] =
2223 * File name selection pattern
2225 #define zIo_Quotes_DefList (char*)NULL
2227 * Machine/OS name selection pattern
2229 #define apzIo_Quotes_DefMachs (const char**)NULL
2232 * content selection pattern - do fix if pattern found
2234 tSCC zIo_Quotes_DefSelect0[] =
2235 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2237 #define IO_QUOTES_DEF_TEST_CT 1
2238 static tTestDesc aIo_Quotes_DefTests[] = {
2239 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2242 * Fix Command Arguments for Io_Quotes_Def
2244 static const char* apzIo_Quotes_DefPatch[] = {
2249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2251 * Description of Io_Quotes_Use fix
2253 tSCC zIo_Quotes_UseName[] =
2257 * File name selection pattern
2259 #define zIo_Quotes_UseList (char*)NULL
2261 * Machine/OS name selection pattern
2263 #define apzIo_Quotes_UseMachs (const char**)NULL
2266 * content selection pattern - do fix if pattern found
2268 tSCC zIo_Quotes_UseSelect0[] =
2269 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2271 #define IO_QUOTES_USE_TEST_CT 1
2272 static tTestDesc aIo_Quotes_UseTests[] = {
2273 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2276 * Fix Command Arguments for Io_Quotes_Use
2278 static const char* apzIo_Quotes_UsePatch[] = {
2283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2285 * Description of Ip_Missing_Semi fix
2287 tSCC zIp_Missing_SemiName[] =
2291 * File name selection pattern
2293 tSCC zIp_Missing_SemiList[] =
2296 * Machine/OS name selection pattern
2298 #define apzIp_Missing_SemiMachs (const char**)NULL
2301 * content selection pattern - do fix if pattern found
2303 tSCC zIp_Missing_SemiSelect0[] =
2306 #define IP_MISSING_SEMI_TEST_CT 1
2307 static tTestDesc aIp_Missing_SemiTests[] = {
2308 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2311 * Fix Command Arguments for Ip_Missing_Semi
2313 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2314 "-e", "/^struct/,/^};/s/}$/};/",
2317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2319 * Description of Irix_Asm_Apostrophe fix
2321 tSCC zIrix_Asm_ApostropheName[] =
2322 "irix_asm_apostrophe";
2325 * File name selection pattern
2327 tSCC zIrix_Asm_ApostropheList[] =
2330 * Machine/OS name selection pattern
2332 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2335 * content selection pattern - do fix if pattern found
2337 tSCC zIrix_Asm_ApostropheSelect0[] =
2338 "^[ \t]*#.*[Ww]e're";
2340 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2341 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2342 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2345 * Fix Command Arguments for Irix_Asm_Apostrophe
2347 static const char* apzIrix_Asm_ApostrophePatch[] = {
2350 "^([ \t]*#.*[Ww]e)'re",
2353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2355 * Description of Irix_Limits_Const fix
2357 tSCC zIrix_Limits_ConstName[] =
2358 "irix_limits_const";
2361 * File name selection pattern
2363 tSCC zIrix_Limits_ConstList[] =
2364 "|fixinc-test-limits.h|limits.h|";
2366 * Machine/OS name selection pattern
2368 #define apzIrix_Limits_ConstMachs (const char**)NULL
2371 * content selection pattern - do fix if pattern found
2373 tSCC zIrix_Limits_ConstSelect0[] =
2376 #define IRIX_LIMITS_CONST_TEST_CT 1
2377 static tTestDesc aIrix_Limits_ConstTests[] = {
2378 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
2381 * Fix Command Arguments for Irix_Limits_Const
2383 static const char* apzIrix_Limits_ConstPatch[] = {
2388 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2390 * Description of Irix_Stdio_Va_List fix
2392 tSCC zIrix_Stdio_Va_ListName[] =
2393 "irix_stdio_va_list";
2396 * File name selection pattern
2398 tSCC zIrix_Stdio_Va_ListList[] =
2401 * Machine/OS name selection pattern
2403 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
2406 * content selection pattern - do fix if pattern found
2408 tSCC zIrix_Stdio_Va_ListSelect0[] =
2409 "(printf\\(.*), /\\* va_list \\*/ char \\*";
2411 #define IRIX_STDIO_VA_LIST_TEST_CT 1
2412 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
2413 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
2416 * Fix Command Arguments for Irix_Stdio_Va_List
2418 static const char* apzIrix_Stdio_Va_ListPatch[] = {
2420 "%1, __gnuc_va_list",
2423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2425 * Description of Isc_Fmod fix
2427 tSCC zIsc_FmodName[] =
2431 * File name selection pattern
2433 tSCC zIsc_FmodList[] =
2436 * Machine/OS name selection pattern
2438 #define apzIsc_FmodMachs (const char**)NULL
2441 * content selection pattern - do fix if pattern found
2443 tSCC zIsc_FmodSelect0[] =
2446 #define ISC_FMOD_TEST_CT 1
2447 static tTestDesc aIsc_FmodTests[] = {
2448 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
2451 * Fix Command Arguments for Isc_Fmod
2453 static const char* apzIsc_FmodPatch[] = {
2455 "fmod(double, double)",
2458 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2460 * Description of Isc_Omits_With_Stdc fix
2462 tSCC zIsc_Omits_With_StdcName[] =
2463 "isc_omits_with_stdc";
2466 * File name selection pattern
2468 tSCC zIsc_Omits_With_StdcList[] =
2469 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
2471 * Machine/OS name selection pattern
2473 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
2476 * content selection pattern - do fix if pattern found
2478 tSCC zIsc_Omits_With_StdcSelect0[] =
2479 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
2481 #define ISC_OMITS_WITH_STDC_TEST_CT 1
2482 static tTestDesc aIsc_Omits_With_StdcTests[] = {
2483 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
2486 * Fix Command Arguments for Isc_Omits_With_Stdc
2488 static const char* apzIsc_Omits_With_StdcPatch[] = {
2490 "!defined(_POSIX_SOURCE)",
2493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2495 * Description of Kandr_Concat fix
2497 tSCC zKandr_ConcatName[] =
2501 * File name selection pattern
2503 tSCC zKandr_ConcatList[] =
2504 "|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|";
2506 * Machine/OS name selection pattern
2508 #define apzKandr_ConcatMachs (const char**)NULL
2511 * content selection pattern - do fix if pattern found
2513 tSCC zKandr_ConcatSelect0[] =
2516 #define KANDR_CONCAT_TEST_CT 1
2517 static tTestDesc aKandr_ConcatTests[] = {
2518 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
2521 * Fix Command Arguments for Kandr_Concat
2523 static const char* apzKandr_ConcatPatch[] = {
2528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2530 * Description of Libc1_Ifdefd_Memx fix
2532 tSCC zLibc1_Ifdefd_MemxName[] =
2533 "libc1_ifdefd_memx";
2536 * File name selection pattern
2538 tSCC zLibc1_Ifdefd_MemxList[] =
2539 "|testing.h|string.h|";
2541 * Machine/OS name selection pattern
2543 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
2546 * content selection pattern - do fix if pattern found
2548 tSCC zLibc1_Ifdefd_MemxSelect0[] =
2549 "' is a built-in function for gcc 2\\.x\\. \\*/";
2552 * content bypass pattern - skip fix if pattern found
2554 tSCC zLibc1_Ifdefd_MemxBypass0[] =
2557 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
2558 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
2559 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
2560 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
2563 * Fix Command Arguments for Libc1_Ifdefd_Memx
2565 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
2568 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
2569 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
2571 extern [a-z_]+ mem.*(\n\
2576 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2578 * Description of Limits_Ifndefs fix
2580 tSCC zLimits_IfndefsName[] =
2584 * File name selection pattern
2586 tSCC zLimits_IfndefsList[] =
2587 "|sys/limits.h|limits.h|";
2589 * Machine/OS name selection pattern
2591 #define apzLimits_IfndefsMachs (const char**)NULL
2594 * content bypass pattern - skip fix if pattern found
2596 tSCC zLimits_IfndefsBypass0[] =
2597 "ifndef[ \t]+FLT_MIN";
2599 #define LIMITS_IFNDEFS_TEST_CT 1
2600 static tTestDesc aLimits_IfndefsTests[] = {
2601 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
2604 * Fix Command Arguments for Limits_Ifndefs
2606 static const char* apzLimits_IfndefsPatch[] = {
2611 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*",
2614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2616 * Description of Lynx_Void_Int fix
2618 tSCC zLynx_Void_IntName[] =
2622 * File name selection pattern
2624 tSCC zLynx_Void_IntList[] =
2627 * Machine/OS name selection pattern
2629 #define apzLynx_Void_IntMachs (const char**)NULL
2632 * content selection pattern - do fix if pattern found
2634 tSCC zLynx_Void_IntSelect0[] =
2635 "#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
2637 #define LYNX_VOID_INT_TEST_CT 1
2638 static tTestDesc aLynx_Void_IntTests[] = {
2639 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
2642 * Fix Command Arguments for Lynx_Void_Int
2644 static const char* apzLynx_Void_IntPatch[] = {
2649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2651 * Description of Lynxos_Fcntl_Proto fix
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 tSCC zM88k_Bad_Hypot_OptName[] =
2690 "m88k_bad_hypot_opt";
2693 * File name selection pattern
2695 tSCC zM88k_Bad_Hypot_OptList[] =
2698 * Machine/OS name selection pattern
2700 tSCC* apzM88k_Bad_Hypot_OptMachs[] = {
2701 "m88k-motorola-sysv3*",
2702 (const char*)NULL };
2705 * content selection pattern - do fix if pattern found
2707 tSCC zM88k_Bad_Hypot_OptSelect0[] =
2708 "^extern double hypot\\(\\);\n";
2710 #define M88K_BAD_HYPOT_OPT_TEST_CT 1
2711 static tTestDesc aM88k_Bad_Hypot_OptTests[] = {
2712 { TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
2715 * Fix Command Arguments for M88k_Bad_Hypot_Opt
2717 static const char* apzM88k_Bad_Hypot_OptPatch[] = {
2719 "%0/* Workaround a stupid Motorola optimization if one\n\
2720 of x or y is 0.0 and the other is negative! */\n\
2722 static __inline__ double fake_hypot (double x, double y)\n\
2724 static __inline__ double fake_hypot (x, y)\n\
2728 \treturn fabs (hypot (x, y));\n\
2730 #define hypot\tfake_hypot\n",
2733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2735 * Description of M88k_Bad_S_If fix
2737 tSCC zM88k_Bad_S_IfName[] =
2741 * File name selection pattern
2743 tSCC zM88k_Bad_S_IfList[] =
2746 * Machine/OS name selection pattern
2748 tSCC* apzM88k_Bad_S_IfMachs[] = {
2750 (const char*)NULL };
2753 * content selection pattern - do fix if pattern found
2755 tSCC zM88k_Bad_S_IfSelect0[] =
2756 "#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
2758 #define M88K_BAD_S_IF_TEST_CT 1
2759 static tTestDesc aM88k_Bad_S_IfTests[] = {
2760 { TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
2763 * Fix Command Arguments for M88k_Bad_S_If
2765 static const char* apzM88k_Bad_S_IfPatch[] = {
2767 "#define %1(m) (((m) & S_IFMT) == %2)",
2768 "#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
2771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2773 * Description of M88k_Multi_Incl fix
2775 tSCC zM88k_Multi_InclName[] =
2779 * File name selection pattern
2781 tSCC zM88k_Multi_InclList[] =
2784 * Machine/OS name selection pattern
2786 tSCC* apzM88k_Multi_InclMachs[] = {
2787 "m88k-tektronix-sysv3*",
2788 (const char*)NULL };
2791 * content bypass pattern - skip fix if pattern found
2793 tSCC zM88k_Multi_InclBypass0[] =
2796 #define M88K_MULTI_INCL_TEST_CT 1
2797 static tTestDesc aM88k_Multi_InclTests[] = {
2798 { TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
2801 * Fix Command Arguments for M88k_Multi_Incl
2803 static const char* apzM88k_Multi_InclPatch[] = {
2807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2809 * Description of Machine_Ansi_H_Va_List fix
2811 tSCC zMachine_Ansi_H_Va_ListName[] =
2812 "machine_ansi_h_va_list";
2815 * File name selection pattern
2817 #define zMachine_Ansi_H_Va_ListList (char*)NULL
2819 * Machine/OS name selection pattern
2821 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
2824 * content selection pattern - do fix if pattern found
2826 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
2827 "define[ \t]+_BSD_VA_LIST_[ \t]";
2830 * content bypass pattern - skip fix if pattern found
2832 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
2833 "__builtin_va_list";
2835 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
2836 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
2837 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
2838 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
2841 * Fix Command Arguments for Machine_Ansi_H_Va_List
2843 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
2845 "%1__builtin_va_list",
2846 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
2849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2851 * Description of Machine_Name fix
2853 tSCC zMachine_NameName[] =
2857 * File name selection pattern
2859 #define zMachine_NameList (char*)NULL
2861 * Machine/OS name selection pattern
2863 #define apzMachine_NameMachs (const char**)NULL
2866 * perform the C function call test
2868 tSCC zMachine_NameFTst0[] = "machine_name";
2870 #define MACHINE_NAME_TEST_CT 1
2871 static tTestDesc aMachine_NameTests[] = {
2872 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
2875 * Fix Command Arguments for Machine_Name
2877 static const char* apzMachine_NamePatch[] = {
2881 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2883 * Description of Math_Exception fix
2885 tSCC zMath_ExceptionName[] =
2889 * File name selection pattern
2891 tSCC zMath_ExceptionList[] =
2894 * Machine/OS name selection pattern
2896 #define apzMath_ExceptionMachs (const char**)NULL
2899 * content selection pattern - do fix if pattern found
2901 tSCC zMath_ExceptionSelect0[] =
2905 * content bypass pattern - skip fix if pattern found
2907 tSCC zMath_ExceptionBypass0[] =
2908 "We have a problem when using C\\+\\+";
2910 #define MATH_EXCEPTION_TEST_CT 2
2911 static tTestDesc aMath_ExceptionTests[] = {
2912 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
2913 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
2916 * Fix Command Arguments for Math_Exception
2918 static const char* apzMath_ExceptionPatch[] = {
2920 "#ifdef __cplusplus\n\
2921 #define exception __math_exception\n\
2923 "#ifdef __cplusplus\n\
2928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2930 * Description of Math_Huge_Val_From_Dbl_Max fix
2932 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
2933 "math_huge_val_from_dbl_max";
2936 * File name selection pattern
2938 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
2941 * Machine/OS name selection pattern
2943 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
2946 * content selection pattern - do fix if pattern found
2948 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
2949 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
2952 * content bypass pattern - skip fix if pattern found
2954 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
2955 "define[ \t]+DBL_MAX";
2957 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
2958 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
2959 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
2960 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
2963 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
2965 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
2966 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
2967 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
2968 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
2973 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2975 * Description of Math_Huge_Val_Ifndef fix
2977 tSCC zMath_Huge_Val_IfndefName[] =
2978 "math_huge_val_ifndef";
2981 * File name selection pattern
2983 tSCC zMath_Huge_Val_IfndefList[] =
2984 "|math.h|math/math.h|";
2986 * Machine/OS name selection pattern
2988 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
2991 * content selection pattern - do fix if pattern found
2993 tSCC zMath_Huge_Val_IfndefSelect0[] =
2994 "define[ \t]+HUGE_VAL";
2996 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
2997 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
2998 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
3001 * Fix Command Arguments for Math_Huge_Val_Ifndef
3003 static const char* apzMath_Huge_Val_IfndefPatch[] = {
3005 "#ifndef HUGE_VAL\n\
3008 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
3011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3013 * Description of Nested_Auth_Des fix
3015 tSCC zNested_Auth_DesName[] =
3019 * File name selection pattern
3021 tSCC zNested_Auth_DesList[] =
3024 * Machine/OS name selection pattern
3026 #define apzNested_Auth_DesMachs (const char**)NULL
3029 * content selection pattern - do fix if pattern found
3031 tSCC zNested_Auth_DesSelect0[] =
3032 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3034 #define NESTED_AUTH_DES_TEST_CT 1
3035 static tTestDesc aNested_Auth_DesTests[] = {
3036 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3039 * Fix Command Arguments for Nested_Auth_Des
3041 static const char* apzNested_Auth_DesPatch[] = {
3046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3048 * Description of Nested_Motorola fix
3050 tSCC zNested_MotorolaName[] =
3054 * File name selection pattern
3056 tSCC zNested_MotorolaList[] =
3057 "|sys/limits.h|limits.h|";
3059 * Machine/OS name selection pattern
3061 tSCC* apzNested_MotorolaMachs[] = {
3062 "m68k-motorola-sysv*",
3063 (const char*)NULL };
3066 * content selection pattern - do fix if pattern found
3068 tSCC zNested_MotorolaSelect0[] =
3069 "max # bytes atomic in write|error value returned by Math lib";
3071 #define NESTED_MOTOROLA_TEST_CT 1
3072 static tTestDesc aNested_MotorolaTests[] = {
3073 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3076 * Fix Command Arguments for Nested_Motorola
3078 static const char* apzNested_MotorolaPatch[] = { "sed",
3079 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3080 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3083 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3085 * Description of Nested_Sys_Limits fix
3087 tSCC zNested_Sys_LimitsName[] =
3088 "nested_sys_limits";
3091 * File name selection pattern
3093 tSCC zNested_Sys_LimitsList[] =
3096 * Machine/OS name selection pattern
3098 #define apzNested_Sys_LimitsMachs (const char**)NULL
3101 * content selection pattern - do fix if pattern found
3103 tSCC zNested_Sys_LimitsSelect0[] =
3106 #define NESTED_SYS_LIMITS_TEST_CT 1
3107 static tTestDesc aNested_Sys_LimitsTests[] = {
3108 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3111 * Fix Command Arguments for Nested_Sys_Limits
3113 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3114 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3115 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3118 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3120 * Description of News_Os_Recursion fix
3122 tSCC zNews_Os_RecursionName[] =
3123 "news_os_recursion";
3126 * File name selection pattern
3128 tSCC zNews_Os_RecursionList[] =
3131 * Machine/OS name selection pattern
3133 #define apzNews_Os_RecursionMachs (const char**)NULL
3136 * content selection pattern - do fix if pattern found
3138 tSCC zNews_Os_RecursionSelect0[] =
3139 "[ \t]*#include <stdlib\\.h>.*";
3141 #define NEWS_OS_RECURSION_TEST_CT 1
3142 static tTestDesc aNews_Os_RecursionTests[] = {
3143 { TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
3146 * Fix Command Arguments for News_Os_Recursion
3148 static const char* apzNews_Os_RecursionPatch[] = {
3150 "#ifdef BOGUS_RECURSION\n\
3155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3157 * Description of Next_Math_Prefix fix
3159 tSCC zNext_Math_PrefixName[] =
3163 * File name selection pattern
3165 tSCC zNext_Math_PrefixList[] =
3168 * Machine/OS name selection pattern
3170 #define apzNext_Math_PrefixMachs (const char**)NULL
3173 * content selection pattern - do fix if pattern found
3175 tSCC zNext_Math_PrefixSelect0[] =
3176 "^extern[ \t]+double[ \t]+__const__[ \t]";
3178 #define NEXT_MATH_PREFIX_TEST_CT 1
3179 static tTestDesc aNext_Math_PrefixTests[] = {
3180 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3183 * Fix Command Arguments for Next_Math_Prefix
3185 static const char* apzNext_Math_PrefixPatch[] = {
3187 "extern double %1(",
3188 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3191 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3193 * Description of Next_Template fix
3195 tSCC zNext_TemplateName[] =
3199 * File name selection pattern
3201 tSCC zNext_TemplateList[] =
3204 * Machine/OS name selection pattern
3206 #define apzNext_TemplateMachs (const char**)NULL
3209 * content selection pattern - do fix if pattern found
3211 tSCC zNext_TemplateSelect0[] =
3214 #define NEXT_TEMPLATE_TEST_CT 1
3215 static tTestDesc aNext_TemplateTests[] = {
3216 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3219 * Fix Command Arguments for Next_Template
3221 static const char* apzNext_TemplatePatch[] = {
3224 "\\(([^)]*)[ \t]template\\)",
3227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3229 * Description of Next_Volitile fix
3231 tSCC zNext_VolitileName[] =
3235 * File name selection pattern
3237 tSCC zNext_VolitileList[] =
3240 * Machine/OS name selection pattern
3242 #define apzNext_VolitileMachs (const char**)NULL
3245 * content selection pattern - do fix if pattern found
3247 tSCC zNext_VolitileSelect0[] =
3248 "^extern[ \t]+volatile[ \t]+void[ \t]";
3250 #define NEXT_VOLITILE_TEST_CT 1
3251 static tTestDesc aNext_VolitileTests[] = {
3252 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3255 * Fix Command Arguments for Next_Volitile
3257 static const char* apzNext_VolitilePatch[] = {
3260 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3263 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3265 * Description of Next_Wait_Union fix
3267 tSCC zNext_Wait_UnionName[] =
3271 * File name selection pattern
3273 tSCC zNext_Wait_UnionList[] =
3276 * Machine/OS name selection pattern
3278 #define apzNext_Wait_UnionMachs (const char**)NULL
3281 * content selection pattern - do fix if pattern found
3283 tSCC zNext_Wait_UnionSelect0[] =
3284 "wait\\(union wait";
3286 #define NEXT_WAIT_UNION_TEST_CT 1
3287 static tTestDesc aNext_Wait_UnionTests[] = {
3288 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3291 * Fix Command Arguments for Next_Wait_Union
3293 static const char* apzNext_Wait_UnionPatch[] = {
3298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3300 * Description of Nodeent_Syntax fix
3302 tSCC zNodeent_SyntaxName[] =
3306 * File name selection pattern
3308 tSCC zNodeent_SyntaxList[] =
3309 "|netdnet/dnetdb.h|";
3311 * Machine/OS name selection pattern
3313 #define apzNodeent_SyntaxMachs (const char**)NULL
3316 * content selection pattern - do fix if pattern found
3318 tSCC zNodeent_SyntaxSelect0[] =
3319 "char[ \t]*\\*na_addr[ \t]*$";
3321 #define NODEENT_SYNTAX_TEST_CT 1
3322 static tTestDesc aNodeent_SyntaxTests[] = {
3323 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3326 * Fix Command Arguments for Nodeent_Syntax
3328 static const char* apzNodeent_SyntaxPatch[] = {
3333 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3335 * Description of Osf_Namespace_A fix
3337 tSCC zOsf_Namespace_AName[] =
3341 * File name selection pattern
3343 tSCC zOsf_Namespace_AList[] =
3344 "|reg_types.h|sys/lc_core.h|";
3346 * Machine/OS name selection pattern
3348 #define apzOsf_Namespace_AMachs (const char**)NULL
3351 * perform the 'test' shell command - do fix on success
3353 tSCC zOsf_Namespace_ATest0[] =
3355 tSCC zOsf_Namespace_ATest1[] =
3356 " -r sys/lc_core.h";
3357 tSCC zOsf_Namespace_ATest2[] =
3358 " -n \"`grep '} regex_t;' reg_types.h`\"";
3359 tSCC zOsf_Namespace_ATest3[] =
3360 " -z \"`grep __regex_t regex.h`\"";
3362 #define OSF_NAMESPACE_A_TEST_CT 4
3363 static tTestDesc aOsf_Namespace_ATests[] = {
3364 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
3365 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
3366 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
3367 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
3370 * Fix Command Arguments for Osf_Namespace_A
3372 static const char* apzOsf_Namespace_APatch[] = {
3375 "reg(ex|off|match)_t",
3378 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3380 * Description of Osf_Namespace_C fix
3382 tSCC zOsf_Namespace_CName[] =
3386 * File name selection pattern
3388 tSCC zOsf_Namespace_CList[] =
3391 * Machine/OS name selection pattern
3393 #define apzOsf_Namespace_CMachs (const char**)NULL
3396 * content selection pattern - do fix if pattern found
3398 tSCC zOsf_Namespace_CSelect0[] =
3399 "#include <reg_types.h>.*";
3402 * perform the 'test' shell command - do fix on success
3404 tSCC zOsf_Namespace_CTest0[] =
3406 tSCC zOsf_Namespace_CTest1[] =
3407 " -r sys/lc_core.h";
3408 tSCC zOsf_Namespace_CTest2[] =
3409 " -n \"`grep '} regex_t;' reg_types.h`\"";
3410 tSCC zOsf_Namespace_CTest3[] =
3411 " -z \"`grep __regex_t regex.h`\"";
3413 #define OSF_NAMESPACE_C_TEST_CT 5
3414 static tTestDesc aOsf_Namespace_CTests[] = {
3415 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
3416 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
3417 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
3418 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
3419 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
3422 * Fix Command Arguments for Osf_Namespace_C
3424 static const char* apzOsf_Namespace_CPatch[] = {
3427 typedef __regex_t\tregex_t;\n\
3428 typedef __regoff_t\tregoff_t;\n\
3429 typedef __regmatch_t\tregmatch_t;",
3432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3434 * Description of Pthread_Page_Size fix
3436 tSCC zPthread_Page_SizeName[] =
3437 "pthread_page_size";
3440 * File name selection pattern
3442 tSCC zPthread_Page_SizeList[] =
3445 * Machine/OS name selection pattern
3447 #define apzPthread_Page_SizeMachs (const char**)NULL
3450 * content selection pattern - do fix if pattern found
3452 tSCC zPthread_Page_SizeSelect0[] =
3455 #define PTHREAD_PAGE_SIZE_TEST_CT 1
3456 static tTestDesc aPthread_Page_SizeTests[] = {
3457 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
3460 * Fix Command Arguments for Pthread_Page_Size
3462 static const char* apzPthread_Page_SizePatch[] = {
3467 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3469 * Description of Read_Ret_Type fix
3471 tSCC zRead_Ret_TypeName[] =
3475 * File name selection pattern
3477 tSCC zRead_Ret_TypeList[] =
3480 * Machine/OS name selection pattern
3482 #define apzRead_Ret_TypeMachs (const char**)NULL
3485 * content selection pattern - do fix if pattern found
3487 tSCC zRead_Ret_TypeSelect0[] =
3488 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
3490 #define READ_RET_TYPE_TEST_CT 1
3491 static tTestDesc aRead_Ret_TypeTests[] = {
3492 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
3495 * Fix Command Arguments for Read_Ret_Type
3497 static const char* apzRead_Ret_TypePatch[] = {
3499 "extern unsigned int fread(), fwrite();\n\
3501 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
3504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3506 * Description of Rs6000_Double fix
3508 tSCC zRs6000_DoubleName[] =
3512 * File name selection pattern
3514 tSCC zRs6000_DoubleList[] =
3517 * Machine/OS name selection pattern
3519 #define apzRs6000_DoubleMachs (const char**)NULL
3522 * content selection pattern - do fix if pattern found
3524 tSCC zRs6000_DoubleSelect0[] =
3525 "[^a-zA-Z_]class\\(";
3527 #define RS6000_DOUBLE_TEST_CT 1
3528 static tTestDesc aRs6000_DoubleTests[] = {
3529 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
3532 * Fix Command Arguments for Rs6000_Double
3534 static const char* apzRs6000_DoublePatch[] = {
3536 "#ifndef __cplusplus\n\
3539 "^.*[^a-zA-Z_]class\\(.*",
3542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3544 * Description of Rs6000_Fchmod fix
3546 tSCC zRs6000_FchmodName[] =
3550 * File name selection pattern
3552 tSCC zRs6000_FchmodList[] =
3555 * Machine/OS name selection pattern
3557 #define apzRs6000_FchmodMachs (const char**)NULL
3560 * content selection pattern - do fix if pattern found
3562 tSCC zRs6000_FchmodSelect0[] =
3563 "fchmod\\(char \\*";
3565 #define RS6000_FCHMOD_TEST_CT 1
3566 static tTestDesc aRs6000_FchmodTests[] = {
3567 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
3570 * Fix Command Arguments for Rs6000_Fchmod
3572 static const char* apzRs6000_FchmodPatch[] = {
3577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3579 * Description of Rs6000_Param fix
3581 tSCC zRs6000_ParamName[] =
3585 * File name selection pattern
3587 tSCC zRs6000_ParamList[] =
3588 "|stdio.h|unistd.h|";
3590 * Machine/OS name selection pattern
3592 #define apzRs6000_ParamMachs (const char**)NULL
3595 * content selection pattern - do fix if pattern found
3597 tSCC zRs6000_ParamSelect0[] =
3598 "rename\\(const char \\*old, const char \\*new\\)";
3600 #define RS6000_PARAM_TEST_CT 1
3601 static tTestDesc aRs6000_ParamTests[] = {
3602 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
3605 * Fix Command Arguments for Rs6000_Param
3607 static const char* apzRs6000_ParamPatch[] = {
3609 "rename(const char *_old, const char *_new)",
3612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3614 * Description of Sco_Static_Func fix
3616 tSCC zSco_Static_FuncName[] =
3620 * File name selection pattern
3622 tSCC zSco_Static_FuncList[] =
3625 * Machine/OS name selection pattern
3627 tSCC* apzSco_Static_FuncMachs[] = {
3629 (const char*)NULL };
3632 * content selection pattern - do fix if pattern found
3634 tSCC zSco_Static_FuncSelect0[] =
3637 #define SCO_STATIC_FUNC_TEST_CT 1
3638 static tTestDesc aSco_Static_FuncTests[] = {
3639 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
3642 * Fix Command Arguments for Sco_Static_Func
3644 static const char* apzSco_Static_FuncPatch[] = { "sed",
3645 "-e", "/^static int/i\\\n\
3646 #if __cplusplus\\\n\
3648 #endif /* __cplusplus */",
3650 #if __cplusplus\\\n\
3652 #endif /* __cplusplus */",
3655 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3657 * Description of Sco_Utime fix
3659 tSCC zSco_UtimeName[] =
3663 * File name selection pattern
3665 tSCC zSco_UtimeList[] =
3668 * Machine/OS name selection pattern
3670 tSCC* apzSco_UtimeMachs[] = {
3672 (const char*)NULL };
3675 * content selection pattern - do fix if pattern found
3677 tSCC zSco_UtimeSelect0[] =
3678 "\\(const char \\*, struct utimbuf \\*\\);";
3680 #define SCO_UTIME_TEST_CT 1
3681 static tTestDesc aSco_UtimeTests[] = {
3682 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
3685 * Fix Command Arguments for Sco_Utime
3687 static const char* apzSco_UtimePatch[] = {
3689 "(const char *, const struct utimbuf *);",
3692 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3694 * Description of Solaris_Mutex_Init fix
3696 tSCC zSolaris_Mutex_InitName[] =
3697 "solaris_mutex_init";
3700 * File name selection pattern
3702 tSCC zSolaris_Mutex_InitList[] =
3705 * Machine/OS name selection pattern
3707 #define apzSolaris_Mutex_InitMachs (const char**)NULL
3710 * content selection pattern - do fix if pattern found
3712 tSCC zSolaris_Mutex_InitSelect0[] =
3713 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
3715 #define SOLARIS_MUTEX_INIT_TEST_CT 1
3716 static tTestDesc aSolaris_Mutex_InitTests[] = {
3717 { TT_EGREP, zSolaris_Mutex_InitSelect0, (regex_t*)NULL }, };
3720 * Fix Command Arguments for Solaris_Mutex_Init
3722 static const char* apzSolaris_Mutex_InitPatch[] = {
3724 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
3729 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+{.*),[ \t]*0}(|[ \t].*)$",
3732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3734 * Description of Solaris_Stdio_Tag fix
3736 tSCC zSolaris_Stdio_TagName[] =
3737 "solaris_stdio_tag";
3740 * File name selection pattern
3742 tSCC zSolaris_Stdio_TagList[] =
3745 * Machine/OS name selection pattern
3747 #define apzSolaris_Stdio_TagMachs (const char**)NULL
3750 * content selection pattern - do fix if pattern found
3752 tSCC zSolaris_Stdio_TagSelect0[] =
3753 "__cplusplus < 54321L";
3755 #define SOLARIS_STDIO_TAG_TEST_CT 1
3756 static tTestDesc aSolaris_Stdio_TagTests[] = {
3757 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
3760 * Fix Command Arguments for Solaris_Stdio_Tag
3762 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
3763 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
3766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3768 * Description of Solaris_Widec fix
3770 tSCC zSolaris_WidecName[] =
3774 * File name selection pattern
3776 tSCC zSolaris_WidecList[] =
3779 * Machine/OS name selection pattern
3781 tSCC* apzSolaris_WidecMachs[] = {
3782 "*-*-solaris2.[0-5]*",
3783 (const char*)NULL };
3786 * content selection pattern - do fix if pattern found
3788 tSCC zSolaris_WidecSelect0[] =
3792 * content bypass pattern - skip fix if pattern found
3794 tSCC zSolaris_WidecBypass0[] =
3795 "include.*wchar\\.h";
3797 #define SOLARIS_WIDEC_TEST_CT 2
3798 static tTestDesc aSolaris_WidecTests[] = {
3799 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
3800 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
3803 * Fix Command Arguments for Solaris_Widec
3805 static const char* apzSolaris_WidecPatch[] = {
3808 #include <wchar.h>",
3811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3813 * Description of Statsswtch fix
3815 tSCC zStatsswtchName[] =
3819 * File name selection pattern
3821 tSCC zStatsswtchList[] =
3824 * Machine/OS name selection pattern
3826 #define apzStatsswtchMachs (const char**)NULL
3829 * content selection pattern - do fix if pattern found
3831 tSCC zStatsswtchSelect0[] =
3834 #define STATSSWTCH_TEST_CT 1
3835 static tTestDesc aStatsswtchTests[] = {
3836 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
3839 * Fix Command Arguments for Statsswtch
3841 static const char* apzStatsswtchPatch[] = {
3846 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3848 * Description of Stdio_Stdarg_H fix
3850 tSCC zStdio_Stdarg_HName[] =
3854 * File name selection pattern
3856 tSCC zStdio_Stdarg_HList[] =
3859 * Machine/OS name selection pattern
3861 #define apzStdio_Stdarg_HMachs (const char**)NULL
3864 * content bypass pattern - skip fix if pattern found
3866 tSCC zStdio_Stdarg_HBypass0[] =
3867 "include.*(stdarg.h|machine/ansi.h)";
3869 #define STDIO_STDARG_H_TEST_CT 1
3870 static tTestDesc aStdio_Stdarg_HTests[] = {
3871 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
3874 * Fix Command Arguments for Stdio_Stdarg_H
3876 static const char* apzStdio_Stdarg_HPatch[] = {
3878 "#define __need___va_list\n\
3879 #include <stdarg.h>\n",
3882 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3884 * Description of Stdio_Va_List fix
3886 tSCC zStdio_Va_ListName[] =
3890 * File name selection pattern
3892 tSCC zStdio_Va_ListList[] =
3895 * Machine/OS name selection pattern
3897 #define apzStdio_Va_ListMachs (const char**)NULL
3900 * content bypass pattern - skip fix if pattern found
3902 tSCC zStdio_Va_ListBypass0[] =
3903 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list";
3905 #define STDIO_VA_LIST_TEST_CT 1
3906 static tTestDesc aStdio_Va_ListTests[] = {
3907 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
3910 * Fix Command Arguments for Stdio_Va_List
3912 static const char* apzStdio_Va_ListPatch[] = { "sed",
3913 "-e", "s@ va_list @ __gnuc_va_list @\n\
3914 s@ va_list)@ __gnuc_va_list)@\n\
3915 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
3916 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
3917 s@ va_list@ __not_va_list__@\n\
3918 s@\\*va_list@*__not_va_list__@\n\
3919 s@ __va_list)@ __gnuc_va_list)@\n\
3920 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
3921 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
3922 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
3923 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
3924 s@VA_LIST@DUMMY_VA_LIST@\n\
3925 s@_Va_LIST@_VA_LIST@",
3928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3930 * Description of Strict_Ansi_Not fix
3932 tSCC zStrict_Ansi_NotName[] =
3936 * File name selection pattern
3938 #define zStrict_Ansi_NotList (char*)NULL
3940 * Machine/OS name selection pattern
3942 #define apzStrict_Ansi_NotMachs (const char**)NULL
3945 * content selection pattern - do fix if pattern found
3947 tSCC zStrict_Ansi_NotSelect0[] =
3948 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
3951 * content bypass pattern - skip fix if pattern found
3953 tSCC zStrict_Ansi_NotBypass0[] =
3954 "GNU and MIPS C compilers define __STDC__ differently";
3957 * perform the C function call test
3959 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
3961 #define STRICT_ANSI_NOT_TEST_CT 3
3962 static tTestDesc aStrict_Ansi_NotTests[] = {
3963 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
3964 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
3965 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
3968 * Fix Command Arguments for Strict_Ansi_Not
3970 static const char* apzStrict_Ansi_NotPatch[] = {
3972 "%1 !defined(__STRICT_ANSI__)",
3975 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3977 * Description of Strict_Ansi_Not_Ctd fix
3979 tSCC zStrict_Ansi_Not_CtdName[] =
3980 "strict_ansi_not_ctd";
3983 * File name selection pattern
3985 tSCC zStrict_Ansi_Not_CtdList[] =
3986 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
3988 * Machine/OS name selection pattern
3990 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
3993 * content selection pattern - do fix if pattern found
3995 tSCC zStrict_Ansi_Not_CtdSelect0[] =
3996 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
3999 * perform the C function call test
4001 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
4003 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
4004 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
4005 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
4006 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
4009 * Fix Command Arguments for Strict_Ansi_Not_Ctd
4011 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
4013 "%1 !defined(__STRICT_ANSI__)",
4016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4018 * Description of Strict_Ansi_Only fix
4020 tSCC zStrict_Ansi_OnlyName[] =
4024 * File name selection pattern
4026 #define zStrict_Ansi_OnlyList (char*)NULL
4028 * Machine/OS name selection pattern
4030 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
4033 * content selection pattern - do fix if pattern found
4035 tSCC zStrict_Ansi_OnlySelect0[] =
4036 "^([ \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)";
4039 * perform the C function call test
4041 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
4043 #define STRICT_ANSI_ONLY_TEST_CT 2
4044 static tTestDesc aStrict_Ansi_OnlyTests[] = {
4045 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
4046 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
4049 * Fix Command Arguments for Strict_Ansi_Only
4051 static const char* apzStrict_Ansi_OnlyPatch[] = {
4053 "%1 defined(__STRICT_ANSI__)",
4056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4058 * Description of Struct_File fix
4060 tSCC zStruct_FileName[] =
4064 * File name selection pattern
4066 tSCC zStruct_FileList[] =
4069 * Machine/OS name selection pattern
4071 #define apzStruct_FileMachs (const char**)NULL
4074 * content selection pattern - do fix if pattern found
4076 tSCC zStruct_FileSelect0[] =
4077 "^.*xdrstdio_create.*struct __file_s";
4079 #define STRUCT_FILE_TEST_CT 1
4080 static tTestDesc aStruct_FileTests[] = {
4081 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
4084 * Fix Command Arguments for Struct_File
4086 static const char* apzStruct_FilePatch[] = {
4088 "struct __file_s;\n\
4092 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4094 * Description of Struct_Sockaddr fix
4096 tSCC zStruct_SockaddrName[] =
4100 * File name selection pattern
4102 tSCC zStruct_SockaddrList[] =
4105 * Machine/OS name selection pattern
4107 #define apzStruct_SockaddrMachs (const char**)NULL
4110 * content selection pattern - do fix if pattern found
4112 tSCC zStruct_SockaddrSelect0[] =
4113 "^.*authdes_create.*struct sockaddr";
4116 * content bypass pattern - skip fix if pattern found
4118 tSCC zStruct_SockaddrBypass0[] =
4121 #define STRUCT_SOCKADDR_TEST_CT 2
4122 static tTestDesc aStruct_SockaddrTests[] = {
4123 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
4124 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
4127 * Fix Command Arguments for Struct_Sockaddr
4129 static const char* apzStruct_SockaddrPatch[] = {
4131 "struct sockaddr;\n\
4135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4137 * Description of Sun_Auth_Proto fix
4139 tSCC zSun_Auth_ProtoName[] =
4143 * File name selection pattern
4145 tSCC zSun_Auth_ProtoList[] =
4146 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
4148 * Machine/OS name selection pattern
4150 #define apzSun_Auth_ProtoMachs (const char**)NULL
4153 * content selection pattern - do fix if pattern found
4155 tSCC zSun_Auth_ProtoSelect0[] =
4156 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
4158 #define SUN_AUTH_PROTO_TEST_CT 1
4159 static tTestDesc aSun_Auth_ProtoTests[] = {
4160 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
4163 * Fix Command Arguments for Sun_Auth_Proto
4165 static const char* apzSun_Auth_ProtoPatch[] = {
4167 "#ifdef __cplusplus\n\
4172 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
4175 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4177 * Description of Sun_Bogus_Ifdef fix
4179 tSCC zSun_Bogus_IfdefName[] =
4183 * File name selection pattern
4185 tSCC zSun_Bogus_IfdefList[] =
4186 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
4188 * Machine/OS name selection pattern
4190 #define apzSun_Bogus_IfdefMachs (const char**)NULL
4193 * content selection pattern - do fix if pattern found
4195 tSCC zSun_Bogus_IfdefSelect0[] =
4196 "#ifdef(.*\\|\\|.*)";
4198 #define SUN_BOGUS_IFDEF_TEST_CT 1
4199 static tTestDesc aSun_Bogus_IfdefTests[] = {
4200 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
4203 * Fix Command Arguments for Sun_Bogus_Ifdef
4205 static const char* apzSun_Bogus_IfdefPatch[] = {
4210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4212 * Description of Sun_Catmacro fix
4214 tSCC zSun_CatmacroName[] =
4218 * File name selection pattern
4220 tSCC zSun_CatmacroList[] =
4221 "|pixrect/memvar.h|";
4223 * Machine/OS name selection pattern
4225 #define apzSun_CatmacroMachs (const char**)NULL
4228 * content selection pattern - do fix if pattern found
4230 tSCC zSun_CatmacroSelect0[] =
4231 "^#define[ \t]+CAT\\(a,b\\).*";
4233 #define SUN_CATMACRO_TEST_CT 1
4234 static tTestDesc aSun_CatmacroTests[] = {
4235 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
4238 * Fix Command Arguments for Sun_Catmacro
4240 static const char* apzSun_CatmacroPatch[] = {
4243 # define CAT(a,b) a##b\n\
4249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4251 * Description of Sun_Malloc fix
4253 tSCC zSun_MallocName[] =
4257 * File name selection pattern
4259 tSCC zSun_MallocList[] =
4262 * Machine/OS name selection pattern
4264 #define apzSun_MallocMachs (const char**)NULL
4265 #define SUN_MALLOC_TEST_CT 0
4266 #define aSun_MallocTests (tTestDesc*)NULL
4269 * Fix Command Arguments for Sun_Malloc
4271 static const char* apzSun_MallocPatch[] = { "sed",
4272 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
4273 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
4274 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
4275 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
4276 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
4279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4281 * Description of Sun_Rusers_Semi fix
4283 tSCC zSun_Rusers_SemiName[] =
4287 * File name selection pattern
4289 tSCC zSun_Rusers_SemiList[] =
4290 "|rpcsvc/rusers.h|";
4292 * Machine/OS name selection pattern
4294 #define apzSun_Rusers_SemiMachs (const char**)NULL
4297 * content selection pattern - do fix if pattern found
4299 tSCC zSun_Rusers_SemiSelect0[] =
4302 #define SUN_RUSERS_SEMI_TEST_CT 1
4303 static tTestDesc aSun_Rusers_SemiTests[] = {
4304 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
4307 * Fix Command Arguments for Sun_Rusers_Semi
4309 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
4310 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
4313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4315 * Description of Sun_Signal fix
4317 tSCC zSun_SignalName[] =
4321 * File name selection pattern
4323 tSCC zSun_SignalList[] =
4324 "|sys/signal.h|signal.h|";
4326 * Machine/OS name selection pattern
4328 #define apzSun_SignalMachs (const char**)NULL
4331 * content selection pattern - do fix if pattern found
4333 tSCC zSun_SignalSelect0[] =
4334 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
4336 #define SUN_SIGNAL_TEST_CT 1
4337 static tTestDesc aSun_SignalTests[] = {
4338 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
4341 * Fix Command Arguments for Sun_Signal
4343 static const char* apzSun_SignalPatch[] = {
4345 "#ifdef __cplusplus\n\
4346 void\t(*signal(...))(...);\n\
4352 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4354 * Description of Sunos_Matherr_Decl fix
4356 tSCC zSunos_Matherr_DeclName[] =
4357 "sunos_matherr_decl";
4360 * File name selection pattern
4362 tSCC zSunos_Matherr_DeclList[] =
4365 * Machine/OS name selection pattern
4367 #define apzSunos_Matherr_DeclMachs (const char**)NULL
4370 * content selection pattern - do fix if pattern found
4372 tSCC zSunos_Matherr_DeclSelect0[] =
4376 * content bypass pattern - skip fix if pattern found
4378 tSCC zSunos_Matherr_DeclBypass0[] =
4379 "matherr.*(struct exception|__MATH_EXCEPTION)";
4381 #define SUNOS_MATHERR_DECL_TEST_CT 2
4382 static tTestDesc aSunos_Matherr_DeclTests[] = {
4383 { TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
4384 { TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
4387 * Fix Command Arguments for Sunos_Matherr_Decl
4389 static const char* apzSunos_Matherr_DeclPatch[] = {
4391 "struct exception;\n",
4394 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4396 * Description of Sunos_Strlen fix
4398 tSCC zSunos_StrlenName[] =
4402 * File name selection pattern
4404 tSCC zSunos_StrlenList[] =
4407 * Machine/OS name selection pattern
4409 #define apzSunos_StrlenMachs (const char**)NULL
4412 * content selection pattern - do fix if pattern found
4414 tSCC zSunos_StrlenSelect0[] =
4415 "int[ \t]*strlen\\(\\);(.*)";
4417 #define SUNOS_STRLEN_TEST_CT 1
4418 static tTestDesc aSunos_StrlenTests[] = {
4419 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
4422 * Fix Command Arguments for Sunos_Strlen
4424 static const char* apzSunos_StrlenPatch[] = {
4426 "__SIZE_TYPE__ strlen();%1",
4429 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4431 * Description of Svr4__P fix
4433 tSCC zSvr4__PName[] =
4437 * File name selection pattern
4439 tSCC zSvr4__PList[] =
4440 "|math.h|floatingpoint.h|";
4442 * Machine/OS name selection pattern
4444 #define apzSvr4__PMachs (const char**)NULL
4447 * content selection pattern - do fix if pattern found
4449 tSCC zSvr4__PSelect0[] =
4450 "^#define[ \t]+__P.*";
4452 #define SVR4__P_TEST_CT 1
4453 static tTestDesc aSvr4__PTests[] = {
4454 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
4457 * Fix Command Arguments for Svr4__P
4459 static const char* apzSvr4__PPatch[] = {
4466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4468 * Description of Svr4_Getcwd fix
4470 tSCC zSvr4_GetcwdName[] =
4474 * File name selection pattern
4476 tSCC zSvr4_GetcwdList[] =
4477 "|stdlib.h|unistd.h|prototypes.h|";
4479 * Machine/OS name selection pattern
4481 #define apzSvr4_GetcwdMachs (const char**)NULL
4484 * content selection pattern - do fix if pattern found
4486 tSCC zSvr4_GetcwdSelect0[] =
4487 "getcwd\\(char \\*, int\\)";
4489 #define SVR4_GETCWD_TEST_CT 1
4490 static tTestDesc aSvr4_GetcwdTests[] = {
4491 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
4494 * Fix Command Arguments for Svr4_Getcwd
4496 static const char* apzSvr4_GetcwdPatch[] = {
4498 "getcwd(char *, size_t)",
4501 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4503 * Description of Svr4_Profil fix
4505 tSCC zSvr4_ProfilName[] =
4509 * File name selection pattern
4511 tSCC zSvr4_ProfilList[] =
4512 "|stdlib.h|unistd.h|";
4514 * Machine/OS name selection pattern
4516 #define apzSvr4_ProfilMachs (const char**)NULL
4519 * content selection pattern - do fix if pattern found
4521 tSCC zSvr4_ProfilSelect0[] =
4522 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
4524 #define SVR4_PROFIL_TEST_CT 1
4525 static tTestDesc aSvr4_ProfilTests[] = {
4526 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
4529 * Fix Command Arguments for Svr4_Profil
4531 static const char* apzSvr4_ProfilPatch[] = {
4533 "profil(unsigned short *, size_t, int, unsigned int)",
4536 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4538 * Description of Sysv68_String fix
4540 tSCC zSysv68_StringName[] =
4544 * File name selection pattern
4546 tSCC zSysv68_StringList[] =
4547 "|testing.h|string.h|";
4549 * Machine/OS name selection pattern
4551 #define apzSysv68_StringMachs (const char**)NULL
4552 #define SYSV68_STRING_TEST_CT 0
4553 #define aSysv68_StringTests (tTestDesc*)NULL
4556 * Fix Command Arguments for Sysv68_String
4558 static const char* apzSysv68_StringPatch[] = { "sed",
4559 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
4560 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
4561 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
4562 "-e", "/^extern char$/N",
4563 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
4564 "-e", "/^extern int$/N",
4565 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
4566 "-e", "/^\tstrncmp(),$/N",
4567 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
4568 extern unsigned int\\\n\
4572 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4574 * Description of Sysz_Stdlib_For_Sun fix
4576 tSCC zSysz_Stdlib_For_SunName[] =
4577 "sysz_stdlib_for_sun";
4580 * File name selection pattern
4582 tSCC zSysz_Stdlib_For_SunList[] =
4585 * Machine/OS name selection pattern
4587 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
4590 * content selection pattern - do fix if pattern found
4592 tSCC zSysz_Stdlib_For_SunSelect0[] =
4593 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
4595 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
4596 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
4597 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
4600 * Fix Command Arguments for Sysz_Stdlib_For_Sun
4602 static const char* apzSysz_Stdlib_For_SunPatch[] = {
4607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4609 * Description of Thread_Keyword fix
4611 tSCC zThread_KeywordName[] =
4615 * File name selection pattern
4617 tSCC zThread_KeywordList[] =
4618 "|pthread.h|bits/sigthread.h|";
4620 * Machine/OS name selection pattern
4622 #define apzThread_KeywordMachs (const char**)NULL
4625 * content selection pattern - do fix if pattern found
4627 tSCC zThread_KeywordSelect0[] =
4628 "([* ])__thread([,)])";
4630 #define THREAD_KEYWORD_TEST_CT 1
4631 static tTestDesc aThread_KeywordTests[] = {
4632 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
4635 * Fix Command Arguments for Thread_Keyword
4637 static const char* apzThread_KeywordPatch[] = {
4642 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4644 * Description of Tinfo_Cplusplus fix
4646 tSCC zTinfo_CplusplusName[] =
4650 * File name selection pattern
4652 tSCC zTinfo_CplusplusList[] =
4655 * Machine/OS name selection pattern
4657 #define apzTinfo_CplusplusMachs (const char**)NULL
4660 * content selection pattern - do fix if pattern found
4662 tSCC zTinfo_CplusplusSelect0[] =
4665 #define TINFO_CPLUSPLUS_TEST_CT 1
4666 static tTestDesc aTinfo_CplusplusTests[] = {
4667 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
4670 * Fix Command Arguments for Tinfo_Cplusplus
4672 static const char* apzTinfo_CplusplusPatch[] = {
4677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4679 * Description of Ultrix_Atexit_Param fix
4681 tSCC zUltrix_Atexit_ParamName[] =
4682 "ultrix_atexit_param";
4685 * File name selection pattern
4687 tSCC zUltrix_Atexit_ParamList[] =
4690 * Machine/OS name selection pattern
4692 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
4695 * content selection pattern - do fix if pattern found
4697 tSCC zUltrix_Atexit_ParamSelect0[] =
4698 "atexit\\(.*\\(\\)";
4700 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
4701 static tTestDesc aUltrix_Atexit_ParamTests[] = {
4702 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
4705 * Fix Command Arguments for Ultrix_Atexit_Param
4707 static const char* apzUltrix_Atexit_ParamPatch[] = {
4709 "atexit( void (*__func)( void )",
4712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4714 * Description of Ultrix_Atof_Param fix
4716 tSCC zUltrix_Atof_ParamName[] =
4717 "ultrix_atof_param";
4720 * File name selection pattern
4722 tSCC zUltrix_Atof_ParamList[] =
4725 * Machine/OS name selection pattern
4727 #define apzUltrix_Atof_ParamMachs (const char**)NULL
4730 * content selection pattern - do fix if pattern found
4732 tSCC zUltrix_Atof_ParamSelect0[] =
4733 "atof\\([ \t]*char";
4735 #define ULTRIX_ATOF_PARAM_TEST_CT 1
4736 static tTestDesc aUltrix_Atof_ParamTests[] = {
4737 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
4740 * Fix Command Arguments for Ultrix_Atof_Param
4742 static const char* apzUltrix_Atof_ParamPatch[] = {
4747 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4749 * Description of Ultrix_Const fix
4751 tSCC zUltrix_ConstName[] =
4755 * File name selection pattern
4757 tSCC zUltrix_ConstList[] =
4760 * Machine/OS name selection pattern
4762 #define apzUltrix_ConstMachs (const char**)NULL
4765 * content selection pattern - do fix if pattern found
4767 tSCC zUltrix_ConstSelect0[] =
4768 "perror\\( char \\*";
4770 #define ULTRIX_CONST_TEST_CT 1
4771 static tTestDesc aUltrix_ConstTests[] = {
4772 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
4775 * Fix Command Arguments for Ultrix_Const
4777 static const char* apzUltrix_ConstPatch[] = {
4780 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
4783 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4785 * Description of Ultrix_Const2 fix
4787 tSCC zUltrix_Const2Name[] =
4791 * File name selection pattern
4793 tSCC zUltrix_Const2List[] =
4796 * Machine/OS name selection pattern
4798 #define apzUltrix_Const2Machs (const char**)NULL
4801 * content selection pattern - do fix if pattern found
4803 tSCC zUltrix_Const2Select0[] =
4804 "\\*fopen\\( char \\*";
4806 #define ULTRIX_CONST2_TEST_CT 1
4807 static tTestDesc aUltrix_Const2Tests[] = {
4808 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
4811 * Fix Command Arguments for Ultrix_Const2
4813 static const char* apzUltrix_Const2Patch[] = {
4815 "%1( const char *%3, const char *",
4816 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
4819 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4821 * Description of Ultrix_Fix_Fixproto fix
4823 tSCC zUltrix_Fix_FixprotoName[] =
4824 "ultrix_fix_fixproto";
4827 * File name selection pattern
4829 tSCC zUltrix_Fix_FixprotoList[] =
4832 * Machine/OS name selection pattern
4834 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
4837 * content selection pattern - do fix if pattern found
4839 tSCC zUltrix_Fix_FixprotoSelect0[] =
4842 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
4843 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
4844 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
4847 * Fix Command Arguments for Ultrix_Fix_Fixproto
4849 static const char* apzUltrix_Fix_FixprotoPatch[] = {
4853 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
4856 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4858 * Description of Ultrix_Ifdef fix
4860 tSCC zUltrix_IfdefName[] =
4864 * File name selection pattern
4866 tSCC zUltrix_IfdefList[] =
4869 * Machine/OS name selection pattern
4871 #define apzUltrix_IfdefMachs (const char**)NULL
4874 * content selection pattern - do fix if pattern found
4876 tSCC zUltrix_IfdefSelect0[] =
4877 "^#ifdef KERNEL[ \t]+&&";
4879 #define ULTRIX_IFDEF_TEST_CT 1
4880 static tTestDesc aUltrix_IfdefTests[] = {
4881 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
4884 * Fix Command Arguments for Ultrix_Ifdef
4886 static const char* apzUltrix_IfdefPatch[] = {
4888 "#if defined(KERNEL) &&",
4891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4893 * Description of Ultrix_Math_Ifdef fix
4895 tSCC zUltrix_Math_IfdefName[] =
4896 "ultrix_math_ifdef";
4899 * File name selection pattern
4901 tSCC zUltrix_Math_IfdefList[] =
4902 "|sys/limits.h|float.h|math.h|";
4904 * Machine/OS name selection pattern
4906 #define apzUltrix_Math_IfdefMachs (const char**)NULL
4909 * content selection pattern - do fix if pattern found
4911 tSCC zUltrix_Math_IfdefSelect0[] =
4912 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
4914 #define ULTRIX_MATH_IFDEF_TEST_CT 1
4915 static tTestDesc aUltrix_Math_IfdefTests[] = {
4916 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
4919 * Fix Command Arguments for Ultrix_Math_Ifdef
4921 static const char* apzUltrix_Math_IfdefPatch[] = {
4926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4928 * Description of Ultrix_Nested_Ioctl fix
4930 tSCC zUltrix_Nested_IoctlName[] =
4931 "ultrix_nested_ioctl";
4934 * File name selection pattern
4936 tSCC zUltrix_Nested_IoctlList[] =
4939 * Machine/OS name selection pattern
4941 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
4944 * content selection pattern - do fix if pattern found
4946 tSCC zUltrix_Nested_IoctlSelect0[] =
4947 "^/\\* #define SIOCSCREEN";
4949 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
4950 static tTestDesc aUltrix_Nested_IoctlTests[] = {
4951 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
4954 * Fix Command Arguments for Ultrix_Nested_Ioctl
4956 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
4957 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
4960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4962 * Description of Ultrix_Nested_Svc fix
4964 tSCC zUltrix_Nested_SvcName[] =
4965 "ultrix_nested_svc";
4968 * File name selection pattern
4970 tSCC zUltrix_Nested_SvcList[] =
4973 * Machine/OS name selection pattern
4975 #define apzUltrix_Nested_SvcMachs (const char**)NULL
4978 * content selection pattern - do fix if pattern found
4980 tSCC zUltrix_Nested_SvcSelect0[] =
4981 "^ \\*[ \t]*int protocol; */\\*";
4983 #define ULTRIX_NESTED_SVC_TEST_CT 1
4984 static tTestDesc aUltrix_Nested_SvcTests[] = {
4985 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
4988 * Fix Command Arguments for Ultrix_Nested_Svc
4990 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
4991 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
4994 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4996 * Description of Ultrix_Stat fix
4998 tSCC zUltrix_StatName[] =
5002 * File name selection pattern
5004 tSCC zUltrix_StatList[] =
5007 * Machine/OS name selection pattern
5009 #define apzUltrix_StatMachs (const char**)NULL
5012 * content selection pattern - do fix if pattern found
5014 tSCC zUltrix_StatSelect0[] =
5015 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
5017 #define ULTRIX_STAT_TEST_CT 1
5018 static tTestDesc aUltrix_StatTests[] = {
5019 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
5022 * Fix Command Arguments for Ultrix_Stat
5024 static const char* apzUltrix_StatPatch[] = { "sed",
5025 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
5027 /* macro to test for symbolic link */\\\n\
5028 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
5029 "-e", "/^[ \t]*fstat(),$/a\\\n\
5033 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5035 * Description of Ultrix_Static fix
5037 tSCC zUltrix_StaticName[] =
5041 * File name selection pattern
5043 tSCC zUltrix_StaticList[] =
5046 * Machine/OS name selection pattern
5048 #define apzUltrix_StaticMachs (const char**)NULL
5051 * content selection pattern - do fix if pattern found
5053 tSCC zUltrix_StaticSelect0[] =
5054 "#include \"r[34]_cpu";
5056 #define ULTRIX_STATIC_TEST_CT 1
5057 static tTestDesc aUltrix_StaticTests[] = {
5058 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
5061 * Fix Command Arguments for Ultrix_Static
5063 static const char* apzUltrix_StaticPatch[] = { "sed",
5064 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
5065 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
5066 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
5069 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5071 * Description of Ultrix_Strings fix
5073 tSCC zUltrix_StringsName[] =
5077 * File name selection pattern
5079 tSCC zUltrix_StringsList[] =
5082 * Machine/OS name selection pattern
5084 #define apzUltrix_StringsMachs (const char**)NULL
5087 * content selection pattern - do fix if pattern found
5089 tSCC zUltrix_StringsSelect0[] =
5090 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
5092 #define ULTRIX_STRINGS_TEST_CT 1
5093 static tTestDesc aUltrix_StringsTests[] = {
5094 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
5097 * Fix Command Arguments for Ultrix_Strings
5099 static const char* apzUltrix_StringsPatch[] = {
5103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5105 * Description of Undefine_Null fix
5107 tSCC zUndefine_NullName[] =
5111 * File name selection pattern
5113 #define zUndefine_NullList (char*)NULL
5115 * Machine/OS name selection pattern
5117 #define apzUndefine_NullMachs (const char**)NULL
5120 * content selection pattern - do fix if pattern found
5122 tSCC zUndefine_NullSelect0[] =
5123 "^#[ \t]*define[ \t]+NULL[ \t]";
5126 * content bypass pattern - skip fix if pattern found
5128 tSCC zUndefine_NullBypass0[] =
5129 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
5131 #define UNDEFINE_NULL_TEST_CT 2
5132 static tTestDesc aUndefine_NullTests[] = {
5133 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
5134 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
5137 * Fix Command Arguments for Undefine_Null
5139 static const char* apzUndefine_NullPatch[] = {
5144 "^#[ \t]*define[ \t]*[ \t]NULL([^\r\n\
5148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5150 * Description of Unicosmk_Restrict fix
5152 tSCC zUnicosmk_RestrictName[] =
5153 "unicosmk_restrict";
5156 * File name selection pattern
5158 tSCC zUnicosmk_RestrictList[] =
5159 "|stdio.h|stdlib.h|wchar.h|";
5161 * Machine/OS name selection pattern
5163 tSCC* apzUnicosmk_RestrictMachs[] = {
5165 (const char*)NULL };
5168 * content selection pattern - do fix if pattern found
5170 tSCC zUnicosmk_RestrictSelect0[] =
5171 "(\\*[ \t]*)restrict([ \t]+)";
5173 #define UNICOSMK_RESTRICT_TEST_CT 1
5174 static tTestDesc aUnicosmk_RestrictTests[] = {
5175 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
5178 * Fix Command Arguments for Unicosmk_Restrict
5180 static const char* apzUnicosmk_RestrictPatch[] = {
5185 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5187 * Description of Uw7_Byteorder_Fix fix
5189 tSCC zUw7_Byteorder_FixName[] =
5190 "uw7_byteorder_fix";
5193 * File name selection pattern
5195 tSCC zUw7_Byteorder_FixList[] =
5198 * Machine/OS name selection pattern
5200 tSCC* apzUw7_Byteorder_FixMachs[] = {
5204 "i?86-*-solaris2.[0-4]",
5205 "powerpcle-*-solaris2.[0-4]",
5206 "sparc-*-solaris2.[0-4]",
5207 (const char*)NULL };
5210 * content selection pattern - do fix if pattern found
5212 tSCC zUw7_Byteorder_FixSelect0[] =
5216 * perform the 'test' shell command - do fix on success
5218 tSCC zUw7_Byteorder_FixTest0[] =
5219 "-f sys/byteorder.h";
5221 #define UW7_BYTEORDER_FIX_TEST_CT 2
5222 static tTestDesc aUw7_Byteorder_FixTests[] = {
5223 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
5224 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
5227 * Fix Command Arguments for Uw7_Byteorder_Fix
5229 static const char* apzUw7_Byteorder_FixPatch[] = {
5232 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
5235 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5237 * Description of Va_I960_Macro fix
5239 tSCC zVa_I960_MacroName[] =
5243 * File name selection pattern
5245 tSCC zVa_I960_MacroList[] =
5246 "|arch/i960/archI960.h|";
5248 * Machine/OS name selection pattern
5250 #define apzVa_I960_MacroMachs (const char**)NULL
5253 * content selection pattern - do fix if pattern found
5255 tSCC zVa_I960_MacroSelect0[] =
5256 "__(vsiz|vali|vpad|alignof__)";
5258 #define VA_I960_MACRO_TEST_CT 1
5259 static tTestDesc aVa_I960_MacroTests[] = {
5260 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
5263 * Fix Command Arguments for Va_I960_Macro
5265 static const char* apzVa_I960_MacroPatch[] = {
5270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5272 * Description of Void_Null fix
5274 tSCC zVoid_NullName[] =
5278 * File name selection pattern
5280 tSCC zVoid_NullList[] =
5281 "|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|";
5283 * Machine/OS name selection pattern
5285 #define apzVoid_NullMachs (const char**)NULL
5288 * content selection pattern - do fix if pattern found
5290 tSCC zVoid_NullSelect0[] =
5291 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
5293 #define VOID_NULL_TEST_CT 1
5294 static tTestDesc aVoid_NullTests[] = {
5295 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
5298 * Fix Command Arguments for Void_Null
5300 static const char* apzVoid_NullPatch[] = {
5305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5307 * Description of Vxworks_Gcc_Problem fix
5309 tSCC zVxworks_Gcc_ProblemName[] =
5310 "vxworks_gcc_problem";
5313 * File name selection pattern
5315 tSCC zVxworks_Gcc_ProblemList[] =
5316 "|types/vxTypesBase.h|";
5318 * Machine/OS name selection pattern
5320 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
5323 * content selection pattern - do fix if pattern found
5325 tSCC zVxworks_Gcc_ProblemSelect0[] =
5326 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
5328 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
5329 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
5330 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
5333 * Fix Command Arguments for Vxworks_Gcc_Problem
5335 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
5336 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
5337 "-e", "/[ \t]size_t/i\\\n\
5338 #ifndef _GCC_SIZE_T\\\n\
5339 #define _GCC_SIZE_T\n",
5340 "-e", "/[ \t]size_t/a\\\n\
5342 "-e", "/[ \t]ptrdiff_t/i\\\n\
5343 #ifndef _GCC_PTRDIFF_T\\\n\
5344 #define _GCC_PTRDIFF_T\n",
5345 "-e", "/[ \t]ptrdiff_t/a\\\n\
5347 "-e", "/[ \t]wchar_t/i\\\n\
5348 #ifndef _GCC_WCHAR_T\\\n\
5349 #define _GCC_WCHAR_T\n",
5350 "-e", "/[ \t]wchar_t/a\\\n\
5354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5356 * Description of Vxworks_Needs_Vxtypes fix
5358 tSCC zVxworks_Needs_VxtypesName[] =
5359 "vxworks_needs_vxtypes";
5362 * File name selection pattern
5364 tSCC zVxworks_Needs_VxtypesList[] =
5367 * Machine/OS name selection pattern
5369 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
5372 * content selection pattern - do fix if pattern found
5374 tSCC zVxworks_Needs_VxtypesSelect0[] =
5375 "uint_t([ \t]+_clocks_per_sec)";
5377 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
5378 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
5379 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
5382 * Fix Command Arguments for Vxworks_Needs_Vxtypes
5384 static const char* apzVxworks_Needs_VxtypesPatch[] = {
5389 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5391 * Description of Vxworks_Needs_Vxworks fix
5393 tSCC zVxworks_Needs_VxworksName[] =
5394 "vxworks_needs_vxworks";
5397 * File name selection pattern
5399 tSCC zVxworks_Needs_VxworksList[] =
5402 * Machine/OS name selection pattern
5404 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
5407 * content selection pattern - do fix if pattern found
5409 tSCC zVxworks_Needs_VxworksSelect0[] =
5410 "#[ \t]define[ \t]+__INCstath";
5413 * perform the 'test' shell command - do fix on success
5415 tSCC zVxworks_Needs_VxworksTest0[] =
5416 " -r types/vxTypesOld.h";
5417 tSCC zVxworks_Needs_VxworksTest1[] =
5418 " -n \"`egrep '#include' $file`\"";
5419 tSCC zVxworks_Needs_VxworksTest2[] =
5420 " -n \"`egrep ULONG $file`\"";
5422 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
5423 static tTestDesc aVxworks_Needs_VxworksTests[] = {
5424 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
5425 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
5426 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
5427 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
5430 * Fix Command Arguments for Vxworks_Needs_Vxworks
5432 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
5433 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
5434 #include <types/vxTypesOld.h>\n",
5437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5439 * Description of Vxworks_Time fix
5441 tSCC zVxworks_TimeName[] =
5445 * File name selection pattern
5447 tSCC zVxworks_TimeList[] =
5450 * Machine/OS name selection pattern
5452 #define apzVxworks_TimeMachs (const char**)NULL
5455 * content selection pattern - do fix if pattern found
5457 tSCC zVxworks_TimeSelect0[] =
5458 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
5461 * perform the 'test' shell command - do fix on success
5463 tSCC zVxworks_TimeTest0[] =
5466 #define VXWORKS_TIME_TEST_CT 2
5467 static tTestDesc aVxworks_TimeTests[] = {
5468 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
5469 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
5472 * Fix Command Arguments for Vxworks_Time
5474 static const char* apzVxworks_TimePatch[] = {
5476 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
5477 #ifdef __cplusplus\n\
5478 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
5480 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
5482 #define __gcc_VOIDFUNCPTR_defined\n\
5484 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
5487 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5489 * Description of Windiss_Math1 fix
5491 tSCC zWindiss_Math1Name[] =
5495 * File name selection pattern
5497 tSCC zWindiss_Math1List[] =
5500 * Machine/OS name selection pattern
5502 tSCC* apzWindiss_Math1Machs[] = {
5504 (const char*)NULL };
5505 #define WINDISS_MATH1_TEST_CT 0
5506 #define aWindiss_Math1Tests (tTestDesc*)NULL
5509 * Fix Command Arguments for Windiss_Math1
5511 static const char* apzWindiss_Math1Patch[] = { "sed",
5512 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
5515 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5517 * Description of Windiss_Math2 fix
5519 tSCC zWindiss_Math2Name[] =
5523 * File name selection pattern
5525 tSCC zWindiss_Math2List[] =
5528 * Machine/OS name selection pattern
5530 tSCC* apzWindiss_Math2Machs[] = {
5532 (const char*)NULL };
5533 #define WINDISS_MATH2_TEST_CT 0
5534 #define aWindiss_Math2Tests (tTestDesc*)NULL
5537 * Fix Command Arguments for Windiss_Math2
5539 static const char* apzWindiss_Math2Patch[] = { "sed",
5540 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
5543 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5545 * Description of Windiss_Valist fix
5547 tSCC zWindiss_ValistName[] =
5551 * File name selection pattern
5553 #define zWindiss_ValistList (char*)NULL
5555 * Machine/OS name selection pattern
5557 tSCC* apzWindiss_ValistMachs[] = {
5559 (const char*)NULL };
5562 * content selection pattern - do fix if pattern found
5564 tSCC zWindiss_ValistSelect0[] =
5565 "(#include.*)diab/va_list.h";
5567 #define WINDISS_VALIST_TEST_CT 1
5568 static tTestDesc aWindiss_ValistTests[] = {
5569 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
5572 * Fix Command Arguments for Windiss_Valist
5574 static const char* apzWindiss_ValistPatch[] = { "sed",
5575 "-e", "s|diab/va_list.h|stdarg.h|",
5578 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5580 * Description of X11_Class fix
5582 tSCC zX11_ClassName[] =
5586 * File name selection pattern
5588 tSCC zX11_ClassList[] =
5591 * Machine/OS name selection pattern
5593 #define apzX11_ClassMachs (const char**)NULL
5596 * content selection pattern - do fix if pattern found
5598 tSCC zX11_ClassSelect0[] =
5599 "^([ \t]*char \\*)class;(.*)";
5602 * content bypass pattern - skip fix if pattern found
5604 tSCC zX11_ClassBypass0[] =
5607 #define X11_CLASS_TEST_CT 2
5608 static tTestDesc aX11_ClassTests[] = {
5609 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
5610 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
5613 * Fix Command Arguments for X11_Class
5615 static const char* apzX11_ClassPatch[] = {
5617 "#ifdef __cplusplus\n\
5624 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5626 * Description of X11_Class_Usage fix
5628 tSCC zX11_Class_UsageName[] =
5632 * File name selection pattern
5634 tSCC zX11_Class_UsageList[] =
5635 "|Xm/BaseClassI.h|";
5637 * Machine/OS name selection pattern
5639 #define apzX11_Class_UsageMachs (const char**)NULL
5642 * content selection pattern - do fix if pattern found
5644 tSCC zX11_Class_UsageSelect0[] =
5648 * content bypass pattern - skip fix if pattern found
5650 tSCC zX11_Class_UsageBypass0[] =
5653 #define X11_CLASS_USAGE_TEST_CT 2
5654 static tTestDesc aX11_Class_UsageTests[] = {
5655 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
5656 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
5659 * Fix Command Arguments for X11_Class_Usage
5661 static const char* apzX11_Class_UsagePatch[] = {
5666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5668 * Description of X11_New fix
5670 tSCC zX11_NewName[] =
5674 * File name selection pattern
5676 tSCC zX11_NewList[] =
5679 * Machine/OS name selection pattern
5681 #define apzX11_NewMachs (const char**)NULL
5684 * content bypass pattern - skip fix if pattern found
5686 tSCC zX11_NewBypass0[] =
5689 #define X11_NEW_TEST_CT 1
5690 static tTestDesc aX11_NewTests[] = {
5691 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
5694 * Fix Command Arguments for X11_New
5696 static const char* apzX11_NewPatch[] = { "sed",
5697 "-e", "/Widget\told, new;/i\\\n\
5698 #ifdef __cplusplus\\\n\
5699 \tWidget\told, c_new;\\\n\
5701 "-e", "/Widget\told, new;/a\\\n\
5703 "-e", "s/Widget new,/Widget c_new,/g",
5706 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5708 * Description of X11_Sprintf fix
5710 tSCC zX11_SprintfName[] =
5714 * File name selection pattern
5716 tSCC zX11_SprintfList[] =
5717 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
5719 * Machine/OS name selection pattern
5721 #define apzX11_SprintfMachs (const char**)NULL
5724 * content selection pattern - do fix if pattern found
5726 tSCC zX11_SprintfSelect0[] =
5727 "^extern char \\*\tsprintf\\(\\);$";
5729 #define X11_SPRINTF_TEST_CT 1
5730 static tTestDesc aX11_SprintfTests[] = {
5731 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
5734 * Fix Command Arguments for X11_Sprintf
5736 static const char* apzX11_SprintfPatch[] = {
5738 "#ifndef __STDC__\n\
5740 #endif /* !defined __STDC__ */",
5744 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5748 #define REGEX_COUNT 154
5749 #define MACH_LIST_SIZE_LIMIT 279
5750 #define FIX_COUNT 147
5753 * Enumerate the fixes
5756 AAB_DGUX_INT_VARARGS_FIXIDX,
5757 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
5758 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
5759 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
5760 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
5761 AAB_SUN_MEMCPY_FIXIDX,
5762 AAB_SVR4_REPLACE_BYTEORDER_FIXIDX,
5763 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
5764 AAB_ULTRIX_LIMITS_FIXIDX,
5765 AAB_ULTRIX_MEMORY_FIXIDX,
5766 AAB_ULTRIX_STRING_FIXIDX,
5768 AIX_SYSMACHINE_FIXIDX,
5770 AIX_VOLATILE_FIXIDX,
5771 ALPHA___ASSERT_FIXIDX,
5772 ALPHA_ASSERT_FIXIDX,
5773 ALPHA_GETOPT_FIXIDX,
5774 ALPHA_PARENS_FIXIDX,
5776 ARM_NORCROFT_HINT_FIXIDX,
5779 AVOID_BOOL_DEFINE_FIXIDX,
5780 AVOID_BOOL_TYPE_FIXIDX,
5781 AVOID_WCHAR_T_TYPE_FIXIDX,
5783 BAD_STRUCT_TERM_FIXIDX,
5785 BROKEN_ASSERT_STDIO_FIXIDX,
5786 BROKEN_ASSERT_STDLIB_FIXIDX,
5788 CTRL_QUOTES_DEF_FIXIDX,
5789 CTRL_QUOTES_USE_FIXIDX,
5791 DEC_INTERN_ASM_FIXIDX,
5792 DJGPP_WCHAR_H_FIXIDX,
5794 FIX_HEADER_BREAKAGE_FIXIDX,
5795 FREEBSD_GCC3_BREAKAGE_FIXIDX,
5799 HPUX10_CPP_POW_INLINE_FIXIDX,
5800 HPUX11_CPP_POW_INLINE_FIXIDX,
5801 HPUX11_FABSF_FIXIDX,
5803 HPUX11_SIZE_T_FIXIDX,
5804 HPUX11_UINT32_C_FIXIDX,
5805 HPUX11_VSNPRINTF_FIXIDX,
5806 HPUX8_BOGUS_INLINES_FIXIDX,
5808 HPUX_SYSTIME_FIXIDX,
5809 INT_ABORT_FREE_AND_EXIT_FIXIDX,
5810 IO_QUOTES_DEF_FIXIDX,
5811 IO_QUOTES_USE_FIXIDX,
5812 IP_MISSING_SEMI_FIXIDX,
5813 IRIX_ASM_APOSTROPHE_FIXIDX,
5814 IRIX_LIMITS_CONST_FIXIDX,
5815 IRIX_STDIO_VA_LIST_FIXIDX,
5817 ISC_OMITS_WITH_STDC_FIXIDX,
5818 KANDR_CONCAT_FIXIDX,
5819 LIBC1_IFDEFD_MEMX_FIXIDX,
5820 LIMITS_IFNDEFS_FIXIDX,
5821 LYNX_VOID_INT_FIXIDX,
5822 LYNXOS_FCNTL_PROTO_FIXIDX,
5823 M88K_BAD_HYPOT_OPT_FIXIDX,
5824 M88K_BAD_S_IF_FIXIDX,
5825 M88K_MULTI_INCL_FIXIDX,
5826 MACHINE_ANSI_H_VA_LIST_FIXIDX,
5827 MACHINE_NAME_FIXIDX,
5828 MATH_EXCEPTION_FIXIDX,
5829 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
5830 MATH_HUGE_VAL_IFNDEF_FIXIDX,
5831 NESTED_AUTH_DES_FIXIDX,
5832 NESTED_MOTOROLA_FIXIDX,
5833 NESTED_SYS_LIMITS_FIXIDX,
5834 NEWS_OS_RECURSION_FIXIDX,
5835 NEXT_MATH_PREFIX_FIXIDX,
5836 NEXT_TEMPLATE_FIXIDX,
5837 NEXT_VOLITILE_FIXIDX,
5838 NEXT_WAIT_UNION_FIXIDX,
5839 NODEENT_SYNTAX_FIXIDX,
5840 OSF_NAMESPACE_A_FIXIDX,
5841 OSF_NAMESPACE_C_FIXIDX,
5842 PTHREAD_PAGE_SIZE_FIXIDX,
5843 READ_RET_TYPE_FIXIDX,
5844 RS6000_DOUBLE_FIXIDX,
5845 RS6000_FCHMOD_FIXIDX,
5846 RS6000_PARAM_FIXIDX,
5847 SCO_STATIC_FUNC_FIXIDX,
5849 SOLARIS_MUTEX_INIT_FIXIDX,
5850 SOLARIS_STDIO_TAG_FIXIDX,
5851 SOLARIS_WIDEC_FIXIDX,
5853 STDIO_STDARG_H_FIXIDX,
5854 STDIO_VA_LIST_FIXIDX,
5855 STRICT_ANSI_NOT_FIXIDX,
5856 STRICT_ANSI_NOT_CTD_FIXIDX,
5857 STRICT_ANSI_ONLY_FIXIDX,
5859 STRUCT_SOCKADDR_FIXIDX,
5860 SUN_AUTH_PROTO_FIXIDX,
5861 SUN_BOGUS_IFDEF_FIXIDX,
5862 SUN_CATMACRO_FIXIDX,
5864 SUN_RUSERS_SEMI_FIXIDX,
5866 SUNOS_MATHERR_DECL_FIXIDX,
5867 SUNOS_STRLEN_FIXIDX,
5871 SYSV68_STRING_FIXIDX,
5872 SYSZ_STDLIB_FOR_SUN_FIXIDX,
5873 THREAD_KEYWORD_FIXIDX,
5874 TINFO_CPLUSPLUS_FIXIDX,
5875 ULTRIX_ATEXIT_PARAM_FIXIDX,
5876 ULTRIX_ATOF_PARAM_FIXIDX,
5877 ULTRIX_CONST_FIXIDX,
5878 ULTRIX_CONST2_FIXIDX,
5879 ULTRIX_FIX_FIXPROTO_FIXIDX,
5880 ULTRIX_IFDEF_FIXIDX,
5881 ULTRIX_MATH_IFDEF_FIXIDX,
5882 ULTRIX_NESTED_IOCTL_FIXIDX,
5883 ULTRIX_NESTED_SVC_FIXIDX,
5885 ULTRIX_STATIC_FIXIDX,
5886 ULTRIX_STRINGS_FIXIDX,
5887 UNDEFINE_NULL_FIXIDX,
5888 UNICOSMK_RESTRICT_FIXIDX,
5889 UW7_BYTEORDER_FIX_FIXIDX,
5890 VA_I960_MACRO_FIXIDX,
5892 VXWORKS_GCC_PROBLEM_FIXIDX,
5893 VXWORKS_NEEDS_VXTYPES_FIXIDX,
5894 VXWORKS_NEEDS_VXWORKS_FIXIDX,
5895 VXWORKS_TIME_FIXIDX,
5896 WINDISS_MATH1_FIXIDX,
5897 WINDISS_MATH2_FIXIDX,
5898 WINDISS_VALIST_FIXIDX,
5900 X11_CLASS_USAGE_FIXIDX,
5905 tFixDesc fixDescList[ FIX_COUNT ] = {
5906 { zAab_Dgux_Int_VarargsName, zAab_Dgux_Int_VarargsList,
5907 apzAab_Dgux_Int_VarargsMachs,
5908 AAB_DGUX_INT_VARARGS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5909 aAab_Dgux_Int_VarargsTests, apzAab_Dgux_Int_VarargsPatch, 0 },
5911 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
5912 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
5913 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5914 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
5916 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
5917 apzAab_Fd_Zero_Gnu_Types_HMachs,
5918 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5919 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
5921 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
5922 apzAab_Fd_Zero_Selectbits_HMachs,
5923 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5924 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
5926 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
5927 apzAab_Solaris_Sys_Varargs_HMachs,
5928 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5929 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
5931 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
5932 apzAab_Sun_MemcpyMachs,
5933 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5934 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
5936 { zAab_Svr4_Replace_ByteorderName, zAab_Svr4_Replace_ByteorderList,
5937 apzAab_Svr4_Replace_ByteorderMachs,
5938 AAB_SVR4_REPLACE_BYTEORDER_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5939 aAab_Svr4_Replace_ByteorderTests, apzAab_Svr4_Replace_ByteorderPatch, 0 },
5941 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
5942 apzAab_Ultrix_Ansi_CompatMachs,
5943 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5944 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
5946 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
5947 apzAab_Ultrix_LimitsMachs,
5948 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5949 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
5951 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
5952 apzAab_Ultrix_MemoryMachs,
5953 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5954 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
5956 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
5957 apzAab_Ultrix_StringMachs,
5958 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5959 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
5961 { zAix_PthreadName, zAix_PthreadList,
5962 apzAix_PthreadMachs,
5963 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5964 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
5966 { zAix_SysmachineName, zAix_SysmachineList,
5967 apzAix_SysmachineMachs,
5968 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5969 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
5971 { zAix_SyswaitName, zAix_SyswaitList,
5972 apzAix_SyswaitMachs,
5973 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5974 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
5976 { zAix_VolatileName, zAix_VolatileList,
5977 apzAix_VolatileMachs,
5978 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5979 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
5981 { zAlpha___AssertName, zAlpha___AssertList,
5982 apzAlpha___AssertMachs,
5983 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5984 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
5986 { zAlpha_AssertName, zAlpha_AssertList,
5987 apzAlpha_AssertMachs,
5988 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5989 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
5991 { zAlpha_GetoptName, zAlpha_GetoptList,
5992 apzAlpha_GetoptMachs,
5993 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5994 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
5996 { zAlpha_ParensName, zAlpha_ParensList,
5997 apzAlpha_ParensMachs,
5998 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5999 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
6001 { zAlpha_SbrkName, zAlpha_SbrkList,
6003 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6004 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
6006 { zArm_Norcroft_HintName, zArm_Norcroft_HintList,
6007 apzArm_Norcroft_HintMachs,
6008 ARM_NORCROFT_HINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6009 aArm_Norcroft_HintTests, apzArm_Norcroft_HintPatch, 0 },
6011 { zArm_WcharName, zArm_WcharList,
6013 ARM_WCHAR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6014 aArm_WcharTests, apzArm_WcharPatch, 0 },
6016 { zAux_AsmName, zAux_AsmList,
6018 AUX_ASM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6019 aAux_AsmTests, apzAux_AsmPatch, 0 },
6021 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
6022 apzAvoid_Bool_DefineMachs,
6023 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6024 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
6026 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
6027 apzAvoid_Bool_TypeMachs,
6028 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6029 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
6031 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
6032 apzAvoid_Wchar_T_TypeMachs,
6033 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6034 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
6036 { zBad_LvalName, zBad_LvalList,
6038 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
6039 aBad_LvalTests, apzBad_LvalPatch, 0 },
6041 { zBad_Struct_TermName, zBad_Struct_TermList,
6042 apzBad_Struct_TermMachs,
6043 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6044 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
6046 { zBadquoteName, zBadquoteList,
6048 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6049 aBadquoteTests, apzBadquotePatch, 0 },
6051 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
6052 apzBroken_Assert_StdioMachs,
6053 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6054 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
6056 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
6057 apzBroken_Assert_StdlibMachs,
6058 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6059 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
6061 { zBroken_CabsName, zBroken_CabsList,
6062 apzBroken_CabsMachs,
6063 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6064 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
6066 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
6067 apzCtrl_Quotes_DefMachs,
6068 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6069 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
6071 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
6072 apzCtrl_Quotes_UseMachs,
6073 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6074 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
6076 { zCxx_UnreadyName, zCxx_UnreadyList,
6077 apzCxx_UnreadyMachs,
6078 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6079 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
6081 { zDec_Intern_AsmName, zDec_Intern_AsmList,
6082 apzDec_Intern_AsmMachs,
6083 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
6084 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
6086 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
6087 apzDjgpp_Wchar_HMachs,
6088 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6089 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
6091 { zEcd_CursorName, zEcd_CursorList,
6093 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6094 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
6096 { zFix_Header_BreakageName, zFix_Header_BreakageList,
6097 apzFix_Header_BreakageMachs,
6098 FIX_HEADER_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6099 aFix_Header_BreakageTests, apzFix_Header_BreakagePatch, 0 },
6101 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
6102 apzFreebsd_Gcc3_BreakageMachs,
6103 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6104 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
6106 { zGnu_TypesName, zGnu_TypesList,
6108 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6109 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
6111 { zHp_InlineName, zHp_InlineList,
6113 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6114 aHp_InlineTests, apzHp_InlinePatch, 0 },
6116 { zHp_SysfileName, zHp_SysfileList,
6118 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6119 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
6121 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
6122 apzHpux10_Cpp_Pow_InlineMachs,
6123 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6124 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
6126 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
6127 apzHpux11_Cpp_Pow_InlineMachs,
6128 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6129 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
6131 { zHpux11_FabsfName, zHpux11_FabsfList,
6132 apzHpux11_FabsfMachs,
6133 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6134 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
6136 { zHpux11_AbsName, zHpux11_AbsList,
6138 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6139 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
6141 { zHpux11_Size_TName, zHpux11_Size_TList,
6142 apzHpux11_Size_TMachs,
6143 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6144 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
6146 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
6147 apzHpux11_Uint32_CMachs,
6148 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6149 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
6151 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
6152 apzHpux11_VsnprintfMachs,
6153 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6154 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
6156 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
6157 apzHpux8_Bogus_InlinesMachs,
6158 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
6159 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
6161 { zHpux_MaxintName, zHpux_MaxintList,
6162 apzHpux_MaxintMachs,
6163 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6164 aHpux_MaxintTests, apzHpux_MaxintPatch, 0 },
6166 { zHpux_SystimeName, zHpux_SystimeList,
6167 apzHpux_SystimeMachs,
6168 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6169 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
6171 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
6172 apzInt_Abort_Free_And_ExitMachs,
6173 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6174 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
6176 { zIo_Quotes_DefName, zIo_Quotes_DefList,
6177 apzIo_Quotes_DefMachs,
6178 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6179 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
6181 { zIo_Quotes_UseName, zIo_Quotes_UseList,
6182 apzIo_Quotes_UseMachs,
6183 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6184 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
6186 { zIp_Missing_SemiName, zIp_Missing_SemiList,
6187 apzIp_Missing_SemiMachs,
6188 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
6189 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
6191 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
6192 apzIrix_Asm_ApostropheMachs,
6193 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6194 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
6196 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
6197 apzIrix_Limits_ConstMachs,
6198 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6199 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
6201 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
6202 apzIrix_Stdio_Va_ListMachs,
6203 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6204 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
6206 { zIsc_FmodName, zIsc_FmodList,
6208 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6209 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
6211 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
6212 apzIsc_Omits_With_StdcMachs,
6213 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6214 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
6216 { zKandr_ConcatName, zKandr_ConcatList,
6217 apzKandr_ConcatMachs,
6218 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6219 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
6221 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
6222 apzLibc1_Ifdefd_MemxMachs,
6223 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6224 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
6226 { zLimits_IfndefsName, zLimits_IfndefsList,
6227 apzLimits_IfndefsMachs,
6228 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6229 aLimits_IfndefsTests, apzLimits_IfndefsPatch, 0 },
6231 { zLynx_Void_IntName, zLynx_Void_IntList,
6232 apzLynx_Void_IntMachs,
6233 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6234 aLynx_Void_IntTests, apzLynx_Void_IntPatch, 0 },
6236 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
6237 apzLynxos_Fcntl_ProtoMachs,
6238 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6239 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch, 0 },
6241 { zM88k_Bad_Hypot_OptName, zM88k_Bad_Hypot_OptList,
6242 apzM88k_Bad_Hypot_OptMachs,
6243 M88K_BAD_HYPOT_OPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6244 aM88k_Bad_Hypot_OptTests, apzM88k_Bad_Hypot_OptPatch, 0 },
6246 { zM88k_Bad_S_IfName, zM88k_Bad_S_IfList,
6247 apzM88k_Bad_S_IfMachs,
6248 M88K_BAD_S_IF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6249 aM88k_Bad_S_IfTests, apzM88k_Bad_S_IfPatch, 0 },
6251 { zM88k_Multi_InclName, zM88k_Multi_InclList,
6252 apzM88k_Multi_InclMachs,
6253 M88K_MULTI_INCL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6254 aM88k_Multi_InclTests, apzM88k_Multi_InclPatch, 0 },
6256 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
6257 apzMachine_Ansi_H_Va_ListMachs,
6258 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6259 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
6261 { zMachine_NameName, zMachine_NameList,
6262 apzMachine_NameMachs,
6263 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6264 aMachine_NameTests, apzMachine_NamePatch, 0 },
6266 { zMath_ExceptionName, zMath_ExceptionList,
6267 apzMath_ExceptionMachs,
6268 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6269 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
6271 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
6272 apzMath_Huge_Val_From_Dbl_MaxMachs,
6273 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
6274 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
6276 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
6277 apzMath_Huge_Val_IfndefMachs,
6278 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6279 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch, 0 },
6281 { zNested_Auth_DesName, zNested_Auth_DesList,
6282 apzNested_Auth_DesMachs,
6283 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6284 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
6286 { zNested_MotorolaName, zNested_MotorolaList,
6287 apzNested_MotorolaMachs,
6288 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
6289 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
6291 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
6292 apzNested_Sys_LimitsMachs,
6293 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
6294 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
6296 { zNews_Os_RecursionName, zNews_Os_RecursionList,
6297 apzNews_Os_RecursionMachs,
6298 NEWS_OS_RECURSION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6299 aNews_Os_RecursionTests, apzNews_Os_RecursionPatch, 0 },
6301 { zNext_Math_PrefixName, zNext_Math_PrefixList,
6302 apzNext_Math_PrefixMachs,
6303 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6304 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
6306 { zNext_TemplateName, zNext_TemplateList,
6307 apzNext_TemplateMachs,
6308 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6309 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
6311 { zNext_VolitileName, zNext_VolitileList,
6312 apzNext_VolitileMachs,
6313 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6314 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
6316 { zNext_Wait_UnionName, zNext_Wait_UnionList,
6317 apzNext_Wait_UnionMachs,
6318 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6319 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
6321 { zNodeent_SyntaxName, zNodeent_SyntaxList,
6322 apzNodeent_SyntaxMachs,
6323 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6324 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
6326 { zOsf_Namespace_AName, zOsf_Namespace_AList,
6327 apzOsf_Namespace_AMachs,
6328 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6329 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
6331 { zOsf_Namespace_CName, zOsf_Namespace_CList,
6332 apzOsf_Namespace_CMachs,
6333 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6334 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
6336 { zPthread_Page_SizeName, zPthread_Page_SizeList,
6337 apzPthread_Page_SizeMachs,
6338 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6339 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
6341 { zRead_Ret_TypeName, zRead_Ret_TypeList,
6342 apzRead_Ret_TypeMachs,
6343 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6344 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
6346 { zRs6000_DoubleName, zRs6000_DoubleList,
6347 apzRs6000_DoubleMachs,
6348 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6349 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
6351 { zRs6000_FchmodName, zRs6000_FchmodList,
6352 apzRs6000_FchmodMachs,
6353 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6354 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
6356 { zRs6000_ParamName, zRs6000_ParamList,
6357 apzRs6000_ParamMachs,
6358 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6359 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
6361 { zSco_Static_FuncName, zSco_Static_FuncList,
6362 apzSco_Static_FuncMachs,
6363 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
6364 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
6366 { zSco_UtimeName, zSco_UtimeList,
6368 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6369 aSco_UtimeTests, apzSco_UtimePatch, 0 },
6371 { zSolaris_Mutex_InitName, zSolaris_Mutex_InitList,
6372 apzSolaris_Mutex_InitMachs,
6373 SOLARIS_MUTEX_INIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6374 aSolaris_Mutex_InitTests, apzSolaris_Mutex_InitPatch, 0 },
6376 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
6377 apzSolaris_Stdio_TagMachs,
6378 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
6379 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
6381 { zSolaris_WidecName, zSolaris_WidecList,
6382 apzSolaris_WidecMachs,
6383 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6384 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
6386 { zStatsswtchName, zStatsswtchList,
6388 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6389 aStatsswtchTests, apzStatsswtchPatch, 0 },
6391 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
6392 apzStdio_Stdarg_HMachs,
6393 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6394 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
6396 { zStdio_Va_ListName, zStdio_Va_ListList,
6397 apzStdio_Va_ListMachs,
6398 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
6399 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
6401 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
6402 apzStrict_Ansi_NotMachs,
6403 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6404 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
6406 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
6407 apzStrict_Ansi_Not_CtdMachs,
6408 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6409 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
6411 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
6412 apzStrict_Ansi_OnlyMachs,
6413 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6414 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
6416 { zStruct_FileName, zStruct_FileList,
6417 apzStruct_FileMachs,
6418 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6419 aStruct_FileTests, apzStruct_FilePatch, 0 },
6421 { zStruct_SockaddrName, zStruct_SockaddrList,
6422 apzStruct_SockaddrMachs,
6423 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6424 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
6426 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
6427 apzSun_Auth_ProtoMachs,
6428 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6429 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
6431 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
6432 apzSun_Bogus_IfdefMachs,
6433 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6434 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
6436 { zSun_CatmacroName, zSun_CatmacroList,
6437 apzSun_CatmacroMachs,
6438 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6439 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
6441 { zSun_MallocName, zSun_MallocList,
6443 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
6444 aSun_MallocTests, apzSun_MallocPatch, 0 },
6446 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
6447 apzSun_Rusers_SemiMachs,
6448 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
6449 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
6451 { zSun_SignalName, zSun_SignalList,
6453 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6454 aSun_SignalTests, apzSun_SignalPatch, 0 },
6456 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
6457 apzSunos_Matherr_DeclMachs,
6458 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6459 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch, 0 },
6461 { zSunos_StrlenName, zSunos_StrlenList,
6462 apzSunos_StrlenMachs,
6463 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6464 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
6466 { zSvr4__PName, zSvr4__PList,
6468 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6469 aSvr4__PTests, apzSvr4__PPatch, 0 },
6471 { zSvr4_GetcwdName, zSvr4_GetcwdList,
6472 apzSvr4_GetcwdMachs,
6473 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6474 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
6476 { zSvr4_ProfilName, zSvr4_ProfilList,
6477 apzSvr4_ProfilMachs,
6478 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6479 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
6481 { zSysv68_StringName, zSysv68_StringList,
6482 apzSysv68_StringMachs,
6483 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
6484 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
6486 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
6487 apzSysz_Stdlib_For_SunMachs,
6488 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6489 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
6491 { zThread_KeywordName, zThread_KeywordList,
6492 apzThread_KeywordMachs,
6493 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6494 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
6496 { zTinfo_CplusplusName, zTinfo_CplusplusList,
6497 apzTinfo_CplusplusMachs,
6498 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6499 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
6501 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
6502 apzUltrix_Atexit_ParamMachs,
6503 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6504 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
6506 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
6507 apzUltrix_Atof_ParamMachs,
6508 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6509 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
6511 { zUltrix_ConstName, zUltrix_ConstList,
6512 apzUltrix_ConstMachs,
6513 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6514 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
6516 { zUltrix_Const2Name, zUltrix_Const2List,
6517 apzUltrix_Const2Machs,
6518 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6519 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
6521 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
6522 apzUltrix_Fix_FixprotoMachs,
6523 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6524 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
6526 { zUltrix_IfdefName, zUltrix_IfdefList,
6527 apzUltrix_IfdefMachs,
6528 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6529 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
6531 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
6532 apzUltrix_Math_IfdefMachs,
6533 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6534 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
6536 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
6537 apzUltrix_Nested_IoctlMachs,
6538 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
6539 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
6541 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
6542 apzUltrix_Nested_SvcMachs,
6543 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
6544 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
6546 { zUltrix_StatName, zUltrix_StatList,
6547 apzUltrix_StatMachs,
6548 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
6549 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
6551 { zUltrix_StaticName, zUltrix_StaticList,
6552 apzUltrix_StaticMachs,
6553 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
6554 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
6556 { zUltrix_StringsName, zUltrix_StringsList,
6557 apzUltrix_StringsMachs,
6558 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6559 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
6561 { zUndefine_NullName, zUndefine_NullList,
6562 apzUndefine_NullMachs,
6563 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6564 aUndefine_NullTests, apzUndefine_NullPatch, 0 },
6566 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
6567 apzUnicosmk_RestrictMachs,
6568 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6569 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
6571 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
6572 apzUw7_Byteorder_FixMachs,
6573 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6574 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
6576 { zVa_I960_MacroName, zVa_I960_MacroList,
6577 apzVa_I960_MacroMachs,
6578 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6579 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
6581 { zVoid_NullName, zVoid_NullList,
6583 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6584 aVoid_NullTests, apzVoid_NullPatch, 0 },
6586 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
6587 apzVxworks_Gcc_ProblemMachs,
6588 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
6589 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
6591 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
6592 apzVxworks_Needs_VxtypesMachs,
6593 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6594 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
6596 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
6597 apzVxworks_Needs_VxworksMachs,
6598 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
6599 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
6601 { zVxworks_TimeName, zVxworks_TimeList,
6602 apzVxworks_TimeMachs,
6603 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6604 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
6606 { zWindiss_Math1Name, zWindiss_Math1List,
6607 apzWindiss_Math1Machs,
6608 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
6609 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
6611 { zWindiss_Math2Name, zWindiss_Math2List,
6612 apzWindiss_Math2Machs,
6613 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
6614 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
6616 { zWindiss_ValistName, zWindiss_ValistList,
6617 apzWindiss_ValistMachs,
6618 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
6619 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
6621 { zX11_ClassName, zX11_ClassList,
6623 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6624 aX11_ClassTests, apzX11_ClassPatch, 0 },
6626 { zX11_Class_UsageName, zX11_Class_UsageList,
6627 apzX11_Class_UsageMachs,
6628 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6629 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
6631 { zX11_NewName, zX11_NewList,
6633 X11_NEW_TEST_CT, FD_MACH_ONLY,
6634 aX11_NewTests, apzX11_NewPatch, 0 },
6636 { zX11_SprintfName, zX11_SprintfList,
6637 apzX11_SprintfMachs,
6638 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6639 aX11_SprintfTests, apzX11_SprintfPatch, 0 }