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 146 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_Sun_Memcpy fix
253 tSCC zAab_Sun_MemcpyName[] =
257 * File name selection pattern
259 tSCC zAab_Sun_MemcpyList[] =
262 * Machine/OS name selection pattern
264 #define apzAab_Sun_MemcpyMachs (const char**)NULL
267 * content selection pattern - do fix if pattern found
269 tSCC zAab_Sun_MemcpySelect0[] =
270 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
272 #define AAB_SUN_MEMCPY_TEST_CT 1
273 static tTestDesc aAab_Sun_MemcpyTests[] = {
274 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
277 * Fix Command Arguments for Aab_Sun_Memcpy
279 static const char* apzAab_Sun_MemcpyPatch[] = {
280 "/* This file was generated by fixincludes */\n\
281 #ifndef __memory_h__\n\
282 #define __memory_h__\n\n\
284 extern void *memccpy();\n\
285 extern void *memchr();\n\
286 extern void *memcpy();\n\
287 extern void *memset();\n\
289 extern char *memccpy();\n\
290 extern char *memchr();\n\
291 extern char *memcpy();\n\
292 extern char *memset();\n\
293 #endif /* __STDC__ */\n\n\
294 extern int memcmp();\n\n\
295 #endif /* __memory_h__ */\n",
298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
300 * Description of Aab_Solaris_Sys_Varargs_H fix
302 tSCC zAab_Solaris_Sys_Varargs_HName[] =
303 "AAB_solaris_sys_varargs_h";
306 * File name selection pattern
308 tSCC zAab_Solaris_Sys_Varargs_HList[] =
311 * Machine/OS name selection pattern
313 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
316 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
317 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
320 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
322 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
324 #include <stdarg.h>\n\
326 #include <varargs.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_Size_T fix
1917 tSCC zHpux11_Size_TName[] =
1921 * File name selection pattern
1923 #define zHpux11_Size_TList (char*)NULL
1925 * Machine/OS name selection pattern
1927 tSCC* apzHpux11_Size_TMachs[] = {
1929 (const char*)NULL };
1932 * content selection pattern - do fix if pattern found
1934 tSCC zHpux11_Size_TSelect0[] =
1937 #define HPUX11_SIZE_T_TEST_CT 1
1938 static tTestDesc aHpux11_Size_TTests[] = {
1939 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
1942 * Fix Command Arguments for Hpux11_Size_T
1944 static const char* apzHpux11_Size_TPatch[] = {
1949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1951 * Description of Hpux11_Uint32_C fix
1953 tSCC zHpux11_Uint32_CName[] =
1957 * File name selection pattern
1959 tSCC zHpux11_Uint32_CList[] =
1962 * Machine/OS name selection pattern
1964 #define apzHpux11_Uint32_CMachs (const char**)NULL
1967 * content selection pattern - do fix if pattern found
1969 tSCC zHpux11_Uint32_CSelect0[] =
1970 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
1972 #define HPUX11_UINT32_C_TEST_CT 1
1973 static tTestDesc aHpux11_Uint32_CTests[] = {
1974 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
1977 * Fix Command Arguments for Hpux11_Uint32_C
1979 static const char* apzHpux11_Uint32_CPatch[] = {
1981 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
1984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1986 * Description of Hpux11_Vsnprintf fix
1988 tSCC zHpux11_VsnprintfName[] =
1992 * File name selection pattern
1994 tSCC zHpux11_VsnprintfList[] =
1997 * Machine/OS name selection pattern
1999 #define apzHpux11_VsnprintfMachs (const char**)NULL
2002 * content selection pattern - do fix if pattern found
2004 tSCC zHpux11_VsnprintfSelect0[] =
2005 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2007 #define HPUX11_VSNPRINTF_TEST_CT 1
2008 static tTestDesc aHpux11_VsnprintfTests[] = {
2009 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2012 * Fix Command Arguments for Hpux11_Vsnprintf
2014 static const char* apzHpux11_VsnprintfPatch[] = {
2019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2021 * Description of Hpux8_Bogus_Inlines fix
2023 tSCC zHpux8_Bogus_InlinesName[] =
2024 "hpux8_bogus_inlines";
2027 * File name selection pattern
2029 tSCC zHpux8_Bogus_InlinesList[] =
2032 * Machine/OS name selection pattern
2034 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2037 * content selection pattern - do fix if pattern found
2039 tSCC zHpux8_Bogus_InlinesSelect0[] =
2042 #define HPUX8_BOGUS_INLINES_TEST_CT 1
2043 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2044 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2047 * Fix Command Arguments for Hpux8_Bogus_Inlines
2049 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2050 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2051 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2052 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2053 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2058 * Description of Hpux_Maxint fix
2060 tSCC zHpux_MaxintName[] =
2064 * File name selection pattern
2066 tSCC zHpux_MaxintList[] =
2067 "|sys/param.h|values.h|";
2069 * Machine/OS name selection pattern
2071 #define apzHpux_MaxintMachs (const char**)NULL
2074 * content selection pattern - do fix if pattern found
2076 tSCC zHpux_MaxintSelect0[] =
2077 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2080 * content bypass pattern - skip fix if pattern found
2082 tSCC zHpux_MaxintBypass0[] =
2083 "^#[ \t]*ifndef[ \t]+MAXINT";
2086 * perform the 'test' shell command - do fix on success
2088 tSCC zHpux_MaxintTest0[] =
2089 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2091 #define HPUX_MAXINT_TEST_CT 3
2092 static tTestDesc aHpux_MaxintTests[] = {
2093 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2094 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2095 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2098 * Fix Command Arguments for Hpux_Maxint
2100 static const char* apzHpux_MaxintPatch[] = {
2105 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2108 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2110 * Description of Hpux_Systime fix
2112 tSCC zHpux_SystimeName[] =
2116 * File name selection pattern
2118 tSCC zHpux_SystimeList[] =
2121 * Machine/OS name selection pattern
2123 #define apzHpux_SystimeMachs (const char**)NULL
2126 * content selection pattern - do fix if pattern found
2128 tSCC zHpux_SystimeSelect0[] =
2129 "^extern struct sigevent;";
2131 #define HPUX_SYSTIME_TEST_CT 1
2132 static tTestDesc aHpux_SystimeTests[] = {
2133 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2136 * Fix Command Arguments for Hpux_Systime
2138 static const char* apzHpux_SystimePatch[] = {
2143 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2145 * Description of Int_Abort_Free_And_Exit fix
2147 tSCC zInt_Abort_Free_And_ExitName[] =
2148 "int_abort_free_and_exit";
2151 * File name selection pattern
2153 tSCC zInt_Abort_Free_And_ExitList[] =
2156 * Machine/OS name selection pattern
2158 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2161 * content selection pattern - do fix if pattern found
2163 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2164 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2166 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2167 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2168 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2171 * Fix Command Arguments for Int_Abort_Free_And_Exit
2173 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2180 * Description of Io_Quotes_Def fix
2182 tSCC zIo_Quotes_DefName[] =
2186 * File name selection pattern
2188 #define zIo_Quotes_DefList (char*)NULL
2190 * Machine/OS name selection pattern
2192 #define apzIo_Quotes_DefMachs (const char**)NULL
2195 * content selection pattern - do fix if pattern found
2197 tSCC zIo_Quotes_DefSelect0[] =
2198 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2200 #define IO_QUOTES_DEF_TEST_CT 1
2201 static tTestDesc aIo_Quotes_DefTests[] = {
2202 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2205 * Fix Command Arguments for Io_Quotes_Def
2207 static const char* apzIo_Quotes_DefPatch[] = {
2212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2214 * Description of Io_Quotes_Use fix
2216 tSCC zIo_Quotes_UseName[] =
2220 * File name selection pattern
2222 #define zIo_Quotes_UseList (char*)NULL
2224 * Machine/OS name selection pattern
2226 #define apzIo_Quotes_UseMachs (const char**)NULL
2229 * content selection pattern - do fix if pattern found
2231 tSCC zIo_Quotes_UseSelect0[] =
2232 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2234 #define IO_QUOTES_USE_TEST_CT 1
2235 static tTestDesc aIo_Quotes_UseTests[] = {
2236 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2239 * Fix Command Arguments for Io_Quotes_Use
2241 static const char* apzIo_Quotes_UsePatch[] = {
2246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2248 * Description of Ip_Missing_Semi fix
2250 tSCC zIp_Missing_SemiName[] =
2254 * File name selection pattern
2256 tSCC zIp_Missing_SemiList[] =
2259 * Machine/OS name selection pattern
2261 #define apzIp_Missing_SemiMachs (const char**)NULL
2264 * content selection pattern - do fix if pattern found
2266 tSCC zIp_Missing_SemiSelect0[] =
2269 #define IP_MISSING_SEMI_TEST_CT 1
2270 static tTestDesc aIp_Missing_SemiTests[] = {
2271 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2274 * Fix Command Arguments for Ip_Missing_Semi
2276 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2277 "-e", "/^struct/,/^};/s/}$/};/",
2280 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2282 * Description of Irix_Asm_Apostrophe fix
2284 tSCC zIrix_Asm_ApostropheName[] =
2285 "irix_asm_apostrophe";
2288 * File name selection pattern
2290 tSCC zIrix_Asm_ApostropheList[] =
2293 * Machine/OS name selection pattern
2295 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2298 * content selection pattern - do fix if pattern found
2300 tSCC zIrix_Asm_ApostropheSelect0[] =
2301 "^[ \t]*#.*[Ww]e're";
2303 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2304 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2305 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2308 * Fix Command Arguments for Irix_Asm_Apostrophe
2310 static const char* apzIrix_Asm_ApostrophePatch[] = {
2313 "^([ \t]*#.*[Ww]e)'re",
2316 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2318 * Description of Irix_Limits_Const fix
2320 tSCC zIrix_Limits_ConstName[] =
2321 "irix_limits_const";
2324 * File name selection pattern
2326 tSCC zIrix_Limits_ConstList[] =
2327 "|fixinc-test-limits.h|limits.h|";
2329 * Machine/OS name selection pattern
2331 #define apzIrix_Limits_ConstMachs (const char**)NULL
2334 * content selection pattern - do fix if pattern found
2336 tSCC zIrix_Limits_ConstSelect0[] =
2339 #define IRIX_LIMITS_CONST_TEST_CT 1
2340 static tTestDesc aIrix_Limits_ConstTests[] = {
2341 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
2344 * Fix Command Arguments for Irix_Limits_Const
2346 static const char* apzIrix_Limits_ConstPatch[] = {
2351 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2353 * Description of Irix_Stdio_Va_List fix
2355 tSCC zIrix_Stdio_Va_ListName[] =
2356 "irix_stdio_va_list";
2359 * File name selection pattern
2361 tSCC zIrix_Stdio_Va_ListList[] =
2364 * Machine/OS name selection pattern
2366 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
2369 * content selection pattern - do fix if pattern found
2371 tSCC zIrix_Stdio_Va_ListSelect0[] =
2372 "(printf\\(.*), /\\* va_list \\*/ char \\*";
2374 #define IRIX_STDIO_VA_LIST_TEST_CT 1
2375 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
2376 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
2379 * Fix Command Arguments for Irix_Stdio_Va_List
2381 static const char* apzIrix_Stdio_Va_ListPatch[] = {
2383 "%1, __gnuc_va_list",
2386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2388 * Description of Isc_Fmod fix
2390 tSCC zIsc_FmodName[] =
2394 * File name selection pattern
2396 tSCC zIsc_FmodList[] =
2399 * Machine/OS name selection pattern
2401 #define apzIsc_FmodMachs (const char**)NULL
2404 * content selection pattern - do fix if pattern found
2406 tSCC zIsc_FmodSelect0[] =
2409 #define ISC_FMOD_TEST_CT 1
2410 static tTestDesc aIsc_FmodTests[] = {
2411 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
2414 * Fix Command Arguments for Isc_Fmod
2416 static const char* apzIsc_FmodPatch[] = {
2418 "fmod(double, double)",
2421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2423 * Description of Isc_Omits_With_Stdc fix
2425 tSCC zIsc_Omits_With_StdcName[] =
2426 "isc_omits_with_stdc";
2429 * File name selection pattern
2431 tSCC zIsc_Omits_With_StdcList[] =
2432 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
2434 * Machine/OS name selection pattern
2436 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
2439 * content selection pattern - do fix if pattern found
2441 tSCC zIsc_Omits_With_StdcSelect0[] =
2442 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
2444 #define ISC_OMITS_WITH_STDC_TEST_CT 1
2445 static tTestDesc aIsc_Omits_With_StdcTests[] = {
2446 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
2449 * Fix Command Arguments for Isc_Omits_With_Stdc
2451 static const char* apzIsc_Omits_With_StdcPatch[] = {
2453 "!defined(_POSIX_SOURCE)",
2456 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2458 * Description of Kandr_Concat fix
2460 tSCC zKandr_ConcatName[] =
2464 * File name selection pattern
2466 tSCC zKandr_ConcatList[] =
2467 "|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|";
2469 * Machine/OS name selection pattern
2471 #define apzKandr_ConcatMachs (const char**)NULL
2474 * content selection pattern - do fix if pattern found
2476 tSCC zKandr_ConcatSelect0[] =
2479 #define KANDR_CONCAT_TEST_CT 1
2480 static tTestDesc aKandr_ConcatTests[] = {
2481 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
2484 * Fix Command Arguments for Kandr_Concat
2486 static const char* apzKandr_ConcatPatch[] = {
2491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2493 * Description of Libc1_Ifdefd_Memx fix
2495 tSCC zLibc1_Ifdefd_MemxName[] =
2496 "libc1_ifdefd_memx";
2499 * File name selection pattern
2501 tSCC zLibc1_Ifdefd_MemxList[] =
2502 "|testing.h|string.h|";
2504 * Machine/OS name selection pattern
2506 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
2509 * content selection pattern - do fix if pattern found
2511 tSCC zLibc1_Ifdefd_MemxSelect0[] =
2512 "' is a built-in function for gcc 2\\.x\\. \\*/";
2515 * content bypass pattern - skip fix if pattern found
2517 tSCC zLibc1_Ifdefd_MemxBypass0[] =
2520 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
2521 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
2522 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
2523 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
2526 * Fix Command Arguments for Libc1_Ifdefd_Memx
2528 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
2531 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
2532 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
2534 extern [a-z_]+ mem.*(\n\
2539 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2541 * Description of Limits_Ifndefs fix
2543 tSCC zLimits_IfndefsName[] =
2547 * File name selection pattern
2549 tSCC zLimits_IfndefsList[] =
2550 "|sys/limits.h|limits.h|";
2552 * Machine/OS name selection pattern
2554 #define apzLimits_IfndefsMachs (const char**)NULL
2557 * content bypass pattern - skip fix if pattern found
2559 tSCC zLimits_IfndefsBypass0[] =
2560 "ifndef[ \t]+FLT_MIN";
2562 #define LIMITS_IFNDEFS_TEST_CT 1
2563 static tTestDesc aLimits_IfndefsTests[] = {
2564 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
2567 * Fix Command Arguments for Limits_Ifndefs
2569 static const char* apzLimits_IfndefsPatch[] = {
2574 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*",
2577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2579 * Description of Lynx_Void_Int fix
2581 tSCC zLynx_Void_IntName[] =
2585 * File name selection pattern
2587 tSCC zLynx_Void_IntList[] =
2590 * Machine/OS name selection pattern
2592 #define apzLynx_Void_IntMachs (const char**)NULL
2595 * content selection pattern - do fix if pattern found
2597 tSCC zLynx_Void_IntSelect0[] =
2598 "#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
2600 #define LYNX_VOID_INT_TEST_CT 1
2601 static tTestDesc aLynx_Void_IntTests[] = {
2602 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
2605 * Fix Command Arguments for Lynx_Void_Int
2607 static const char* apzLynx_Void_IntPatch[] = {
2612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2614 * Description of Lynxos_Fcntl_Proto fix
2616 tSCC zLynxos_Fcntl_ProtoName[] =
2617 "lynxos_fcntl_proto";
2620 * File name selection pattern
2622 tSCC zLynxos_Fcntl_ProtoList[] =
2625 * Machine/OS name selection pattern
2627 #define apzLynxos_Fcntl_ProtoMachs (const char**)NULL
2630 * content selection pattern - do fix if pattern found
2632 tSCC zLynxos_Fcntl_ProtoSelect0[] =
2633 "fcntl[ \t]*\\(int, int, int\\)";
2635 #define LYNXOS_FCNTL_PROTO_TEST_CT 1
2636 static tTestDesc aLynxos_Fcntl_ProtoTests[] = {
2637 { TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
2640 * Fix Command Arguments for Lynxos_Fcntl_Proto
2642 static const char* apzLynxos_Fcntl_ProtoPatch[] = {
2645 "(fcntl[ \t]*\\(int, int, )int\\)",
2648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2650 * Description of M88k_Bad_Hypot_Opt fix
2652 tSCC zM88k_Bad_Hypot_OptName[] =
2653 "m88k_bad_hypot_opt";
2656 * File name selection pattern
2658 tSCC zM88k_Bad_Hypot_OptList[] =
2661 * Machine/OS name selection pattern
2663 tSCC* apzM88k_Bad_Hypot_OptMachs[] = {
2664 "m88k-motorola-sysv3*",
2665 (const char*)NULL };
2668 * content selection pattern - do fix if pattern found
2670 tSCC zM88k_Bad_Hypot_OptSelect0[] =
2671 "^extern double hypot\\(\\);\n";
2673 #define M88K_BAD_HYPOT_OPT_TEST_CT 1
2674 static tTestDesc aM88k_Bad_Hypot_OptTests[] = {
2675 { TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
2678 * Fix Command Arguments for M88k_Bad_Hypot_Opt
2680 static const char* apzM88k_Bad_Hypot_OptPatch[] = {
2682 "%0/* Workaround a stupid Motorola optimization if one\n\
2683 of x or y is 0.0 and the other is negative! */\n\
2685 static __inline__ double fake_hypot (double x, double y)\n\
2687 static __inline__ double fake_hypot (x, y)\n\
2691 \treturn fabs (hypot (x, y));\n\
2693 #define hypot\tfake_hypot\n",
2696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2698 * Description of M88k_Bad_S_If fix
2700 tSCC zM88k_Bad_S_IfName[] =
2704 * File name selection pattern
2706 tSCC zM88k_Bad_S_IfList[] =
2709 * Machine/OS name selection pattern
2711 tSCC* apzM88k_Bad_S_IfMachs[] = {
2713 (const char*)NULL };
2716 * content selection pattern - do fix if pattern found
2718 tSCC zM88k_Bad_S_IfSelect0[] =
2719 "#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
2721 #define M88K_BAD_S_IF_TEST_CT 1
2722 static tTestDesc aM88k_Bad_S_IfTests[] = {
2723 { TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
2726 * Fix Command Arguments for M88k_Bad_S_If
2728 static const char* apzM88k_Bad_S_IfPatch[] = {
2730 "#define %1(m) (((m) & S_IFMT) == %2)",
2731 "#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
2734 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2736 * Description of M88k_Multi_Incl fix
2738 tSCC zM88k_Multi_InclName[] =
2742 * File name selection pattern
2744 tSCC zM88k_Multi_InclList[] =
2747 * Machine/OS name selection pattern
2749 tSCC* apzM88k_Multi_InclMachs[] = {
2750 "m88k-tektronix-sysv3*",
2751 (const char*)NULL };
2754 * content bypass pattern - skip fix if pattern found
2756 tSCC zM88k_Multi_InclBypass0[] =
2759 #define M88K_MULTI_INCL_TEST_CT 1
2760 static tTestDesc aM88k_Multi_InclTests[] = {
2761 { TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
2764 * Fix Command Arguments for M88k_Multi_Incl
2766 static const char* apzM88k_Multi_InclPatch[] = {
2770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2772 * Description of Machine_Ansi_H_Va_List fix
2774 tSCC zMachine_Ansi_H_Va_ListName[] =
2775 "machine_ansi_h_va_list";
2778 * File name selection pattern
2780 #define zMachine_Ansi_H_Va_ListList (char*)NULL
2782 * Machine/OS name selection pattern
2784 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
2787 * content selection pattern - do fix if pattern found
2789 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
2790 "define[ \t]+_BSD_VA_LIST_[ \t]";
2793 * content bypass pattern - skip fix if pattern found
2795 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
2796 "__builtin_va_list";
2798 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
2799 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
2800 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
2801 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
2804 * Fix Command Arguments for Machine_Ansi_H_Va_List
2806 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
2808 "%1__builtin_va_list",
2809 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
2812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2814 * Description of Machine_Name fix
2816 tSCC zMachine_NameName[] =
2820 * File name selection pattern
2822 #define zMachine_NameList (char*)NULL
2824 * Machine/OS name selection pattern
2826 #define apzMachine_NameMachs (const char**)NULL
2829 * perform the C function call test
2831 tSCC zMachine_NameFTst0[] = "machine_name";
2833 #define MACHINE_NAME_TEST_CT 1
2834 static tTestDesc aMachine_NameTests[] = {
2835 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
2838 * Fix Command Arguments for Machine_Name
2840 static const char* apzMachine_NamePatch[] = {
2844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2846 * Description of Math_Exception fix
2848 tSCC zMath_ExceptionName[] =
2852 * File name selection pattern
2854 tSCC zMath_ExceptionList[] =
2857 * Machine/OS name selection pattern
2859 #define apzMath_ExceptionMachs (const char**)NULL
2862 * content selection pattern - do fix if pattern found
2864 tSCC zMath_ExceptionSelect0[] =
2868 * content bypass pattern - skip fix if pattern found
2870 tSCC zMath_ExceptionBypass0[] =
2871 "We have a problem when using C\\+\\+";
2873 #define MATH_EXCEPTION_TEST_CT 2
2874 static tTestDesc aMath_ExceptionTests[] = {
2875 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
2876 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
2879 * Fix Command Arguments for Math_Exception
2881 static const char* apzMath_ExceptionPatch[] = {
2883 "#ifdef __cplusplus\n\
2884 #define exception __math_exception\n\
2886 "#ifdef __cplusplus\n\
2891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2893 * Description of Math_Huge_Val_From_Dbl_Max fix
2895 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
2896 "math_huge_val_from_dbl_max";
2899 * File name selection pattern
2901 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
2904 * Machine/OS name selection pattern
2906 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
2909 * content selection pattern - do fix if pattern found
2911 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
2912 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
2915 * content bypass pattern - skip fix if pattern found
2917 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
2918 "define[ \t]+DBL_MAX";
2920 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
2921 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
2922 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
2923 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
2926 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
2928 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
2929 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
2930 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
2931 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
2936 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2938 * Description of Math_Huge_Val_Ifndef fix
2940 tSCC zMath_Huge_Val_IfndefName[] =
2941 "math_huge_val_ifndef";
2944 * File name selection pattern
2946 tSCC zMath_Huge_Val_IfndefList[] =
2947 "|math.h|math/math.h|";
2949 * Machine/OS name selection pattern
2951 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
2954 * content selection pattern - do fix if pattern found
2956 tSCC zMath_Huge_Val_IfndefSelect0[] =
2957 "define[ \t]+HUGE_VAL";
2959 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
2960 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
2961 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
2964 * Fix Command Arguments for Math_Huge_Val_Ifndef
2966 static const char* apzMath_Huge_Val_IfndefPatch[] = {
2968 "#ifndef HUGE_VAL\n\
2971 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
2974 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2976 * Description of Nested_Auth_Des fix
2978 tSCC zNested_Auth_DesName[] =
2982 * File name selection pattern
2984 tSCC zNested_Auth_DesList[] =
2987 * Machine/OS name selection pattern
2989 #define apzNested_Auth_DesMachs (const char**)NULL
2992 * content selection pattern - do fix if pattern found
2994 tSCC zNested_Auth_DesSelect0[] =
2995 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
2997 #define NESTED_AUTH_DES_TEST_CT 1
2998 static tTestDesc aNested_Auth_DesTests[] = {
2999 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3002 * Fix Command Arguments for Nested_Auth_Des
3004 static const char* apzNested_Auth_DesPatch[] = {
3009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3011 * Description of Nested_Motorola fix
3013 tSCC zNested_MotorolaName[] =
3017 * File name selection pattern
3019 tSCC zNested_MotorolaList[] =
3020 "|sys/limits.h|limits.h|";
3022 * Machine/OS name selection pattern
3024 tSCC* apzNested_MotorolaMachs[] = {
3025 "m68k-motorola-sysv*",
3026 (const char*)NULL };
3029 * content selection pattern - do fix if pattern found
3031 tSCC zNested_MotorolaSelect0[] =
3032 "max # bytes atomic in write|error value returned by Math lib";
3034 #define NESTED_MOTOROLA_TEST_CT 1
3035 static tTestDesc aNested_MotorolaTests[] = {
3036 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3039 * Fix Command Arguments for Nested_Motorola
3041 static const char* apzNested_MotorolaPatch[] = { "sed",
3042 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3043 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3048 * Description of Nested_Sys_Limits fix
3050 tSCC zNested_Sys_LimitsName[] =
3051 "nested_sys_limits";
3054 * File name selection pattern
3056 tSCC zNested_Sys_LimitsList[] =
3059 * Machine/OS name selection pattern
3061 #define apzNested_Sys_LimitsMachs (const char**)NULL
3064 * content selection pattern - do fix if pattern found
3066 tSCC zNested_Sys_LimitsSelect0[] =
3069 #define NESTED_SYS_LIMITS_TEST_CT 1
3070 static tTestDesc aNested_Sys_LimitsTests[] = {
3071 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3074 * Fix Command Arguments for Nested_Sys_Limits
3076 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3077 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3078 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3081 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3083 * Description of News_Os_Recursion fix
3085 tSCC zNews_Os_RecursionName[] =
3086 "news_os_recursion";
3089 * File name selection pattern
3091 tSCC zNews_Os_RecursionList[] =
3094 * Machine/OS name selection pattern
3096 #define apzNews_Os_RecursionMachs (const char**)NULL
3099 * content selection pattern - do fix if pattern found
3101 tSCC zNews_Os_RecursionSelect0[] =
3102 "[ \t]*#include <stdlib\\.h>.*";
3104 #define NEWS_OS_RECURSION_TEST_CT 1
3105 static tTestDesc aNews_Os_RecursionTests[] = {
3106 { TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
3109 * Fix Command Arguments for News_Os_Recursion
3111 static const char* apzNews_Os_RecursionPatch[] = {
3113 "#ifdef BOGUS_RECURSION\n\
3118 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3120 * Description of Next_Math_Prefix fix
3122 tSCC zNext_Math_PrefixName[] =
3126 * File name selection pattern
3128 tSCC zNext_Math_PrefixList[] =
3131 * Machine/OS name selection pattern
3133 #define apzNext_Math_PrefixMachs (const char**)NULL
3136 * content selection pattern - do fix if pattern found
3138 tSCC zNext_Math_PrefixSelect0[] =
3139 "^extern[ \t]+double[ \t]+__const__[ \t]";
3141 #define NEXT_MATH_PREFIX_TEST_CT 1
3142 static tTestDesc aNext_Math_PrefixTests[] = {
3143 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3146 * Fix Command Arguments for Next_Math_Prefix
3148 static const char* apzNext_Math_PrefixPatch[] = {
3150 "extern double %1(",
3151 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3154 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3156 * Description of Next_Template fix
3158 tSCC zNext_TemplateName[] =
3162 * File name selection pattern
3164 tSCC zNext_TemplateList[] =
3167 * Machine/OS name selection pattern
3169 #define apzNext_TemplateMachs (const char**)NULL
3172 * content selection pattern - do fix if pattern found
3174 tSCC zNext_TemplateSelect0[] =
3177 #define NEXT_TEMPLATE_TEST_CT 1
3178 static tTestDesc aNext_TemplateTests[] = {
3179 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3182 * Fix Command Arguments for Next_Template
3184 static const char* apzNext_TemplatePatch[] = {
3187 "\\(([^)]*)[ \t]template\\)",
3190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3192 * Description of Next_Volitile fix
3194 tSCC zNext_VolitileName[] =
3198 * File name selection pattern
3200 tSCC zNext_VolitileList[] =
3203 * Machine/OS name selection pattern
3205 #define apzNext_VolitileMachs (const char**)NULL
3208 * content selection pattern - do fix if pattern found
3210 tSCC zNext_VolitileSelect0[] =
3211 "^extern[ \t]+volatile[ \t]+void[ \t]";
3213 #define NEXT_VOLITILE_TEST_CT 1
3214 static tTestDesc aNext_VolitileTests[] = {
3215 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3218 * Fix Command Arguments for Next_Volitile
3220 static const char* apzNext_VolitilePatch[] = {
3223 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3226 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3228 * Description of Next_Wait_Union fix
3230 tSCC zNext_Wait_UnionName[] =
3234 * File name selection pattern
3236 tSCC zNext_Wait_UnionList[] =
3239 * Machine/OS name selection pattern
3241 #define apzNext_Wait_UnionMachs (const char**)NULL
3244 * content selection pattern - do fix if pattern found
3246 tSCC zNext_Wait_UnionSelect0[] =
3247 "wait\\(union wait";
3249 #define NEXT_WAIT_UNION_TEST_CT 1
3250 static tTestDesc aNext_Wait_UnionTests[] = {
3251 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3254 * Fix Command Arguments for Next_Wait_Union
3256 static const char* apzNext_Wait_UnionPatch[] = {
3261 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3263 * Description of Nodeent_Syntax fix
3265 tSCC zNodeent_SyntaxName[] =
3269 * File name selection pattern
3271 tSCC zNodeent_SyntaxList[] =
3272 "|netdnet/dnetdb.h|";
3274 * Machine/OS name selection pattern
3276 #define apzNodeent_SyntaxMachs (const char**)NULL
3279 * content selection pattern - do fix if pattern found
3281 tSCC zNodeent_SyntaxSelect0[] =
3282 "char[ \t]*\\*na_addr[ \t]*$";
3284 #define NODEENT_SYNTAX_TEST_CT 1
3285 static tTestDesc aNodeent_SyntaxTests[] = {
3286 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3289 * Fix Command Arguments for Nodeent_Syntax
3291 static const char* apzNodeent_SyntaxPatch[] = {
3296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3298 * Description of Osf_Namespace_A fix
3300 tSCC zOsf_Namespace_AName[] =
3304 * File name selection pattern
3306 tSCC zOsf_Namespace_AList[] =
3307 "|reg_types.h|sys/lc_core.h|";
3309 * Machine/OS name selection pattern
3311 #define apzOsf_Namespace_AMachs (const char**)NULL
3314 * perform the 'test' shell command - do fix on success
3316 tSCC zOsf_Namespace_ATest0[] =
3318 tSCC zOsf_Namespace_ATest1[] =
3319 " -r sys/lc_core.h";
3320 tSCC zOsf_Namespace_ATest2[] =
3321 " -n \"`grep '} regex_t;' reg_types.h`\"";
3322 tSCC zOsf_Namespace_ATest3[] =
3323 " -z \"`grep __regex_t regex.h`\"";
3325 #define OSF_NAMESPACE_A_TEST_CT 4
3326 static tTestDesc aOsf_Namespace_ATests[] = {
3327 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
3328 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
3329 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
3330 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
3333 * Fix Command Arguments for Osf_Namespace_A
3335 static const char* apzOsf_Namespace_APatch[] = {
3338 "reg(ex|off|match)_t",
3341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3343 * Description of Osf_Namespace_C fix
3345 tSCC zOsf_Namespace_CName[] =
3349 * File name selection pattern
3351 tSCC zOsf_Namespace_CList[] =
3354 * Machine/OS name selection pattern
3356 #define apzOsf_Namespace_CMachs (const char**)NULL
3359 * content selection pattern - do fix if pattern found
3361 tSCC zOsf_Namespace_CSelect0[] =
3362 "#include <reg_types.h>.*";
3365 * perform the 'test' shell command - do fix on success
3367 tSCC zOsf_Namespace_CTest0[] =
3369 tSCC zOsf_Namespace_CTest1[] =
3370 " -r sys/lc_core.h";
3371 tSCC zOsf_Namespace_CTest2[] =
3372 " -n \"`grep '} regex_t;' reg_types.h`\"";
3373 tSCC zOsf_Namespace_CTest3[] =
3374 " -z \"`grep __regex_t regex.h`\"";
3376 #define OSF_NAMESPACE_C_TEST_CT 5
3377 static tTestDesc aOsf_Namespace_CTests[] = {
3378 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
3379 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
3380 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
3381 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
3382 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
3385 * Fix Command Arguments for Osf_Namespace_C
3387 static const char* apzOsf_Namespace_CPatch[] = {
3390 typedef __regex_t\tregex_t;\n\
3391 typedef __regoff_t\tregoff_t;\n\
3392 typedef __regmatch_t\tregmatch_t;",
3395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3397 * Description of Pthread_Page_Size fix
3399 tSCC zPthread_Page_SizeName[] =
3400 "pthread_page_size";
3403 * File name selection pattern
3405 tSCC zPthread_Page_SizeList[] =
3408 * Machine/OS name selection pattern
3410 #define apzPthread_Page_SizeMachs (const char**)NULL
3413 * content selection pattern - do fix if pattern found
3415 tSCC zPthread_Page_SizeSelect0[] =
3418 #define PTHREAD_PAGE_SIZE_TEST_CT 1
3419 static tTestDesc aPthread_Page_SizeTests[] = {
3420 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
3423 * Fix Command Arguments for Pthread_Page_Size
3425 static const char* apzPthread_Page_SizePatch[] = {
3430 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3432 * Description of Read_Ret_Type fix
3434 tSCC zRead_Ret_TypeName[] =
3438 * File name selection pattern
3440 tSCC zRead_Ret_TypeList[] =
3443 * Machine/OS name selection pattern
3445 #define apzRead_Ret_TypeMachs (const char**)NULL
3448 * content selection pattern - do fix if pattern found
3450 tSCC zRead_Ret_TypeSelect0[] =
3451 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
3453 #define READ_RET_TYPE_TEST_CT 1
3454 static tTestDesc aRead_Ret_TypeTests[] = {
3455 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
3458 * Fix Command Arguments for Read_Ret_Type
3460 static const char* apzRead_Ret_TypePatch[] = {
3462 "extern unsigned int fread(), fwrite();\n\
3464 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
3467 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3469 * Description of Rs6000_Double fix
3471 tSCC zRs6000_DoubleName[] =
3475 * File name selection pattern
3477 tSCC zRs6000_DoubleList[] =
3480 * Machine/OS name selection pattern
3482 #define apzRs6000_DoubleMachs (const char**)NULL
3485 * content selection pattern - do fix if pattern found
3487 tSCC zRs6000_DoubleSelect0[] =
3488 "[^a-zA-Z_]class\\(";
3490 #define RS6000_DOUBLE_TEST_CT 1
3491 static tTestDesc aRs6000_DoubleTests[] = {
3492 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
3495 * Fix Command Arguments for Rs6000_Double
3497 static const char* apzRs6000_DoublePatch[] = {
3499 "#ifndef __cplusplus\n\
3502 "^.*[^a-zA-Z_]class\\(.*",
3505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3507 * Description of Rs6000_Fchmod fix
3509 tSCC zRs6000_FchmodName[] =
3513 * File name selection pattern
3515 tSCC zRs6000_FchmodList[] =
3518 * Machine/OS name selection pattern
3520 #define apzRs6000_FchmodMachs (const char**)NULL
3523 * content selection pattern - do fix if pattern found
3525 tSCC zRs6000_FchmodSelect0[] =
3526 "fchmod\\(char \\*";
3528 #define RS6000_FCHMOD_TEST_CT 1
3529 static tTestDesc aRs6000_FchmodTests[] = {
3530 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
3533 * Fix Command Arguments for Rs6000_Fchmod
3535 static const char* apzRs6000_FchmodPatch[] = {
3540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3542 * Description of Rs6000_Param fix
3544 tSCC zRs6000_ParamName[] =
3548 * File name selection pattern
3550 tSCC zRs6000_ParamList[] =
3551 "|stdio.h|unistd.h|";
3553 * Machine/OS name selection pattern
3555 #define apzRs6000_ParamMachs (const char**)NULL
3558 * content selection pattern - do fix if pattern found
3560 tSCC zRs6000_ParamSelect0[] =
3561 "rename\\(const char \\*old, const char \\*new\\)";
3563 #define RS6000_PARAM_TEST_CT 1
3564 static tTestDesc aRs6000_ParamTests[] = {
3565 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
3568 * Fix Command Arguments for Rs6000_Param
3570 static const char* apzRs6000_ParamPatch[] = {
3572 "rename(const char *_old, const char *_new)",
3575 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3577 * Description of Sco_Static_Func fix
3579 tSCC zSco_Static_FuncName[] =
3583 * File name selection pattern
3585 tSCC zSco_Static_FuncList[] =
3588 * Machine/OS name selection pattern
3590 tSCC* apzSco_Static_FuncMachs[] = {
3592 (const char*)NULL };
3595 * content selection pattern - do fix if pattern found
3597 tSCC zSco_Static_FuncSelect0[] =
3600 #define SCO_STATIC_FUNC_TEST_CT 1
3601 static tTestDesc aSco_Static_FuncTests[] = {
3602 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
3605 * Fix Command Arguments for Sco_Static_Func
3607 static const char* apzSco_Static_FuncPatch[] = { "sed",
3608 "-e", "/^static int/i\\\n\
3609 #if __cplusplus\\\n\
3611 #endif /* __cplusplus */",
3613 #if __cplusplus\\\n\
3615 #endif /* __cplusplus */",
3618 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3620 * Description of Sco_Utime fix
3622 tSCC zSco_UtimeName[] =
3626 * File name selection pattern
3628 tSCC zSco_UtimeList[] =
3631 * Machine/OS name selection pattern
3633 tSCC* apzSco_UtimeMachs[] = {
3635 (const char*)NULL };
3638 * content selection pattern - do fix if pattern found
3640 tSCC zSco_UtimeSelect0[] =
3641 "\\(const char \\*, struct utimbuf \\*\\);";
3643 #define SCO_UTIME_TEST_CT 1
3644 static tTestDesc aSco_UtimeTests[] = {
3645 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
3648 * Fix Command Arguments for Sco_Utime
3650 static const char* apzSco_UtimePatch[] = {
3652 "(const char *, const struct utimbuf *);",
3655 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3657 * Description of Solaris_Mutex_Init fix
3659 tSCC zSolaris_Mutex_InitName[] =
3660 "solaris_mutex_init";
3663 * File name selection pattern
3665 tSCC zSolaris_Mutex_InitList[] =
3668 * Machine/OS name selection pattern
3670 #define apzSolaris_Mutex_InitMachs (const char**)NULL
3673 * content selection pattern - do fix if pattern found
3675 tSCC zSolaris_Mutex_InitSelect0[] =
3676 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
3678 #define SOLARIS_MUTEX_INIT_TEST_CT 1
3679 static tTestDesc aSolaris_Mutex_InitTests[] = {
3680 { TT_EGREP, zSolaris_Mutex_InitSelect0, (regex_t*)NULL }, };
3683 * Fix Command Arguments for Solaris_Mutex_Init
3685 static const char* apzSolaris_Mutex_InitPatch[] = {
3687 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
3692 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+{.*),[ \t]*0}(|[ \t].*)$",
3695 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3697 * Description of Solaris_Stdio_Tag fix
3699 tSCC zSolaris_Stdio_TagName[] =
3700 "solaris_stdio_tag";
3703 * File name selection pattern
3705 tSCC zSolaris_Stdio_TagList[] =
3708 * Machine/OS name selection pattern
3710 #define apzSolaris_Stdio_TagMachs (const char**)NULL
3713 * content selection pattern - do fix if pattern found
3715 tSCC zSolaris_Stdio_TagSelect0[] =
3716 "__cplusplus < 54321L";
3718 #define SOLARIS_STDIO_TAG_TEST_CT 1
3719 static tTestDesc aSolaris_Stdio_TagTests[] = {
3720 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
3723 * Fix Command Arguments for Solaris_Stdio_Tag
3725 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
3726 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
3729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3731 * Description of Solaris_Widec fix
3733 tSCC zSolaris_WidecName[] =
3737 * File name selection pattern
3739 tSCC zSolaris_WidecList[] =
3742 * Machine/OS name selection pattern
3744 tSCC* apzSolaris_WidecMachs[] = {
3745 "*-*-solaris2.[0-5]*",
3746 (const char*)NULL };
3749 * content selection pattern - do fix if pattern found
3751 tSCC zSolaris_WidecSelect0[] =
3755 * content bypass pattern - skip fix if pattern found
3757 tSCC zSolaris_WidecBypass0[] =
3758 "include.*wchar\\.h";
3760 #define SOLARIS_WIDEC_TEST_CT 2
3761 static tTestDesc aSolaris_WidecTests[] = {
3762 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
3763 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
3766 * Fix Command Arguments for Solaris_Widec
3768 static const char* apzSolaris_WidecPatch[] = {
3771 #include <wchar.h>",
3774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3776 * Description of Statsswtch fix
3778 tSCC zStatsswtchName[] =
3782 * File name selection pattern
3784 tSCC zStatsswtchList[] =
3787 * Machine/OS name selection pattern
3789 #define apzStatsswtchMachs (const char**)NULL
3792 * content selection pattern - do fix if pattern found
3794 tSCC zStatsswtchSelect0[] =
3797 #define STATSSWTCH_TEST_CT 1
3798 static tTestDesc aStatsswtchTests[] = {
3799 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
3802 * Fix Command Arguments for Statsswtch
3804 static const char* apzStatsswtchPatch[] = {
3809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3811 * Description of Stdio_Stdarg_H fix
3813 tSCC zStdio_Stdarg_HName[] =
3817 * File name selection pattern
3819 tSCC zStdio_Stdarg_HList[] =
3822 * Machine/OS name selection pattern
3824 #define apzStdio_Stdarg_HMachs (const char**)NULL
3827 * content bypass pattern - skip fix if pattern found
3829 tSCC zStdio_Stdarg_HBypass0[] =
3830 "include.*(stdarg.h|machine/ansi.h)";
3832 #define STDIO_STDARG_H_TEST_CT 1
3833 static tTestDesc aStdio_Stdarg_HTests[] = {
3834 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
3837 * Fix Command Arguments for Stdio_Stdarg_H
3839 static const char* apzStdio_Stdarg_HPatch[] = {
3841 "#define __need___va_list\n\
3842 #include <stdarg.h>\n",
3845 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3847 * Description of Stdio_Va_List fix
3849 tSCC zStdio_Va_ListName[] =
3853 * File name selection pattern
3855 tSCC zStdio_Va_ListList[] =
3858 * Machine/OS name selection pattern
3860 #define apzStdio_Va_ListMachs (const char**)NULL
3863 * content bypass pattern - skip fix if pattern found
3865 tSCC zStdio_Va_ListBypass0[] =
3866 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list";
3868 #define STDIO_VA_LIST_TEST_CT 1
3869 static tTestDesc aStdio_Va_ListTests[] = {
3870 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
3873 * Fix Command Arguments for Stdio_Va_List
3875 static const char* apzStdio_Va_ListPatch[] = { "sed",
3876 "-e", "s@ va_list @ __gnuc_va_list @\n\
3877 s@ va_list)@ __gnuc_va_list)@\n\
3878 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
3879 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
3880 s@ va_list@ __not_va_list__@\n\
3881 s@\\*va_list@*__not_va_list__@\n\
3882 s@ __va_list)@ __gnuc_va_list)@\n\
3883 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
3884 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
3885 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
3886 s@VA_LIST@DUMMY_VA_LIST@\n\
3887 s@_Va_LIST@_VA_LIST@",
3890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3892 * Description of Strict_Ansi_Not fix
3894 tSCC zStrict_Ansi_NotName[] =
3898 * File name selection pattern
3900 #define zStrict_Ansi_NotList (char*)NULL
3902 * Machine/OS name selection pattern
3904 #define apzStrict_Ansi_NotMachs (const char**)NULL
3907 * content selection pattern - do fix if pattern found
3909 tSCC zStrict_Ansi_NotSelect0[] =
3910 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
3913 * content bypass pattern - skip fix if pattern found
3915 tSCC zStrict_Ansi_NotBypass0[] =
3916 "GNU and MIPS C compilers define __STDC__ differently";
3919 * perform the C function call test
3921 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
3923 #define STRICT_ANSI_NOT_TEST_CT 3
3924 static tTestDesc aStrict_Ansi_NotTests[] = {
3925 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
3926 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
3927 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
3930 * Fix Command Arguments for Strict_Ansi_Not
3932 static const char* apzStrict_Ansi_NotPatch[] = {
3934 "%1 !defined(__STRICT_ANSI__)",
3937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3939 * Description of Strict_Ansi_Not_Ctd fix
3941 tSCC zStrict_Ansi_Not_CtdName[] =
3942 "strict_ansi_not_ctd";
3945 * File name selection pattern
3947 tSCC zStrict_Ansi_Not_CtdList[] =
3948 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
3950 * Machine/OS name selection pattern
3952 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
3955 * content selection pattern - do fix if pattern found
3957 tSCC zStrict_Ansi_Not_CtdSelect0[] =
3958 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
3961 * perform the C function call test
3963 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
3965 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
3966 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
3967 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
3968 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
3971 * Fix Command Arguments for Strict_Ansi_Not_Ctd
3973 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
3975 "%1 !defined(__STRICT_ANSI__)",
3978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3980 * Description of Strict_Ansi_Only fix
3982 tSCC zStrict_Ansi_OnlyName[] =
3986 * File name selection pattern
3988 #define zStrict_Ansi_OnlyList (char*)NULL
3990 * Machine/OS name selection pattern
3992 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
3995 * content selection pattern - do fix if pattern found
3997 tSCC zStrict_Ansi_OnlySelect0[] =
3998 "^([ \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)";
4001 * perform the C function call test
4003 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
4005 #define STRICT_ANSI_ONLY_TEST_CT 2
4006 static tTestDesc aStrict_Ansi_OnlyTests[] = {
4007 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
4008 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
4011 * Fix Command Arguments for Strict_Ansi_Only
4013 static const char* apzStrict_Ansi_OnlyPatch[] = {
4015 "%1 defined(__STRICT_ANSI__)",
4018 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4020 * Description of Struct_File fix
4022 tSCC zStruct_FileName[] =
4026 * File name selection pattern
4028 tSCC zStruct_FileList[] =
4031 * Machine/OS name selection pattern
4033 #define apzStruct_FileMachs (const char**)NULL
4036 * content selection pattern - do fix if pattern found
4038 tSCC zStruct_FileSelect0[] =
4039 "^.*xdrstdio_create.*struct __file_s";
4041 #define STRUCT_FILE_TEST_CT 1
4042 static tTestDesc aStruct_FileTests[] = {
4043 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
4046 * Fix Command Arguments for Struct_File
4048 static const char* apzStruct_FilePatch[] = {
4050 "struct __file_s;\n\
4054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4056 * Description of Struct_Sockaddr fix
4058 tSCC zStruct_SockaddrName[] =
4062 * File name selection pattern
4064 tSCC zStruct_SockaddrList[] =
4067 * Machine/OS name selection pattern
4069 #define apzStruct_SockaddrMachs (const char**)NULL
4072 * content selection pattern - do fix if pattern found
4074 tSCC zStruct_SockaddrSelect0[] =
4075 "^.*authdes_create.*struct sockaddr";
4078 * content bypass pattern - skip fix if pattern found
4080 tSCC zStruct_SockaddrBypass0[] =
4083 #define STRUCT_SOCKADDR_TEST_CT 2
4084 static tTestDesc aStruct_SockaddrTests[] = {
4085 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
4086 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
4089 * Fix Command Arguments for Struct_Sockaddr
4091 static const char* apzStruct_SockaddrPatch[] = {
4093 "struct sockaddr;\n\
4097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4099 * Description of Sun_Auth_Proto fix
4101 tSCC zSun_Auth_ProtoName[] =
4105 * File name selection pattern
4107 tSCC zSun_Auth_ProtoList[] =
4108 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
4110 * Machine/OS name selection pattern
4112 #define apzSun_Auth_ProtoMachs (const char**)NULL
4115 * content selection pattern - do fix if pattern found
4117 tSCC zSun_Auth_ProtoSelect0[] =
4118 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
4120 #define SUN_AUTH_PROTO_TEST_CT 1
4121 static tTestDesc aSun_Auth_ProtoTests[] = {
4122 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
4125 * Fix Command Arguments for Sun_Auth_Proto
4127 static const char* apzSun_Auth_ProtoPatch[] = {
4129 "#ifdef __cplusplus\n\
4134 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
4137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4139 * Description of Sun_Bogus_Ifdef fix
4141 tSCC zSun_Bogus_IfdefName[] =
4145 * File name selection pattern
4147 tSCC zSun_Bogus_IfdefList[] =
4148 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
4150 * Machine/OS name selection pattern
4152 #define apzSun_Bogus_IfdefMachs (const char**)NULL
4155 * content selection pattern - do fix if pattern found
4157 tSCC zSun_Bogus_IfdefSelect0[] =
4158 "#ifdef(.*\\|\\|.*)";
4160 #define SUN_BOGUS_IFDEF_TEST_CT 1
4161 static tTestDesc aSun_Bogus_IfdefTests[] = {
4162 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
4165 * Fix Command Arguments for Sun_Bogus_Ifdef
4167 static const char* apzSun_Bogus_IfdefPatch[] = {
4172 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4174 * Description of Sun_Catmacro fix
4176 tSCC zSun_CatmacroName[] =
4180 * File name selection pattern
4182 tSCC zSun_CatmacroList[] =
4183 "|pixrect/memvar.h|";
4185 * Machine/OS name selection pattern
4187 #define apzSun_CatmacroMachs (const char**)NULL
4190 * content selection pattern - do fix if pattern found
4192 tSCC zSun_CatmacroSelect0[] =
4193 "^#define[ \t]+CAT\\(a,b\\).*";
4195 #define SUN_CATMACRO_TEST_CT 1
4196 static tTestDesc aSun_CatmacroTests[] = {
4197 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
4200 * Fix Command Arguments for Sun_Catmacro
4202 static const char* apzSun_CatmacroPatch[] = {
4205 # define CAT(a,b) a##b\n\
4211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4213 * Description of Sun_Malloc fix
4215 tSCC zSun_MallocName[] =
4219 * File name selection pattern
4221 tSCC zSun_MallocList[] =
4224 * Machine/OS name selection pattern
4226 #define apzSun_MallocMachs (const char**)NULL
4227 #define SUN_MALLOC_TEST_CT 0
4228 #define aSun_MallocTests (tTestDesc*)NULL
4231 * Fix Command Arguments for Sun_Malloc
4233 static const char* apzSun_MallocPatch[] = { "sed",
4234 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
4235 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
4236 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
4237 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
4238 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
4241 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4243 * Description of Sun_Rusers_Semi fix
4245 tSCC zSun_Rusers_SemiName[] =
4249 * File name selection pattern
4251 tSCC zSun_Rusers_SemiList[] =
4252 "|rpcsvc/rusers.h|";
4254 * Machine/OS name selection pattern
4256 #define apzSun_Rusers_SemiMachs (const char**)NULL
4259 * content selection pattern - do fix if pattern found
4261 tSCC zSun_Rusers_SemiSelect0[] =
4264 #define SUN_RUSERS_SEMI_TEST_CT 1
4265 static tTestDesc aSun_Rusers_SemiTests[] = {
4266 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
4269 * Fix Command Arguments for Sun_Rusers_Semi
4271 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
4272 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
4275 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4277 * Description of Sun_Signal fix
4279 tSCC zSun_SignalName[] =
4283 * File name selection pattern
4285 tSCC zSun_SignalList[] =
4286 "|sys/signal.h|signal.h|";
4288 * Machine/OS name selection pattern
4290 #define apzSun_SignalMachs (const char**)NULL
4293 * content selection pattern - do fix if pattern found
4295 tSCC zSun_SignalSelect0[] =
4296 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
4298 #define SUN_SIGNAL_TEST_CT 1
4299 static tTestDesc aSun_SignalTests[] = {
4300 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
4303 * Fix Command Arguments for Sun_Signal
4305 static const char* apzSun_SignalPatch[] = {
4307 "#ifdef __cplusplus\n\
4308 void\t(*signal(...))(...);\n\
4314 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4316 * Description of Sunos_Matherr_Decl fix
4318 tSCC zSunos_Matherr_DeclName[] =
4319 "sunos_matherr_decl";
4322 * File name selection pattern
4324 tSCC zSunos_Matherr_DeclList[] =
4327 * Machine/OS name selection pattern
4329 #define apzSunos_Matherr_DeclMachs (const char**)NULL
4332 * content selection pattern - do fix if pattern found
4334 tSCC zSunos_Matherr_DeclSelect0[] =
4338 * content bypass pattern - skip fix if pattern found
4340 tSCC zSunos_Matherr_DeclBypass0[] =
4341 "matherr.*(struct exception|__MATH_EXCEPTION)";
4343 #define SUNOS_MATHERR_DECL_TEST_CT 2
4344 static tTestDesc aSunos_Matherr_DeclTests[] = {
4345 { TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
4346 { TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
4349 * Fix Command Arguments for Sunos_Matherr_Decl
4351 static const char* apzSunos_Matherr_DeclPatch[] = {
4353 "struct exception;\n",
4356 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4358 * Description of Sunos_Strlen fix
4360 tSCC zSunos_StrlenName[] =
4364 * File name selection pattern
4366 tSCC zSunos_StrlenList[] =
4369 * Machine/OS name selection pattern
4371 #define apzSunos_StrlenMachs (const char**)NULL
4374 * content selection pattern - do fix if pattern found
4376 tSCC zSunos_StrlenSelect0[] =
4377 "int[ \t]*strlen\\(\\);(.*)";
4379 #define SUNOS_STRLEN_TEST_CT 1
4380 static tTestDesc aSunos_StrlenTests[] = {
4381 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
4384 * Fix Command Arguments for Sunos_Strlen
4386 static const char* apzSunos_StrlenPatch[] = {
4388 "__SIZE_TYPE__ strlen();%1",
4391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4393 * Description of Svr4__P fix
4395 tSCC zSvr4__PName[] =
4399 * File name selection pattern
4401 tSCC zSvr4__PList[] =
4402 "|math.h|floatingpoint.h|";
4404 * Machine/OS name selection pattern
4406 #define apzSvr4__PMachs (const char**)NULL
4409 * content selection pattern - do fix if pattern found
4411 tSCC zSvr4__PSelect0[] =
4412 "^#define[ \t]+__P.*";
4414 #define SVR4__P_TEST_CT 1
4415 static tTestDesc aSvr4__PTests[] = {
4416 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
4419 * Fix Command Arguments for Svr4__P
4421 static const char* apzSvr4__PPatch[] = {
4428 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4430 * Description of Svr4_Getcwd fix
4432 tSCC zSvr4_GetcwdName[] =
4436 * File name selection pattern
4438 tSCC zSvr4_GetcwdList[] =
4439 "|stdlib.h|unistd.h|prototypes.h|";
4441 * Machine/OS name selection pattern
4443 #define apzSvr4_GetcwdMachs (const char**)NULL
4446 * content selection pattern - do fix if pattern found
4448 tSCC zSvr4_GetcwdSelect0[] =
4449 "getcwd\\(char \\*, int\\)";
4451 #define SVR4_GETCWD_TEST_CT 1
4452 static tTestDesc aSvr4_GetcwdTests[] = {
4453 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
4456 * Fix Command Arguments for Svr4_Getcwd
4458 static const char* apzSvr4_GetcwdPatch[] = {
4460 "getcwd(char *, size_t)",
4463 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4465 * Description of Svr4_Profil fix
4467 tSCC zSvr4_ProfilName[] =
4471 * File name selection pattern
4473 tSCC zSvr4_ProfilList[] =
4474 "|stdlib.h|unistd.h|";
4476 * Machine/OS name selection pattern
4478 #define apzSvr4_ProfilMachs (const char**)NULL
4481 * content selection pattern - do fix if pattern found
4483 tSCC zSvr4_ProfilSelect0[] =
4484 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
4486 #define SVR4_PROFIL_TEST_CT 1
4487 static tTestDesc aSvr4_ProfilTests[] = {
4488 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
4491 * Fix Command Arguments for Svr4_Profil
4493 static const char* apzSvr4_ProfilPatch[] = {
4495 "profil(unsigned short *, size_t, int, unsigned int)",
4498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4500 * Description of Sysv68_String fix
4502 tSCC zSysv68_StringName[] =
4506 * File name selection pattern
4508 tSCC zSysv68_StringList[] =
4509 "|testing.h|string.h|";
4511 * Machine/OS name selection pattern
4513 #define apzSysv68_StringMachs (const char**)NULL
4514 #define SYSV68_STRING_TEST_CT 0
4515 #define aSysv68_StringTests (tTestDesc*)NULL
4518 * Fix Command Arguments for Sysv68_String
4520 static const char* apzSysv68_StringPatch[] = { "sed",
4521 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
4522 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
4523 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
4524 "-e", "/^extern char$/N",
4525 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
4526 "-e", "/^extern int$/N",
4527 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
4528 "-e", "/^\tstrncmp(),$/N",
4529 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
4530 extern unsigned int\\\n\
4534 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4536 * Description of Sysz_Stdlib_For_Sun fix
4538 tSCC zSysz_Stdlib_For_SunName[] =
4539 "sysz_stdlib_for_sun";
4542 * File name selection pattern
4544 tSCC zSysz_Stdlib_For_SunList[] =
4547 * Machine/OS name selection pattern
4549 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
4552 * content selection pattern - do fix if pattern found
4554 tSCC zSysz_Stdlib_For_SunSelect0[] =
4555 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
4557 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
4558 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
4559 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
4562 * Fix Command Arguments for Sysz_Stdlib_For_Sun
4564 static const char* apzSysz_Stdlib_For_SunPatch[] = {
4569 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4571 * Description of Thread_Keyword fix
4573 tSCC zThread_KeywordName[] =
4577 * File name selection pattern
4579 tSCC zThread_KeywordList[] =
4580 "|pthread.h|bits/sigthread.h|";
4582 * Machine/OS name selection pattern
4584 #define apzThread_KeywordMachs (const char**)NULL
4587 * content selection pattern - do fix if pattern found
4589 tSCC zThread_KeywordSelect0[] =
4590 "([* ])__thread([,)])";
4592 #define THREAD_KEYWORD_TEST_CT 1
4593 static tTestDesc aThread_KeywordTests[] = {
4594 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
4597 * Fix Command Arguments for Thread_Keyword
4599 static const char* apzThread_KeywordPatch[] = {
4604 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4606 * Description of Tinfo_Cplusplus fix
4608 tSCC zTinfo_CplusplusName[] =
4612 * File name selection pattern
4614 tSCC zTinfo_CplusplusList[] =
4617 * Machine/OS name selection pattern
4619 #define apzTinfo_CplusplusMachs (const char**)NULL
4622 * content selection pattern - do fix if pattern found
4624 tSCC zTinfo_CplusplusSelect0[] =
4627 #define TINFO_CPLUSPLUS_TEST_CT 1
4628 static tTestDesc aTinfo_CplusplusTests[] = {
4629 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
4632 * Fix Command Arguments for Tinfo_Cplusplus
4634 static const char* apzTinfo_CplusplusPatch[] = {
4639 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4641 * Description of Ultrix_Atexit_Param fix
4643 tSCC zUltrix_Atexit_ParamName[] =
4644 "ultrix_atexit_param";
4647 * File name selection pattern
4649 tSCC zUltrix_Atexit_ParamList[] =
4652 * Machine/OS name selection pattern
4654 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
4657 * content selection pattern - do fix if pattern found
4659 tSCC zUltrix_Atexit_ParamSelect0[] =
4660 "atexit\\(.*\\(\\)";
4662 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
4663 static tTestDesc aUltrix_Atexit_ParamTests[] = {
4664 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
4667 * Fix Command Arguments for Ultrix_Atexit_Param
4669 static const char* apzUltrix_Atexit_ParamPatch[] = {
4671 "atexit( void (*__func)( void )",
4674 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4676 * Description of Ultrix_Atof_Param fix
4678 tSCC zUltrix_Atof_ParamName[] =
4679 "ultrix_atof_param";
4682 * File name selection pattern
4684 tSCC zUltrix_Atof_ParamList[] =
4687 * Machine/OS name selection pattern
4689 #define apzUltrix_Atof_ParamMachs (const char**)NULL
4692 * content selection pattern - do fix if pattern found
4694 tSCC zUltrix_Atof_ParamSelect0[] =
4695 "atof\\([ \t]*char";
4697 #define ULTRIX_ATOF_PARAM_TEST_CT 1
4698 static tTestDesc aUltrix_Atof_ParamTests[] = {
4699 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
4702 * Fix Command Arguments for Ultrix_Atof_Param
4704 static const char* apzUltrix_Atof_ParamPatch[] = {
4709 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4711 * Description of Ultrix_Const fix
4713 tSCC zUltrix_ConstName[] =
4717 * File name selection pattern
4719 tSCC zUltrix_ConstList[] =
4722 * Machine/OS name selection pattern
4724 #define apzUltrix_ConstMachs (const char**)NULL
4727 * content selection pattern - do fix if pattern found
4729 tSCC zUltrix_ConstSelect0[] =
4730 "perror\\( char \\*";
4732 #define ULTRIX_CONST_TEST_CT 1
4733 static tTestDesc aUltrix_ConstTests[] = {
4734 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
4737 * Fix Command Arguments for Ultrix_Const
4739 static const char* apzUltrix_ConstPatch[] = {
4742 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
4745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4747 * Description of Ultrix_Const2 fix
4749 tSCC zUltrix_Const2Name[] =
4753 * File name selection pattern
4755 tSCC zUltrix_Const2List[] =
4758 * Machine/OS name selection pattern
4760 #define apzUltrix_Const2Machs (const char**)NULL
4763 * content selection pattern - do fix if pattern found
4765 tSCC zUltrix_Const2Select0[] =
4766 "\\*fopen\\( char \\*";
4768 #define ULTRIX_CONST2_TEST_CT 1
4769 static tTestDesc aUltrix_Const2Tests[] = {
4770 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
4773 * Fix Command Arguments for Ultrix_Const2
4775 static const char* apzUltrix_Const2Patch[] = {
4777 "%1( const char *%3, const char *",
4778 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
4781 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4783 * Description of Ultrix_Fix_Fixproto fix
4785 tSCC zUltrix_Fix_FixprotoName[] =
4786 "ultrix_fix_fixproto";
4789 * File name selection pattern
4791 tSCC zUltrix_Fix_FixprotoList[] =
4794 * Machine/OS name selection pattern
4796 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
4799 * content selection pattern - do fix if pattern found
4801 tSCC zUltrix_Fix_FixprotoSelect0[] =
4804 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
4805 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
4806 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
4809 * Fix Command Arguments for Ultrix_Fix_Fixproto
4811 static const char* apzUltrix_Fix_FixprotoPatch[] = {
4815 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
4818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4820 * Description of Ultrix_Ifdef fix
4822 tSCC zUltrix_IfdefName[] =
4826 * File name selection pattern
4828 tSCC zUltrix_IfdefList[] =
4831 * Machine/OS name selection pattern
4833 #define apzUltrix_IfdefMachs (const char**)NULL
4836 * content selection pattern - do fix if pattern found
4838 tSCC zUltrix_IfdefSelect0[] =
4839 "^#ifdef KERNEL[ \t]+&&";
4841 #define ULTRIX_IFDEF_TEST_CT 1
4842 static tTestDesc aUltrix_IfdefTests[] = {
4843 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
4846 * Fix Command Arguments for Ultrix_Ifdef
4848 static const char* apzUltrix_IfdefPatch[] = {
4850 "#if defined(KERNEL) &&",
4853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4855 * Description of Ultrix_Math_Ifdef fix
4857 tSCC zUltrix_Math_IfdefName[] =
4858 "ultrix_math_ifdef";
4861 * File name selection pattern
4863 tSCC zUltrix_Math_IfdefList[] =
4864 "|sys/limits.h|float.h|math.h|";
4866 * Machine/OS name selection pattern
4868 #define apzUltrix_Math_IfdefMachs (const char**)NULL
4871 * content selection pattern - do fix if pattern found
4873 tSCC zUltrix_Math_IfdefSelect0[] =
4874 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
4876 #define ULTRIX_MATH_IFDEF_TEST_CT 1
4877 static tTestDesc aUltrix_Math_IfdefTests[] = {
4878 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
4881 * Fix Command Arguments for Ultrix_Math_Ifdef
4883 static const char* apzUltrix_Math_IfdefPatch[] = {
4888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4890 * Description of Ultrix_Nested_Ioctl fix
4892 tSCC zUltrix_Nested_IoctlName[] =
4893 "ultrix_nested_ioctl";
4896 * File name selection pattern
4898 tSCC zUltrix_Nested_IoctlList[] =
4901 * Machine/OS name selection pattern
4903 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
4906 * content selection pattern - do fix if pattern found
4908 tSCC zUltrix_Nested_IoctlSelect0[] =
4909 "^/\\* #define SIOCSCREEN";
4911 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
4912 static tTestDesc aUltrix_Nested_IoctlTests[] = {
4913 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
4916 * Fix Command Arguments for Ultrix_Nested_Ioctl
4918 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
4919 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
4922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4924 * Description of Ultrix_Nested_Svc fix
4926 tSCC zUltrix_Nested_SvcName[] =
4927 "ultrix_nested_svc";
4930 * File name selection pattern
4932 tSCC zUltrix_Nested_SvcList[] =
4935 * Machine/OS name selection pattern
4937 #define apzUltrix_Nested_SvcMachs (const char**)NULL
4940 * content selection pattern - do fix if pattern found
4942 tSCC zUltrix_Nested_SvcSelect0[] =
4943 "^ \\*[ \t]*int protocol; */\\*";
4945 #define ULTRIX_NESTED_SVC_TEST_CT 1
4946 static tTestDesc aUltrix_Nested_SvcTests[] = {
4947 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
4950 * Fix Command Arguments for Ultrix_Nested_Svc
4952 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
4953 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
4956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4958 * Description of Ultrix_Stat fix
4960 tSCC zUltrix_StatName[] =
4964 * File name selection pattern
4966 tSCC zUltrix_StatList[] =
4969 * Machine/OS name selection pattern
4971 #define apzUltrix_StatMachs (const char**)NULL
4974 * content selection pattern - do fix if pattern found
4976 tSCC zUltrix_StatSelect0[] =
4977 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
4979 #define ULTRIX_STAT_TEST_CT 1
4980 static tTestDesc aUltrix_StatTests[] = {
4981 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
4984 * Fix Command Arguments for Ultrix_Stat
4986 static const char* apzUltrix_StatPatch[] = { "sed",
4987 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
4989 /* macro to test for symbolic link */\\\n\
4990 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
4991 "-e", "/^[ \t]*fstat(),$/a\\\n\
4995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4997 * Description of Ultrix_Static fix
4999 tSCC zUltrix_StaticName[] =
5003 * File name selection pattern
5005 tSCC zUltrix_StaticList[] =
5008 * Machine/OS name selection pattern
5010 #define apzUltrix_StaticMachs (const char**)NULL
5013 * content selection pattern - do fix if pattern found
5015 tSCC zUltrix_StaticSelect0[] =
5016 "#include \"r[34]_cpu";
5018 #define ULTRIX_STATIC_TEST_CT 1
5019 static tTestDesc aUltrix_StaticTests[] = {
5020 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
5023 * Fix Command Arguments for Ultrix_Static
5025 static const char* apzUltrix_StaticPatch[] = { "sed",
5026 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
5027 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
5028 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
5031 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5033 * Description of Ultrix_Strings fix
5035 tSCC zUltrix_StringsName[] =
5039 * File name selection pattern
5041 tSCC zUltrix_StringsList[] =
5044 * Machine/OS name selection pattern
5046 #define apzUltrix_StringsMachs (const char**)NULL
5049 * content selection pattern - do fix if pattern found
5051 tSCC zUltrix_StringsSelect0[] =
5052 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
5054 #define ULTRIX_STRINGS_TEST_CT 1
5055 static tTestDesc aUltrix_StringsTests[] = {
5056 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
5059 * Fix Command Arguments for Ultrix_Strings
5061 static const char* apzUltrix_StringsPatch[] = {
5065 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5067 * Description of Undefine_Null fix
5069 tSCC zUndefine_NullName[] =
5073 * File name selection pattern
5075 #define zUndefine_NullList (char*)NULL
5077 * Machine/OS name selection pattern
5079 #define apzUndefine_NullMachs (const char**)NULL
5082 * content selection pattern - do fix if pattern found
5084 tSCC zUndefine_NullSelect0[] =
5085 "^#[ \t]*define[ \t]+NULL[ \t]";
5088 * content bypass pattern - skip fix if pattern found
5090 tSCC zUndefine_NullBypass0[] =
5091 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
5093 #define UNDEFINE_NULL_TEST_CT 2
5094 static tTestDesc aUndefine_NullTests[] = {
5095 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
5096 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
5099 * Fix Command Arguments for Undefine_Null
5101 static const char* apzUndefine_NullPatch[] = {
5106 "^#[ \t]*define[ \t]*[ \t]NULL([^\r\n\
5110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5112 * Description of Unicosmk_Restrict fix
5114 tSCC zUnicosmk_RestrictName[] =
5115 "unicosmk_restrict";
5118 * File name selection pattern
5120 tSCC zUnicosmk_RestrictList[] =
5121 "|stdio.h|stdlib.h|wchar.h|";
5123 * Machine/OS name selection pattern
5125 tSCC* apzUnicosmk_RestrictMachs[] = {
5127 (const char*)NULL };
5130 * content selection pattern - do fix if pattern found
5132 tSCC zUnicosmk_RestrictSelect0[] =
5133 "(\\*[ \t]*)restrict([ \t]+)";
5135 #define UNICOSMK_RESTRICT_TEST_CT 1
5136 static tTestDesc aUnicosmk_RestrictTests[] = {
5137 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
5140 * Fix Command Arguments for Unicosmk_Restrict
5142 static const char* apzUnicosmk_RestrictPatch[] = {
5147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5149 * Description of Uw7_Byteorder_Fix fix
5151 tSCC zUw7_Byteorder_FixName[] =
5152 "uw7_byteorder_fix";
5155 * File name selection pattern
5157 tSCC zUw7_Byteorder_FixList[] =
5160 * Machine/OS name selection pattern
5162 tSCC* apzUw7_Byteorder_FixMachs[] = {
5166 "i?86-*-solaris2.[0-4]",
5167 "powerpcle-*-solaris2.[0-4]",
5168 "sparc-*-solaris2.[0-4]",
5169 (const char*)NULL };
5172 * content selection pattern - do fix if pattern found
5174 tSCC zUw7_Byteorder_FixSelect0[] =
5178 * perform the 'test' shell command - do fix on success
5180 tSCC zUw7_Byteorder_FixTest0[] =
5181 "-f sys/byteorder.h";
5183 #define UW7_BYTEORDER_FIX_TEST_CT 2
5184 static tTestDesc aUw7_Byteorder_FixTests[] = {
5185 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
5186 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
5189 * Fix Command Arguments for Uw7_Byteorder_Fix
5191 static const char* apzUw7_Byteorder_FixPatch[] = {
5194 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
5197 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5199 * Description of Va_I960_Macro fix
5201 tSCC zVa_I960_MacroName[] =
5205 * File name selection pattern
5207 tSCC zVa_I960_MacroList[] =
5208 "|arch/i960/archI960.h|";
5210 * Machine/OS name selection pattern
5212 #define apzVa_I960_MacroMachs (const char**)NULL
5215 * content selection pattern - do fix if pattern found
5217 tSCC zVa_I960_MacroSelect0[] =
5218 "__(vsiz|vali|vpad|alignof__)";
5220 #define VA_I960_MACRO_TEST_CT 1
5221 static tTestDesc aVa_I960_MacroTests[] = {
5222 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
5225 * Fix Command Arguments for Va_I960_Macro
5227 static const char* apzVa_I960_MacroPatch[] = {
5232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5234 * Description of Void_Null fix
5236 tSCC zVoid_NullName[] =
5240 * File name selection pattern
5242 tSCC zVoid_NullList[] =
5243 "|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|";
5245 * Machine/OS name selection pattern
5247 #define apzVoid_NullMachs (const char**)NULL
5250 * content selection pattern - do fix if pattern found
5252 tSCC zVoid_NullSelect0[] =
5253 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
5255 #define VOID_NULL_TEST_CT 1
5256 static tTestDesc aVoid_NullTests[] = {
5257 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
5260 * Fix Command Arguments for Void_Null
5262 static const char* apzVoid_NullPatch[] = {
5267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5269 * Description of Vxworks_Gcc_Problem fix
5271 tSCC zVxworks_Gcc_ProblemName[] =
5272 "vxworks_gcc_problem";
5275 * File name selection pattern
5277 tSCC zVxworks_Gcc_ProblemList[] =
5278 "|types/vxTypesBase.h|";
5280 * Machine/OS name selection pattern
5282 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
5285 * content selection pattern - do fix if pattern found
5287 tSCC zVxworks_Gcc_ProblemSelect0[] =
5288 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
5290 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
5291 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
5292 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
5295 * Fix Command Arguments for Vxworks_Gcc_Problem
5297 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
5298 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
5299 "-e", "/[ \t]size_t/i\\\n\
5300 #ifndef _GCC_SIZE_T\\\n\
5301 #define _GCC_SIZE_T\n",
5302 "-e", "/[ \t]size_t/a\\\n\
5304 "-e", "/[ \t]ptrdiff_t/i\\\n\
5305 #ifndef _GCC_PTRDIFF_T\\\n\
5306 #define _GCC_PTRDIFF_T\n",
5307 "-e", "/[ \t]ptrdiff_t/a\\\n\
5309 "-e", "/[ \t]wchar_t/i\\\n\
5310 #ifndef _GCC_WCHAR_T\\\n\
5311 #define _GCC_WCHAR_T\n",
5312 "-e", "/[ \t]wchar_t/a\\\n\
5316 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5318 * Description of Vxworks_Needs_Vxtypes fix
5320 tSCC zVxworks_Needs_VxtypesName[] =
5321 "vxworks_needs_vxtypes";
5324 * File name selection pattern
5326 tSCC zVxworks_Needs_VxtypesList[] =
5329 * Machine/OS name selection pattern
5331 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
5334 * content selection pattern - do fix if pattern found
5336 tSCC zVxworks_Needs_VxtypesSelect0[] =
5337 "uint_t([ \t]+_clocks_per_sec)";
5339 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
5340 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
5341 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
5344 * Fix Command Arguments for Vxworks_Needs_Vxtypes
5346 static const char* apzVxworks_Needs_VxtypesPatch[] = {
5351 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5353 * Description of Vxworks_Needs_Vxworks fix
5355 tSCC zVxworks_Needs_VxworksName[] =
5356 "vxworks_needs_vxworks";
5359 * File name selection pattern
5361 tSCC zVxworks_Needs_VxworksList[] =
5364 * Machine/OS name selection pattern
5366 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
5369 * content selection pattern - do fix if pattern found
5371 tSCC zVxworks_Needs_VxworksSelect0[] =
5372 "#[ \t]define[ \t]+__INCstath";
5375 * perform the 'test' shell command - do fix on success
5377 tSCC zVxworks_Needs_VxworksTest0[] =
5378 " -r types/vxTypesOld.h";
5379 tSCC zVxworks_Needs_VxworksTest1[] =
5380 " -n \"`egrep '#include' $file`\"";
5381 tSCC zVxworks_Needs_VxworksTest2[] =
5382 " -n \"`egrep ULONG $file`\"";
5384 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
5385 static tTestDesc aVxworks_Needs_VxworksTests[] = {
5386 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
5387 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
5388 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
5389 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
5392 * Fix Command Arguments for Vxworks_Needs_Vxworks
5394 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
5395 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
5396 #include <types/vxTypesOld.h>\n",
5399 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5401 * Description of Vxworks_Time fix
5403 tSCC zVxworks_TimeName[] =
5407 * File name selection pattern
5409 tSCC zVxworks_TimeList[] =
5412 * Machine/OS name selection pattern
5414 #define apzVxworks_TimeMachs (const char**)NULL
5417 * content selection pattern - do fix if pattern found
5419 tSCC zVxworks_TimeSelect0[] =
5420 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
5423 * perform the 'test' shell command - do fix on success
5425 tSCC zVxworks_TimeTest0[] =
5428 #define VXWORKS_TIME_TEST_CT 2
5429 static tTestDesc aVxworks_TimeTests[] = {
5430 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
5431 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
5434 * Fix Command Arguments for Vxworks_Time
5436 static const char* apzVxworks_TimePatch[] = {
5438 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
5439 #ifdef __cplusplus\n\
5440 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
5442 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
5444 #define __gcc_VOIDFUNCPTR_defined\n\
5446 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
5449 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5451 * Description of Windiss_Math1 fix
5453 tSCC zWindiss_Math1Name[] =
5457 * File name selection pattern
5459 tSCC zWindiss_Math1List[] =
5462 * Machine/OS name selection pattern
5464 tSCC* apzWindiss_Math1Machs[] = {
5466 (const char*)NULL };
5467 #define WINDISS_MATH1_TEST_CT 0
5468 #define aWindiss_Math1Tests (tTestDesc*)NULL
5471 * Fix Command Arguments for Windiss_Math1
5473 static const char* apzWindiss_Math1Patch[] = { "sed",
5474 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
5477 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5479 * Description of Windiss_Math2 fix
5481 tSCC zWindiss_Math2Name[] =
5485 * File name selection pattern
5487 tSCC zWindiss_Math2List[] =
5490 * Machine/OS name selection pattern
5492 tSCC* apzWindiss_Math2Machs[] = {
5494 (const char*)NULL };
5495 #define WINDISS_MATH2_TEST_CT 0
5496 #define aWindiss_Math2Tests (tTestDesc*)NULL
5499 * Fix Command Arguments for Windiss_Math2
5501 static const char* apzWindiss_Math2Patch[] = { "sed",
5502 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
5505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5507 * Description of Windiss_Valist fix
5509 tSCC zWindiss_ValistName[] =
5513 * File name selection pattern
5515 #define zWindiss_ValistList (char*)NULL
5517 * Machine/OS name selection pattern
5519 tSCC* apzWindiss_ValistMachs[] = {
5521 (const char*)NULL };
5524 * content selection pattern - do fix if pattern found
5526 tSCC zWindiss_ValistSelect0[] =
5527 "(#include.*)diab/va_list.h";
5529 #define WINDISS_VALIST_TEST_CT 1
5530 static tTestDesc aWindiss_ValistTests[] = {
5531 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
5534 * Fix Command Arguments for Windiss_Valist
5536 static const char* apzWindiss_ValistPatch[] = { "sed",
5537 "-e", "s|diab/va_list.h|stdarg.h|",
5540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5542 * Description of X11_Class fix
5544 tSCC zX11_ClassName[] =
5548 * File name selection pattern
5550 tSCC zX11_ClassList[] =
5553 * Machine/OS name selection pattern
5555 #define apzX11_ClassMachs (const char**)NULL
5558 * content selection pattern - do fix if pattern found
5560 tSCC zX11_ClassSelect0[] =
5561 "^([ \t]*char \\*)class;(.*)";
5564 * content bypass pattern - skip fix if pattern found
5566 tSCC zX11_ClassBypass0[] =
5569 #define X11_CLASS_TEST_CT 2
5570 static tTestDesc aX11_ClassTests[] = {
5571 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
5572 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
5575 * Fix Command Arguments for X11_Class
5577 static const char* apzX11_ClassPatch[] = {
5579 "#ifdef __cplusplus\n\
5586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5588 * Description of X11_Class_Usage fix
5590 tSCC zX11_Class_UsageName[] =
5594 * File name selection pattern
5596 tSCC zX11_Class_UsageList[] =
5597 "|Xm/BaseClassI.h|";
5599 * Machine/OS name selection pattern
5601 #define apzX11_Class_UsageMachs (const char**)NULL
5604 * content selection pattern - do fix if pattern found
5606 tSCC zX11_Class_UsageSelect0[] =
5610 * content bypass pattern - skip fix if pattern found
5612 tSCC zX11_Class_UsageBypass0[] =
5615 #define X11_CLASS_USAGE_TEST_CT 2
5616 static tTestDesc aX11_Class_UsageTests[] = {
5617 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
5618 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
5621 * Fix Command Arguments for X11_Class_Usage
5623 static const char* apzX11_Class_UsagePatch[] = {
5628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5630 * Description of X11_New fix
5632 tSCC zX11_NewName[] =
5636 * File name selection pattern
5638 tSCC zX11_NewList[] =
5641 * Machine/OS name selection pattern
5643 #define apzX11_NewMachs (const char**)NULL
5646 * content bypass pattern - skip fix if pattern found
5648 tSCC zX11_NewBypass0[] =
5651 #define X11_NEW_TEST_CT 1
5652 static tTestDesc aX11_NewTests[] = {
5653 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
5656 * Fix Command Arguments for X11_New
5658 static const char* apzX11_NewPatch[] = { "sed",
5659 "-e", "/Widget\told, new;/i\\\n\
5660 #ifdef __cplusplus\\\n\
5661 \tWidget\told, c_new;\\\n\
5663 "-e", "/Widget\told, new;/a\\\n\
5665 "-e", "s/Widget new,/Widget c_new,/g",
5668 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5670 * Description of X11_Sprintf fix
5672 tSCC zX11_SprintfName[] =
5676 * File name selection pattern
5678 tSCC zX11_SprintfList[] =
5679 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
5681 * Machine/OS name selection pattern
5683 #define apzX11_SprintfMachs (const char**)NULL
5686 * content selection pattern - do fix if pattern found
5688 tSCC zX11_SprintfSelect0[] =
5689 "^extern char \\*\tsprintf\\(\\);$";
5691 #define X11_SPRINTF_TEST_CT 1
5692 static tTestDesc aX11_SprintfTests[] = {
5693 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
5696 * Fix Command Arguments for X11_Sprintf
5698 static const char* apzX11_SprintfPatch[] = {
5700 "#ifndef __STDC__\n\
5702 #endif /* !defined __STDC__ */",
5706 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5710 #define REGEX_COUNT 153
5711 #define MACH_LIST_SIZE_LIMIT 279
5712 #define FIX_COUNT 146
5715 * Enumerate the fixes
5718 AAB_DGUX_INT_VARARGS_FIXIDX,
5719 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
5720 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
5721 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
5722 AAB_SUN_MEMCPY_FIXIDX,
5723 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
5724 AAB_SVR4_REPLACE_BYTEORDER_FIXIDX,
5725 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
5726 AAB_ULTRIX_LIMITS_FIXIDX,
5727 AAB_ULTRIX_MEMORY_FIXIDX,
5728 AAB_ULTRIX_STRING_FIXIDX,
5730 AIX_SYSMACHINE_FIXIDX,
5732 AIX_VOLATILE_FIXIDX,
5733 ALPHA___ASSERT_FIXIDX,
5734 ALPHA_ASSERT_FIXIDX,
5735 ALPHA_GETOPT_FIXIDX,
5736 ALPHA_PARENS_FIXIDX,
5738 ARM_NORCROFT_HINT_FIXIDX,
5741 AVOID_BOOL_DEFINE_FIXIDX,
5742 AVOID_BOOL_TYPE_FIXIDX,
5743 AVOID_WCHAR_T_TYPE_FIXIDX,
5745 BAD_STRUCT_TERM_FIXIDX,
5747 BROKEN_ASSERT_STDIO_FIXIDX,
5748 BROKEN_ASSERT_STDLIB_FIXIDX,
5750 CTRL_QUOTES_DEF_FIXIDX,
5751 CTRL_QUOTES_USE_FIXIDX,
5753 DEC_INTERN_ASM_FIXIDX,
5754 DJGPP_WCHAR_H_FIXIDX,
5756 FIX_HEADER_BREAKAGE_FIXIDX,
5757 FREEBSD_GCC3_BREAKAGE_FIXIDX,
5761 HPUX10_CPP_POW_INLINE_FIXIDX,
5762 HPUX11_CPP_POW_INLINE_FIXIDX,
5763 HPUX11_FABSF_FIXIDX,
5764 HPUX11_SIZE_T_FIXIDX,
5765 HPUX11_UINT32_C_FIXIDX,
5766 HPUX11_VSNPRINTF_FIXIDX,
5767 HPUX8_BOGUS_INLINES_FIXIDX,
5769 HPUX_SYSTIME_FIXIDX,
5770 INT_ABORT_FREE_AND_EXIT_FIXIDX,
5771 IO_QUOTES_DEF_FIXIDX,
5772 IO_QUOTES_USE_FIXIDX,
5773 IP_MISSING_SEMI_FIXIDX,
5774 IRIX_ASM_APOSTROPHE_FIXIDX,
5775 IRIX_LIMITS_CONST_FIXIDX,
5776 IRIX_STDIO_VA_LIST_FIXIDX,
5778 ISC_OMITS_WITH_STDC_FIXIDX,
5779 KANDR_CONCAT_FIXIDX,
5780 LIBC1_IFDEFD_MEMX_FIXIDX,
5781 LIMITS_IFNDEFS_FIXIDX,
5782 LYNX_VOID_INT_FIXIDX,
5783 LYNXOS_FCNTL_PROTO_FIXIDX,
5784 M88K_BAD_HYPOT_OPT_FIXIDX,
5785 M88K_BAD_S_IF_FIXIDX,
5786 M88K_MULTI_INCL_FIXIDX,
5787 MACHINE_ANSI_H_VA_LIST_FIXIDX,
5788 MACHINE_NAME_FIXIDX,
5789 MATH_EXCEPTION_FIXIDX,
5790 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
5791 MATH_HUGE_VAL_IFNDEF_FIXIDX,
5792 NESTED_AUTH_DES_FIXIDX,
5793 NESTED_MOTOROLA_FIXIDX,
5794 NESTED_SYS_LIMITS_FIXIDX,
5795 NEWS_OS_RECURSION_FIXIDX,
5796 NEXT_MATH_PREFIX_FIXIDX,
5797 NEXT_TEMPLATE_FIXIDX,
5798 NEXT_VOLITILE_FIXIDX,
5799 NEXT_WAIT_UNION_FIXIDX,
5800 NODEENT_SYNTAX_FIXIDX,
5801 OSF_NAMESPACE_A_FIXIDX,
5802 OSF_NAMESPACE_C_FIXIDX,
5803 PTHREAD_PAGE_SIZE_FIXIDX,
5804 READ_RET_TYPE_FIXIDX,
5805 RS6000_DOUBLE_FIXIDX,
5806 RS6000_FCHMOD_FIXIDX,
5807 RS6000_PARAM_FIXIDX,
5808 SCO_STATIC_FUNC_FIXIDX,
5810 SOLARIS_MUTEX_INIT_FIXIDX,
5811 SOLARIS_STDIO_TAG_FIXIDX,
5812 SOLARIS_WIDEC_FIXIDX,
5814 STDIO_STDARG_H_FIXIDX,
5815 STDIO_VA_LIST_FIXIDX,
5816 STRICT_ANSI_NOT_FIXIDX,
5817 STRICT_ANSI_NOT_CTD_FIXIDX,
5818 STRICT_ANSI_ONLY_FIXIDX,
5820 STRUCT_SOCKADDR_FIXIDX,
5821 SUN_AUTH_PROTO_FIXIDX,
5822 SUN_BOGUS_IFDEF_FIXIDX,
5823 SUN_CATMACRO_FIXIDX,
5825 SUN_RUSERS_SEMI_FIXIDX,
5827 SUNOS_MATHERR_DECL_FIXIDX,
5828 SUNOS_STRLEN_FIXIDX,
5832 SYSV68_STRING_FIXIDX,
5833 SYSZ_STDLIB_FOR_SUN_FIXIDX,
5834 THREAD_KEYWORD_FIXIDX,
5835 TINFO_CPLUSPLUS_FIXIDX,
5836 ULTRIX_ATEXIT_PARAM_FIXIDX,
5837 ULTRIX_ATOF_PARAM_FIXIDX,
5838 ULTRIX_CONST_FIXIDX,
5839 ULTRIX_CONST2_FIXIDX,
5840 ULTRIX_FIX_FIXPROTO_FIXIDX,
5841 ULTRIX_IFDEF_FIXIDX,
5842 ULTRIX_MATH_IFDEF_FIXIDX,
5843 ULTRIX_NESTED_IOCTL_FIXIDX,
5844 ULTRIX_NESTED_SVC_FIXIDX,
5846 ULTRIX_STATIC_FIXIDX,
5847 ULTRIX_STRINGS_FIXIDX,
5848 UNDEFINE_NULL_FIXIDX,
5849 UNICOSMK_RESTRICT_FIXIDX,
5850 UW7_BYTEORDER_FIX_FIXIDX,
5851 VA_I960_MACRO_FIXIDX,
5853 VXWORKS_GCC_PROBLEM_FIXIDX,
5854 VXWORKS_NEEDS_VXTYPES_FIXIDX,
5855 VXWORKS_NEEDS_VXWORKS_FIXIDX,
5856 VXWORKS_TIME_FIXIDX,
5857 WINDISS_MATH1_FIXIDX,
5858 WINDISS_MATH2_FIXIDX,
5859 WINDISS_VALIST_FIXIDX,
5861 X11_CLASS_USAGE_FIXIDX,
5866 tFixDesc fixDescList[ FIX_COUNT ] = {
5867 { zAab_Dgux_Int_VarargsName, zAab_Dgux_Int_VarargsList,
5868 apzAab_Dgux_Int_VarargsMachs,
5869 AAB_DGUX_INT_VARARGS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5870 aAab_Dgux_Int_VarargsTests, apzAab_Dgux_Int_VarargsPatch, 0 },
5872 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
5873 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
5874 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5875 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
5877 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
5878 apzAab_Fd_Zero_Gnu_Types_HMachs,
5879 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5880 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
5882 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
5883 apzAab_Fd_Zero_Selectbits_HMachs,
5884 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5885 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
5887 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
5888 apzAab_Sun_MemcpyMachs,
5889 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5890 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
5892 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
5893 apzAab_Solaris_Sys_Varargs_HMachs,
5894 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5895 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
5897 { zAab_Svr4_Replace_ByteorderName, zAab_Svr4_Replace_ByteorderList,
5898 apzAab_Svr4_Replace_ByteorderMachs,
5899 AAB_SVR4_REPLACE_BYTEORDER_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5900 aAab_Svr4_Replace_ByteorderTests, apzAab_Svr4_Replace_ByteorderPatch, 0 },
5902 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
5903 apzAab_Ultrix_Ansi_CompatMachs,
5904 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5905 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
5907 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
5908 apzAab_Ultrix_LimitsMachs,
5909 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5910 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
5912 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
5913 apzAab_Ultrix_MemoryMachs,
5914 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5915 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
5917 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
5918 apzAab_Ultrix_StringMachs,
5919 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5920 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
5922 { zAix_PthreadName, zAix_PthreadList,
5923 apzAix_PthreadMachs,
5924 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5925 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
5927 { zAix_SysmachineName, zAix_SysmachineList,
5928 apzAix_SysmachineMachs,
5929 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5930 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
5932 { zAix_SyswaitName, zAix_SyswaitList,
5933 apzAix_SyswaitMachs,
5934 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5935 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
5937 { zAix_VolatileName, zAix_VolatileList,
5938 apzAix_VolatileMachs,
5939 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5940 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
5942 { zAlpha___AssertName, zAlpha___AssertList,
5943 apzAlpha___AssertMachs,
5944 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5945 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
5947 { zAlpha_AssertName, zAlpha_AssertList,
5948 apzAlpha_AssertMachs,
5949 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5950 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
5952 { zAlpha_GetoptName, zAlpha_GetoptList,
5953 apzAlpha_GetoptMachs,
5954 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5955 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
5957 { zAlpha_ParensName, zAlpha_ParensList,
5958 apzAlpha_ParensMachs,
5959 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5960 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
5962 { zAlpha_SbrkName, zAlpha_SbrkList,
5964 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5965 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
5967 { zArm_Norcroft_HintName, zArm_Norcroft_HintList,
5968 apzArm_Norcroft_HintMachs,
5969 ARM_NORCROFT_HINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5970 aArm_Norcroft_HintTests, apzArm_Norcroft_HintPatch, 0 },
5972 { zArm_WcharName, zArm_WcharList,
5974 ARM_WCHAR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5975 aArm_WcharTests, apzArm_WcharPatch, 0 },
5977 { zAux_AsmName, zAux_AsmList,
5979 AUX_ASM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5980 aAux_AsmTests, apzAux_AsmPatch, 0 },
5982 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
5983 apzAvoid_Bool_DefineMachs,
5984 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5985 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
5987 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
5988 apzAvoid_Bool_TypeMachs,
5989 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5990 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
5992 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
5993 apzAvoid_Wchar_T_TypeMachs,
5994 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
5995 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
5997 { zBad_LvalName, zBad_LvalList,
5999 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
6000 aBad_LvalTests, apzBad_LvalPatch, 0 },
6002 { zBad_Struct_TermName, zBad_Struct_TermList,
6003 apzBad_Struct_TermMachs,
6004 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6005 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
6007 { zBadquoteName, zBadquoteList,
6009 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6010 aBadquoteTests, apzBadquotePatch, 0 },
6012 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
6013 apzBroken_Assert_StdioMachs,
6014 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6015 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
6017 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
6018 apzBroken_Assert_StdlibMachs,
6019 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6020 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
6022 { zBroken_CabsName, zBroken_CabsList,
6023 apzBroken_CabsMachs,
6024 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6025 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
6027 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
6028 apzCtrl_Quotes_DefMachs,
6029 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6030 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
6032 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
6033 apzCtrl_Quotes_UseMachs,
6034 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6035 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
6037 { zCxx_UnreadyName, zCxx_UnreadyList,
6038 apzCxx_UnreadyMachs,
6039 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6040 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
6042 { zDec_Intern_AsmName, zDec_Intern_AsmList,
6043 apzDec_Intern_AsmMachs,
6044 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
6045 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
6047 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
6048 apzDjgpp_Wchar_HMachs,
6049 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6050 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
6052 { zEcd_CursorName, zEcd_CursorList,
6054 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6055 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
6057 { zFix_Header_BreakageName, zFix_Header_BreakageList,
6058 apzFix_Header_BreakageMachs,
6059 FIX_HEADER_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6060 aFix_Header_BreakageTests, apzFix_Header_BreakagePatch, 0 },
6062 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
6063 apzFreebsd_Gcc3_BreakageMachs,
6064 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6065 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
6067 { zGnu_TypesName, zGnu_TypesList,
6069 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6070 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
6072 { zHp_InlineName, zHp_InlineList,
6074 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6075 aHp_InlineTests, apzHp_InlinePatch, 0 },
6077 { zHp_SysfileName, zHp_SysfileList,
6079 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6080 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
6082 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
6083 apzHpux10_Cpp_Pow_InlineMachs,
6084 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6085 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
6087 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
6088 apzHpux11_Cpp_Pow_InlineMachs,
6089 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6090 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
6092 { zHpux11_FabsfName, zHpux11_FabsfList,
6093 apzHpux11_FabsfMachs,
6094 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6095 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
6097 { zHpux11_Size_TName, zHpux11_Size_TList,
6098 apzHpux11_Size_TMachs,
6099 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6100 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
6102 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
6103 apzHpux11_Uint32_CMachs,
6104 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6105 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
6107 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
6108 apzHpux11_VsnprintfMachs,
6109 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6110 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
6112 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
6113 apzHpux8_Bogus_InlinesMachs,
6114 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
6115 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
6117 { zHpux_MaxintName, zHpux_MaxintList,
6118 apzHpux_MaxintMachs,
6119 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6120 aHpux_MaxintTests, apzHpux_MaxintPatch, 0 },
6122 { zHpux_SystimeName, zHpux_SystimeList,
6123 apzHpux_SystimeMachs,
6124 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6125 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
6127 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
6128 apzInt_Abort_Free_And_ExitMachs,
6129 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6130 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
6132 { zIo_Quotes_DefName, zIo_Quotes_DefList,
6133 apzIo_Quotes_DefMachs,
6134 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6135 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
6137 { zIo_Quotes_UseName, zIo_Quotes_UseList,
6138 apzIo_Quotes_UseMachs,
6139 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6140 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
6142 { zIp_Missing_SemiName, zIp_Missing_SemiList,
6143 apzIp_Missing_SemiMachs,
6144 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
6145 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
6147 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
6148 apzIrix_Asm_ApostropheMachs,
6149 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6150 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
6152 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
6153 apzIrix_Limits_ConstMachs,
6154 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6155 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
6157 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
6158 apzIrix_Stdio_Va_ListMachs,
6159 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6160 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
6162 { zIsc_FmodName, zIsc_FmodList,
6164 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6165 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
6167 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
6168 apzIsc_Omits_With_StdcMachs,
6169 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6170 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
6172 { zKandr_ConcatName, zKandr_ConcatList,
6173 apzKandr_ConcatMachs,
6174 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6175 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
6177 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
6178 apzLibc1_Ifdefd_MemxMachs,
6179 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6180 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
6182 { zLimits_IfndefsName, zLimits_IfndefsList,
6183 apzLimits_IfndefsMachs,
6184 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6185 aLimits_IfndefsTests, apzLimits_IfndefsPatch, 0 },
6187 { zLynx_Void_IntName, zLynx_Void_IntList,
6188 apzLynx_Void_IntMachs,
6189 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6190 aLynx_Void_IntTests, apzLynx_Void_IntPatch, 0 },
6192 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
6193 apzLynxos_Fcntl_ProtoMachs,
6194 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6195 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch, 0 },
6197 { zM88k_Bad_Hypot_OptName, zM88k_Bad_Hypot_OptList,
6198 apzM88k_Bad_Hypot_OptMachs,
6199 M88K_BAD_HYPOT_OPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6200 aM88k_Bad_Hypot_OptTests, apzM88k_Bad_Hypot_OptPatch, 0 },
6202 { zM88k_Bad_S_IfName, zM88k_Bad_S_IfList,
6203 apzM88k_Bad_S_IfMachs,
6204 M88K_BAD_S_IF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6205 aM88k_Bad_S_IfTests, apzM88k_Bad_S_IfPatch, 0 },
6207 { zM88k_Multi_InclName, zM88k_Multi_InclList,
6208 apzM88k_Multi_InclMachs,
6209 M88K_MULTI_INCL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6210 aM88k_Multi_InclTests, apzM88k_Multi_InclPatch, 0 },
6212 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
6213 apzMachine_Ansi_H_Va_ListMachs,
6214 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6215 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
6217 { zMachine_NameName, zMachine_NameList,
6218 apzMachine_NameMachs,
6219 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6220 aMachine_NameTests, apzMachine_NamePatch, 0 },
6222 { zMath_ExceptionName, zMath_ExceptionList,
6223 apzMath_ExceptionMachs,
6224 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6225 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
6227 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
6228 apzMath_Huge_Val_From_Dbl_MaxMachs,
6229 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
6230 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
6232 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
6233 apzMath_Huge_Val_IfndefMachs,
6234 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6235 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch, 0 },
6237 { zNested_Auth_DesName, zNested_Auth_DesList,
6238 apzNested_Auth_DesMachs,
6239 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6240 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
6242 { zNested_MotorolaName, zNested_MotorolaList,
6243 apzNested_MotorolaMachs,
6244 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
6245 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
6247 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
6248 apzNested_Sys_LimitsMachs,
6249 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
6250 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
6252 { zNews_Os_RecursionName, zNews_Os_RecursionList,
6253 apzNews_Os_RecursionMachs,
6254 NEWS_OS_RECURSION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6255 aNews_Os_RecursionTests, apzNews_Os_RecursionPatch, 0 },
6257 { zNext_Math_PrefixName, zNext_Math_PrefixList,
6258 apzNext_Math_PrefixMachs,
6259 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6260 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
6262 { zNext_TemplateName, zNext_TemplateList,
6263 apzNext_TemplateMachs,
6264 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6265 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
6267 { zNext_VolitileName, zNext_VolitileList,
6268 apzNext_VolitileMachs,
6269 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6270 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
6272 { zNext_Wait_UnionName, zNext_Wait_UnionList,
6273 apzNext_Wait_UnionMachs,
6274 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6275 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
6277 { zNodeent_SyntaxName, zNodeent_SyntaxList,
6278 apzNodeent_SyntaxMachs,
6279 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6280 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
6282 { zOsf_Namespace_AName, zOsf_Namespace_AList,
6283 apzOsf_Namespace_AMachs,
6284 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6285 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
6287 { zOsf_Namespace_CName, zOsf_Namespace_CList,
6288 apzOsf_Namespace_CMachs,
6289 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6290 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
6292 { zPthread_Page_SizeName, zPthread_Page_SizeList,
6293 apzPthread_Page_SizeMachs,
6294 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6295 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
6297 { zRead_Ret_TypeName, zRead_Ret_TypeList,
6298 apzRead_Ret_TypeMachs,
6299 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6300 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
6302 { zRs6000_DoubleName, zRs6000_DoubleList,
6303 apzRs6000_DoubleMachs,
6304 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6305 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
6307 { zRs6000_FchmodName, zRs6000_FchmodList,
6308 apzRs6000_FchmodMachs,
6309 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6310 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
6312 { zRs6000_ParamName, zRs6000_ParamList,
6313 apzRs6000_ParamMachs,
6314 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6315 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
6317 { zSco_Static_FuncName, zSco_Static_FuncList,
6318 apzSco_Static_FuncMachs,
6319 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
6320 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
6322 { zSco_UtimeName, zSco_UtimeList,
6324 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6325 aSco_UtimeTests, apzSco_UtimePatch, 0 },
6327 { zSolaris_Mutex_InitName, zSolaris_Mutex_InitList,
6328 apzSolaris_Mutex_InitMachs,
6329 SOLARIS_MUTEX_INIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6330 aSolaris_Mutex_InitTests, apzSolaris_Mutex_InitPatch, 0 },
6332 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
6333 apzSolaris_Stdio_TagMachs,
6334 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
6335 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
6337 { zSolaris_WidecName, zSolaris_WidecList,
6338 apzSolaris_WidecMachs,
6339 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6340 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
6342 { zStatsswtchName, zStatsswtchList,
6344 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6345 aStatsswtchTests, apzStatsswtchPatch, 0 },
6347 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
6348 apzStdio_Stdarg_HMachs,
6349 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6350 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
6352 { zStdio_Va_ListName, zStdio_Va_ListList,
6353 apzStdio_Va_ListMachs,
6354 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
6355 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
6357 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
6358 apzStrict_Ansi_NotMachs,
6359 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6360 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
6362 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
6363 apzStrict_Ansi_Not_CtdMachs,
6364 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6365 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
6367 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
6368 apzStrict_Ansi_OnlyMachs,
6369 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6370 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
6372 { zStruct_FileName, zStruct_FileList,
6373 apzStruct_FileMachs,
6374 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6375 aStruct_FileTests, apzStruct_FilePatch, 0 },
6377 { zStruct_SockaddrName, zStruct_SockaddrList,
6378 apzStruct_SockaddrMachs,
6379 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6380 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
6382 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
6383 apzSun_Auth_ProtoMachs,
6384 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6385 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
6387 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
6388 apzSun_Bogus_IfdefMachs,
6389 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6390 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
6392 { zSun_CatmacroName, zSun_CatmacroList,
6393 apzSun_CatmacroMachs,
6394 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6395 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
6397 { zSun_MallocName, zSun_MallocList,
6399 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
6400 aSun_MallocTests, apzSun_MallocPatch, 0 },
6402 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
6403 apzSun_Rusers_SemiMachs,
6404 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
6405 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
6407 { zSun_SignalName, zSun_SignalList,
6409 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6410 aSun_SignalTests, apzSun_SignalPatch, 0 },
6412 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
6413 apzSunos_Matherr_DeclMachs,
6414 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6415 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch, 0 },
6417 { zSunos_StrlenName, zSunos_StrlenList,
6418 apzSunos_StrlenMachs,
6419 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6420 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
6422 { zSvr4__PName, zSvr4__PList,
6424 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6425 aSvr4__PTests, apzSvr4__PPatch, 0 },
6427 { zSvr4_GetcwdName, zSvr4_GetcwdList,
6428 apzSvr4_GetcwdMachs,
6429 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6430 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
6432 { zSvr4_ProfilName, zSvr4_ProfilList,
6433 apzSvr4_ProfilMachs,
6434 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6435 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
6437 { zSysv68_StringName, zSysv68_StringList,
6438 apzSysv68_StringMachs,
6439 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
6440 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
6442 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
6443 apzSysz_Stdlib_For_SunMachs,
6444 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6445 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
6447 { zThread_KeywordName, zThread_KeywordList,
6448 apzThread_KeywordMachs,
6449 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6450 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
6452 { zTinfo_CplusplusName, zTinfo_CplusplusList,
6453 apzTinfo_CplusplusMachs,
6454 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6455 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
6457 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
6458 apzUltrix_Atexit_ParamMachs,
6459 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6460 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
6462 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
6463 apzUltrix_Atof_ParamMachs,
6464 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6465 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
6467 { zUltrix_ConstName, zUltrix_ConstList,
6468 apzUltrix_ConstMachs,
6469 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6470 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
6472 { zUltrix_Const2Name, zUltrix_Const2List,
6473 apzUltrix_Const2Machs,
6474 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6475 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
6477 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
6478 apzUltrix_Fix_FixprotoMachs,
6479 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6480 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
6482 { zUltrix_IfdefName, zUltrix_IfdefList,
6483 apzUltrix_IfdefMachs,
6484 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6485 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
6487 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
6488 apzUltrix_Math_IfdefMachs,
6489 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6490 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
6492 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
6493 apzUltrix_Nested_IoctlMachs,
6494 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
6495 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
6497 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
6498 apzUltrix_Nested_SvcMachs,
6499 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
6500 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
6502 { zUltrix_StatName, zUltrix_StatList,
6503 apzUltrix_StatMachs,
6504 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
6505 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
6507 { zUltrix_StaticName, zUltrix_StaticList,
6508 apzUltrix_StaticMachs,
6509 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
6510 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
6512 { zUltrix_StringsName, zUltrix_StringsList,
6513 apzUltrix_StringsMachs,
6514 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6515 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
6517 { zUndefine_NullName, zUndefine_NullList,
6518 apzUndefine_NullMachs,
6519 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6520 aUndefine_NullTests, apzUndefine_NullPatch, 0 },
6522 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
6523 apzUnicosmk_RestrictMachs,
6524 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6525 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
6527 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
6528 apzUw7_Byteorder_FixMachs,
6529 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6530 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
6532 { zVa_I960_MacroName, zVa_I960_MacroList,
6533 apzVa_I960_MacroMachs,
6534 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6535 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
6537 { zVoid_NullName, zVoid_NullList,
6539 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6540 aVoid_NullTests, apzVoid_NullPatch, 0 },
6542 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
6543 apzVxworks_Gcc_ProblemMachs,
6544 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
6545 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
6547 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
6548 apzVxworks_Needs_VxtypesMachs,
6549 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6550 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
6552 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
6553 apzVxworks_Needs_VxworksMachs,
6554 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
6555 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
6557 { zVxworks_TimeName, zVxworks_TimeList,
6558 apzVxworks_TimeMachs,
6559 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6560 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
6562 { zWindiss_Math1Name, zWindiss_Math1List,
6563 apzWindiss_Math1Machs,
6564 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
6565 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
6567 { zWindiss_Math2Name, zWindiss_Math2List,
6568 apzWindiss_Math2Machs,
6569 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
6570 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
6572 { zWindiss_ValistName, zWindiss_ValistList,
6573 apzWindiss_ValistMachs,
6574 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
6575 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
6577 { zX11_ClassName, zX11_ClassList,
6579 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6580 aX11_ClassTests, apzX11_ClassPatch, 0 },
6582 { zX11_Class_UsageName, zX11_Class_UsageList,
6583 apzX11_Class_UsageMachs,
6584 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6585 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
6587 { zX11_NewName, zX11_NewList,
6589 X11_NEW_TEST_CT, FD_MACH_ONLY,
6590 aX11_NewTests, apzX11_NewPatch, 0 },
6592 { zX11_SprintfName, zX11_SprintfList,
6593 apzX11_SprintfMachs,
6594 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6595 aX11_SprintfTests, apzX11_SprintfPatch, 0 }