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 148 fixup descriptions.
10 * See README for more information.
12 * inclhack copyright (c) 1998, 1999, 2000, 2001
13 * The Free Software Foundation, Inc.
15 * inclhack is free software.
17 * You may redistribute it and/or modify it under the terms of the
18 * GNU General Public License, as published by the Free Software
19 * Foundation; either version 2, or (at your option) any later version.
21 * inclhack is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24 * See the GNU General Public License for more details.
26 * You should have received a copy of the GNU General Public License
27 * along with inclhack. See the file "COPYING". If not,
28 * write to: The Free Software Foundation, Inc.,
29 * 59 Temple Place - Suite 330,
30 * Boston, MA 02111-1307, USA.
33 /* * * * * * * * * * * * * * * * * * * * * * * * * *
35 * Description of Aab_Dgux_Int_Varargs fix
37 tSCC zAab_Dgux_Int_VarargsName[] =
38 "AAB_dgux_int_varargs";
41 * File name selection pattern
43 tSCC zAab_Dgux_Int_VarargsList[] =
46 * Machine/OS name selection pattern
48 #define apzAab_Dgux_Int_VarargsMachs (const char**)NULL
49 #define AAB_DGUX_INT_VARARGS_TEST_CT 0
50 #define aAab_Dgux_Int_VarargsTests (tTestDesc*)NULL
53 * Fix Command Arguments for Aab_Dgux_Int_Varargs
55 static const char* apzAab_Dgux_Int_VarargsPatch[] = {
56 "#ifndef __INT_VARARGS_H\n\
57 #define __INT_VARARGS_H\n\n\
58 /********************************************************/\n\
59 /* Define the common stuff for varargs/stdarg/stdio. */\n\
60 /********************************************************/\n\n\
62 ** This file is a DG internal header. Never include this\n\
65 #ifndef ___int_features_h\n\
66 #include <sys/_int_features.h>\n\
68 #if !(defined(_VA_LIST) || defined(_VA_LIST_))\n\
70 #define _VA_LIST_\n\n\
73 typedef void * va_list;\n\
75 typedef char * va_list;\n\
79 #if defined(__DCC__)\n\n\
85 #else /* ! defined(__DCC__) */\n\n\
87 int __va_arg; /* argument number */\n\
88 int *__va_stk; /* start of args passed on stack */\n\
89 int *__va_reg; /* start of args passed in regs */\n\
91 #endif /* ! defined(__DCC__) */\n\n\
93 #if defined(__GNUC__) || defined(__STDC__)\n\
94 typedef void * va_list;\n\
96 typedef char * va_list;\n\
98 #endif /* _IX86_ANY */\n\n\
99 #endif /* __LINT__ */\n\
100 #endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */\n\
101 #endif /* #ifndef __INT_VARARGS_H */",
104 /* * * * * * * * * * * * * * * * * * * * * * * * * *
106 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
108 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
109 "AAB_fd_zero_asm_posix_types_h";
112 * File name selection pattern
114 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
115 "|asm/posix_types.h|";
117 * Machine/OS name selection pattern
119 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
120 "i[34567]86-*-linux*",
124 * content bypass pattern - skip fix if pattern found
126 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
129 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
130 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
131 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
134 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
136 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
137 "/* This file fixes a bug in the __FD_ZERO macro\n\
138 for older versions of the Linux kernel. */\n\
139 #ifndef _POSIX_TYPES_H_WRAPPER\n\
140 #include <features.h>\n\
141 #include_next <asm/posix_types.h>\n\n\
142 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
144 #define __FD_ZERO(fdsetp) \\\n\
146 int __d0, __d1; \\\n\
147 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
148 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
149 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
150 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
153 #define _POSIX_TYPES_H_WRAPPER\n\
154 #endif /* _POSIX_TYPES_H_WRAPPER */",
157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
159 * Description of Aab_Fd_Zero_Gnu_Types_H fix
161 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
162 "AAB_fd_zero_gnu_types_h";
165 * File name selection pattern
167 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
170 * Machine/OS name selection pattern
172 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
173 "i[34567]86-*-linux*",
175 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
176 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
179 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
181 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
182 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
183 #ifndef _TYPES_H_WRAPPER\n\
184 #include <features.h>\n\
185 #include_next <gnu/types.h>\n\n\
186 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
188 # define __FD_ZERO(fdsetp) \\\n\
190 int __d0, __d1; \\\n\
191 \t__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
192 \t: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
193 \t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
194 \t\t \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
197 #define _TYPES_H_WRAPPER\n\
198 #endif /* _TYPES_H_WRAPPER */\n",
201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
203 * Description of Aab_Fd_Zero_Selectbits_H fix
205 tSCC zAab_Fd_Zero_Selectbits_HName[] =
206 "AAB_fd_zero_selectbits_h";
209 * File name selection pattern
211 tSCC zAab_Fd_Zero_Selectbits_HList[] =
214 * Machine/OS name selection pattern
216 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
217 "i[34567]86-*-linux*",
219 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
220 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
223 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
225 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
226 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
227 #ifndef _SELECTBITS_H_WRAPPER\n\
228 #include <features.h>\n\
229 #include_next <selectbits.h>\n\n\
230 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\n\
231 \t&& defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\n\
232 \t&& __GLIBC_MINOR__ == 0\n\
234 #define __FD_ZERO(fdsetp) \\\n\
236 int __d0, __d1; \\\n\
237 __asm__ __volatile__ (\"cld; rep; stosl\" \\\n\
238 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
239 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\n\
240 / sizeof (__fd_mask)), \\\n\
241 \"1\" ((__fd_mask *) (fdsetp)) \\\n\
245 #define _SELECTBITS_H_WRAPPER\n\
246 #endif /* _SELECTBITS_H_WRAPPER */\n",
249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
251 * Description of Aab_Solaris_Sys_Varargs_H fix
253 tSCC zAab_Solaris_Sys_Varargs_HName[] =
254 "AAB_solaris_sys_varargs_h";
257 * File name selection pattern
259 tSCC zAab_Solaris_Sys_Varargs_HList[] =
262 * Machine/OS name selection pattern
264 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
267 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
268 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
271 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
273 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
275 #include <stdarg.h>\n\
277 #include <varargs.h>\n\
281 /* * * * * * * * * * * * * * * * * * * * * * * * * *
283 * Description of Aab_Sun_Memcpy fix
285 tSCC zAab_Sun_MemcpyName[] =
289 * File name selection pattern
291 tSCC zAab_Sun_MemcpyList[] =
294 * Machine/OS name selection pattern
296 #define apzAab_Sun_MemcpyMachs (const char**)NULL
299 * content selection pattern - do fix if pattern found
301 tSCC zAab_Sun_MemcpySelect0[] =
302 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
304 #define AAB_SUN_MEMCPY_TEST_CT 1
305 static tTestDesc aAab_Sun_MemcpyTests[] = {
306 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
309 * Fix Command Arguments for Aab_Sun_Memcpy
311 static const char* apzAab_Sun_MemcpyPatch[] = {
312 "/* This file was generated by fixincludes */\n\
313 #ifndef __memory_h__\n\
314 #define __memory_h__\n\n\
316 extern void *memccpy();\n\
317 extern void *memchr();\n\
318 extern void *memcpy();\n\
319 extern void *memset();\n\
321 extern char *memccpy();\n\
322 extern char *memchr();\n\
323 extern char *memcpy();\n\
324 extern char *memset();\n\
325 #endif /* __STDC__ */\n\n\
326 extern int memcmp();\n\n\
327 #endif /* __memory_h__ */\n",
330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
332 * Description of Aab_Svr4_Replace_Byteorder fix
334 tSCC zAab_Svr4_Replace_ByteorderName[] =
335 "AAB_svr4_replace_byteorder";
338 * File name selection pattern
340 tSCC zAab_Svr4_Replace_ByteorderList[] =
343 * Machine/OS name selection pattern
345 tSCC* apzAab_Svr4_Replace_ByteorderMachs[] = {
347 "i[34567]86-*-sysv5*",
349 "i[34567]86-*-solaris2.[0-4]",
350 "powerpcle-*-solaris2.[0-4]",
351 "sparc-*-solaris2.[0-4]",
353 #define AAB_SVR4_REPLACE_BYTEORDER_TEST_CT 0
354 #define aAab_Svr4_Replace_ByteorderTests (tTestDesc*)NULL
357 * Fix Command Arguments for Aab_Svr4_Replace_Byteorder
359 static const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
360 "#ifndef _SYS_BYTEORDER_H\n\
361 #define _SYS_BYTEORDER_H\n\n\
362 /* Functions to convert `short' and `long' quantities from host byte order\n\
363 to (internet) network byte order (i.e. big-endian).\n\n\
364 Written by Ron Guilmette (rfg@ncd.com).\n\n\
365 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
366 For big-endian machines these functions are essentially no-ops.\n\n\
367 For little-endian machines, we define the functions using specialized\n\
368 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
369 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
370 #error You lose! This file is only useful with GNU compilers.\n\
372 #ifndef __BYTE_ORDER__\n\
373 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
374 double underscores added at the front and back. */\n\
375 #define __LITTLE_ENDIAN__ 1234\n\
376 #define __BIG_ENDIAN__ 4321\n\
377 #define __PDP_ENDIAN__ 3412\n\
380 static __inline__ unsigned long htonl (unsigned long);\n\
381 static __inline__ unsigned short htons (unsigned int);\n\
382 static __inline__ unsigned long ntohl (unsigned long);\n\
383 static __inline__ unsigned short ntohs (unsigned int);\n\
384 #endif /* defined (__STDC__) */\n\n\
385 #if defined (__i386__)\n\n\
386 #ifndef __BYTE_ORDER__\n\
387 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
389 /* Convert a host long to a network long. */\n\n\
390 /* We must use a new-style function definition, so that this will also\n\
391 be valid for C++. */\n\
392 static __inline__ unsigned long\n\
393 htonl (unsigned long __arg)\n\
395 register unsigned long __result;\n\n\
396 __asm__ (\"xchg%B0 %b0,%h0\n\
398 \txchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
401 /* Convert a host short to a network short. */\n\n\
402 static __inline__ unsigned short\n\
403 htons (unsigned int __arg)\n\
405 register unsigned short __result;\n\n\
406 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
409 #elif ((defined (__i860__) && !defined (__i860_big_endian__))\t\\\n\
410 || defined (__ns32k__) || defined (__vax__)\t\t\\\n\
411 || defined (__spur__) || defined (__arm__))\n\n\
412 #ifndef __BYTE_ORDER__\n\
413 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
415 /* For other little-endian machines, using C code is just as efficient as\n\
416 using assembly code. */\n\n\
417 /* Convert a host long to a network long. */\n\n\
418 static __inline__ unsigned long\n\
419 htonl (unsigned long __arg)\n\
421 register unsigned long __result;\n\n\
422 __result = (__arg >> 24) & 0x000000ff;\n\
423 __result |= (__arg >> 8) & 0x0000ff00;\n\
424 __result |= (__arg << 8) & 0x00ff0000;\n\
425 __result |= (__arg << 24) & 0xff000000;\n\
428 /* Convert a host short to a network short. */\n\n\
429 static __inline__ unsigned short\n\
430 htons (unsigned int __arg)\n\
432 register unsigned short __result;\n\n\
433 __result = (__arg << 8) & 0xff00;\n\
434 __result |= (__arg >> 8) & 0x00ff;\n\
437 #else /* must be a big-endian machine */\n\n\
438 #ifndef __BYTE_ORDER__\n\
439 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
441 /* Convert a host long to a network long. */\n\n\
442 static __inline__ unsigned long\n\
443 htonl (unsigned long __arg)\n\
447 /* Convert a host short to a network short. */\n\n\
448 static __inline__ unsigned short\n\
449 htons (unsigned int __arg)\n\
453 #endif /* big-endian */\n\n\
454 /* Convert a network long to a host long. */\n\n\
455 static __inline__ unsigned long\n\
456 ntohl (unsigned long __arg)\n\
458 return htonl (__arg);\n\
460 /* Convert a network short to a host short. */\n\n\
461 static __inline__ unsigned short\n\
462 ntohs (unsigned int __arg)\n\
464 return htons (__arg);\n\
469 /* * * * * * * * * * * * * * * * * * * * * * * * * *
471 * Description of Aab_Ultrix_Ansi_Compat fix
473 tSCC zAab_Ultrix_Ansi_CompatName[] =
474 "AAB_ultrix_ansi_compat";
477 * File name selection pattern
479 tSCC zAab_Ultrix_Ansi_CompatList[] =
482 * Machine/OS name selection pattern
484 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
487 * content selection pattern - do fix if pattern found
489 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
492 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
493 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
494 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
497 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
499 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
500 "/* This file intentionally left blank. */\n",
503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
505 * Description of Aab_Ultrix_Limits fix
507 tSCC zAab_Ultrix_LimitsName[] =
511 * File name selection pattern
513 tSCC zAab_Ultrix_LimitsList[] =
516 * Machine/OS name selection pattern
518 tSCC* apzAab_Ultrix_LimitsMachs[] = {
521 #define AAB_ULTRIX_LIMITS_TEST_CT 0
522 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
525 * Fix Command Arguments for Aab_Ultrix_Limits
527 static const char* apzAab_Ultrix_LimitsPatch[] = {
528 "#ifndef _LIMITS_INCLUDED\n\
529 #define _LIMITS_INCLUDED\n\
530 #include <sys/limits.h>\n\
531 #endif /* _LIMITS_INCLUDED */\n",
534 /* * * * * * * * * * * * * * * * * * * * * * * * * *
536 * Description of Aab_Ultrix_Memory fix
538 tSCC zAab_Ultrix_MemoryName[] =
542 * File name selection pattern
544 tSCC zAab_Ultrix_MemoryList[] =
547 * Machine/OS name selection pattern
549 tSCC* apzAab_Ultrix_MemoryMachs[] = {
552 #define AAB_ULTRIX_MEMORY_TEST_CT 0
553 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
556 * Fix Command Arguments for Aab_Ultrix_Memory
558 static const char* apzAab_Ultrix_MemoryPatch[] = {
559 "#ifndef _MEMORY_INCLUDED\n\
560 #define _MEMORY_INCLUDED\n\
561 #include <strings.h>\n\
562 #endif /* _MEMORY_INCLUDED */\n",
565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
567 * Description of Aab_Ultrix_String fix
569 tSCC zAab_Ultrix_StringName[] =
573 * File name selection pattern
575 tSCC zAab_Ultrix_StringList[] =
578 * Machine/OS name selection pattern
580 tSCC* apzAab_Ultrix_StringMachs[] = {
583 #define AAB_ULTRIX_STRING_TEST_CT 0
584 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
587 * Fix Command Arguments for Aab_Ultrix_String
589 static const char* apzAab_Ultrix_StringPatch[] = {
590 "#ifndef _STRING_INCLUDED\n\
591 #define _STRING_INCLUDED\n\
592 #include <strings.h>\n\
593 #endif /* _STRING_INCLUDED */\n",
596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
598 * Description of Aix_Pthread fix
600 tSCC zAix_PthreadName[] =
604 * File name selection pattern
606 tSCC zAix_PthreadList[] =
609 * Machine/OS name selection pattern
611 #define apzAix_PthreadMachs (const char**)NULL
614 * content selection pattern - do fix if pattern found
616 tSCC zAix_PthreadSelect0[] =
617 "(#define [A-Za-z_0-9]+)(\\\\\n\
621 #define AIX_PTHREAD_TEST_CT 1
622 static tTestDesc aAix_PthreadTests[] = {
623 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
626 * Fix Command Arguments for Aix_Pthread
628 static const char* apzAix_PthreadPatch[] = {
633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
635 * Description of Aix_Sysmachine fix
637 tSCC zAix_SysmachineName[] =
641 * File name selection pattern
643 tSCC zAix_SysmachineList[] =
646 * Machine/OS name selection pattern
648 #define apzAix_SysmachineMachs (const char**)NULL
651 * content selection pattern - do fix if pattern found
653 tSCC zAix_SysmachineSelect0[] =
656 #define AIX_SYSMACHINE_TEST_CT 1
657 static tTestDesc aAix_SysmachineTests[] = {
658 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
661 * Fix Command Arguments for Aix_Sysmachine
663 static const char* apzAix_SysmachinePatch[] = {
668 /* * * * * * * * * * * * * * * * * * * * * * * * * *
670 * Description of Aix_Syswait fix
672 tSCC zAix_SyswaitName[] =
676 * File name selection pattern
678 tSCC zAix_SyswaitList[] =
681 * Machine/OS name selection pattern
683 #define apzAix_SyswaitMachs (const char**)NULL
686 * content selection pattern - do fix if pattern found
688 tSCC zAix_SyswaitSelect0[] =
689 "^extern pid_t wait3\\(\\);\n";
690 tSCC zAix_SyswaitSelect1[] =
693 #define AIX_SYSWAIT_TEST_CT 2
694 static tTestDesc aAix_SyswaitTests[] = {
695 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
696 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
699 * Fix Command Arguments for Aix_Syswait
701 static const char* apzAix_SyswaitPatch[] = {
707 /* * * * * * * * * * * * * * * * * * * * * * * * * *
709 * Description of Aix_Volatile fix
711 tSCC zAix_VolatileName[] =
715 * File name selection pattern
717 tSCC zAix_VolatileList[] =
720 * Machine/OS name selection pattern
722 #define apzAix_VolatileMachs (const char**)NULL
725 * content selection pattern - do fix if pattern found
727 tSCC zAix_VolatileSelect0[] =
728 "typedef volatile int sig_atomic_t";
730 #define AIX_VOLATILE_TEST_CT 1
731 static tTestDesc aAix_VolatileTests[] = {
732 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
735 * Fix Command Arguments for Aix_Volatile
737 static const char* apzAix_VolatilePatch[] = {
739 "typedef int sig_atomic_t",
742 /* * * * * * * * * * * * * * * * * * * * * * * * * *
744 * Description of Alpha___Assert fix
746 tSCC zAlpha___AssertName[] =
750 * File name selection pattern
752 tSCC zAlpha___AssertList[] =
755 * Machine/OS name selection pattern
757 #define apzAlpha___AssertMachs (const char**)NULL
760 * content selection pattern - do fix if pattern found
762 tSCC zAlpha___AssertSelect0[] =
763 "__assert\\(char \\*, char \\*, int\\)";
765 #define ALPHA___ASSERT_TEST_CT 1
766 static tTestDesc aAlpha___AssertTests[] = {
767 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
770 * Fix Command Arguments for Alpha___Assert
772 static const char* apzAlpha___AssertPatch[] = {
774 "__assert(const char *, const char *, int)",
777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
779 * Description of Alpha_Assert fix
781 tSCC zAlpha_AssertName[] =
785 * File name selection pattern
787 tSCC zAlpha_AssertList[] =
790 * Machine/OS name selection pattern
792 #define apzAlpha_AssertMachs (const char**)NULL
795 * content selection pattern - do fix if pattern found
797 tSCC zAlpha_AssertSelect0[] =
798 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
800 #define ALPHA_ASSERT_TEST_CT 1
801 static tTestDesc aAlpha_AssertTests[] = {
802 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
805 * Fix Command Arguments for Alpha_Assert
807 static const char* apzAlpha_AssertPatch[] = {
812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
814 * Description of Alpha_Getopt fix
816 tSCC zAlpha_GetoptName[] =
820 * File name selection pattern
822 tSCC zAlpha_GetoptList[] =
823 "|stdio.h|stdlib.h|";
825 * Machine/OS name selection pattern
827 #define apzAlpha_GetoptMachs (const char**)NULL
830 * content selection pattern - do fix if pattern found
832 tSCC zAlpha_GetoptSelect0[] =
833 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
835 #define ALPHA_GETOPT_TEST_CT 1
836 static tTestDesc aAlpha_GetoptTests[] = {
837 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
840 * Fix Command Arguments for Alpha_Getopt
842 static const char* apzAlpha_GetoptPatch[] = {
844 "getopt(int, char *const[], const char *)",
847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
849 * Description of Alpha_Parens fix
851 tSCC zAlpha_ParensName[] =
855 * File name selection pattern
857 tSCC zAlpha_ParensList[] =
860 * Machine/OS name selection pattern
862 #define apzAlpha_ParensMachs (const char**)NULL
865 * content selection pattern - do fix if pattern found
867 tSCC zAlpha_ParensSelect0[] =
868 "#ifndef\\(__mips64\\)";
870 #define ALPHA_PARENS_TEST_CT 1
871 static tTestDesc aAlpha_ParensTests[] = {
872 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
875 * Fix Command Arguments for Alpha_Parens
877 static const char* apzAlpha_ParensPatch[] = {
882 /* * * * * * * * * * * * * * * * * * * * * * * * * *
884 * Description of Alpha_Sbrk fix
886 tSCC zAlpha_SbrkName[] =
890 * File name selection pattern
892 tSCC zAlpha_SbrkList[] =
895 * Machine/OS name selection pattern
897 #define apzAlpha_SbrkMachs (const char**)NULL
900 * content selection pattern - do fix if pattern found
902 tSCC zAlpha_SbrkSelect0[] =
903 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
905 #define ALPHA_SBRK_TEST_CT 1
906 static tTestDesc aAlpha_SbrkTests[] = {
907 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
910 * Fix Command Arguments for Alpha_Sbrk
912 static const char* apzAlpha_SbrkPatch[] = {
917 /* * * * * * * * * * * * * * * * * * * * * * * * * *
919 * Description of Arm_Norcroft_Hint fix
921 tSCC zArm_Norcroft_HintName[] =
925 * File name selection pattern
927 tSCC zArm_Norcroft_HintList[] =
930 * Machine/OS name selection pattern
932 #define apzArm_Norcroft_HintMachs (const char**)NULL
935 * content selection pattern - do fix if pattern found
937 tSCC zArm_Norcroft_HintSelect0[] =
940 #define ARM_NORCROFT_HINT_TEST_CT 1
941 static tTestDesc aArm_Norcroft_HintTests[] = {
942 { TT_EGREP, zArm_Norcroft_HintSelect0, (regex_t*)NULL }, };
945 * Fix Command Arguments for Arm_Norcroft_Hint
947 static const char* apzArm_Norcroft_HintPatch[] = {
952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
954 * Description of Arm_Wchar fix
956 tSCC zArm_WcharName[] =
960 * File name selection pattern
962 tSCC zArm_WcharList[] =
965 * Machine/OS name selection pattern
967 #define apzArm_WcharMachs (const char**)NULL
970 * content selection pattern - do fix if pattern found
972 tSCC zArm_WcharSelect0[] =
973 "#[ \t]*define[ \t]*__wchar_t";
975 #define ARM_WCHAR_TEST_CT 1
976 static tTestDesc aArm_WcharTests[] = {
977 { TT_EGREP, zArm_WcharSelect0, (regex_t*)NULL }, };
980 * Fix Command Arguments for Arm_Wchar
982 static const char* apzArm_WcharPatch[] = {
985 "(#[ \t]*(ifndef|define)[ \t]+)__wchar_t",
988 /* * * * * * * * * * * * * * * * * * * * * * * * * *
990 * Description of Aux_Asm fix
992 tSCC zAux_AsmName[] =
996 * File name selection pattern
998 tSCC zAux_AsmList[] =
1001 * Machine/OS name selection pattern
1003 #define apzAux_AsmMachs (const char**)NULL
1006 * content selection pattern - do fix if pattern found
1008 tSCC zAux_AsmSelect0[] =
1011 #define AUX_ASM_TEST_CT 1
1012 static tTestDesc aAux_AsmTests[] = {
1013 { TT_EGREP, zAux_AsmSelect0, (regex_t*)NULL }, };
1016 * Fix Command Arguments for Aux_Asm
1018 static const char* apzAux_AsmPatch[] = {
1020 "#if !defined(NOINLINE) && !defined(__GNUC__)",
1023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1025 * Description of Avoid_Bool_Define fix
1027 tSCC zAvoid_Bool_DefineName[] =
1028 "avoid_bool_define";
1031 * File name selection pattern
1033 tSCC zAvoid_Bool_DefineList[] =
1034 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1036 * Machine/OS name selection pattern
1038 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1041 * content selection pattern - do fix if pattern found
1043 tSCC zAvoid_Bool_DefineSelect0[] =
1044 "#[ \t]*define[ \t]+bool[ \t]";
1047 * content bypass pattern - skip fix if pattern found
1049 tSCC zAvoid_Bool_DefineBypass0[] =
1050 "we must use the C\\+\\+ compiler's type";
1052 #define AVOID_BOOL_DEFINE_TEST_CT 2
1053 static tTestDesc aAvoid_Bool_DefineTests[] = {
1054 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1055 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1058 * Fix Command Arguments for Avoid_Bool_Define
1060 static const char* apzAvoid_Bool_DefinePatch[] = {
1062 "#ifndef __cplusplus\n\
1065 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1070 * Description of Avoid_Bool_Type fix
1072 tSCC zAvoid_Bool_TypeName[] =
1076 * File name selection pattern
1078 tSCC zAvoid_Bool_TypeList[] =
1079 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1081 * Machine/OS name selection pattern
1083 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1086 * content selection pattern - do fix if pattern found
1088 tSCC zAvoid_Bool_TypeSelect0[] =
1089 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1092 * content bypass pattern - skip fix if pattern found
1094 tSCC zAvoid_Bool_TypeBypass0[] =
1095 "we must use the C\\+\\+ compiler's type";
1097 #define AVOID_BOOL_TYPE_TEST_CT 2
1098 static tTestDesc aAvoid_Bool_TypeTests[] = {
1099 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1100 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1103 * Fix Command Arguments for Avoid_Bool_Type
1105 static const char* apzAvoid_Bool_TypePatch[] = {
1107 "#ifndef __cplusplus\n\
1112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1114 * Description of Avoid_Wchar_T_Type fix
1116 tSCC zAvoid_Wchar_T_TypeName[] =
1117 "avoid_wchar_t_type";
1120 * File name selection pattern
1122 #define zAvoid_Wchar_T_TypeList (char*)NULL
1124 * Machine/OS name selection pattern
1126 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1129 * content selection pattern - do fix if pattern found
1131 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1132 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1134 #define AVOID_WCHAR_T_TYPE_TEST_CT 1
1135 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1136 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1139 * Fix Command Arguments for Avoid_Wchar_T_Type
1141 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1143 "#ifndef __cplusplus\n\
1148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1150 * Description of Bad_Lval fix
1152 tSCC zBad_LvalName[] =
1156 * File name selection pattern
1158 tSCC zBad_LvalList[] =
1159 "|libgen.h|dirent.h|ftw.h|grp.h|ndbm.h|pthread.h|pwd.h|signal.h|standards.h|stdlib.h|string.h|stropts.h|time.h|unistd.h|";
1161 * Machine/OS name selection pattern
1163 #define apzBad_LvalMachs (const char**)NULL
1166 * content selection pattern - do fix if pattern found
1168 tSCC zBad_LvalSelect0[] =
1169 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1171 #define BAD_LVAL_TEST_CT 1
1172 static tTestDesc aBad_LvalTests[] = {
1173 { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
1176 * Fix Command Arguments for Bad_Lval
1178 static const char* apzBad_LvalPatch[] = { "sed",
1179 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1184 * Description of Bad_Struct_Term fix
1186 tSCC zBad_Struct_TermName[] =
1190 * File name selection pattern
1192 tSCC zBad_Struct_TermList[] =
1195 * Machine/OS name selection pattern
1197 #define apzBad_Struct_TermMachs (const char**)NULL
1200 * content selection pattern - do fix if pattern found
1202 tSCC zBad_Struct_TermSelect0[] =
1203 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1205 #define BAD_STRUCT_TERM_TEST_CT 1
1206 static tTestDesc aBad_Struct_TermTests[] = {
1207 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1210 * Fix Command Arguments for Bad_Struct_Term
1212 static const char* apzBad_Struct_TermPatch[] = {
1217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1219 * Description of Badquote fix
1221 tSCC zBadquoteName[] =
1225 * File name selection pattern
1227 tSCC zBadquoteList[] =
1228 "|sundev/vuid_event.h|";
1230 * Machine/OS name selection pattern
1232 #define apzBadquoteMachs (const char**)NULL
1235 * content selection pattern - do fix if pattern found
1237 tSCC zBadquoteSelect0[] =
1240 #define BADQUOTE_TEST_CT 1
1241 static tTestDesc aBadquoteTests[] = {
1242 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1245 * Fix Command Arguments for Badquote
1247 static const char* apzBadquotePatch[] = {
1252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1254 * Description of Broken_Assert_Stdio fix
1256 tSCC zBroken_Assert_StdioName[] =
1257 "broken_assert_stdio";
1260 * File name selection pattern
1262 tSCC zBroken_Assert_StdioList[] =
1265 * Machine/OS name selection pattern
1267 #define apzBroken_Assert_StdioMachs (const char**)NULL
1270 * content selection pattern - do fix if pattern found
1272 tSCC zBroken_Assert_StdioSelect0[] =
1276 * content bypass pattern - skip fix if pattern found
1278 tSCC zBroken_Assert_StdioBypass0[] =
1279 "include.*stdio\\.h";
1281 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1282 static tTestDesc aBroken_Assert_StdioTests[] = {
1283 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1284 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1287 * Fix Command Arguments for Broken_Assert_Stdio
1289 static const char* apzBroken_Assert_StdioPatch[] = {
1291 "#include <stdio.h>\n",
1294 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1296 * Description of Broken_Assert_Stdlib fix
1298 tSCC zBroken_Assert_StdlibName[] =
1299 "broken_assert_stdlib";
1302 * File name selection pattern
1304 tSCC zBroken_Assert_StdlibList[] =
1307 * Machine/OS name selection pattern
1309 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1312 * content selection pattern - do fix if pattern found
1314 tSCC zBroken_Assert_StdlibSelect0[] =
1315 "exit *\\(|abort *\\(";
1318 * content bypass pattern - skip fix if pattern found
1320 tSCC zBroken_Assert_StdlibBypass0[] =
1321 "include.*stdlib\\.h";
1323 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1324 static tTestDesc aBroken_Assert_StdlibTests[] = {
1325 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1326 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1329 * Fix Command Arguments for Broken_Assert_Stdlib
1331 static const char* apzBroken_Assert_StdlibPatch[] = {
1333 "#ifdef __cplusplus\n\
1334 #include <stdlib.h>\n\
1338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1340 * Description of Broken_Cabs fix
1342 tSCC zBroken_CabsName[] =
1346 * File name selection pattern
1348 tSCC zBroken_CabsList[] =
1351 * Machine/OS name selection pattern
1353 #define apzBroken_CabsMachs (const char**)NULL
1356 * content selection pattern - do fix if pattern found
1358 tSCC zBroken_CabsSelect0[] =
1359 "^extern[ \\t]+double[ \\t]+cabs";
1361 #define BROKEN_CABS_TEST_CT 1
1362 static tTestDesc aBroken_CabsTests[] = {
1363 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1366 * Fix Command Arguments for Broken_Cabs
1368 static const char* apzBroken_CabsPatch[] = {
1371 "^extern[ \t]+double[ \t]+cabs\\((struct dbl_hypot|)\\);",
1374 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1376 * Description of Ctrl_Quotes_Def fix
1378 tSCC zCtrl_Quotes_DefName[] =
1382 * File name selection pattern
1384 #define zCtrl_Quotes_DefList (char*)NULL
1386 * Machine/OS name selection pattern
1388 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1391 * content selection pattern - do fix if pattern found
1393 tSCC zCtrl_Quotes_DefSelect0[] =
1394 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1396 #define CTRL_QUOTES_DEF_TEST_CT 1
1397 static tTestDesc aCtrl_Quotes_DefTests[] = {
1398 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1401 * Fix Command Arguments for Ctrl_Quotes_Def
1403 static const char* apzCtrl_Quotes_DefPatch[] = {
1408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1410 * Description of Ctrl_Quotes_Use fix
1412 tSCC zCtrl_Quotes_UseName[] =
1416 * File name selection pattern
1418 #define zCtrl_Quotes_UseList (char*)NULL
1420 * Machine/OS name selection pattern
1422 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1425 * content selection pattern - do fix if pattern found
1427 tSCC zCtrl_Quotes_UseSelect0[] =
1428 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1430 #define CTRL_QUOTES_USE_TEST_CT 1
1431 static tTestDesc aCtrl_Quotes_UseTests[] = {
1432 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1435 * Fix Command Arguments for Ctrl_Quotes_Use
1437 static const char* apzCtrl_Quotes_UsePatch[] = {
1442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1444 * Description of Cxx_Unready fix
1446 tSCC zCxx_UnreadyName[] =
1450 * File name selection pattern
1452 tSCC zCxx_UnreadyList[] =
1453 "|sys/mman.h|rpc/types.h|";
1455 * Machine/OS name selection pattern
1457 #define apzCxx_UnreadyMachs (const char**)NULL
1460 * content selection pattern - do fix if pattern found
1462 tSCC zCxx_UnreadySelect0[] =
1466 * content bypass pattern - skip fix if pattern found
1468 tSCC zCxx_UnreadyBypass0[] =
1469 "\"C\"|__BEGIN_DECLS";
1471 #define CXX_UNREADY_TEST_CT 2
1472 static tTestDesc aCxx_UnreadyTests[] = {
1473 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1474 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1477 * Fix Command Arguments for Cxx_Unready
1479 static const char* apzCxx_UnreadyPatch[] = {
1481 "#ifdef __cplusplus\n\
1484 "#ifdef __cplusplus\n\
1489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1491 * Description of Dec_Intern_Asm fix
1493 tSCC zDec_Intern_AsmName[] =
1497 * File name selection pattern
1499 tSCC zDec_Intern_AsmList[] =
1502 * Machine/OS name selection pattern
1504 #define apzDec_Intern_AsmMachs (const char**)NULL
1505 #define DEC_INTERN_ASM_TEST_CT 0
1506 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1509 * Fix Command Arguments for Dec_Intern_Asm
1511 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1512 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1514 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1520 * Description of Djgpp_Wchar_H fix
1522 tSCC zDjgpp_Wchar_HName[] =
1526 * File name selection pattern
1528 #define zDjgpp_Wchar_HList (char*)NULL
1530 * Machine/OS name selection pattern
1532 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1535 * content selection pattern - do fix if pattern found
1537 tSCC zDjgpp_Wchar_HSelect0[] =
1541 * content bypass pattern - skip fix if pattern found
1543 tSCC zDjgpp_Wchar_HBypass0[] =
1546 #define DJGPP_WCHAR_H_TEST_CT 2
1547 static tTestDesc aDjgpp_Wchar_HTests[] = {
1548 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1549 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1552 * Fix Command Arguments for Djgpp_Wchar_H
1554 static const char* apzDjgpp_Wchar_HPatch[] = {
1557 #include <sys/djtypes.h>",
1558 "#include <stddef.h>",
1561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1563 * Description of Ecd_Cursor fix
1565 tSCC zEcd_CursorName[] =
1569 * File name selection pattern
1571 tSCC zEcd_CursorList[] =
1572 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1574 * Machine/OS name selection pattern
1576 #define apzEcd_CursorMachs (const char**)NULL
1579 * content selection pattern - do fix if pattern found
1581 tSCC zEcd_CursorSelect0[] =
1584 #define ECD_CURSOR_TEST_CT 1
1585 static tTestDesc aEcd_CursorTests[] = {
1586 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1589 * Fix Command Arguments for Ecd_Cursor
1591 static const char* apzEcd_CursorPatch[] = {
1596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1598 * Description of Fix_Header_Breakage fix
1600 tSCC zFix_Header_BreakageName[] =
1601 "fix_header_breakage";
1604 * File name selection pattern
1606 tSCC zFix_Header_BreakageList[] =
1609 * Machine/OS name selection pattern
1611 tSCC* apzFix_Header_BreakageMachs[] = {
1612 "m88k-motorola-sysv3*",
1613 (const char*)NULL };
1616 * content selection pattern - do fix if pattern found
1618 tSCC zFix_Header_BreakageSelect0[] =
1619 "extern double floor\\(\\), ceil\\(\\), fmod\\(\\), fabs\\(\\);";
1621 #define FIX_HEADER_BREAKAGE_TEST_CT 1
1622 static tTestDesc aFix_Header_BreakageTests[] = {
1623 { TT_EGREP, zFix_Header_BreakageSelect0, (regex_t*)NULL }, };
1626 * Fix Command Arguments for Fix_Header_Breakage
1628 static const char* apzFix_Header_BreakagePatch[] = {
1630 "extern double floor(), ceil(), fmod(), fabs _PARAMS((double));",
1633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1635 * Description of Freebsd_Gcc3_Breakage fix
1637 tSCC zFreebsd_Gcc3_BreakageName[] =
1638 "freebsd_gcc3_breakage";
1641 * File name selection pattern
1643 tSCC zFreebsd_Gcc3_BreakageList[] =
1646 * Machine/OS name selection pattern
1648 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
1650 (const char*)NULL };
1653 * content selection pattern - do fix if pattern found
1655 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
1656 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
1659 * content bypass pattern - skip fix if pattern found
1661 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
1662 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
1664 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
1665 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
1666 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
1667 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
1670 * Fix Command Arguments for Freebsd_Gcc3_Breakage
1672 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
1674 "%0 || __GNUC__ >= 3",
1677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1679 * Description of Gnu_Types fix
1681 tSCC zGnu_TypesName[] =
1685 * File name selection pattern
1687 tSCC zGnu_TypesList[] =
1688 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
1690 * Machine/OS name selection pattern
1692 #define apzGnu_TypesMachs (const char**)NULL
1695 * content selection pattern - do fix if pattern found
1697 tSCC zGnu_TypesSelect0[] =
1698 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
1701 * content bypass pattern - skip fix if pattern found
1703 tSCC zGnu_TypesBypass0[] =
1704 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
1706 #define GNU_TYPES_TEST_CT 2
1707 static tTestDesc aGnu_TypesTests[] = {
1708 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
1709 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
1712 * Fix Command Arguments for Gnu_Types
1714 static const char* apzGnu_TypesPatch[] = {
1718 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1720 * Description of Hp_Inline fix
1722 tSCC zHp_InlineName[] =
1726 * File name selection pattern
1728 tSCC zHp_InlineList[] =
1729 "|sys/spinlock.h|machine/machparam.h|";
1731 * Machine/OS name selection pattern
1733 #define apzHp_InlineMachs (const char**)NULL
1736 * content selection pattern - do fix if pattern found
1738 tSCC zHp_InlineSelect0[] =
1739 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1741 #define HP_INLINE_TEST_CT 1
1742 static tTestDesc aHp_InlineTests[] = {
1743 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1746 * Fix Command Arguments for Hp_Inline
1748 static const char* apzHp_InlinePatch[] = {
1751 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1754 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1756 * Description of Hp_Sysfile fix
1758 tSCC zHp_SysfileName[] =
1762 * File name selection pattern
1764 tSCC zHp_SysfileList[] =
1767 * Machine/OS name selection pattern
1769 #define apzHp_SysfileMachs (const char**)NULL
1772 * content selection pattern - do fix if pattern found
1774 tSCC zHp_SysfileSelect0[] =
1777 #define HP_SYSFILE_TEST_CT 1
1778 static tTestDesc aHp_SysfileTests[] = {
1779 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
1782 * Fix Command Arguments for Hp_Sysfile
1784 static const char* apzHp_SysfilePatch[] = {
1786 "(struct file *, ...)",
1790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1792 * Description of Hpux10_Cpp_Pow_Inline fix
1794 tSCC zHpux10_Cpp_Pow_InlineName[] =
1795 "hpux10_cpp_pow_inline";
1798 * File name selection pattern
1800 tSCC zHpux10_Cpp_Pow_InlineList[] =
1801 "|fixinc-test-limits.h|math.h|";
1803 * Machine/OS name selection pattern
1805 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
1808 * content selection pattern - do fix if pattern found
1810 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
1811 "^# +ifdef +__cplusplus\n\
1813 +inline +double +pow\\(double +__d,int +__expon\\) +{\n\
1814 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
1816 +extern +\"C\" +{\n\
1820 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
1821 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
1822 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
1825 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
1827 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
1832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1834 * Description of Hpux11_Cpp_Pow_Inline fix
1836 tSCC zHpux11_Cpp_Pow_InlineName[] =
1837 "hpux11_cpp_pow_inline";
1840 * File name selection pattern
1842 tSCC zHpux11_Cpp_Pow_InlineList[] =
1845 * Machine/OS name selection pattern
1847 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
1850 * content selection pattern - do fix if pattern found
1852 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
1853 " +inline double pow\\(double d,int expon\\) {\n\
1854 +return pow\\(d, \\(double\\)expon\\);\n\
1857 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
1858 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
1859 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
1862 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
1864 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
1869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1871 * Description of Hpux11_Fabsf fix
1873 tSCC zHpux11_FabsfName[] =
1877 * File name selection pattern
1879 tSCC zHpux11_FabsfList[] =
1882 * Machine/OS name selection pattern
1884 #define apzHpux11_FabsfMachs (const char**)NULL
1887 * content selection pattern - do fix if pattern found
1889 tSCC zHpux11_FabsfSelect0[] =
1890 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
1893 * content bypass pattern - skip fix if pattern found
1895 tSCC zHpux11_FabsfBypass0[] =
1898 #define HPUX11_FABSF_TEST_CT 2
1899 static tTestDesc aHpux11_FabsfTests[] = {
1900 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
1901 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
1904 * Fix Command Arguments for Hpux11_Fabsf
1906 static const char* apzHpux11_FabsfPatch[] = {
1908 "#ifndef __cplusplus\n\
1913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1915 * Description of Hpux11_Abs fix
1917 tSCC zHpux11_AbsName[] =
1921 * File name selection pattern
1923 tSCC zHpux11_AbsList[] =
1926 * Machine/OS name selection pattern
1928 tSCC* apzHpux11_AbsMachs[] = {
1930 (const char*)NULL };
1933 * content selection pattern - do fix if pattern found
1935 tSCC zHpux11_AbsSelect0[] =
1936 "ifndef _MATH_INCLUDED";
1938 #define HPUX11_ABS_TEST_CT 1
1939 static tTestDesc aHpux11_AbsTests[] = {
1940 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
1943 * Fix Command Arguments for Hpux11_Abs
1945 static const char* apzHpux11_AbsPatch[] = {
1947 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
1950 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1952 * Description of Hpux11_Size_T fix
1954 tSCC zHpux11_Size_TName[] =
1958 * File name selection pattern
1960 #define zHpux11_Size_TList (char*)NULL
1962 * Machine/OS name selection pattern
1964 tSCC* apzHpux11_Size_TMachs[] = {
1966 (const char*)NULL };
1969 * content selection pattern - do fix if pattern found
1971 tSCC zHpux11_Size_TSelect0[] =
1974 #define HPUX11_SIZE_T_TEST_CT 1
1975 static tTestDesc aHpux11_Size_TTests[] = {
1976 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
1979 * Fix Command Arguments for Hpux11_Size_T
1981 static const char* apzHpux11_Size_TPatch[] = {
1986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1988 * Description of Hpux11_Uint32_C fix
1990 tSCC zHpux11_Uint32_CName[] =
1994 * File name selection pattern
1996 tSCC zHpux11_Uint32_CList[] =
1999 * Machine/OS name selection pattern
2001 #define apzHpux11_Uint32_CMachs (const char**)NULL
2004 * content selection pattern - do fix if pattern found
2006 tSCC zHpux11_Uint32_CSelect0[] =
2007 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2009 #define HPUX11_UINT32_C_TEST_CT 1
2010 static tTestDesc aHpux11_Uint32_CTests[] = {
2011 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2014 * Fix Command Arguments for Hpux11_Uint32_C
2016 static const char* apzHpux11_Uint32_CPatch[] = {
2018 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2023 * Description of Hpux11_Vsnprintf fix
2025 tSCC zHpux11_VsnprintfName[] =
2029 * File name selection pattern
2031 tSCC zHpux11_VsnprintfList[] =
2034 * Machine/OS name selection pattern
2036 #define apzHpux11_VsnprintfMachs (const char**)NULL
2039 * content selection pattern - do fix if pattern found
2041 tSCC zHpux11_VsnprintfSelect0[] =
2042 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2044 #define HPUX11_VSNPRINTF_TEST_CT 1
2045 static tTestDesc aHpux11_VsnprintfTests[] = {
2046 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2049 * Fix Command Arguments for Hpux11_Vsnprintf
2051 static const char* apzHpux11_VsnprintfPatch[] = {
2056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2058 * Description of Hpux8_Bogus_Inlines fix
2060 tSCC zHpux8_Bogus_InlinesName[] =
2061 "hpux8_bogus_inlines";
2064 * File name selection pattern
2066 tSCC zHpux8_Bogus_InlinesList[] =
2069 * Machine/OS name selection pattern
2071 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2074 * content selection pattern - do fix if pattern found
2076 tSCC zHpux8_Bogus_InlinesSelect0[] =
2079 #define HPUX8_BOGUS_INLINES_TEST_CT 1
2080 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2081 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2084 * Fix Command Arguments for Hpux8_Bogus_Inlines
2086 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2087 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2088 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2089 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2090 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2095 * Description of Hpux_Maxint fix
2097 tSCC zHpux_MaxintName[] =
2101 * File name selection pattern
2103 tSCC zHpux_MaxintList[] =
2104 "|sys/param.h|values.h|";
2106 * Machine/OS name selection pattern
2108 #define apzHpux_MaxintMachs (const char**)NULL
2111 * content selection pattern - do fix if pattern found
2113 tSCC zHpux_MaxintSelect0[] =
2114 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2117 * content bypass pattern - skip fix if pattern found
2119 tSCC zHpux_MaxintBypass0[] =
2120 "^#[ \t]*ifndef[ \t]+MAXINT";
2123 * perform the 'test' shell command - do fix on success
2125 tSCC zHpux_MaxintTest0[] =
2126 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2128 #define HPUX_MAXINT_TEST_CT 3
2129 static tTestDesc aHpux_MaxintTests[] = {
2130 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2131 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2132 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2135 * Fix Command Arguments for Hpux_Maxint
2137 static const char* apzHpux_MaxintPatch[] = {
2142 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2147 * Description of Hpux_Systime fix
2149 tSCC zHpux_SystimeName[] =
2153 * File name selection pattern
2155 tSCC zHpux_SystimeList[] =
2158 * Machine/OS name selection pattern
2160 #define apzHpux_SystimeMachs (const char**)NULL
2163 * content selection pattern - do fix if pattern found
2165 tSCC zHpux_SystimeSelect0[] =
2166 "^extern struct sigevent;";
2168 #define HPUX_SYSTIME_TEST_CT 1
2169 static tTestDesc aHpux_SystimeTests[] = {
2170 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2173 * Fix Command Arguments for Hpux_Systime
2175 static const char* apzHpux_SystimePatch[] = {
2180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2182 * Description of Int_Abort_Free_And_Exit fix
2184 tSCC zInt_Abort_Free_And_ExitName[] =
2185 "int_abort_free_and_exit";
2188 * File name selection pattern
2190 tSCC zInt_Abort_Free_And_ExitList[] =
2193 * Machine/OS name selection pattern
2195 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2198 * content selection pattern - do fix if pattern found
2200 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2201 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2203 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2204 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2205 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2208 * Fix Command Arguments for Int_Abort_Free_And_Exit
2210 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2217 * Description of Io_Quotes_Def fix
2219 tSCC zIo_Quotes_DefName[] =
2223 * File name selection pattern
2225 #define zIo_Quotes_DefList (char*)NULL
2227 * Machine/OS name selection pattern
2229 #define apzIo_Quotes_DefMachs (const char**)NULL
2232 * content selection pattern - do fix if pattern found
2234 tSCC zIo_Quotes_DefSelect0[] =
2235 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2237 #define IO_QUOTES_DEF_TEST_CT 1
2238 static tTestDesc aIo_Quotes_DefTests[] = {
2239 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2242 * Fix Command Arguments for Io_Quotes_Def
2244 static const char* apzIo_Quotes_DefPatch[] = {
2249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2251 * Description of Io_Quotes_Use fix
2253 tSCC zIo_Quotes_UseName[] =
2257 * File name selection pattern
2259 #define zIo_Quotes_UseList (char*)NULL
2261 * Machine/OS name selection pattern
2263 #define apzIo_Quotes_UseMachs (const char**)NULL
2266 * content selection pattern - do fix if pattern found
2268 tSCC zIo_Quotes_UseSelect0[] =
2269 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2271 #define IO_QUOTES_USE_TEST_CT 1
2272 static tTestDesc aIo_Quotes_UseTests[] = {
2273 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2276 * Fix Command Arguments for Io_Quotes_Use
2278 static const char* apzIo_Quotes_UsePatch[] = {
2283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2285 * Description of Ip_Missing_Semi fix
2287 tSCC zIp_Missing_SemiName[] =
2291 * File name selection pattern
2293 tSCC zIp_Missing_SemiList[] =
2296 * Machine/OS name selection pattern
2298 #define apzIp_Missing_SemiMachs (const char**)NULL
2301 * content selection pattern - do fix if pattern found
2303 tSCC zIp_Missing_SemiSelect0[] =
2306 #define IP_MISSING_SEMI_TEST_CT 1
2307 static tTestDesc aIp_Missing_SemiTests[] = {
2308 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2311 * Fix Command Arguments for Ip_Missing_Semi
2313 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2314 "-e", "/^struct/,/^};/s/}$/};/",
2317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2319 * Description of Irix_Asm_Apostrophe fix
2321 tSCC zIrix_Asm_ApostropheName[] =
2322 "irix_asm_apostrophe";
2325 * File name selection pattern
2327 tSCC zIrix_Asm_ApostropheList[] =
2330 * Machine/OS name selection pattern
2332 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2335 * content selection pattern - do fix if pattern found
2337 tSCC zIrix_Asm_ApostropheSelect0[] =
2338 "^[ \t]*#.*[Ww]e're";
2340 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2341 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2342 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2345 * Fix Command Arguments for Irix_Asm_Apostrophe
2347 static const char* apzIrix_Asm_ApostrophePatch[] = {
2350 "^([ \t]*#.*[Ww]e)'re",
2353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2355 * Description of Irix_Limits_Const fix
2357 tSCC zIrix_Limits_ConstName[] =
2358 "irix_limits_const";
2361 * File name selection pattern
2363 tSCC zIrix_Limits_ConstList[] =
2364 "|fixinc-test-limits.h|limits.h|";
2366 * Machine/OS name selection pattern
2368 #define apzIrix_Limits_ConstMachs (const char**)NULL
2371 * content selection pattern - do fix if pattern found
2373 tSCC zIrix_Limits_ConstSelect0[] =
2376 #define IRIX_LIMITS_CONST_TEST_CT 1
2377 static tTestDesc aIrix_Limits_ConstTests[] = {
2378 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
2381 * Fix Command Arguments for Irix_Limits_Const
2383 static const char* apzIrix_Limits_ConstPatch[] = {
2388 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2390 * Description of Irix_Stdio_Va_List fix
2392 tSCC zIrix_Stdio_Va_ListName[] =
2393 "irix_stdio_va_list";
2396 * File name selection pattern
2398 tSCC zIrix_Stdio_Va_ListList[] =
2401 * Machine/OS name selection pattern
2403 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
2406 * content selection pattern - do fix if pattern found
2408 tSCC zIrix_Stdio_Va_ListSelect0[] =
2409 "(printf\\(.*), /\\* va_list \\*/ char \\*";
2411 #define IRIX_STDIO_VA_LIST_TEST_CT 1
2412 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
2413 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
2416 * Fix Command Arguments for Irix_Stdio_Va_List
2418 static const char* apzIrix_Stdio_Va_ListPatch[] = {
2420 "%1, __gnuc_va_list",
2423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2425 * Description of Isc_Fmod fix
2427 tSCC zIsc_FmodName[] =
2431 * File name selection pattern
2433 tSCC zIsc_FmodList[] =
2436 * Machine/OS name selection pattern
2438 #define apzIsc_FmodMachs (const char**)NULL
2441 * content selection pattern - do fix if pattern found
2443 tSCC zIsc_FmodSelect0[] =
2446 #define ISC_FMOD_TEST_CT 1
2447 static tTestDesc aIsc_FmodTests[] = {
2448 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
2451 * Fix Command Arguments for Isc_Fmod
2453 static const char* apzIsc_FmodPatch[] = {
2455 "fmod(double, double)",
2458 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2460 * Description of Isc_Omits_With_Stdc fix
2462 tSCC zIsc_Omits_With_StdcName[] =
2463 "isc_omits_with_stdc";
2466 * File name selection pattern
2468 tSCC zIsc_Omits_With_StdcList[] =
2469 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
2471 * Machine/OS name selection pattern
2473 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
2476 * content selection pattern - do fix if pattern found
2478 tSCC zIsc_Omits_With_StdcSelect0[] =
2479 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
2481 #define ISC_OMITS_WITH_STDC_TEST_CT 1
2482 static tTestDesc aIsc_Omits_With_StdcTests[] = {
2483 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
2486 * Fix Command Arguments for Isc_Omits_With_Stdc
2488 static const char* apzIsc_Omits_With_StdcPatch[] = {
2490 "!defined(_POSIX_SOURCE)",
2493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2495 * Description of Kandr_Concat fix
2497 tSCC zKandr_ConcatName[] =
2501 * File name selection pattern
2503 tSCC zKandr_ConcatList[] =
2504 "|sparc/asm_linkage.h|sun3/asm_linkage.h|sun3x/asm_linkage.h|sun4/asm_linkage.h|sun4c/asm_linkage.h|sun4m/asm_linkage.h|sun4c/debug/asm_linkage.h|sun4m/debug/asm_linkage.h|arm/as_support.h|arm/mc_type.h|arm/xcb.h|dev/chardefmac.h|dev/ps_irq.h|dev/screen.h|dev/scsi.h|sys/tty.h|Xm.acorn/XmP.h|bsd43/bsd43_.h|";
2506 * Machine/OS name selection pattern
2508 #define apzKandr_ConcatMachs (const char**)NULL
2511 * content selection pattern - do fix if pattern found
2513 tSCC zKandr_ConcatSelect0[] =
2516 #define KANDR_CONCAT_TEST_CT 1
2517 static tTestDesc aKandr_ConcatTests[] = {
2518 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
2521 * Fix Command Arguments for Kandr_Concat
2523 static const char* apzKandr_ConcatPatch[] = {
2528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2530 * Description of Libc1_Ifdefd_Memx fix
2532 tSCC zLibc1_Ifdefd_MemxName[] =
2533 "libc1_ifdefd_memx";
2536 * File name selection pattern
2538 tSCC zLibc1_Ifdefd_MemxList[] =
2539 "|testing.h|string.h|";
2541 * Machine/OS name selection pattern
2543 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
2546 * content selection pattern - do fix if pattern found
2548 tSCC zLibc1_Ifdefd_MemxSelect0[] =
2549 "' is a built-in function for gcc 2\\.x\\. \\*/";
2552 * content bypass pattern - skip fix if pattern found
2554 tSCC zLibc1_Ifdefd_MemxBypass0[] =
2557 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
2558 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
2559 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
2560 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
2563 * Fix Command Arguments for Libc1_Ifdefd_Memx
2565 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
2568 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
2569 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
2571 extern [a-z_]+ mem.*(\n\
2576 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2578 * Description of Libc1_G_Va_List fix
2580 tSCC zLibc1_G_Va_ListName[] =
2584 * File name selection pattern
2586 tSCC zLibc1_G_Va_ListList[] =
2589 * Machine/OS name selection pattern
2591 tSCC* apzLibc1_G_Va_ListMachs[] = {
2593 (const char*)NULL };
2596 * content selection pattern - do fix if pattern found
2598 tSCC zLibc1_G_Va_ListSelect0[] =
2599 "typedef void \\* _G_va_list;";
2601 #define LIBC1_G_VA_LIST_TEST_CT 1
2602 static tTestDesc aLibc1_G_Va_ListTests[] = {
2603 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
2606 * Fix Command Arguments for Libc1_G_Va_List
2608 static const char* apzLibc1_G_Va_ListPatch[] = {
2610 "typedef __builtin_va_list _G_va_list;",
2613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2615 * Description of Limits_Ifndefs fix
2617 tSCC zLimits_IfndefsName[] =
2621 * File name selection pattern
2623 tSCC zLimits_IfndefsList[] =
2624 "|sys/limits.h|limits.h|";
2626 * Machine/OS name selection pattern
2628 #define apzLimits_IfndefsMachs (const char**)NULL
2631 * content bypass pattern - skip fix if pattern found
2633 tSCC zLimits_IfndefsBypass0[] =
2634 "ifndef[ \t]+FLT_MIN";
2636 #define LIMITS_IFNDEFS_TEST_CT 1
2637 static tTestDesc aLimits_IfndefsTests[] = {
2638 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL }, };
2641 * Fix Command Arguments for Limits_Ifndefs
2643 static const char* apzLimits_IfndefsPatch[] = {
2648 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*",
2651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2653 * Description of Lynx_Void_Int fix
2655 tSCC zLynx_Void_IntName[] =
2659 * File name selection pattern
2661 tSCC zLynx_Void_IntList[] =
2664 * Machine/OS name selection pattern
2666 #define apzLynx_Void_IntMachs (const char**)NULL
2669 * content selection pattern - do fix if pattern found
2671 tSCC zLynx_Void_IntSelect0[] =
2672 "#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
2674 #define LYNX_VOID_INT_TEST_CT 1
2675 static tTestDesc aLynx_Void_IntTests[] = {
2676 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
2679 * Fix Command Arguments for Lynx_Void_Int
2681 static const char* apzLynx_Void_IntPatch[] = {
2686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2688 * Description of Lynxos_Fcntl_Proto fix
2690 tSCC zLynxos_Fcntl_ProtoName[] =
2691 "lynxos_fcntl_proto";
2694 * File name selection pattern
2696 tSCC zLynxos_Fcntl_ProtoList[] =
2699 * Machine/OS name selection pattern
2701 #define apzLynxos_Fcntl_ProtoMachs (const char**)NULL
2704 * content selection pattern - do fix if pattern found
2706 tSCC zLynxos_Fcntl_ProtoSelect0[] =
2707 "fcntl[ \t]*\\(int, int, int\\)";
2709 #define LYNXOS_FCNTL_PROTO_TEST_CT 1
2710 static tTestDesc aLynxos_Fcntl_ProtoTests[] = {
2711 { TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
2714 * Fix Command Arguments for Lynxos_Fcntl_Proto
2716 static const char* apzLynxos_Fcntl_ProtoPatch[] = {
2719 "(fcntl[ \t]*\\(int, int, )int\\)",
2722 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2724 * Description of M88k_Bad_Hypot_Opt fix
2726 tSCC zM88k_Bad_Hypot_OptName[] =
2727 "m88k_bad_hypot_opt";
2730 * File name selection pattern
2732 tSCC zM88k_Bad_Hypot_OptList[] =
2735 * Machine/OS name selection pattern
2737 tSCC* apzM88k_Bad_Hypot_OptMachs[] = {
2738 "m88k-motorola-sysv3*",
2739 (const char*)NULL };
2742 * content selection pattern - do fix if pattern found
2744 tSCC zM88k_Bad_Hypot_OptSelect0[] =
2745 "^extern double hypot\\(\\);\n";
2747 #define M88K_BAD_HYPOT_OPT_TEST_CT 1
2748 static tTestDesc aM88k_Bad_Hypot_OptTests[] = {
2749 { TT_EGREP, zM88k_Bad_Hypot_OptSelect0, (regex_t*)NULL }, };
2752 * Fix Command Arguments for M88k_Bad_Hypot_Opt
2754 static const char* apzM88k_Bad_Hypot_OptPatch[] = {
2756 "%0/* Workaround a stupid Motorola optimization if one\n\
2757 of x or y is 0.0 and the other is negative! */\n\
2759 static __inline__ double fake_hypot (double x, double y)\n\
2761 static __inline__ double fake_hypot (x, y)\n\
2765 \treturn fabs (hypot (x, y));\n\
2767 #define hypot\tfake_hypot\n",
2770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2772 * Description of M88k_Bad_S_If fix
2774 tSCC zM88k_Bad_S_IfName[] =
2778 * File name selection pattern
2780 tSCC zM88k_Bad_S_IfList[] =
2783 * Machine/OS name selection pattern
2785 tSCC* apzM88k_Bad_S_IfMachs[] = {
2787 (const char*)NULL };
2790 * content selection pattern - do fix if pattern found
2792 tSCC zM88k_Bad_S_IfSelect0[] =
2793 "#define[ \t]+S_IS[A-Z]+\\(m\\)[ \t]+\\(m[ \t]*&";
2795 #define M88K_BAD_S_IF_TEST_CT 1
2796 static tTestDesc aM88k_Bad_S_IfTests[] = {
2797 { TT_EGREP, zM88k_Bad_S_IfSelect0, (regex_t*)NULL }, };
2800 * Fix Command Arguments for M88k_Bad_S_If
2802 static const char* apzM88k_Bad_S_IfPatch[] = {
2804 "#define %1(m) (((m) & S_IFMT) == %2)",
2805 "#define[ \t]+(S_IS[A-Z]+)\\(m\\)[ \t]+\\(m[ \t]*&[ \t]*(S_IF[A-Z][A-Z][A-Z]+|0[0-9]+)[ \t]*\\)",
2808 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2810 * Description of M88k_Multi_Incl fix
2812 tSCC zM88k_Multi_InclName[] =
2816 * File name selection pattern
2818 tSCC zM88k_Multi_InclList[] =
2821 * Machine/OS name selection pattern
2823 tSCC* apzM88k_Multi_InclMachs[] = {
2824 "m88k-tektronix-sysv3*",
2825 (const char*)NULL };
2828 * content bypass pattern - skip fix if pattern found
2830 tSCC zM88k_Multi_InclBypass0[] =
2833 #define M88K_MULTI_INCL_TEST_CT 1
2834 static tTestDesc aM88k_Multi_InclTests[] = {
2835 { TT_NEGREP, zM88k_Multi_InclBypass0, (regex_t*)NULL }, };
2838 * Fix Command Arguments for M88k_Multi_Incl
2840 static const char* apzM88k_Multi_InclPatch[] = {
2844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2846 * Description of Machine_Ansi_H_Va_List fix
2848 tSCC zMachine_Ansi_H_Va_ListName[] =
2849 "machine_ansi_h_va_list";
2852 * File name selection pattern
2854 #define zMachine_Ansi_H_Va_ListList (char*)NULL
2856 * Machine/OS name selection pattern
2858 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
2861 * content selection pattern - do fix if pattern found
2863 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
2864 "define[ \t]+_BSD_VA_LIST_[ \t]";
2867 * content bypass pattern - skip fix if pattern found
2869 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
2870 "__builtin_va_list";
2872 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
2873 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
2874 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
2875 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
2878 * Fix Command Arguments for Machine_Ansi_H_Va_List
2880 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
2882 "%1__builtin_va_list",
2883 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
2886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2888 * Description of Machine_Name fix
2890 tSCC zMachine_NameName[] =
2894 * File name selection pattern
2896 #define zMachine_NameList (char*)NULL
2898 * Machine/OS name selection pattern
2900 #define apzMachine_NameMachs (const char**)NULL
2903 * perform the C function call test
2905 tSCC zMachine_NameFTst0[] = "machine_name";
2907 #define MACHINE_NAME_TEST_CT 1
2908 static tTestDesc aMachine_NameTests[] = {
2909 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
2912 * Fix Command Arguments for Machine_Name
2914 static const char* apzMachine_NamePatch[] = {
2918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2920 * Description of Math_Exception fix
2922 tSCC zMath_ExceptionName[] =
2926 * File name selection pattern
2928 tSCC zMath_ExceptionList[] =
2931 * Machine/OS name selection pattern
2933 #define apzMath_ExceptionMachs (const char**)NULL
2936 * content selection pattern - do fix if pattern found
2938 tSCC zMath_ExceptionSelect0[] =
2942 * content bypass pattern - skip fix if pattern found
2944 tSCC zMath_ExceptionBypass0[] =
2945 "We have a problem when using C\\+\\+";
2947 #define MATH_EXCEPTION_TEST_CT 2
2948 static tTestDesc aMath_ExceptionTests[] = {
2949 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
2950 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
2953 * Fix Command Arguments for Math_Exception
2955 static const char* apzMath_ExceptionPatch[] = {
2957 "#ifdef __cplusplus\n\
2958 #define exception __math_exception\n\
2960 "#ifdef __cplusplus\n\
2965 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2967 * Description of Math_Huge_Val_From_Dbl_Max fix
2969 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
2970 "math_huge_val_from_dbl_max";
2973 * File name selection pattern
2975 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
2978 * Machine/OS name selection pattern
2980 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
2983 * content selection pattern - do fix if pattern found
2985 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
2986 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
2989 * content bypass pattern - skip fix if pattern found
2991 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
2992 "define[ \t]+DBL_MAX";
2994 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
2995 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
2996 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
2997 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
3000 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
3002 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
3003 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
3004 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
3005 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
3010 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3012 * Description of Math_Huge_Val_Ifndef fix
3014 tSCC zMath_Huge_Val_IfndefName[] =
3015 "math_huge_val_ifndef";
3018 * File name selection pattern
3020 tSCC zMath_Huge_Val_IfndefList[] =
3021 "|math.h|math/math.h|";
3023 * Machine/OS name selection pattern
3025 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
3028 * content selection pattern - do fix if pattern found
3030 tSCC zMath_Huge_Val_IfndefSelect0[] =
3031 "define[ \t]+HUGE_VAL";
3033 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
3034 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
3035 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
3038 * Fix Command Arguments for Math_Huge_Val_Ifndef
3040 static const char* apzMath_Huge_Val_IfndefPatch[] = {
3042 "#ifndef HUGE_VAL\n\
3045 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
3048 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3050 * Description of Nested_Auth_Des fix
3052 tSCC zNested_Auth_DesName[] =
3056 * File name selection pattern
3058 tSCC zNested_Auth_DesList[] =
3061 * Machine/OS name selection pattern
3063 #define apzNested_Auth_DesMachs (const char**)NULL
3066 * content selection pattern - do fix if pattern found
3068 tSCC zNested_Auth_DesSelect0[] =
3069 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3071 #define NESTED_AUTH_DES_TEST_CT 1
3072 static tTestDesc aNested_Auth_DesTests[] = {
3073 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3076 * Fix Command Arguments for Nested_Auth_Des
3078 static const char* apzNested_Auth_DesPatch[] = {
3083 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3085 * Description of Nested_Motorola fix
3087 tSCC zNested_MotorolaName[] =
3091 * File name selection pattern
3093 tSCC zNested_MotorolaList[] =
3094 "|sys/limits.h|limits.h|";
3096 * Machine/OS name selection pattern
3098 tSCC* apzNested_MotorolaMachs[] = {
3099 "m68k-motorola-sysv*",
3100 (const char*)NULL };
3103 * content selection pattern - do fix if pattern found
3105 tSCC zNested_MotorolaSelect0[] =
3106 "max # bytes atomic in write|error value returned by Math lib";
3108 #define NESTED_MOTOROLA_TEST_CT 1
3109 static tTestDesc aNested_MotorolaTests[] = {
3110 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3113 * Fix Command Arguments for Nested_Motorola
3115 static const char* apzNested_MotorolaPatch[] = { "sed",
3116 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3117 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3120 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3122 * Description of Nested_Sys_Limits fix
3124 tSCC zNested_Sys_LimitsName[] =
3125 "nested_sys_limits";
3128 * File name selection pattern
3130 tSCC zNested_Sys_LimitsList[] =
3133 * Machine/OS name selection pattern
3135 #define apzNested_Sys_LimitsMachs (const char**)NULL
3138 * content selection pattern - do fix if pattern found
3140 tSCC zNested_Sys_LimitsSelect0[] =
3143 #define NESTED_SYS_LIMITS_TEST_CT 1
3144 static tTestDesc aNested_Sys_LimitsTests[] = {
3145 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3148 * Fix Command Arguments for Nested_Sys_Limits
3150 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3151 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3152 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3157 * Description of News_Os_Recursion fix
3159 tSCC zNews_Os_RecursionName[] =
3160 "news_os_recursion";
3163 * File name selection pattern
3165 tSCC zNews_Os_RecursionList[] =
3168 * Machine/OS name selection pattern
3170 #define apzNews_Os_RecursionMachs (const char**)NULL
3173 * content selection pattern - do fix if pattern found
3175 tSCC zNews_Os_RecursionSelect0[] =
3176 "[ \t]*#include <stdlib\\.h>.*";
3178 #define NEWS_OS_RECURSION_TEST_CT 1
3179 static tTestDesc aNews_Os_RecursionTests[] = {
3180 { TT_EGREP, zNews_Os_RecursionSelect0, (regex_t*)NULL }, };
3183 * Fix Command Arguments for News_Os_Recursion
3185 static const char* apzNews_Os_RecursionPatch[] = {
3187 "#ifdef BOGUS_RECURSION\n\
3192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3194 * Description of Next_Math_Prefix fix
3196 tSCC zNext_Math_PrefixName[] =
3200 * File name selection pattern
3202 tSCC zNext_Math_PrefixList[] =
3205 * Machine/OS name selection pattern
3207 #define apzNext_Math_PrefixMachs (const char**)NULL
3210 * content selection pattern - do fix if pattern found
3212 tSCC zNext_Math_PrefixSelect0[] =
3213 "^extern[ \t]+double[ \t]+__const__[ \t]";
3215 #define NEXT_MATH_PREFIX_TEST_CT 1
3216 static tTestDesc aNext_Math_PrefixTests[] = {
3217 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3220 * Fix Command Arguments for Next_Math_Prefix
3222 static const char* apzNext_Math_PrefixPatch[] = {
3224 "extern double %1(",
3225 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3230 * Description of Next_Template fix
3232 tSCC zNext_TemplateName[] =
3236 * File name selection pattern
3238 tSCC zNext_TemplateList[] =
3241 * Machine/OS name selection pattern
3243 #define apzNext_TemplateMachs (const char**)NULL
3246 * content selection pattern - do fix if pattern found
3248 tSCC zNext_TemplateSelect0[] =
3251 #define NEXT_TEMPLATE_TEST_CT 1
3252 static tTestDesc aNext_TemplateTests[] = {
3253 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3256 * Fix Command Arguments for Next_Template
3258 static const char* apzNext_TemplatePatch[] = {
3261 "\\(([^)]*)[ \t]template\\)",
3264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3266 * Description of Next_Volitile fix
3268 tSCC zNext_VolitileName[] =
3272 * File name selection pattern
3274 tSCC zNext_VolitileList[] =
3277 * Machine/OS name selection pattern
3279 #define apzNext_VolitileMachs (const char**)NULL
3282 * content selection pattern - do fix if pattern found
3284 tSCC zNext_VolitileSelect0[] =
3285 "^extern[ \t]+volatile[ \t]+void[ \t]";
3287 #define NEXT_VOLITILE_TEST_CT 1
3288 static tTestDesc aNext_VolitileTests[] = {
3289 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3292 * Fix Command Arguments for Next_Volitile
3294 static const char* apzNext_VolitilePatch[] = {
3297 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3300 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3302 * Description of Next_Wait_Union fix
3304 tSCC zNext_Wait_UnionName[] =
3308 * File name selection pattern
3310 tSCC zNext_Wait_UnionList[] =
3313 * Machine/OS name selection pattern
3315 #define apzNext_Wait_UnionMachs (const char**)NULL
3318 * content selection pattern - do fix if pattern found
3320 tSCC zNext_Wait_UnionSelect0[] =
3321 "wait\\(union wait";
3323 #define NEXT_WAIT_UNION_TEST_CT 1
3324 static tTestDesc aNext_Wait_UnionTests[] = {
3325 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3328 * Fix Command Arguments for Next_Wait_Union
3330 static const char* apzNext_Wait_UnionPatch[] = {
3335 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3337 * Description of Nodeent_Syntax fix
3339 tSCC zNodeent_SyntaxName[] =
3343 * File name selection pattern
3345 tSCC zNodeent_SyntaxList[] =
3346 "|netdnet/dnetdb.h|";
3348 * Machine/OS name selection pattern
3350 #define apzNodeent_SyntaxMachs (const char**)NULL
3353 * content selection pattern - do fix if pattern found
3355 tSCC zNodeent_SyntaxSelect0[] =
3356 "char[ \t]*\\*na_addr[ \t]*$";
3358 #define NODEENT_SYNTAX_TEST_CT 1
3359 static tTestDesc aNodeent_SyntaxTests[] = {
3360 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3363 * Fix Command Arguments for Nodeent_Syntax
3365 static const char* apzNodeent_SyntaxPatch[] = {
3370 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3372 * Description of Osf_Namespace_A fix
3374 tSCC zOsf_Namespace_AName[] =
3378 * File name selection pattern
3380 tSCC zOsf_Namespace_AList[] =
3381 "|reg_types.h|sys/lc_core.h|";
3383 * Machine/OS name selection pattern
3385 #define apzOsf_Namespace_AMachs (const char**)NULL
3388 * perform the 'test' shell command - do fix on success
3390 tSCC zOsf_Namespace_ATest0[] =
3392 tSCC zOsf_Namespace_ATest1[] =
3393 " -r sys/lc_core.h";
3394 tSCC zOsf_Namespace_ATest2[] =
3395 " -n \"`grep '} regex_t;' reg_types.h`\"";
3396 tSCC zOsf_Namespace_ATest3[] =
3397 " -z \"`grep __regex_t regex.h`\"";
3399 #define OSF_NAMESPACE_A_TEST_CT 4
3400 static tTestDesc aOsf_Namespace_ATests[] = {
3401 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
3402 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
3403 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
3404 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
3407 * Fix Command Arguments for Osf_Namespace_A
3409 static const char* apzOsf_Namespace_APatch[] = {
3412 "reg(ex|off|match)_t",
3415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3417 * Description of Osf_Namespace_C fix
3419 tSCC zOsf_Namespace_CName[] =
3423 * File name selection pattern
3425 tSCC zOsf_Namespace_CList[] =
3428 * Machine/OS name selection pattern
3430 #define apzOsf_Namespace_CMachs (const char**)NULL
3433 * content selection pattern - do fix if pattern found
3435 tSCC zOsf_Namespace_CSelect0[] =
3436 "#include <reg_types.h>.*";
3439 * perform the 'test' shell command - do fix on success
3441 tSCC zOsf_Namespace_CTest0[] =
3443 tSCC zOsf_Namespace_CTest1[] =
3444 " -r sys/lc_core.h";
3445 tSCC zOsf_Namespace_CTest2[] =
3446 " -n \"`grep '} regex_t;' reg_types.h`\"";
3447 tSCC zOsf_Namespace_CTest3[] =
3448 " -z \"`grep __regex_t regex.h`\"";
3450 #define OSF_NAMESPACE_C_TEST_CT 5
3451 static tTestDesc aOsf_Namespace_CTests[] = {
3452 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
3453 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
3454 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
3455 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
3456 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
3459 * Fix Command Arguments for Osf_Namespace_C
3461 static const char* apzOsf_Namespace_CPatch[] = {
3464 typedef __regex_t\tregex_t;\n\
3465 typedef __regoff_t\tregoff_t;\n\
3466 typedef __regmatch_t\tregmatch_t;",
3469 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3471 * Description of Pthread_Page_Size fix
3473 tSCC zPthread_Page_SizeName[] =
3474 "pthread_page_size";
3477 * File name selection pattern
3479 tSCC zPthread_Page_SizeList[] =
3482 * Machine/OS name selection pattern
3484 #define apzPthread_Page_SizeMachs (const char**)NULL
3487 * content selection pattern - do fix if pattern found
3489 tSCC zPthread_Page_SizeSelect0[] =
3492 #define PTHREAD_PAGE_SIZE_TEST_CT 1
3493 static tTestDesc aPthread_Page_SizeTests[] = {
3494 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
3497 * Fix Command Arguments for Pthread_Page_Size
3499 static const char* apzPthread_Page_SizePatch[] = {
3504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3506 * Description of Read_Ret_Type fix
3508 tSCC zRead_Ret_TypeName[] =
3512 * File name selection pattern
3514 tSCC zRead_Ret_TypeList[] =
3517 * Machine/OS name selection pattern
3519 #define apzRead_Ret_TypeMachs (const char**)NULL
3522 * content selection pattern - do fix if pattern found
3524 tSCC zRead_Ret_TypeSelect0[] =
3525 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
3527 #define READ_RET_TYPE_TEST_CT 1
3528 static tTestDesc aRead_Ret_TypeTests[] = {
3529 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
3532 * Fix Command Arguments for Read_Ret_Type
3534 static const char* apzRead_Ret_TypePatch[] = {
3536 "extern unsigned int fread(), fwrite();\n\
3538 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
3541 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3543 * Description of Rs6000_Double fix
3545 tSCC zRs6000_DoubleName[] =
3549 * File name selection pattern
3551 tSCC zRs6000_DoubleList[] =
3554 * Machine/OS name selection pattern
3556 #define apzRs6000_DoubleMachs (const char**)NULL
3559 * content selection pattern - do fix if pattern found
3561 tSCC zRs6000_DoubleSelect0[] =
3562 "[^a-zA-Z_]class\\(";
3564 #define RS6000_DOUBLE_TEST_CT 1
3565 static tTestDesc aRs6000_DoubleTests[] = {
3566 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
3569 * Fix Command Arguments for Rs6000_Double
3571 static const char* apzRs6000_DoublePatch[] = {
3573 "#ifndef __cplusplus\n\
3576 "^.*[^a-zA-Z_]class\\(.*",
3579 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3581 * Description of Rs6000_Fchmod fix
3583 tSCC zRs6000_FchmodName[] =
3587 * File name selection pattern
3589 tSCC zRs6000_FchmodList[] =
3592 * Machine/OS name selection pattern
3594 #define apzRs6000_FchmodMachs (const char**)NULL
3597 * content selection pattern - do fix if pattern found
3599 tSCC zRs6000_FchmodSelect0[] =
3600 "fchmod\\(char \\*";
3602 #define RS6000_FCHMOD_TEST_CT 1
3603 static tTestDesc aRs6000_FchmodTests[] = {
3604 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
3607 * Fix Command Arguments for Rs6000_Fchmod
3609 static const char* apzRs6000_FchmodPatch[] = {
3614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3616 * Description of Rs6000_Param fix
3618 tSCC zRs6000_ParamName[] =
3622 * File name selection pattern
3624 tSCC zRs6000_ParamList[] =
3625 "|stdio.h|unistd.h|";
3627 * Machine/OS name selection pattern
3629 #define apzRs6000_ParamMachs (const char**)NULL
3632 * content selection pattern - do fix if pattern found
3634 tSCC zRs6000_ParamSelect0[] =
3635 "rename\\(const char \\*old, const char \\*new\\)";
3637 #define RS6000_PARAM_TEST_CT 1
3638 static tTestDesc aRs6000_ParamTests[] = {
3639 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
3642 * Fix Command Arguments for Rs6000_Param
3644 static const char* apzRs6000_ParamPatch[] = {
3646 "rename(const char *_old, const char *_new)",
3649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3651 * Description of Sco_Static_Func fix
3653 tSCC zSco_Static_FuncName[] =
3657 * File name selection pattern
3659 tSCC zSco_Static_FuncList[] =
3662 * Machine/OS name selection pattern
3664 tSCC* apzSco_Static_FuncMachs[] = {
3666 (const char*)NULL };
3669 * content selection pattern - do fix if pattern found
3671 tSCC zSco_Static_FuncSelect0[] =
3674 #define SCO_STATIC_FUNC_TEST_CT 1
3675 static tTestDesc aSco_Static_FuncTests[] = {
3676 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
3679 * Fix Command Arguments for Sco_Static_Func
3681 static const char* apzSco_Static_FuncPatch[] = { "sed",
3682 "-e", "/^static int/i\\\n\
3683 #if __cplusplus\\\n\
3685 #endif /* __cplusplus */",
3687 #if __cplusplus\\\n\
3689 #endif /* __cplusplus */",
3692 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3694 * Description of Sco_Utime fix
3696 tSCC zSco_UtimeName[] =
3700 * File name selection pattern
3702 tSCC zSco_UtimeList[] =
3705 * Machine/OS name selection pattern
3707 tSCC* apzSco_UtimeMachs[] = {
3709 (const char*)NULL };
3712 * content selection pattern - do fix if pattern found
3714 tSCC zSco_UtimeSelect0[] =
3715 "\\(const char \\*, struct utimbuf \\*\\);";
3717 #define SCO_UTIME_TEST_CT 1
3718 static tTestDesc aSco_UtimeTests[] = {
3719 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
3722 * Fix Command Arguments for Sco_Utime
3724 static const char* apzSco_UtimePatch[] = {
3726 "(const char *, const struct utimbuf *);",
3729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3731 * Description of Solaris_Mutex_Init fix
3733 tSCC zSolaris_Mutex_InitName[] =
3734 "solaris_mutex_init";
3737 * File name selection pattern
3739 tSCC zSolaris_Mutex_InitList[] =
3742 * Machine/OS name selection pattern
3744 #define apzSolaris_Mutex_InitMachs (const char**)NULL
3747 * content selection pattern - do fix if pattern found
3749 tSCC zSolaris_Mutex_InitSelect0[] =
3750 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
3752 #define SOLARIS_MUTEX_INIT_TEST_CT 1
3753 static tTestDesc aSolaris_Mutex_InitTests[] = {
3754 { TT_EGREP, zSolaris_Mutex_InitSelect0, (regex_t*)NULL }, };
3757 * Fix Command Arguments for Solaris_Mutex_Init
3759 static const char* apzSolaris_Mutex_InitPatch[] = {
3761 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
3766 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+{.*),[ \t]*0}(|[ \t].*)$",
3769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3771 * Description of Solaris_Stdio_Tag fix
3773 tSCC zSolaris_Stdio_TagName[] =
3774 "solaris_stdio_tag";
3777 * File name selection pattern
3779 tSCC zSolaris_Stdio_TagList[] =
3782 * Machine/OS name selection pattern
3784 #define apzSolaris_Stdio_TagMachs (const char**)NULL
3787 * content selection pattern - do fix if pattern found
3789 tSCC zSolaris_Stdio_TagSelect0[] =
3790 "__cplusplus < 54321L";
3792 #define SOLARIS_STDIO_TAG_TEST_CT 1
3793 static tTestDesc aSolaris_Stdio_TagTests[] = {
3794 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
3797 * Fix Command Arguments for Solaris_Stdio_Tag
3799 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
3800 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
3803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3805 * Description of Solaris_Widec fix
3807 tSCC zSolaris_WidecName[] =
3811 * File name selection pattern
3813 tSCC zSolaris_WidecList[] =
3816 * Machine/OS name selection pattern
3818 tSCC* apzSolaris_WidecMachs[] = {
3819 "*-*-solaris2.[0-5]*",
3820 (const char*)NULL };
3823 * content selection pattern - do fix if pattern found
3825 tSCC zSolaris_WidecSelect0[] =
3829 * content bypass pattern - skip fix if pattern found
3831 tSCC zSolaris_WidecBypass0[] =
3832 "include.*wchar\\.h";
3834 #define SOLARIS_WIDEC_TEST_CT 2
3835 static tTestDesc aSolaris_WidecTests[] = {
3836 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
3837 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
3840 * Fix Command Arguments for Solaris_Widec
3842 static const char* apzSolaris_WidecPatch[] = {
3845 #include <wchar.h>",
3848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3850 * Description of Statsswtch fix
3852 tSCC zStatsswtchName[] =
3856 * File name selection pattern
3858 tSCC zStatsswtchList[] =
3861 * Machine/OS name selection pattern
3863 #define apzStatsswtchMachs (const char**)NULL
3866 * content selection pattern - do fix if pattern found
3868 tSCC zStatsswtchSelect0[] =
3871 #define STATSSWTCH_TEST_CT 1
3872 static tTestDesc aStatsswtchTests[] = {
3873 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
3876 * Fix Command Arguments for Statsswtch
3878 static const char* apzStatsswtchPatch[] = {
3883 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3885 * Description of Stdio_Stdarg_H fix
3887 tSCC zStdio_Stdarg_HName[] =
3891 * File name selection pattern
3893 tSCC zStdio_Stdarg_HList[] =
3896 * Machine/OS name selection pattern
3898 #define apzStdio_Stdarg_HMachs (const char**)NULL
3901 * content bypass pattern - skip fix if pattern found
3903 tSCC zStdio_Stdarg_HBypass0[] =
3904 "include.*(stdarg.h|machine/ansi.h)";
3906 #define STDIO_STDARG_H_TEST_CT 1
3907 static tTestDesc aStdio_Stdarg_HTests[] = {
3908 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
3911 * Fix Command Arguments for Stdio_Stdarg_H
3913 static const char* apzStdio_Stdarg_HPatch[] = {
3915 "#define __need___va_list\n\
3916 #include <stdarg.h>\n",
3919 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3921 * Description of Stdio_Va_List fix
3923 tSCC zStdio_Va_ListName[] =
3927 * File name selection pattern
3929 tSCC zStdio_Va_ListList[] =
3932 * Machine/OS name selection pattern
3934 #define apzStdio_Va_ListMachs (const char**)NULL
3937 * content bypass pattern - skip fix if pattern found
3939 tSCC zStdio_Va_ListBypass0[] =
3940 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list";
3942 #define STDIO_VA_LIST_TEST_CT 1
3943 static tTestDesc aStdio_Va_ListTests[] = {
3944 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
3947 * Fix Command Arguments for Stdio_Va_List
3949 static const char* apzStdio_Va_ListPatch[] = { "sed",
3950 "-e", "s@ va_list @ __gnuc_va_list @\n\
3951 s@ va_list)@ __gnuc_va_list)@\n\
3952 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
3953 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
3954 s@ va_list@ __not_va_list__@\n\
3955 s@\\*va_list@*__not_va_list__@\n\
3956 s@ __va_list)@ __gnuc_va_list)@\n\
3957 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
3958 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
3959 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
3960 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
3961 s@VA_LIST@DUMMY_VA_LIST@\n\
3962 s@_Va_LIST@_VA_LIST@",
3965 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3967 * Description of Strict_Ansi_Not fix
3969 tSCC zStrict_Ansi_NotName[] =
3973 * File name selection pattern
3975 #define zStrict_Ansi_NotList (char*)NULL
3977 * Machine/OS name selection pattern
3979 #define apzStrict_Ansi_NotMachs (const char**)NULL
3982 * content selection pattern - do fix if pattern found
3984 tSCC zStrict_Ansi_NotSelect0[] =
3985 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
3988 * content bypass pattern - skip fix if pattern found
3990 tSCC zStrict_Ansi_NotBypass0[] =
3991 "GNU and MIPS C compilers define __STDC__ differently";
3994 * perform the C function call test
3996 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
3998 #define STRICT_ANSI_NOT_TEST_CT 3
3999 static tTestDesc aStrict_Ansi_NotTests[] = {
4000 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
4001 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
4002 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
4005 * Fix Command Arguments for Strict_Ansi_Not
4007 static const char* apzStrict_Ansi_NotPatch[] = {
4009 "%1 !defined(__STRICT_ANSI__)",
4012 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4014 * Description of Strict_Ansi_Not_Ctd fix
4016 tSCC zStrict_Ansi_Not_CtdName[] =
4017 "strict_ansi_not_ctd";
4020 * File name selection pattern
4022 tSCC zStrict_Ansi_Not_CtdList[] =
4023 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
4025 * Machine/OS name selection pattern
4027 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
4030 * content selection pattern - do fix if pattern found
4032 tSCC zStrict_Ansi_Not_CtdSelect0[] =
4033 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
4036 * perform the C function call test
4038 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
4040 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
4041 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
4042 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
4043 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
4046 * Fix Command Arguments for Strict_Ansi_Not_Ctd
4048 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
4050 "%1 !defined(__STRICT_ANSI__)",
4053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4055 * Description of Strict_Ansi_Only fix
4057 tSCC zStrict_Ansi_OnlyName[] =
4061 * File name selection pattern
4063 #define zStrict_Ansi_OnlyList (char*)NULL
4065 * Machine/OS name selection pattern
4067 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
4070 * content selection pattern - do fix if pattern found
4072 tSCC zStrict_Ansi_OnlySelect0[] =
4073 "^([ \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)";
4076 * perform the C function call test
4078 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
4080 #define STRICT_ANSI_ONLY_TEST_CT 2
4081 static tTestDesc aStrict_Ansi_OnlyTests[] = {
4082 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
4083 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
4086 * Fix Command Arguments for Strict_Ansi_Only
4088 static const char* apzStrict_Ansi_OnlyPatch[] = {
4090 "%1 defined(__STRICT_ANSI__)",
4093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4095 * Description of Struct_File fix
4097 tSCC zStruct_FileName[] =
4101 * File name selection pattern
4103 tSCC zStruct_FileList[] =
4106 * Machine/OS name selection pattern
4108 #define apzStruct_FileMachs (const char**)NULL
4111 * content selection pattern - do fix if pattern found
4113 tSCC zStruct_FileSelect0[] =
4114 "^.*xdrstdio_create.*struct __file_s";
4116 #define STRUCT_FILE_TEST_CT 1
4117 static tTestDesc aStruct_FileTests[] = {
4118 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
4121 * Fix Command Arguments for Struct_File
4123 static const char* apzStruct_FilePatch[] = {
4125 "struct __file_s;\n\
4129 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4131 * Description of Struct_Sockaddr fix
4133 tSCC zStruct_SockaddrName[] =
4137 * File name selection pattern
4139 tSCC zStruct_SockaddrList[] =
4142 * Machine/OS name selection pattern
4144 #define apzStruct_SockaddrMachs (const char**)NULL
4147 * content selection pattern - do fix if pattern found
4149 tSCC zStruct_SockaddrSelect0[] =
4150 "^.*authdes_create.*struct sockaddr";
4153 * content bypass pattern - skip fix if pattern found
4155 tSCC zStruct_SockaddrBypass0[] =
4158 #define STRUCT_SOCKADDR_TEST_CT 2
4159 static tTestDesc aStruct_SockaddrTests[] = {
4160 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
4161 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
4164 * Fix Command Arguments for Struct_Sockaddr
4166 static const char* apzStruct_SockaddrPatch[] = {
4168 "struct sockaddr;\n\
4172 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4174 * Description of Sun_Auth_Proto fix
4176 tSCC zSun_Auth_ProtoName[] =
4180 * File name selection pattern
4182 tSCC zSun_Auth_ProtoList[] =
4183 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
4185 * Machine/OS name selection pattern
4187 #define apzSun_Auth_ProtoMachs (const char**)NULL
4190 * content selection pattern - do fix if pattern found
4192 tSCC zSun_Auth_ProtoSelect0[] =
4193 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
4195 #define SUN_AUTH_PROTO_TEST_CT 1
4196 static tTestDesc aSun_Auth_ProtoTests[] = {
4197 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
4200 * Fix Command Arguments for Sun_Auth_Proto
4202 static const char* apzSun_Auth_ProtoPatch[] = {
4204 "#ifdef __cplusplus\n\
4209 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
4212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4214 * Description of Sun_Bogus_Ifdef fix
4216 tSCC zSun_Bogus_IfdefName[] =
4220 * File name selection pattern
4222 tSCC zSun_Bogus_IfdefList[] =
4223 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
4225 * Machine/OS name selection pattern
4227 #define apzSun_Bogus_IfdefMachs (const char**)NULL
4230 * content selection pattern - do fix if pattern found
4232 tSCC zSun_Bogus_IfdefSelect0[] =
4233 "#ifdef(.*\\|\\|.*)";
4235 #define SUN_BOGUS_IFDEF_TEST_CT 1
4236 static tTestDesc aSun_Bogus_IfdefTests[] = {
4237 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
4240 * Fix Command Arguments for Sun_Bogus_Ifdef
4242 static const char* apzSun_Bogus_IfdefPatch[] = {
4247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4249 * Description of Sun_Catmacro fix
4251 tSCC zSun_CatmacroName[] =
4255 * File name selection pattern
4257 tSCC zSun_CatmacroList[] =
4258 "|pixrect/memvar.h|";
4260 * Machine/OS name selection pattern
4262 #define apzSun_CatmacroMachs (const char**)NULL
4265 * content selection pattern - do fix if pattern found
4267 tSCC zSun_CatmacroSelect0[] =
4268 "^#define[ \t]+CAT\\(a,b\\).*";
4270 #define SUN_CATMACRO_TEST_CT 1
4271 static tTestDesc aSun_CatmacroTests[] = {
4272 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
4275 * Fix Command Arguments for Sun_Catmacro
4277 static const char* apzSun_CatmacroPatch[] = {
4280 # define CAT(a,b) a##b\n\
4286 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4288 * Description of Sun_Malloc fix
4290 tSCC zSun_MallocName[] =
4294 * File name selection pattern
4296 tSCC zSun_MallocList[] =
4299 * Machine/OS name selection pattern
4301 #define apzSun_MallocMachs (const char**)NULL
4302 #define SUN_MALLOC_TEST_CT 0
4303 #define aSun_MallocTests (tTestDesc*)NULL
4306 * Fix Command Arguments for Sun_Malloc
4308 static const char* apzSun_MallocPatch[] = { "sed",
4309 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
4310 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
4311 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
4312 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
4313 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
4316 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4318 * Description of Sun_Rusers_Semi fix
4320 tSCC zSun_Rusers_SemiName[] =
4324 * File name selection pattern
4326 tSCC zSun_Rusers_SemiList[] =
4327 "|rpcsvc/rusers.h|";
4329 * Machine/OS name selection pattern
4331 #define apzSun_Rusers_SemiMachs (const char**)NULL
4334 * content selection pattern - do fix if pattern found
4336 tSCC zSun_Rusers_SemiSelect0[] =
4339 #define SUN_RUSERS_SEMI_TEST_CT 1
4340 static tTestDesc aSun_Rusers_SemiTests[] = {
4341 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
4344 * Fix Command Arguments for Sun_Rusers_Semi
4346 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
4347 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
4350 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4352 * Description of Sun_Signal fix
4354 tSCC zSun_SignalName[] =
4358 * File name selection pattern
4360 tSCC zSun_SignalList[] =
4361 "|sys/signal.h|signal.h|";
4363 * Machine/OS name selection pattern
4365 #define apzSun_SignalMachs (const char**)NULL
4368 * content selection pattern - do fix if pattern found
4370 tSCC zSun_SignalSelect0[] =
4371 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
4373 #define SUN_SIGNAL_TEST_CT 1
4374 static tTestDesc aSun_SignalTests[] = {
4375 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
4378 * Fix Command Arguments for Sun_Signal
4380 static const char* apzSun_SignalPatch[] = {
4382 "#ifdef __cplusplus\n\
4383 void\t(*signal(...))(...);\n\
4389 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4391 * Description of Sunos_Matherr_Decl fix
4393 tSCC zSunos_Matherr_DeclName[] =
4394 "sunos_matherr_decl";
4397 * File name selection pattern
4399 tSCC zSunos_Matherr_DeclList[] =
4402 * Machine/OS name selection pattern
4404 #define apzSunos_Matherr_DeclMachs (const char**)NULL
4407 * content selection pattern - do fix if pattern found
4409 tSCC zSunos_Matherr_DeclSelect0[] =
4413 * content bypass pattern - skip fix if pattern found
4415 tSCC zSunos_Matherr_DeclBypass0[] =
4416 "matherr.*(struct exception|__MATH_EXCEPTION)";
4418 #define SUNOS_MATHERR_DECL_TEST_CT 2
4419 static tTestDesc aSunos_Matherr_DeclTests[] = {
4420 { TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
4421 { TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
4424 * Fix Command Arguments for Sunos_Matherr_Decl
4426 static const char* apzSunos_Matherr_DeclPatch[] = {
4428 "struct exception;\n",
4431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4433 * Description of Sunos_Strlen fix
4435 tSCC zSunos_StrlenName[] =
4439 * File name selection pattern
4441 tSCC zSunos_StrlenList[] =
4444 * Machine/OS name selection pattern
4446 #define apzSunos_StrlenMachs (const char**)NULL
4449 * content selection pattern - do fix if pattern found
4451 tSCC zSunos_StrlenSelect0[] =
4452 "int[ \t]*strlen\\(\\);(.*)";
4454 #define SUNOS_STRLEN_TEST_CT 1
4455 static tTestDesc aSunos_StrlenTests[] = {
4456 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
4459 * Fix Command Arguments for Sunos_Strlen
4461 static const char* apzSunos_StrlenPatch[] = {
4463 "__SIZE_TYPE__ strlen();%1",
4466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4468 * Description of Svr4__P fix
4470 tSCC zSvr4__PName[] =
4474 * File name selection pattern
4476 tSCC zSvr4__PList[] =
4477 "|math.h|floatingpoint.h|";
4479 * Machine/OS name selection pattern
4481 #define apzSvr4__PMachs (const char**)NULL
4484 * content selection pattern - do fix if pattern found
4486 tSCC zSvr4__PSelect0[] =
4487 "^#define[ \t]+__P.*";
4489 #define SVR4__P_TEST_CT 1
4490 static tTestDesc aSvr4__PTests[] = {
4491 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
4494 * Fix Command Arguments for Svr4__P
4496 static const char* apzSvr4__PPatch[] = {
4503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4505 * Description of Svr4_Getcwd fix
4507 tSCC zSvr4_GetcwdName[] =
4511 * File name selection pattern
4513 tSCC zSvr4_GetcwdList[] =
4514 "|stdlib.h|unistd.h|prototypes.h|";
4516 * Machine/OS name selection pattern
4518 #define apzSvr4_GetcwdMachs (const char**)NULL
4521 * content selection pattern - do fix if pattern found
4523 tSCC zSvr4_GetcwdSelect0[] =
4524 "getcwd\\(char \\*, int\\)";
4526 #define SVR4_GETCWD_TEST_CT 1
4527 static tTestDesc aSvr4_GetcwdTests[] = {
4528 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
4531 * Fix Command Arguments for Svr4_Getcwd
4533 static const char* apzSvr4_GetcwdPatch[] = {
4535 "getcwd(char *, size_t)",
4538 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4540 * Description of Svr4_Profil fix
4542 tSCC zSvr4_ProfilName[] =
4546 * File name selection pattern
4548 tSCC zSvr4_ProfilList[] =
4549 "|stdlib.h|unistd.h|";
4551 * Machine/OS name selection pattern
4553 #define apzSvr4_ProfilMachs (const char**)NULL
4556 * content selection pattern - do fix if pattern found
4558 tSCC zSvr4_ProfilSelect0[] =
4559 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
4561 #define SVR4_PROFIL_TEST_CT 1
4562 static tTestDesc aSvr4_ProfilTests[] = {
4563 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
4566 * Fix Command Arguments for Svr4_Profil
4568 static const char* apzSvr4_ProfilPatch[] = {
4570 "profil(unsigned short *, size_t, int, unsigned int)",
4573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4575 * Description of Sysv68_String fix
4577 tSCC zSysv68_StringName[] =
4581 * File name selection pattern
4583 tSCC zSysv68_StringList[] =
4584 "|testing.h|string.h|";
4586 * Machine/OS name selection pattern
4588 #define apzSysv68_StringMachs (const char**)NULL
4589 #define SYSV68_STRING_TEST_CT 0
4590 #define aSysv68_StringTests (tTestDesc*)NULL
4593 * Fix Command Arguments for Sysv68_String
4595 static const char* apzSysv68_StringPatch[] = { "sed",
4596 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
4597 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
4598 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
4599 "-e", "/^extern char$/N",
4600 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
4601 "-e", "/^extern int$/N",
4602 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
4603 "-e", "/^\tstrncmp(),$/N",
4604 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
4605 extern unsigned int\\\n\
4609 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4611 * Description of Sysz_Stdlib_For_Sun fix
4613 tSCC zSysz_Stdlib_For_SunName[] =
4614 "sysz_stdlib_for_sun";
4617 * File name selection pattern
4619 tSCC zSysz_Stdlib_For_SunList[] =
4622 * Machine/OS name selection pattern
4624 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
4627 * content selection pattern - do fix if pattern found
4629 tSCC zSysz_Stdlib_For_SunSelect0[] =
4630 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
4632 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
4633 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
4634 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
4637 * Fix Command Arguments for Sysz_Stdlib_For_Sun
4639 static const char* apzSysz_Stdlib_For_SunPatch[] = {
4644 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4646 * Description of Thread_Keyword fix
4648 tSCC zThread_KeywordName[] =
4652 * File name selection pattern
4654 tSCC zThread_KeywordList[] =
4655 "|pthread.h|bits/sigthread.h|";
4657 * Machine/OS name selection pattern
4659 #define apzThread_KeywordMachs (const char**)NULL
4662 * content selection pattern - do fix if pattern found
4664 tSCC zThread_KeywordSelect0[] =
4665 "([* ])__thread([,)])";
4667 #define THREAD_KEYWORD_TEST_CT 1
4668 static tTestDesc aThread_KeywordTests[] = {
4669 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
4672 * Fix Command Arguments for Thread_Keyword
4674 static const char* apzThread_KeywordPatch[] = {
4679 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4681 * Description of Tinfo_Cplusplus fix
4683 tSCC zTinfo_CplusplusName[] =
4687 * File name selection pattern
4689 tSCC zTinfo_CplusplusList[] =
4692 * Machine/OS name selection pattern
4694 #define apzTinfo_CplusplusMachs (const char**)NULL
4697 * content selection pattern - do fix if pattern found
4699 tSCC zTinfo_CplusplusSelect0[] =
4702 #define TINFO_CPLUSPLUS_TEST_CT 1
4703 static tTestDesc aTinfo_CplusplusTests[] = {
4704 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
4707 * Fix Command Arguments for Tinfo_Cplusplus
4709 static const char* apzTinfo_CplusplusPatch[] = {
4714 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4716 * Description of Ultrix_Atexit_Param fix
4718 tSCC zUltrix_Atexit_ParamName[] =
4719 "ultrix_atexit_param";
4722 * File name selection pattern
4724 tSCC zUltrix_Atexit_ParamList[] =
4727 * Machine/OS name selection pattern
4729 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
4732 * content selection pattern - do fix if pattern found
4734 tSCC zUltrix_Atexit_ParamSelect0[] =
4735 "atexit\\(.*\\(\\)";
4737 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
4738 static tTestDesc aUltrix_Atexit_ParamTests[] = {
4739 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
4742 * Fix Command Arguments for Ultrix_Atexit_Param
4744 static const char* apzUltrix_Atexit_ParamPatch[] = {
4746 "atexit( void (*__func)( void )",
4749 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4751 * Description of Ultrix_Atof_Param fix
4753 tSCC zUltrix_Atof_ParamName[] =
4754 "ultrix_atof_param";
4757 * File name selection pattern
4759 tSCC zUltrix_Atof_ParamList[] =
4762 * Machine/OS name selection pattern
4764 #define apzUltrix_Atof_ParamMachs (const char**)NULL
4767 * content selection pattern - do fix if pattern found
4769 tSCC zUltrix_Atof_ParamSelect0[] =
4770 "atof\\([ \t]*char";
4772 #define ULTRIX_ATOF_PARAM_TEST_CT 1
4773 static tTestDesc aUltrix_Atof_ParamTests[] = {
4774 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
4777 * Fix Command Arguments for Ultrix_Atof_Param
4779 static const char* apzUltrix_Atof_ParamPatch[] = {
4784 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4786 * Description of Ultrix_Const fix
4788 tSCC zUltrix_ConstName[] =
4792 * File name selection pattern
4794 tSCC zUltrix_ConstList[] =
4797 * Machine/OS name selection pattern
4799 #define apzUltrix_ConstMachs (const char**)NULL
4802 * content selection pattern - do fix if pattern found
4804 tSCC zUltrix_ConstSelect0[] =
4805 "perror\\( char \\*";
4807 #define ULTRIX_CONST_TEST_CT 1
4808 static tTestDesc aUltrix_ConstTests[] = {
4809 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
4812 * Fix Command Arguments for Ultrix_Const
4814 static const char* apzUltrix_ConstPatch[] = {
4817 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
4820 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4822 * Description of Ultrix_Const2 fix
4824 tSCC zUltrix_Const2Name[] =
4828 * File name selection pattern
4830 tSCC zUltrix_Const2List[] =
4833 * Machine/OS name selection pattern
4835 #define apzUltrix_Const2Machs (const char**)NULL
4838 * content selection pattern - do fix if pattern found
4840 tSCC zUltrix_Const2Select0[] =
4841 "\\*fopen\\( char \\*";
4843 #define ULTRIX_CONST2_TEST_CT 1
4844 static tTestDesc aUltrix_Const2Tests[] = {
4845 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
4848 * Fix Command Arguments for Ultrix_Const2
4850 static const char* apzUltrix_Const2Patch[] = {
4852 "%1( const char *%3, const char *",
4853 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
4856 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4858 * Description of Ultrix_Fix_Fixproto fix
4860 tSCC zUltrix_Fix_FixprotoName[] =
4861 "ultrix_fix_fixproto";
4864 * File name selection pattern
4866 tSCC zUltrix_Fix_FixprotoList[] =
4869 * Machine/OS name selection pattern
4871 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
4874 * content selection pattern - do fix if pattern found
4876 tSCC zUltrix_Fix_FixprotoSelect0[] =
4879 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
4880 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
4881 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
4884 * Fix Command Arguments for Ultrix_Fix_Fixproto
4886 static const char* apzUltrix_Fix_FixprotoPatch[] = {
4890 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
4893 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4895 * Description of Ultrix_Ifdef fix
4897 tSCC zUltrix_IfdefName[] =
4901 * File name selection pattern
4903 tSCC zUltrix_IfdefList[] =
4906 * Machine/OS name selection pattern
4908 #define apzUltrix_IfdefMachs (const char**)NULL
4911 * content selection pattern - do fix if pattern found
4913 tSCC zUltrix_IfdefSelect0[] =
4914 "^#ifdef KERNEL[ \t]+&&";
4916 #define ULTRIX_IFDEF_TEST_CT 1
4917 static tTestDesc aUltrix_IfdefTests[] = {
4918 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
4921 * Fix Command Arguments for Ultrix_Ifdef
4923 static const char* apzUltrix_IfdefPatch[] = {
4925 "#if defined(KERNEL) &&",
4928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4930 * Description of Ultrix_Math_Ifdef fix
4932 tSCC zUltrix_Math_IfdefName[] =
4933 "ultrix_math_ifdef";
4936 * File name selection pattern
4938 tSCC zUltrix_Math_IfdefList[] =
4939 "|sys/limits.h|float.h|math.h|";
4941 * Machine/OS name selection pattern
4943 #define apzUltrix_Math_IfdefMachs (const char**)NULL
4946 * content selection pattern - do fix if pattern found
4948 tSCC zUltrix_Math_IfdefSelect0[] =
4949 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
4951 #define ULTRIX_MATH_IFDEF_TEST_CT 1
4952 static tTestDesc aUltrix_Math_IfdefTests[] = {
4953 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
4956 * Fix Command Arguments for Ultrix_Math_Ifdef
4958 static const char* apzUltrix_Math_IfdefPatch[] = {
4963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4965 * Description of Ultrix_Nested_Ioctl fix
4967 tSCC zUltrix_Nested_IoctlName[] =
4968 "ultrix_nested_ioctl";
4971 * File name selection pattern
4973 tSCC zUltrix_Nested_IoctlList[] =
4976 * Machine/OS name selection pattern
4978 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
4981 * content selection pattern - do fix if pattern found
4983 tSCC zUltrix_Nested_IoctlSelect0[] =
4984 "^/\\* #define SIOCSCREEN";
4986 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
4987 static tTestDesc aUltrix_Nested_IoctlTests[] = {
4988 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
4991 * Fix Command Arguments for Ultrix_Nested_Ioctl
4993 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
4994 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
4997 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4999 * Description of Ultrix_Nested_Svc fix
5001 tSCC zUltrix_Nested_SvcName[] =
5002 "ultrix_nested_svc";
5005 * File name selection pattern
5007 tSCC zUltrix_Nested_SvcList[] =
5010 * Machine/OS name selection pattern
5012 #define apzUltrix_Nested_SvcMachs (const char**)NULL
5015 * content selection pattern - do fix if pattern found
5017 tSCC zUltrix_Nested_SvcSelect0[] =
5018 "^ \\*[ \t]*int protocol; */\\*";
5020 #define ULTRIX_NESTED_SVC_TEST_CT 1
5021 static tTestDesc aUltrix_Nested_SvcTests[] = {
5022 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
5025 * Fix Command Arguments for Ultrix_Nested_Svc
5027 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
5028 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
5031 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5033 * Description of Ultrix_Stat fix
5035 tSCC zUltrix_StatName[] =
5039 * File name selection pattern
5041 tSCC zUltrix_StatList[] =
5044 * Machine/OS name selection pattern
5046 #define apzUltrix_StatMachs (const char**)NULL
5049 * content selection pattern - do fix if pattern found
5051 tSCC zUltrix_StatSelect0[] =
5052 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
5054 #define ULTRIX_STAT_TEST_CT 1
5055 static tTestDesc aUltrix_StatTests[] = {
5056 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
5059 * Fix Command Arguments for Ultrix_Stat
5061 static const char* apzUltrix_StatPatch[] = { "sed",
5062 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
5064 /* macro to test for symbolic link */\\\n\
5065 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
5066 "-e", "/^[ \t]*fstat(),$/a\\\n\
5070 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5072 * Description of Ultrix_Static fix
5074 tSCC zUltrix_StaticName[] =
5078 * File name selection pattern
5080 tSCC zUltrix_StaticList[] =
5083 * Machine/OS name selection pattern
5085 #define apzUltrix_StaticMachs (const char**)NULL
5088 * content selection pattern - do fix if pattern found
5090 tSCC zUltrix_StaticSelect0[] =
5091 "#include \"r[34]_cpu";
5093 #define ULTRIX_STATIC_TEST_CT 1
5094 static tTestDesc aUltrix_StaticTests[] = {
5095 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
5098 * Fix Command Arguments for Ultrix_Static
5100 static const char* apzUltrix_StaticPatch[] = { "sed",
5101 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
5102 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
5103 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
5106 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5108 * Description of Ultrix_Strings fix
5110 tSCC zUltrix_StringsName[] =
5114 * File name selection pattern
5116 tSCC zUltrix_StringsList[] =
5119 * Machine/OS name selection pattern
5121 #define apzUltrix_StringsMachs (const char**)NULL
5124 * content selection pattern - do fix if pattern found
5126 tSCC zUltrix_StringsSelect0[] =
5127 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
5129 #define ULTRIX_STRINGS_TEST_CT 1
5130 static tTestDesc aUltrix_StringsTests[] = {
5131 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
5134 * Fix Command Arguments for Ultrix_Strings
5136 static const char* apzUltrix_StringsPatch[] = {
5140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5142 * Description of Undefine_Null fix
5144 tSCC zUndefine_NullName[] =
5148 * File name selection pattern
5150 #define zUndefine_NullList (char*)NULL
5152 * Machine/OS name selection pattern
5154 #define apzUndefine_NullMachs (const char**)NULL
5157 * content selection pattern - do fix if pattern found
5159 tSCC zUndefine_NullSelect0[] =
5160 "^#[ \t]*define[ \t]+NULL[ \t]";
5163 * content bypass pattern - skip fix if pattern found
5165 tSCC zUndefine_NullBypass0[] =
5166 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
5168 #define UNDEFINE_NULL_TEST_CT 2
5169 static tTestDesc aUndefine_NullTests[] = {
5170 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
5171 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
5174 * Fix Command Arguments for Undefine_Null
5176 static const char* apzUndefine_NullPatch[] = {
5181 "^#[ \t]*define[ \t]*[ \t]NULL([^\r\n\
5185 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5187 * Description of Unicosmk_Restrict fix
5189 tSCC zUnicosmk_RestrictName[] =
5190 "unicosmk_restrict";
5193 * File name selection pattern
5195 tSCC zUnicosmk_RestrictList[] =
5196 "|stdio.h|stdlib.h|wchar.h|";
5198 * Machine/OS name selection pattern
5200 tSCC* apzUnicosmk_RestrictMachs[] = {
5202 (const char*)NULL };
5205 * content selection pattern - do fix if pattern found
5207 tSCC zUnicosmk_RestrictSelect0[] =
5208 "(\\*[ \t]*)restrict([ \t]+)";
5210 #define UNICOSMK_RESTRICT_TEST_CT 1
5211 static tTestDesc aUnicosmk_RestrictTests[] = {
5212 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
5215 * Fix Command Arguments for Unicosmk_Restrict
5217 static const char* apzUnicosmk_RestrictPatch[] = {
5222 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5224 * Description of Uw7_Byteorder_Fix fix
5226 tSCC zUw7_Byteorder_FixName[] =
5227 "uw7_byteorder_fix";
5230 * File name selection pattern
5232 tSCC zUw7_Byteorder_FixList[] =
5235 * Machine/OS name selection pattern
5237 tSCC* apzUw7_Byteorder_FixMachs[] = {
5241 "i?86-*-solaris2.[0-4]",
5242 "powerpcle-*-solaris2.[0-4]",
5243 "sparc-*-solaris2.[0-4]",
5244 (const char*)NULL };
5247 * content selection pattern - do fix if pattern found
5249 tSCC zUw7_Byteorder_FixSelect0[] =
5253 * perform the 'test' shell command - do fix on success
5255 tSCC zUw7_Byteorder_FixTest0[] =
5256 "-f sys/byteorder.h";
5258 #define UW7_BYTEORDER_FIX_TEST_CT 2
5259 static tTestDesc aUw7_Byteorder_FixTests[] = {
5260 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
5261 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
5264 * Fix Command Arguments for Uw7_Byteorder_Fix
5266 static const char* apzUw7_Byteorder_FixPatch[] = {
5269 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
5272 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5274 * Description of Va_I960_Macro fix
5276 tSCC zVa_I960_MacroName[] =
5280 * File name selection pattern
5282 tSCC zVa_I960_MacroList[] =
5283 "|arch/i960/archI960.h|";
5285 * Machine/OS name selection pattern
5287 #define apzVa_I960_MacroMachs (const char**)NULL
5290 * content selection pattern - do fix if pattern found
5292 tSCC zVa_I960_MacroSelect0[] =
5293 "__(vsiz|vali|vpad|alignof__)";
5295 #define VA_I960_MACRO_TEST_CT 1
5296 static tTestDesc aVa_I960_MacroTests[] = {
5297 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
5300 * Fix Command Arguments for Va_I960_Macro
5302 static const char* apzVa_I960_MacroPatch[] = {
5307 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5309 * Description of Void_Null fix
5311 tSCC zVoid_NullName[] =
5315 * File name selection pattern
5317 tSCC zVoid_NullList[] =
5318 "|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|";
5320 * Machine/OS name selection pattern
5322 #define apzVoid_NullMachs (const char**)NULL
5325 * content selection pattern - do fix if pattern found
5327 tSCC zVoid_NullSelect0[] =
5328 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
5330 #define VOID_NULL_TEST_CT 1
5331 static tTestDesc aVoid_NullTests[] = {
5332 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
5335 * Fix Command Arguments for Void_Null
5337 static const char* apzVoid_NullPatch[] = {
5342 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5344 * Description of Vxworks_Gcc_Problem fix
5346 tSCC zVxworks_Gcc_ProblemName[] =
5347 "vxworks_gcc_problem";
5350 * File name selection pattern
5352 tSCC zVxworks_Gcc_ProblemList[] =
5353 "|types/vxTypesBase.h|";
5355 * Machine/OS name selection pattern
5357 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
5360 * content selection pattern - do fix if pattern found
5362 tSCC zVxworks_Gcc_ProblemSelect0[] =
5363 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
5365 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
5366 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
5367 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
5370 * Fix Command Arguments for Vxworks_Gcc_Problem
5372 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
5373 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
5374 "-e", "/[ \t]size_t/i\\\n\
5375 #ifndef _GCC_SIZE_T\\\n\
5376 #define _GCC_SIZE_T\n",
5377 "-e", "/[ \t]size_t/a\\\n\
5379 "-e", "/[ \t]ptrdiff_t/i\\\n\
5380 #ifndef _GCC_PTRDIFF_T\\\n\
5381 #define _GCC_PTRDIFF_T\n",
5382 "-e", "/[ \t]ptrdiff_t/a\\\n\
5384 "-e", "/[ \t]wchar_t/i\\\n\
5385 #ifndef _GCC_WCHAR_T\\\n\
5386 #define _GCC_WCHAR_T\n",
5387 "-e", "/[ \t]wchar_t/a\\\n\
5391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5393 * Description of Vxworks_Needs_Vxtypes fix
5395 tSCC zVxworks_Needs_VxtypesName[] =
5396 "vxworks_needs_vxtypes";
5399 * File name selection pattern
5401 tSCC zVxworks_Needs_VxtypesList[] =
5404 * Machine/OS name selection pattern
5406 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
5409 * content selection pattern - do fix if pattern found
5411 tSCC zVxworks_Needs_VxtypesSelect0[] =
5412 "uint_t([ \t]+_clocks_per_sec)";
5414 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
5415 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
5416 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
5419 * Fix Command Arguments for Vxworks_Needs_Vxtypes
5421 static const char* apzVxworks_Needs_VxtypesPatch[] = {
5426 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5428 * Description of Vxworks_Needs_Vxworks fix
5430 tSCC zVxworks_Needs_VxworksName[] =
5431 "vxworks_needs_vxworks";
5434 * File name selection pattern
5436 tSCC zVxworks_Needs_VxworksList[] =
5439 * Machine/OS name selection pattern
5441 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
5444 * content selection pattern - do fix if pattern found
5446 tSCC zVxworks_Needs_VxworksSelect0[] =
5447 "#[ \t]define[ \t]+__INCstath";
5450 * perform the 'test' shell command - do fix on success
5452 tSCC zVxworks_Needs_VxworksTest0[] =
5453 " -r types/vxTypesOld.h";
5454 tSCC zVxworks_Needs_VxworksTest1[] =
5455 " -n \"`egrep '#include' $file`\"";
5456 tSCC zVxworks_Needs_VxworksTest2[] =
5457 " -n \"`egrep ULONG $file`\"";
5459 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
5460 static tTestDesc aVxworks_Needs_VxworksTests[] = {
5461 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
5462 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
5463 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
5464 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
5467 * Fix Command Arguments for Vxworks_Needs_Vxworks
5469 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
5470 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
5471 #include <types/vxTypesOld.h>\n",
5474 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5476 * Description of Vxworks_Time fix
5478 tSCC zVxworks_TimeName[] =
5482 * File name selection pattern
5484 tSCC zVxworks_TimeList[] =
5487 * Machine/OS name selection pattern
5489 #define apzVxworks_TimeMachs (const char**)NULL
5492 * content selection pattern - do fix if pattern found
5494 tSCC zVxworks_TimeSelect0[] =
5495 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
5498 * perform the 'test' shell command - do fix on success
5500 tSCC zVxworks_TimeTest0[] =
5503 #define VXWORKS_TIME_TEST_CT 2
5504 static tTestDesc aVxworks_TimeTests[] = {
5505 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
5506 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
5509 * Fix Command Arguments for Vxworks_Time
5511 static const char* apzVxworks_TimePatch[] = {
5513 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
5514 #ifdef __cplusplus\n\
5515 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
5517 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
5519 #define __gcc_VOIDFUNCPTR_defined\n\
5521 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
5524 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5526 * Description of Windiss_Math1 fix
5528 tSCC zWindiss_Math1Name[] =
5532 * File name selection pattern
5534 tSCC zWindiss_Math1List[] =
5537 * Machine/OS name selection pattern
5539 tSCC* apzWindiss_Math1Machs[] = {
5541 (const char*)NULL };
5542 #define WINDISS_MATH1_TEST_CT 0
5543 #define aWindiss_Math1Tests (tTestDesc*)NULL
5546 * Fix Command Arguments for Windiss_Math1
5548 static const char* apzWindiss_Math1Patch[] = { "sed",
5549 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
5552 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5554 * Description of Windiss_Math2 fix
5556 tSCC zWindiss_Math2Name[] =
5560 * File name selection pattern
5562 tSCC zWindiss_Math2List[] =
5565 * Machine/OS name selection pattern
5567 tSCC* apzWindiss_Math2Machs[] = {
5569 (const char*)NULL };
5570 #define WINDISS_MATH2_TEST_CT 0
5571 #define aWindiss_Math2Tests (tTestDesc*)NULL
5574 * Fix Command Arguments for Windiss_Math2
5576 static const char* apzWindiss_Math2Patch[] = { "sed",
5577 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
5580 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5582 * Description of Windiss_Valist fix
5584 tSCC zWindiss_ValistName[] =
5588 * File name selection pattern
5590 #define zWindiss_ValistList (char*)NULL
5592 * Machine/OS name selection pattern
5594 tSCC* apzWindiss_ValistMachs[] = {
5596 (const char*)NULL };
5599 * content selection pattern - do fix if pattern found
5601 tSCC zWindiss_ValistSelect0[] =
5602 "(#include.*)diab/va_list.h";
5604 #define WINDISS_VALIST_TEST_CT 1
5605 static tTestDesc aWindiss_ValistTests[] = {
5606 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
5609 * Fix Command Arguments for Windiss_Valist
5611 static const char* apzWindiss_ValistPatch[] = { "sed",
5612 "-e", "s|diab/va_list.h|stdarg.h|",
5615 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5617 * Description of X11_Class fix
5619 tSCC zX11_ClassName[] =
5623 * File name selection pattern
5625 tSCC zX11_ClassList[] =
5628 * Machine/OS name selection pattern
5630 #define apzX11_ClassMachs (const char**)NULL
5633 * content selection pattern - do fix if pattern found
5635 tSCC zX11_ClassSelect0[] =
5636 "^([ \t]*char \\*)class;(.*)";
5639 * content bypass pattern - skip fix if pattern found
5641 tSCC zX11_ClassBypass0[] =
5644 #define X11_CLASS_TEST_CT 2
5645 static tTestDesc aX11_ClassTests[] = {
5646 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
5647 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
5650 * Fix Command Arguments for X11_Class
5652 static const char* apzX11_ClassPatch[] = {
5654 "#ifdef __cplusplus\n\
5661 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5663 * Description of X11_Class_Usage fix
5665 tSCC zX11_Class_UsageName[] =
5669 * File name selection pattern
5671 tSCC zX11_Class_UsageList[] =
5672 "|Xm/BaseClassI.h|";
5674 * Machine/OS name selection pattern
5676 #define apzX11_Class_UsageMachs (const char**)NULL
5679 * content selection pattern - do fix if pattern found
5681 tSCC zX11_Class_UsageSelect0[] =
5685 * content bypass pattern - skip fix if pattern found
5687 tSCC zX11_Class_UsageBypass0[] =
5690 #define X11_CLASS_USAGE_TEST_CT 2
5691 static tTestDesc aX11_Class_UsageTests[] = {
5692 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
5693 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
5696 * Fix Command Arguments for X11_Class_Usage
5698 static const char* apzX11_Class_UsagePatch[] = {
5703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5705 * Description of X11_New fix
5707 tSCC zX11_NewName[] =
5711 * File name selection pattern
5713 tSCC zX11_NewList[] =
5716 * Machine/OS name selection pattern
5718 #define apzX11_NewMachs (const char**)NULL
5721 * content bypass pattern - skip fix if pattern found
5723 tSCC zX11_NewBypass0[] =
5726 #define X11_NEW_TEST_CT 1
5727 static tTestDesc aX11_NewTests[] = {
5728 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
5731 * Fix Command Arguments for X11_New
5733 static const char* apzX11_NewPatch[] = { "sed",
5734 "-e", "/Widget\told, new;/i\\\n\
5735 #ifdef __cplusplus\\\n\
5736 \tWidget\told, c_new;\\\n\
5738 "-e", "/Widget\told, new;/a\\\n\
5740 "-e", "s/Widget new,/Widget c_new,/g",
5743 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5745 * Description of X11_Sprintf fix
5747 tSCC zX11_SprintfName[] =
5751 * File name selection pattern
5753 tSCC zX11_SprintfList[] =
5754 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
5756 * Machine/OS name selection pattern
5758 #define apzX11_SprintfMachs (const char**)NULL
5761 * content selection pattern - do fix if pattern found
5763 tSCC zX11_SprintfSelect0[] =
5764 "^extern char \\*\tsprintf\\(\\);$";
5766 #define X11_SPRINTF_TEST_CT 1
5767 static tTestDesc aX11_SprintfTests[] = {
5768 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
5771 * Fix Command Arguments for X11_Sprintf
5773 static const char* apzX11_SprintfPatch[] = {
5775 "#ifndef __STDC__\n\
5777 #endif /* !defined __STDC__ */",
5781 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5785 #define REGEX_COUNT 155
5786 #define MACH_LIST_SIZE_LIMIT 279
5787 #define FIX_COUNT 148
5790 * Enumerate the fixes
5793 AAB_DGUX_INT_VARARGS_FIXIDX,
5794 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
5795 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
5796 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
5797 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
5798 AAB_SUN_MEMCPY_FIXIDX,
5799 AAB_SVR4_REPLACE_BYTEORDER_FIXIDX,
5800 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
5801 AAB_ULTRIX_LIMITS_FIXIDX,
5802 AAB_ULTRIX_MEMORY_FIXIDX,
5803 AAB_ULTRIX_STRING_FIXIDX,
5805 AIX_SYSMACHINE_FIXIDX,
5807 AIX_VOLATILE_FIXIDX,
5808 ALPHA___ASSERT_FIXIDX,
5809 ALPHA_ASSERT_FIXIDX,
5810 ALPHA_GETOPT_FIXIDX,
5811 ALPHA_PARENS_FIXIDX,
5813 ARM_NORCROFT_HINT_FIXIDX,
5816 AVOID_BOOL_DEFINE_FIXIDX,
5817 AVOID_BOOL_TYPE_FIXIDX,
5818 AVOID_WCHAR_T_TYPE_FIXIDX,
5820 BAD_STRUCT_TERM_FIXIDX,
5822 BROKEN_ASSERT_STDIO_FIXIDX,
5823 BROKEN_ASSERT_STDLIB_FIXIDX,
5825 CTRL_QUOTES_DEF_FIXIDX,
5826 CTRL_QUOTES_USE_FIXIDX,
5828 DEC_INTERN_ASM_FIXIDX,
5829 DJGPP_WCHAR_H_FIXIDX,
5831 FIX_HEADER_BREAKAGE_FIXIDX,
5832 FREEBSD_GCC3_BREAKAGE_FIXIDX,
5836 HPUX10_CPP_POW_INLINE_FIXIDX,
5837 HPUX11_CPP_POW_INLINE_FIXIDX,
5838 HPUX11_FABSF_FIXIDX,
5840 HPUX11_SIZE_T_FIXIDX,
5841 HPUX11_UINT32_C_FIXIDX,
5842 HPUX11_VSNPRINTF_FIXIDX,
5843 HPUX8_BOGUS_INLINES_FIXIDX,
5845 HPUX_SYSTIME_FIXIDX,
5846 INT_ABORT_FREE_AND_EXIT_FIXIDX,
5847 IO_QUOTES_DEF_FIXIDX,
5848 IO_QUOTES_USE_FIXIDX,
5849 IP_MISSING_SEMI_FIXIDX,
5850 IRIX_ASM_APOSTROPHE_FIXIDX,
5851 IRIX_LIMITS_CONST_FIXIDX,
5852 IRIX_STDIO_VA_LIST_FIXIDX,
5854 ISC_OMITS_WITH_STDC_FIXIDX,
5855 KANDR_CONCAT_FIXIDX,
5856 LIBC1_IFDEFD_MEMX_FIXIDX,
5857 LIBC1_G_VA_LIST_FIXIDX,
5858 LIMITS_IFNDEFS_FIXIDX,
5859 LYNX_VOID_INT_FIXIDX,
5860 LYNXOS_FCNTL_PROTO_FIXIDX,
5861 M88K_BAD_HYPOT_OPT_FIXIDX,
5862 M88K_BAD_S_IF_FIXIDX,
5863 M88K_MULTI_INCL_FIXIDX,
5864 MACHINE_ANSI_H_VA_LIST_FIXIDX,
5865 MACHINE_NAME_FIXIDX,
5866 MATH_EXCEPTION_FIXIDX,
5867 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
5868 MATH_HUGE_VAL_IFNDEF_FIXIDX,
5869 NESTED_AUTH_DES_FIXIDX,
5870 NESTED_MOTOROLA_FIXIDX,
5871 NESTED_SYS_LIMITS_FIXIDX,
5872 NEWS_OS_RECURSION_FIXIDX,
5873 NEXT_MATH_PREFIX_FIXIDX,
5874 NEXT_TEMPLATE_FIXIDX,
5875 NEXT_VOLITILE_FIXIDX,
5876 NEXT_WAIT_UNION_FIXIDX,
5877 NODEENT_SYNTAX_FIXIDX,
5878 OSF_NAMESPACE_A_FIXIDX,
5879 OSF_NAMESPACE_C_FIXIDX,
5880 PTHREAD_PAGE_SIZE_FIXIDX,
5881 READ_RET_TYPE_FIXIDX,
5882 RS6000_DOUBLE_FIXIDX,
5883 RS6000_FCHMOD_FIXIDX,
5884 RS6000_PARAM_FIXIDX,
5885 SCO_STATIC_FUNC_FIXIDX,
5887 SOLARIS_MUTEX_INIT_FIXIDX,
5888 SOLARIS_STDIO_TAG_FIXIDX,
5889 SOLARIS_WIDEC_FIXIDX,
5891 STDIO_STDARG_H_FIXIDX,
5892 STDIO_VA_LIST_FIXIDX,
5893 STRICT_ANSI_NOT_FIXIDX,
5894 STRICT_ANSI_NOT_CTD_FIXIDX,
5895 STRICT_ANSI_ONLY_FIXIDX,
5897 STRUCT_SOCKADDR_FIXIDX,
5898 SUN_AUTH_PROTO_FIXIDX,
5899 SUN_BOGUS_IFDEF_FIXIDX,
5900 SUN_CATMACRO_FIXIDX,
5902 SUN_RUSERS_SEMI_FIXIDX,
5904 SUNOS_MATHERR_DECL_FIXIDX,
5905 SUNOS_STRLEN_FIXIDX,
5909 SYSV68_STRING_FIXIDX,
5910 SYSZ_STDLIB_FOR_SUN_FIXIDX,
5911 THREAD_KEYWORD_FIXIDX,
5912 TINFO_CPLUSPLUS_FIXIDX,
5913 ULTRIX_ATEXIT_PARAM_FIXIDX,
5914 ULTRIX_ATOF_PARAM_FIXIDX,
5915 ULTRIX_CONST_FIXIDX,
5916 ULTRIX_CONST2_FIXIDX,
5917 ULTRIX_FIX_FIXPROTO_FIXIDX,
5918 ULTRIX_IFDEF_FIXIDX,
5919 ULTRIX_MATH_IFDEF_FIXIDX,
5920 ULTRIX_NESTED_IOCTL_FIXIDX,
5921 ULTRIX_NESTED_SVC_FIXIDX,
5923 ULTRIX_STATIC_FIXIDX,
5924 ULTRIX_STRINGS_FIXIDX,
5925 UNDEFINE_NULL_FIXIDX,
5926 UNICOSMK_RESTRICT_FIXIDX,
5927 UW7_BYTEORDER_FIX_FIXIDX,
5928 VA_I960_MACRO_FIXIDX,
5930 VXWORKS_GCC_PROBLEM_FIXIDX,
5931 VXWORKS_NEEDS_VXTYPES_FIXIDX,
5932 VXWORKS_NEEDS_VXWORKS_FIXIDX,
5933 VXWORKS_TIME_FIXIDX,
5934 WINDISS_MATH1_FIXIDX,
5935 WINDISS_MATH2_FIXIDX,
5936 WINDISS_VALIST_FIXIDX,
5938 X11_CLASS_USAGE_FIXIDX,
5943 tFixDesc fixDescList[ FIX_COUNT ] = {
5944 { zAab_Dgux_Int_VarargsName, zAab_Dgux_Int_VarargsList,
5945 apzAab_Dgux_Int_VarargsMachs,
5946 AAB_DGUX_INT_VARARGS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5947 aAab_Dgux_Int_VarargsTests, apzAab_Dgux_Int_VarargsPatch, 0 },
5949 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
5950 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
5951 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5952 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
5954 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
5955 apzAab_Fd_Zero_Gnu_Types_HMachs,
5956 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5957 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
5959 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
5960 apzAab_Fd_Zero_Selectbits_HMachs,
5961 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5962 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
5964 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
5965 apzAab_Solaris_Sys_Varargs_HMachs,
5966 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5967 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
5969 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
5970 apzAab_Sun_MemcpyMachs,
5971 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5972 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
5974 { zAab_Svr4_Replace_ByteorderName, zAab_Svr4_Replace_ByteorderList,
5975 apzAab_Svr4_Replace_ByteorderMachs,
5976 AAB_SVR4_REPLACE_BYTEORDER_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5977 aAab_Svr4_Replace_ByteorderTests, apzAab_Svr4_Replace_ByteorderPatch, 0 },
5979 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
5980 apzAab_Ultrix_Ansi_CompatMachs,
5981 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5982 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
5984 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
5985 apzAab_Ultrix_LimitsMachs,
5986 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5987 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
5989 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
5990 apzAab_Ultrix_MemoryMachs,
5991 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5992 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
5994 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
5995 apzAab_Ultrix_StringMachs,
5996 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
5997 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
5999 { zAix_PthreadName, zAix_PthreadList,
6000 apzAix_PthreadMachs,
6001 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6002 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
6004 { zAix_SysmachineName, zAix_SysmachineList,
6005 apzAix_SysmachineMachs,
6006 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6007 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
6009 { zAix_SyswaitName, zAix_SyswaitList,
6010 apzAix_SyswaitMachs,
6011 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6012 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
6014 { zAix_VolatileName, zAix_VolatileList,
6015 apzAix_VolatileMachs,
6016 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6017 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
6019 { zAlpha___AssertName, zAlpha___AssertList,
6020 apzAlpha___AssertMachs,
6021 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6022 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
6024 { zAlpha_AssertName, zAlpha_AssertList,
6025 apzAlpha_AssertMachs,
6026 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6027 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
6029 { zAlpha_GetoptName, zAlpha_GetoptList,
6030 apzAlpha_GetoptMachs,
6031 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6032 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
6034 { zAlpha_ParensName, zAlpha_ParensList,
6035 apzAlpha_ParensMachs,
6036 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6037 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
6039 { zAlpha_SbrkName, zAlpha_SbrkList,
6041 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6042 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
6044 { zArm_Norcroft_HintName, zArm_Norcroft_HintList,
6045 apzArm_Norcroft_HintMachs,
6046 ARM_NORCROFT_HINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6047 aArm_Norcroft_HintTests, apzArm_Norcroft_HintPatch, 0 },
6049 { zArm_WcharName, zArm_WcharList,
6051 ARM_WCHAR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6052 aArm_WcharTests, apzArm_WcharPatch, 0 },
6054 { zAux_AsmName, zAux_AsmList,
6056 AUX_ASM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6057 aAux_AsmTests, apzAux_AsmPatch, 0 },
6059 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
6060 apzAvoid_Bool_DefineMachs,
6061 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6062 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
6064 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
6065 apzAvoid_Bool_TypeMachs,
6066 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6067 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
6069 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
6070 apzAvoid_Wchar_T_TypeMachs,
6071 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6072 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
6074 { zBad_LvalName, zBad_LvalList,
6076 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
6077 aBad_LvalTests, apzBad_LvalPatch, 0 },
6079 { zBad_Struct_TermName, zBad_Struct_TermList,
6080 apzBad_Struct_TermMachs,
6081 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6082 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
6084 { zBadquoteName, zBadquoteList,
6086 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6087 aBadquoteTests, apzBadquotePatch, 0 },
6089 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
6090 apzBroken_Assert_StdioMachs,
6091 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6092 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
6094 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
6095 apzBroken_Assert_StdlibMachs,
6096 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6097 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
6099 { zBroken_CabsName, zBroken_CabsList,
6100 apzBroken_CabsMachs,
6101 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6102 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
6104 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
6105 apzCtrl_Quotes_DefMachs,
6106 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6107 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
6109 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
6110 apzCtrl_Quotes_UseMachs,
6111 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6112 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
6114 { zCxx_UnreadyName, zCxx_UnreadyList,
6115 apzCxx_UnreadyMachs,
6116 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6117 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
6119 { zDec_Intern_AsmName, zDec_Intern_AsmList,
6120 apzDec_Intern_AsmMachs,
6121 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
6122 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
6124 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
6125 apzDjgpp_Wchar_HMachs,
6126 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6127 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
6129 { zEcd_CursorName, zEcd_CursorList,
6131 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6132 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
6134 { zFix_Header_BreakageName, zFix_Header_BreakageList,
6135 apzFix_Header_BreakageMachs,
6136 FIX_HEADER_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6137 aFix_Header_BreakageTests, apzFix_Header_BreakagePatch, 0 },
6139 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
6140 apzFreebsd_Gcc3_BreakageMachs,
6141 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6142 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
6144 { zGnu_TypesName, zGnu_TypesList,
6146 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6147 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
6149 { zHp_InlineName, zHp_InlineList,
6151 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6152 aHp_InlineTests, apzHp_InlinePatch, 0 },
6154 { zHp_SysfileName, zHp_SysfileList,
6156 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6157 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
6159 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
6160 apzHpux10_Cpp_Pow_InlineMachs,
6161 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6162 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
6164 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
6165 apzHpux11_Cpp_Pow_InlineMachs,
6166 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6167 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
6169 { zHpux11_FabsfName, zHpux11_FabsfList,
6170 apzHpux11_FabsfMachs,
6171 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6172 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
6174 { zHpux11_AbsName, zHpux11_AbsList,
6176 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6177 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
6179 { zHpux11_Size_TName, zHpux11_Size_TList,
6180 apzHpux11_Size_TMachs,
6181 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6182 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
6184 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
6185 apzHpux11_Uint32_CMachs,
6186 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6187 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
6189 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
6190 apzHpux11_VsnprintfMachs,
6191 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6192 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
6194 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
6195 apzHpux8_Bogus_InlinesMachs,
6196 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
6197 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
6199 { zHpux_MaxintName, zHpux_MaxintList,
6200 apzHpux_MaxintMachs,
6201 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6202 aHpux_MaxintTests, apzHpux_MaxintPatch, 0 },
6204 { zHpux_SystimeName, zHpux_SystimeList,
6205 apzHpux_SystimeMachs,
6206 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6207 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
6209 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
6210 apzInt_Abort_Free_And_ExitMachs,
6211 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6212 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
6214 { zIo_Quotes_DefName, zIo_Quotes_DefList,
6215 apzIo_Quotes_DefMachs,
6216 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6217 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
6219 { zIo_Quotes_UseName, zIo_Quotes_UseList,
6220 apzIo_Quotes_UseMachs,
6221 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6222 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
6224 { zIp_Missing_SemiName, zIp_Missing_SemiList,
6225 apzIp_Missing_SemiMachs,
6226 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
6227 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
6229 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
6230 apzIrix_Asm_ApostropheMachs,
6231 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6232 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
6234 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
6235 apzIrix_Limits_ConstMachs,
6236 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6237 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
6239 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
6240 apzIrix_Stdio_Va_ListMachs,
6241 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6242 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
6244 { zIsc_FmodName, zIsc_FmodList,
6246 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6247 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
6249 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
6250 apzIsc_Omits_With_StdcMachs,
6251 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6252 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
6254 { zKandr_ConcatName, zKandr_ConcatList,
6255 apzKandr_ConcatMachs,
6256 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6257 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
6259 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
6260 apzLibc1_Ifdefd_MemxMachs,
6261 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6262 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
6264 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
6265 apzLibc1_G_Va_ListMachs,
6266 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6267 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
6269 { zLimits_IfndefsName, zLimits_IfndefsList,
6270 apzLimits_IfndefsMachs,
6271 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6272 aLimits_IfndefsTests, apzLimits_IfndefsPatch, 0 },
6274 { zLynx_Void_IntName, zLynx_Void_IntList,
6275 apzLynx_Void_IntMachs,
6276 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6277 aLynx_Void_IntTests, apzLynx_Void_IntPatch, 0 },
6279 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
6280 apzLynxos_Fcntl_ProtoMachs,
6281 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6282 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch, 0 },
6284 { zM88k_Bad_Hypot_OptName, zM88k_Bad_Hypot_OptList,
6285 apzM88k_Bad_Hypot_OptMachs,
6286 M88K_BAD_HYPOT_OPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6287 aM88k_Bad_Hypot_OptTests, apzM88k_Bad_Hypot_OptPatch, 0 },
6289 { zM88k_Bad_S_IfName, zM88k_Bad_S_IfList,
6290 apzM88k_Bad_S_IfMachs,
6291 M88K_BAD_S_IF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6292 aM88k_Bad_S_IfTests, apzM88k_Bad_S_IfPatch, 0 },
6294 { zM88k_Multi_InclName, zM88k_Multi_InclList,
6295 apzM88k_Multi_InclMachs,
6296 M88K_MULTI_INCL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6297 aM88k_Multi_InclTests, apzM88k_Multi_InclPatch, 0 },
6299 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
6300 apzMachine_Ansi_H_Va_ListMachs,
6301 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6302 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
6304 { zMachine_NameName, zMachine_NameList,
6305 apzMachine_NameMachs,
6306 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6307 aMachine_NameTests, apzMachine_NamePatch, 0 },
6309 { zMath_ExceptionName, zMath_ExceptionList,
6310 apzMath_ExceptionMachs,
6311 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6312 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
6314 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
6315 apzMath_Huge_Val_From_Dbl_MaxMachs,
6316 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
6317 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
6319 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
6320 apzMath_Huge_Val_IfndefMachs,
6321 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6322 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch, 0 },
6324 { zNested_Auth_DesName, zNested_Auth_DesList,
6325 apzNested_Auth_DesMachs,
6326 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6327 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
6329 { zNested_MotorolaName, zNested_MotorolaList,
6330 apzNested_MotorolaMachs,
6331 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
6332 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
6334 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
6335 apzNested_Sys_LimitsMachs,
6336 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
6337 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
6339 { zNews_Os_RecursionName, zNews_Os_RecursionList,
6340 apzNews_Os_RecursionMachs,
6341 NEWS_OS_RECURSION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6342 aNews_Os_RecursionTests, apzNews_Os_RecursionPatch, 0 },
6344 { zNext_Math_PrefixName, zNext_Math_PrefixList,
6345 apzNext_Math_PrefixMachs,
6346 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6347 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
6349 { zNext_TemplateName, zNext_TemplateList,
6350 apzNext_TemplateMachs,
6351 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6352 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
6354 { zNext_VolitileName, zNext_VolitileList,
6355 apzNext_VolitileMachs,
6356 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6357 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
6359 { zNext_Wait_UnionName, zNext_Wait_UnionList,
6360 apzNext_Wait_UnionMachs,
6361 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6362 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
6364 { zNodeent_SyntaxName, zNodeent_SyntaxList,
6365 apzNodeent_SyntaxMachs,
6366 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6367 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
6369 { zOsf_Namespace_AName, zOsf_Namespace_AList,
6370 apzOsf_Namespace_AMachs,
6371 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6372 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
6374 { zOsf_Namespace_CName, zOsf_Namespace_CList,
6375 apzOsf_Namespace_CMachs,
6376 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6377 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
6379 { zPthread_Page_SizeName, zPthread_Page_SizeList,
6380 apzPthread_Page_SizeMachs,
6381 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6382 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
6384 { zRead_Ret_TypeName, zRead_Ret_TypeList,
6385 apzRead_Ret_TypeMachs,
6386 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6387 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
6389 { zRs6000_DoubleName, zRs6000_DoubleList,
6390 apzRs6000_DoubleMachs,
6391 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6392 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
6394 { zRs6000_FchmodName, zRs6000_FchmodList,
6395 apzRs6000_FchmodMachs,
6396 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6397 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
6399 { zRs6000_ParamName, zRs6000_ParamList,
6400 apzRs6000_ParamMachs,
6401 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6402 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
6404 { zSco_Static_FuncName, zSco_Static_FuncList,
6405 apzSco_Static_FuncMachs,
6406 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
6407 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
6409 { zSco_UtimeName, zSco_UtimeList,
6411 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6412 aSco_UtimeTests, apzSco_UtimePatch, 0 },
6414 { zSolaris_Mutex_InitName, zSolaris_Mutex_InitList,
6415 apzSolaris_Mutex_InitMachs,
6416 SOLARIS_MUTEX_INIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6417 aSolaris_Mutex_InitTests, apzSolaris_Mutex_InitPatch, 0 },
6419 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
6420 apzSolaris_Stdio_TagMachs,
6421 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
6422 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
6424 { zSolaris_WidecName, zSolaris_WidecList,
6425 apzSolaris_WidecMachs,
6426 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6427 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
6429 { zStatsswtchName, zStatsswtchList,
6431 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6432 aStatsswtchTests, apzStatsswtchPatch, 0 },
6434 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
6435 apzStdio_Stdarg_HMachs,
6436 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6437 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
6439 { zStdio_Va_ListName, zStdio_Va_ListList,
6440 apzStdio_Va_ListMachs,
6441 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
6442 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
6444 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
6445 apzStrict_Ansi_NotMachs,
6446 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6447 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
6449 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
6450 apzStrict_Ansi_Not_CtdMachs,
6451 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6452 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
6454 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
6455 apzStrict_Ansi_OnlyMachs,
6456 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6457 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
6459 { zStruct_FileName, zStruct_FileList,
6460 apzStruct_FileMachs,
6461 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6462 aStruct_FileTests, apzStruct_FilePatch, 0 },
6464 { zStruct_SockaddrName, zStruct_SockaddrList,
6465 apzStruct_SockaddrMachs,
6466 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6467 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
6469 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
6470 apzSun_Auth_ProtoMachs,
6471 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6472 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
6474 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
6475 apzSun_Bogus_IfdefMachs,
6476 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6477 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
6479 { zSun_CatmacroName, zSun_CatmacroList,
6480 apzSun_CatmacroMachs,
6481 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6482 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
6484 { zSun_MallocName, zSun_MallocList,
6486 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
6487 aSun_MallocTests, apzSun_MallocPatch, 0 },
6489 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
6490 apzSun_Rusers_SemiMachs,
6491 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
6492 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
6494 { zSun_SignalName, zSun_SignalList,
6496 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6497 aSun_SignalTests, apzSun_SignalPatch, 0 },
6499 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
6500 apzSunos_Matherr_DeclMachs,
6501 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6502 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch, 0 },
6504 { zSunos_StrlenName, zSunos_StrlenList,
6505 apzSunos_StrlenMachs,
6506 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6507 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
6509 { zSvr4__PName, zSvr4__PList,
6511 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6512 aSvr4__PTests, apzSvr4__PPatch, 0 },
6514 { zSvr4_GetcwdName, zSvr4_GetcwdList,
6515 apzSvr4_GetcwdMachs,
6516 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6517 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
6519 { zSvr4_ProfilName, zSvr4_ProfilList,
6520 apzSvr4_ProfilMachs,
6521 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6522 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
6524 { zSysv68_StringName, zSysv68_StringList,
6525 apzSysv68_StringMachs,
6526 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
6527 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
6529 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
6530 apzSysz_Stdlib_For_SunMachs,
6531 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6532 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
6534 { zThread_KeywordName, zThread_KeywordList,
6535 apzThread_KeywordMachs,
6536 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6537 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
6539 { zTinfo_CplusplusName, zTinfo_CplusplusList,
6540 apzTinfo_CplusplusMachs,
6541 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6542 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
6544 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
6545 apzUltrix_Atexit_ParamMachs,
6546 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6547 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
6549 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
6550 apzUltrix_Atof_ParamMachs,
6551 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6552 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
6554 { zUltrix_ConstName, zUltrix_ConstList,
6555 apzUltrix_ConstMachs,
6556 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6557 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
6559 { zUltrix_Const2Name, zUltrix_Const2List,
6560 apzUltrix_Const2Machs,
6561 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6562 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
6564 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
6565 apzUltrix_Fix_FixprotoMachs,
6566 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6567 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
6569 { zUltrix_IfdefName, zUltrix_IfdefList,
6570 apzUltrix_IfdefMachs,
6571 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6572 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
6574 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
6575 apzUltrix_Math_IfdefMachs,
6576 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6577 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
6579 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
6580 apzUltrix_Nested_IoctlMachs,
6581 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
6582 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
6584 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
6585 apzUltrix_Nested_SvcMachs,
6586 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
6587 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
6589 { zUltrix_StatName, zUltrix_StatList,
6590 apzUltrix_StatMachs,
6591 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
6592 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
6594 { zUltrix_StaticName, zUltrix_StaticList,
6595 apzUltrix_StaticMachs,
6596 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
6597 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
6599 { zUltrix_StringsName, zUltrix_StringsList,
6600 apzUltrix_StringsMachs,
6601 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6602 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
6604 { zUndefine_NullName, zUndefine_NullList,
6605 apzUndefine_NullMachs,
6606 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6607 aUndefine_NullTests, apzUndefine_NullPatch, 0 },
6609 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
6610 apzUnicosmk_RestrictMachs,
6611 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6612 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
6614 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
6615 apzUw7_Byteorder_FixMachs,
6616 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6617 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
6619 { zVa_I960_MacroName, zVa_I960_MacroList,
6620 apzVa_I960_MacroMachs,
6621 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6622 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
6624 { zVoid_NullName, zVoid_NullList,
6626 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6627 aVoid_NullTests, apzVoid_NullPatch, 0 },
6629 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
6630 apzVxworks_Gcc_ProblemMachs,
6631 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
6632 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
6634 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
6635 apzVxworks_Needs_VxtypesMachs,
6636 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6637 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
6639 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
6640 apzVxworks_Needs_VxworksMachs,
6641 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
6642 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
6644 { zVxworks_TimeName, zVxworks_TimeList,
6645 apzVxworks_TimeMachs,
6646 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6647 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
6649 { zWindiss_Math1Name, zWindiss_Math1List,
6650 apzWindiss_Math1Machs,
6651 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
6652 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
6654 { zWindiss_Math2Name, zWindiss_Math2List,
6655 apzWindiss_Math2Machs,
6656 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
6657 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
6659 { zWindiss_ValistName, zWindiss_ValistList,
6660 apzWindiss_ValistMachs,
6661 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
6662 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
6664 { zX11_ClassName, zX11_ClassList,
6666 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6667 aX11_ClassTests, apzX11_ClassPatch, 0 },
6669 { zX11_Class_UsageName, zX11_Class_UsageList,
6670 apzX11_Class_UsageMachs,
6671 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6672 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
6674 { zX11_NewName, zX11_NewList,
6676 X11_NEW_TEST_CT, FD_MACH_ONLY,
6677 aX11_NewTests, apzX11_NewPatch, 0 },
6679 { zX11_SprintfName, zX11_SprintfList,
6680 apzX11_SprintfMachs,
6681 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6682 aX11_SprintfTests, apzX11_SprintfPatch, 0 }