1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Sunday August 17, 2003 at 01:31:26 AM EDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT CVS-MERGE THIS FILE, EITHER Sun Aug 17 01:31:26 EDT 2003
11 * You must regenerate it. Use the ./genfixes script.
14 * This is part of the fixincl program used to install modified versions of
15 * certain ANSI-incompatible system header files which are fixed to work
16 * correctly with ANSI C and placed in a directory that GNU C will search.
18 * This file contains 157 fixup descriptions.
20 * See README for more information.
22 * inclhack copyright (c) 1998, 1999, 2000, 2001
23 * The Free Software Foundation, Inc.
25 * inclhack is free software.
27 * You may redistribute it and/or modify it under the terms of the
28 * GNU General Public License, as published by the Free Software
29 * Foundation; either version 2, or (at your option) any later version.
31 * inclhack is distributed in the hope that it will be useful,
32 * but WITHOUT ANY WARRANTY; without even the implied warranty of
33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
34 * See the GNU General Public License for more details.
36 * You should have received a copy of the GNU General Public License
37 * along with inclhack. See the file "COPYING". If not,
38 * write to: The Free Software Foundation, Inc.,
39 * 59 Temple Place - Suite 330,
40 * Boston, MA 02111-1307, USA.
43 /* * * * * * * * * * * * * * * * * * * * * * * * * *
45 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
47 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
48 "AAB_fd_zero_asm_posix_types_h";
51 * File name selection pattern
53 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
54 "|asm/posix_types.h|";
56 * Machine/OS name selection pattern
58 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
59 "i[34567]86-*-linux*",
63 * content bypass pattern - skip fix if pattern found
65 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
68 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
69 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
70 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
73 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
75 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
76 "/* This file fixes a bug in the __FD_ZERO macro\n\
77 for older versions of the Linux kernel. */\n\
78 #ifndef _POSIX_TYPES_H_WRAPPER\n\
79 #include <features.h>\n\
80 #include_next <asm/posix_types.h>\n\n\
81 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
83 #define __FD_ZERO(fdsetp) \\\n\
86 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
87 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
88 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
89 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
92 #define _POSIX_TYPES_H_WRAPPER\n\
93 #endif /* _POSIX_TYPES_H_WRAPPER */",
96 /* * * * * * * * * * * * * * * * * * * * * * * * * *
98 * Description of Aab_Fd_Zero_Gnu_Types_H fix
100 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
101 "AAB_fd_zero_gnu_types_h";
104 * File name selection pattern
106 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
109 * Machine/OS name selection pattern
111 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
112 "i[34567]86-*-linux*",
114 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
115 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
118 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
120 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
121 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
122 #ifndef _TYPES_H_WRAPPER\n\
123 #include <features.h>\n\
124 #include_next <gnu/types.h>\n\n\
125 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
127 # define __FD_ZERO(fdsetp) \\\\\n\
129 int __d0, __d1; \\\\\n\
130 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\\\n\
131 \t: \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
132 \t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\\\n\
133 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\\\n\
136 #define _TYPES_H_WRAPPER\n\
137 #endif /* _TYPES_H_WRAPPER */",
140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
142 * Description of Aab_Fd_Zero_Selectbits_H fix
144 tSCC zAab_Fd_Zero_Selectbits_HName[] =
145 "AAB_fd_zero_selectbits_h";
148 * File name selection pattern
150 tSCC zAab_Fd_Zero_Selectbits_HList[] =
153 * Machine/OS name selection pattern
155 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
156 "i[34567]86-*-linux*",
158 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
159 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
162 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
164 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
165 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
166 #ifndef _SELECTBITS_H_WRAPPER\n\
167 #include <features.h>\n\
168 #include_next <selectbits.h>\n\n\
169 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
170 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
171 && __GLIBC_MINOR__ == 0\n\
173 #define __FD_ZERO(fdsetp) \\\\\n\
175 int __d0, __d1; \\\\\n\
176 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
177 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
178 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
179 / sizeof (__fd_mask)), \\\\\n\
180 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
181 : \"memory\"); \\\\\n\
184 #define _SELECTBITS_H_WRAPPER\n\
185 #endif /* _SELECTBITS_H_WRAPPER */",
188 /* * * * * * * * * * * * * * * * * * * * * * * * * *
190 * Description of Aab_Solaris_Sys_Varargs_H fix
192 tSCC zAab_Solaris_Sys_Varargs_HName[] =
193 "AAB_solaris_sys_varargs_h";
196 * File name selection pattern
198 tSCC zAab_Solaris_Sys_Varargs_HList[] =
201 * Machine/OS name selection pattern
203 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
206 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
207 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
210 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
212 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
214 #include <stdarg.h>\n\
216 #include <varargs.h>\n\
220 /* * * * * * * * * * * * * * * * * * * * * * * * * *
222 * Description of Aab_Sun_Memcpy fix
224 tSCC zAab_Sun_MemcpyName[] =
228 * File name selection pattern
230 tSCC zAab_Sun_MemcpyList[] =
233 * Machine/OS name selection pattern
235 #define apzAab_Sun_MemcpyMachs (const char**)NULL
238 * content selection pattern - do fix if pattern found
240 tSCC zAab_Sun_MemcpySelect0[] =
241 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
243 #define AAB_SUN_MEMCPY_TEST_CT 1
244 static tTestDesc aAab_Sun_MemcpyTests[] = {
245 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
248 * Fix Command Arguments for Aab_Sun_Memcpy
250 static const char* apzAab_Sun_MemcpyPatch[] = {
251 "/* This file was generated by fixincludes */\n\
252 #ifndef __memory_h__\n\
253 #define __memory_h__\n\n\
255 extern void *memccpy();\n\
256 extern void *memchr();\n\
257 extern void *memcpy();\n\
258 extern void *memset();\n\
260 extern char *memccpy();\n\
261 extern char *memchr();\n\
262 extern char *memcpy();\n\
263 extern char *memset();\n\
264 #endif /* __STDC__ */\n\n\
265 extern int memcmp();\n\n\
266 #endif /* __memory_h__ */\n\
270 * Completely replace <sys/varargs.h> with a file that includes gcc's\n\
271 * stdarg.h or varargs.h files as appropriate.\n\
275 hackname = AAB_svr4_no_varargs;\n\
276 files = sys/varargs.h;\n\
277 replace = \"/* This file was generated by fixincludes. */\\n\"\n\
278 \"#ifndef _SYS_VARARGS_H\\n\"\n\
279 \"#define _SYS_VARARGS_H\\n\\n\"\n\n\
280 \"#ifdef __STDC__\\n\"\n\
281 \"#include <stdarg.h>\\n\"\n\
283 \"#include <varargs.h>\\n\"\n\
284 \"#endif\\n\\n\"\n\n\
285 \"#endif /* _SYS_VARARGS_H */\\n\";\n\
289 * Completely replace <sys/byteorder.h> with a file that implements gcc's\n\
290 * optimized byteswapping. (The original probably implemented some\n\
291 * incompatible optimized byteswapping.)\n\
294 hackname = AAB_svr4_replace_byteorder;\n\
295 mach = \"*-*-sysv4*\";\n\
296 mach = \"i[34567]86-*-sysv5*\";\n\
297 mach = \"i[34567]86-*-sco3.2v5*\";\n\
298 mach = \"i[34567]86-*-udk*\";\n\
299 mach = \"i[34567]86-*-solaris2.[0-4]\";\n\
300 mach = \"powerpcle-*-solaris2.[0-4]\";\n\
301 mach = \"sparc-*-solaris2.[0-4]\";\n\
302 mach = \"i[34567]86-sequent-ptx*\";\n\
303 mach = \"i[34567]86-sequent-sysv3*\";\n\
304 files = sys/byteorder.h;\n\
305 replace = <<- _EndOfHeader_\n\
306 #ifndef _SYS_BYTEORDER_H\n\
307 #define _SYS_BYTEORDER_H\n\n\
308 /* Functions to convert `short' and `long' quantities from host byte order\n\
309 to (internet) network byte order (i.e. big-endian).\n\n\
310 Written by Ron Guilmette (rfg@ncd.com).\n\n\
311 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
312 For big-endian machines these functions are essentially no-ops.\n\n\
313 For little-endian machines, we define the functions using specialized\n\
314 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
315 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
316 #error You lose! This file is only useful with GNU compilers.\n\
318 #ifndef __BYTE_ORDER__\n\
319 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
320 double underscores added at the front and back. */\n\
321 #define __LITTLE_ENDIAN__ 1234\n\
322 #define __BIG_ENDIAN__ 4321\n\
323 #define __PDP_ENDIAN__ 3412\n\
326 static __inline__ unsigned long htonl (unsigned long);\n\
327 static __inline__ unsigned short htons (unsigned int);\n\
328 static __inline__ unsigned long ntohl (unsigned long);\n\
329 static __inline__ unsigned short ntohs (unsigned int);\n\
330 #endif /* defined (__STDC__) */\n\n\
331 #if defined (__i386__)\n\n\
332 #ifndef __BYTE_ORDER__\n\
333 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
335 /* Convert a host long to a network long. */\n\n\
336 /* We must use a new-style function definition, so that this will also\n\
337 be valid for C++. */\n\
338 static __inline__ unsigned long\n\
339 htonl (unsigned long __arg)\n\
341 register unsigned long __result;\n\n\
342 __asm__ (\"xchg%B0 %b0,%h0\n\
344 xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
347 /* Convert a host short to a network short. */\n\n\
348 static __inline__ unsigned short\n\
349 htons (unsigned int __arg)\n\
351 register unsigned short __result;\n\n\
352 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
355 #elif (defined (__ns32k__) || defined (__vax__) || defined (__arm__))\n\n\
356 #ifndef __BYTE_ORDER__\n\
357 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
359 /* For other little-endian machines, using C code is just as efficient as\n\
360 using assembly code. */\n\n\
361 /* Convert a host long to a network long. */\n\n\
362 static __inline__ unsigned long\n\
363 htonl (unsigned long __arg)\n\
365 register unsigned long __result;\n\n\
366 __result = (__arg >> 24) & 0x000000ff;\n\
367 __result |= (__arg >> 8) & 0x0000ff00;\n\
368 __result |= (__arg << 8) & 0x00ff0000;\n\
369 __result |= (__arg << 24) & 0xff000000;\n\
372 /* Convert a host short to a network short. */\n\n\
373 static __inline__ unsigned short\n\
374 htons (unsigned int __arg)\n\
376 register unsigned short __result;\n\n\
377 __result = (__arg << 8) & 0xff00;\n\
378 __result |= (__arg >> 8) & 0x00ff;\n\
381 #else /* must be a big-endian machine */\n\n\
382 #ifndef __BYTE_ORDER__\n\
383 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
385 /* Convert a host long to a network long. */\n\n\
386 static __inline__ unsigned long\n\
387 htonl (unsigned long __arg)\n\
391 /* Convert a host short to a network short. */\n\n\
392 static __inline__ unsigned short\n\
393 htons (unsigned int __arg)\n\
397 #endif /* big-endian */\n\n\
398 /* Convert a network long to a host long. */\n\n\
399 static __inline__ unsigned long\n\
400 ntohl (unsigned long __arg)\n\
402 return htonl (__arg);\n\
404 /* Convert a network short to a host short. */\n\n\
405 static __inline__ unsigned short\n\
406 ntohs (unsigned int __arg)\n\
408 return htons (__arg);\n\
413 /* * * * * * * * * * * * * * * * * * * * * * * * * *
415 * Description of Aab_Ultrix_Ansi_Compat fix
417 tSCC zAab_Ultrix_Ansi_CompatName[] =
418 "AAB_ultrix_ansi_compat";
421 * File name selection pattern
423 tSCC zAab_Ultrix_Ansi_CompatList[] =
426 * Machine/OS name selection pattern
428 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
431 * content selection pattern - do fix if pattern found
433 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
436 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
437 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
438 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
441 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
443 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
444 "/* This file intentionally left blank. */\n",
447 /* * * * * * * * * * * * * * * * * * * * * * * * * *
449 * Description of Aab_Ultrix_Limits fix
451 tSCC zAab_Ultrix_LimitsName[] =
455 * File name selection pattern
457 tSCC zAab_Ultrix_LimitsList[] =
460 * Machine/OS name selection pattern
462 tSCC* apzAab_Ultrix_LimitsMachs[] = {
465 #define AAB_ULTRIX_LIMITS_TEST_CT 0
466 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
469 * Fix Command Arguments for Aab_Ultrix_Limits
471 static const char* apzAab_Ultrix_LimitsPatch[] = {
472 "#ifndef _LIMITS_INCLUDED\n\
473 #define _LIMITS_INCLUDED\n\
474 #include <sys/limits.h>\n\
475 #endif /* _LIMITS_INCLUDED */",
478 /* * * * * * * * * * * * * * * * * * * * * * * * * *
480 * Description of Aab_Ultrix_Memory fix
482 tSCC zAab_Ultrix_MemoryName[] =
486 * File name selection pattern
488 tSCC zAab_Ultrix_MemoryList[] =
491 * Machine/OS name selection pattern
493 tSCC* apzAab_Ultrix_MemoryMachs[] = {
496 #define AAB_ULTRIX_MEMORY_TEST_CT 0
497 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
500 * Fix Command Arguments for Aab_Ultrix_Memory
502 static const char* apzAab_Ultrix_MemoryPatch[] = {
503 "#ifndef _MEMORY_INCLUDED\n\
504 #define _MEMORY_INCLUDED\n\
505 #include <strings.h>\n\
506 #endif /* _MEMORY_INCLUDED */",
509 /* * * * * * * * * * * * * * * * * * * * * * * * * *
511 * Description of Aab_Ultrix_String fix
513 tSCC zAab_Ultrix_StringName[] =
517 * File name selection pattern
519 tSCC zAab_Ultrix_StringList[] =
522 * Machine/OS name selection pattern
524 tSCC* apzAab_Ultrix_StringMachs[] = {
527 #define AAB_ULTRIX_STRING_TEST_CT 0
528 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
531 * Fix Command Arguments for Aab_Ultrix_String
533 static const char* apzAab_Ultrix_StringPatch[] = {
534 "#ifndef _STRING_INCLUDED\n\
535 #define _STRING_INCLUDED\n\
536 #include <strings.h>\n\
537 #endif /* _STRING_INCLUDED */",
540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
542 * Description of Aix_Pthread fix
544 tSCC zAix_PthreadName[] =
548 * File name selection pattern
550 tSCC zAix_PthreadList[] =
553 * Machine/OS name selection pattern
555 #define apzAix_PthreadMachs (const char**)NULL
558 * content selection pattern - do fix if pattern found
560 tSCC zAix_PthreadSelect0[] =
561 "(#define [A-Za-z_0-9]+)(\\\\\n\
565 #define AIX_PTHREAD_TEST_CT 1
566 static tTestDesc aAix_PthreadTests[] = {
567 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
570 * Fix Command Arguments for Aix_Pthread
572 static const char* apzAix_PthreadPatch[] = {
577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
579 * Description of Aix_Sysmachine fix
581 tSCC zAix_SysmachineName[] =
585 * File name selection pattern
587 tSCC zAix_SysmachineList[] =
590 * Machine/OS name selection pattern
592 #define apzAix_SysmachineMachs (const char**)NULL
595 * content selection pattern - do fix if pattern found
597 tSCC zAix_SysmachineSelect0[] =
600 #define AIX_SYSMACHINE_TEST_CT 1
601 static tTestDesc aAix_SysmachineTests[] = {
602 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
605 * Fix Command Arguments for Aix_Sysmachine
607 static const char* apzAix_SysmachinePatch[] = {
612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
614 * Description of Aix_Syswait fix
616 tSCC zAix_SyswaitName[] =
620 * File name selection pattern
622 tSCC zAix_SyswaitList[] =
625 * Machine/OS name selection pattern
627 #define apzAix_SyswaitMachs (const char**)NULL
630 * content selection pattern - do fix if pattern found
632 tSCC zAix_SyswaitSelect0[] =
633 "^extern pid_t wait3\\(\\);\n";
634 tSCC zAix_SyswaitSelect1[] =
637 #define AIX_SYSWAIT_TEST_CT 2
638 static tTestDesc aAix_SyswaitTests[] = {
639 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
640 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
643 * Fix Command Arguments for Aix_Syswait
645 static const char* apzAix_SyswaitPatch[] = {
651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
653 * Description of Aix_Volatile fix
655 tSCC zAix_VolatileName[] =
659 * File name selection pattern
661 tSCC zAix_VolatileList[] =
664 * Machine/OS name selection pattern
666 #define apzAix_VolatileMachs (const char**)NULL
669 * content selection pattern - do fix if pattern found
671 tSCC zAix_VolatileSelect0[] =
672 "typedef volatile int sig_atomic_t";
674 #define AIX_VOLATILE_TEST_CT 1
675 static tTestDesc aAix_VolatileTests[] = {
676 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
679 * Fix Command Arguments for Aix_Volatile
681 static const char* apzAix_VolatilePatch[] = {
683 "typedef int sig_atomic_t",
686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
688 * Description of Alpha___Assert fix
690 tSCC zAlpha___AssertName[] =
694 * File name selection pattern
696 tSCC zAlpha___AssertList[] =
699 * Machine/OS name selection pattern
701 #define apzAlpha___AssertMachs (const char**)NULL
704 * content selection pattern - do fix if pattern found
706 tSCC zAlpha___AssertSelect0[] =
707 "__assert\\(char \\*, char \\*, int\\)";
709 #define ALPHA___ASSERT_TEST_CT 1
710 static tTestDesc aAlpha___AssertTests[] = {
711 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
714 * Fix Command Arguments for Alpha___Assert
716 static const char* apzAlpha___AssertPatch[] = {
718 "__assert(const char *, const char *, int)",
721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
723 * Description of Alpha___Extern_Prefix fix
725 tSCC zAlpha___Extern_PrefixName[] =
726 "alpha___extern_prefix";
729 * File name selection pattern
731 tSCC zAlpha___Extern_PrefixList[] =
734 * Machine/OS name selection pattern
736 tSCC* apzAlpha___Extern_PrefixMachs[] = {
741 * content selection pattern - do fix if pattern found
743 tSCC zAlpha___Extern_PrefixSelect0[] =
744 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
746 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
747 static tTestDesc aAlpha___Extern_PrefixTests[] = {
748 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
751 * Fix Command Arguments for Alpha___Extern_Prefix
753 static const char* apzAlpha___Extern_PrefixPatch[] = {
755 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
758 /* * * * * * * * * * * * * * * * * * * * * * * * * *
760 * Description of Alpha_Assert fix
762 tSCC zAlpha_AssertName[] =
766 * File name selection pattern
768 tSCC zAlpha_AssertList[] =
771 * Machine/OS name selection pattern
773 #define apzAlpha_AssertMachs (const char**)NULL
776 * content selection pattern - do fix if pattern found
778 tSCC zAlpha_AssertSelect0[] =
779 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
781 #define ALPHA_ASSERT_TEST_CT 1
782 static tTestDesc aAlpha_AssertTests[] = {
783 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
786 * Fix Command Arguments for Alpha_Assert
788 static const char* apzAlpha_AssertPatch[] = {
793 /* * * * * * * * * * * * * * * * * * * * * * * * * *
795 * Description of Alpha_Getopt fix
797 tSCC zAlpha_GetoptName[] =
801 * File name selection pattern
803 tSCC zAlpha_GetoptList[] =
804 "|stdio.h|stdlib.h|";
806 * Machine/OS name selection pattern
808 #define apzAlpha_GetoptMachs (const char**)NULL
811 * content selection pattern - do fix if pattern found
813 tSCC zAlpha_GetoptSelect0[] =
814 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
816 #define ALPHA_GETOPT_TEST_CT 1
817 static tTestDesc aAlpha_GetoptTests[] = {
818 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
821 * Fix Command Arguments for Alpha_Getopt
823 static const char* apzAlpha_GetoptPatch[] = {
825 "getopt(int, char *const[], const char *)",
828 /* * * * * * * * * * * * * * * * * * * * * * * * * *
830 * Description of Alpha_Parens fix
832 tSCC zAlpha_ParensName[] =
836 * File name selection pattern
838 tSCC zAlpha_ParensList[] =
841 * Machine/OS name selection pattern
843 #define apzAlpha_ParensMachs (const char**)NULL
846 * content selection pattern - do fix if pattern found
848 tSCC zAlpha_ParensSelect0[] =
849 "#ifndef\\(__mips64\\)";
851 #define ALPHA_PARENS_TEST_CT 1
852 static tTestDesc aAlpha_ParensTests[] = {
853 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
856 * Fix Command Arguments for Alpha_Parens
858 static const char* apzAlpha_ParensPatch[] = {
863 /* * * * * * * * * * * * * * * * * * * * * * * * * *
865 * Description of Alpha_Pthread fix
867 tSCC zAlpha_PthreadName[] =
871 * File name selection pattern
873 tSCC zAlpha_PthreadList[] =
876 * Machine/OS name selection pattern
878 tSCC* apzAlpha_PthreadMachs[] = {
883 * content selection pattern - do fix if pattern found
885 tSCC zAlpha_PthreadSelect0[] =
886 "(#[ \t]*if defined \\(_PTHREAD_ENV_DECC\\) || defined \\(_PTHREAD_ENV_EPCC\\))\n\
887 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
889 #define ALPHA_PTHREAD_TEST_CT 1
890 static tTestDesc aAlpha_PthreadTests[] = {
891 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
894 * Fix Command Arguments for Alpha_Pthread
896 static const char* apzAlpha_PthreadPatch[] = {
898 "%1 || defined (__PRAGMA_EXTERN_PREFIX)\n\
902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
904 * Description of Alpha_Sbrk fix
906 tSCC zAlpha_SbrkName[] =
910 * File name selection pattern
912 tSCC zAlpha_SbrkList[] =
915 * Machine/OS name selection pattern
917 #define apzAlpha_SbrkMachs (const char**)NULL
920 * content selection pattern - do fix if pattern found
922 tSCC zAlpha_SbrkSelect0[] =
923 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
925 #define ALPHA_SBRK_TEST_CT 1
926 static tTestDesc aAlpha_SbrkTests[] = {
927 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
930 * Fix Command Arguments for Alpha_Sbrk
932 static const char* apzAlpha_SbrkPatch[] = {
937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
939 * Description of Avoid_Bool_Define fix
941 tSCC zAvoid_Bool_DefineName[] =
945 * File name selection pattern
947 tSCC zAvoid_Bool_DefineList[] =
948 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
950 * Machine/OS name selection pattern
952 #define apzAvoid_Bool_DefineMachs (const char**)NULL
955 * content selection pattern - do fix if pattern found
957 tSCC zAvoid_Bool_DefineSelect0[] =
958 "#[ \t]*define[ \t]+bool[ \t]";
961 * content bypass pattern - skip fix if pattern found
963 tSCC zAvoid_Bool_DefineBypass0[] =
966 #define AVOID_BOOL_DEFINE_TEST_CT 2
967 static tTestDesc aAvoid_Bool_DefineTests[] = {
968 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
969 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
972 * Fix Command Arguments for Avoid_Bool_Define
974 static const char* apzAvoid_Bool_DefinePatch[] = {
976 "#ifndef __cplusplus\n\
979 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
982 /* * * * * * * * * * * * * * * * * * * * * * * * * *
984 * Description of Avoid_Bool_Type fix
986 tSCC zAvoid_Bool_TypeName[] =
990 * File name selection pattern
992 tSCC zAvoid_Bool_TypeList[] =
993 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
995 * Machine/OS name selection pattern
997 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1000 * content selection pattern - do fix if pattern found
1002 tSCC zAvoid_Bool_TypeSelect0[] =
1003 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1006 * content bypass pattern - skip fix if pattern found
1008 tSCC zAvoid_Bool_TypeBypass0[] =
1011 #define AVOID_BOOL_TYPE_TEST_CT 2
1012 static tTestDesc aAvoid_Bool_TypeTests[] = {
1013 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1014 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1017 * Fix Command Arguments for Avoid_Bool_Type
1019 static const char* apzAvoid_Bool_TypePatch[] = {
1021 "#ifndef __cplusplus\n\
1026 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1028 * Description of Avoid_Wchar_T_Type fix
1030 tSCC zAvoid_Wchar_T_TypeName[] =
1031 "avoid_wchar_t_type";
1034 * File name selection pattern
1036 #define zAvoid_Wchar_T_TypeList (char*)NULL
1038 * Machine/OS name selection pattern
1040 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1043 * content selection pattern - do fix if pattern found
1045 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1046 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1049 * content bypass pattern - skip fix if pattern found
1051 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1053 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1055 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1056 "XFree86: xc/lib/X11/Xlib\\.h";
1058 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1059 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1060 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1061 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1062 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1063 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1066 * Fix Command Arguments for Avoid_Wchar_T_Type
1068 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1070 "#ifndef __cplusplus\n\
1075 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1077 * Description of Bad_Lval fix
1079 tSCC zBad_LvalName[] =
1083 * File name selection pattern
1085 tSCC zBad_LvalList[] =
1086 "|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|";
1088 * Machine/OS name selection pattern
1090 #define apzBad_LvalMachs (const char**)NULL
1093 * content selection pattern - do fix if pattern found
1095 tSCC zBad_LvalSelect0[] =
1096 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1098 #define BAD_LVAL_TEST_CT 1
1099 static tTestDesc aBad_LvalTests[] = {
1100 { TT_EGREP, zBad_LvalSelect0, (regex_t*)NULL }, };
1103 * Fix Command Arguments for Bad_Lval
1105 static const char* apzBad_LvalPatch[] = { "sed",
1106 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1111 * Description of Bad_Struct_Term fix
1113 tSCC zBad_Struct_TermName[] =
1117 * File name selection pattern
1119 tSCC zBad_Struct_TermList[] =
1122 * Machine/OS name selection pattern
1124 #define apzBad_Struct_TermMachs (const char**)NULL
1127 * content selection pattern - do fix if pattern found
1129 tSCC zBad_Struct_TermSelect0[] =
1130 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1132 #define BAD_STRUCT_TERM_TEST_CT 1
1133 static tTestDesc aBad_Struct_TermTests[] = {
1134 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1137 * Fix Command Arguments for Bad_Struct_Term
1139 static const char* apzBad_Struct_TermPatch[] = {
1144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1146 * Description of Badquote fix
1148 tSCC zBadquoteName[] =
1152 * File name selection pattern
1154 tSCC zBadquoteList[] =
1155 "|sundev/vuid_event.h|";
1157 * Machine/OS name selection pattern
1159 #define apzBadquoteMachs (const char**)NULL
1162 * content selection pattern - do fix if pattern found
1164 tSCC zBadquoteSelect0[] =
1167 #define BADQUOTE_TEST_CT 1
1168 static tTestDesc aBadquoteTests[] = {
1169 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1172 * Fix Command Arguments for Badquote
1174 static const char* apzBadquotePatch[] = {
1179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1181 * Description of Broken_Assert_Stdio fix
1183 tSCC zBroken_Assert_StdioName[] =
1184 "broken_assert_stdio";
1187 * File name selection pattern
1189 tSCC zBroken_Assert_StdioList[] =
1192 * Machine/OS name selection pattern
1194 #define apzBroken_Assert_StdioMachs (const char**)NULL
1197 * content selection pattern - do fix if pattern found
1199 tSCC zBroken_Assert_StdioSelect0[] =
1203 * content bypass pattern - skip fix if pattern found
1205 tSCC zBroken_Assert_StdioBypass0[] =
1206 "include.*stdio\\.h";
1208 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1209 static tTestDesc aBroken_Assert_StdioTests[] = {
1210 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1211 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1214 * Fix Command Arguments for Broken_Assert_Stdio
1216 static const char* apzBroken_Assert_StdioPatch[] = {
1218 "#include <stdio.h>\n",
1221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1223 * Description of Broken_Assert_Stdlib fix
1225 tSCC zBroken_Assert_StdlibName[] =
1226 "broken_assert_stdlib";
1229 * File name selection pattern
1231 tSCC zBroken_Assert_StdlibList[] =
1234 * Machine/OS name selection pattern
1236 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1239 * content selection pattern - do fix if pattern found
1241 tSCC zBroken_Assert_StdlibSelect0[] =
1242 "exit *\\(|abort *\\(";
1245 * content bypass pattern - skip fix if pattern found
1247 tSCC zBroken_Assert_StdlibBypass0[] =
1248 "include.*stdlib\\.h";
1250 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1251 static tTestDesc aBroken_Assert_StdlibTests[] = {
1252 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1253 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1256 * Fix Command Arguments for Broken_Assert_Stdlib
1258 static const char* apzBroken_Assert_StdlibPatch[] = {
1260 "#ifdef __cplusplus\n\
1261 #include <stdlib.h>\n\
1265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1267 * Description of Broken_Cabs fix
1269 tSCC zBroken_CabsName[] =
1273 * File name selection pattern
1275 tSCC zBroken_CabsList[] =
1276 "|math.h|architecture/ppc/math.h|architecture/i386/math.h|";
1278 * Machine/OS name selection pattern
1280 #define apzBroken_CabsMachs (const char**)NULL
1283 * content selection pattern - do fix if pattern found
1285 tSCC zBroken_CabsSelect0[] =
1286 "^extern[ \\t]+double[ \\t]+cabs";
1288 #define BROKEN_CABS_TEST_CT 1
1289 static tTestDesc aBroken_CabsTests[] = {
1290 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1293 * Fix Command Arguments for Broken_Cabs
1295 static const char* apzBroken_CabsPatch[] = {
1298 "^extern[ \t]+double[ \t]+cabs[ \t]*\\([^\\)]*\\);",
1301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1303 * Description of Bsd_Stdio_Attrs_Conflict fix
1305 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1306 "bsd_stdio_attrs_conflict";
1309 * File name selection pattern
1311 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1314 * Machine/OS name selection pattern
1316 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1319 (const char*)NULL };
1322 * content selection pattern - do fix if pattern found
1324 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1325 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1327 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1328 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1329 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1332 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1334 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1336 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1337 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1338 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1343 * Description of Ctrl_Quotes_Def fix
1345 tSCC zCtrl_Quotes_DefName[] =
1349 * File name selection pattern
1351 #define zCtrl_Quotes_DefList (char*)NULL
1353 * Machine/OS name selection pattern
1355 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1358 * content selection pattern - do fix if pattern found
1360 tSCC zCtrl_Quotes_DefSelect0[] =
1361 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1363 #define CTRL_QUOTES_DEF_TEST_CT 1
1364 static tTestDesc aCtrl_Quotes_DefTests[] = {
1365 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1368 * Fix Command Arguments for Ctrl_Quotes_Def
1370 static const char* apzCtrl_Quotes_DefPatch[] = {
1375 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1377 * Description of Ctrl_Quotes_Use fix
1379 tSCC zCtrl_Quotes_UseName[] =
1383 * File name selection pattern
1385 #define zCtrl_Quotes_UseList (char*)NULL
1387 * Machine/OS name selection pattern
1389 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1392 * content selection pattern - do fix if pattern found
1394 tSCC zCtrl_Quotes_UseSelect0[] =
1395 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1397 #define CTRL_QUOTES_USE_TEST_CT 1
1398 static tTestDesc aCtrl_Quotes_UseTests[] = {
1399 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1402 * Fix Command Arguments for Ctrl_Quotes_Use
1404 static const char* apzCtrl_Quotes_UsePatch[] = {
1409 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1411 * Description of Cxx_Unready fix
1413 tSCC zCxx_UnreadyName[] =
1417 * File name selection pattern
1419 tSCC zCxx_UnreadyList[] =
1420 "|sys/mman.h|rpc/types.h|";
1422 * Machine/OS name selection pattern
1424 #define apzCxx_UnreadyMachs (const char**)NULL
1427 * content selection pattern - do fix if pattern found
1429 tSCC zCxx_UnreadySelect0[] =
1433 * content bypass pattern - skip fix if pattern found
1435 tSCC zCxx_UnreadyBypass0[] =
1436 "\"C\"|__BEGIN_DECLS";
1438 #define CXX_UNREADY_TEST_CT 2
1439 static tTestDesc aCxx_UnreadyTests[] = {
1440 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1441 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1444 * Fix Command Arguments for Cxx_Unready
1446 static const char* apzCxx_UnreadyPatch[] = {
1448 "#ifdef __cplusplus\n\
1451 "#ifdef __cplusplus\n\
1456 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1458 * Description of Dec_Intern_Asm fix
1460 tSCC zDec_Intern_AsmName[] =
1464 * File name selection pattern
1466 tSCC zDec_Intern_AsmList[] =
1469 * Machine/OS name selection pattern
1471 #define apzDec_Intern_AsmMachs (const char**)NULL
1472 #define DEC_INTERN_ASM_TEST_CT 0
1473 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1476 * Fix Command Arguments for Dec_Intern_Asm
1478 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1479 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1481 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1487 * Description of Djgpp_Wchar_H fix
1489 tSCC zDjgpp_Wchar_HName[] =
1493 * File name selection pattern
1495 #define zDjgpp_Wchar_HList (char*)NULL
1497 * Machine/OS name selection pattern
1499 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1502 * content selection pattern - do fix if pattern found
1504 tSCC zDjgpp_Wchar_HSelect0[] =
1508 * content bypass pattern - skip fix if pattern found
1510 tSCC zDjgpp_Wchar_HBypass0[] =
1513 #define DJGPP_WCHAR_H_TEST_CT 2
1514 static tTestDesc aDjgpp_Wchar_HTests[] = {
1515 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1516 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1519 * Fix Command Arguments for Djgpp_Wchar_H
1521 static const char* apzDjgpp_Wchar_HPatch[] = {
1524 #include <sys/djtypes.h>",
1525 "#include <stddef.h>",
1528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1530 * Description of Ecd_Cursor fix
1532 tSCC zEcd_CursorName[] =
1536 * File name selection pattern
1538 tSCC zEcd_CursorList[] =
1539 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1541 * Machine/OS name selection pattern
1543 #define apzEcd_CursorMachs (const char**)NULL
1546 * content selection pattern - do fix if pattern found
1548 tSCC zEcd_CursorSelect0[] =
1551 #define ECD_CURSOR_TEST_CT 1
1552 static tTestDesc aEcd_CursorTests[] = {
1553 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1556 * Fix Command Arguments for Ecd_Cursor
1558 static const char* apzEcd_CursorPatch[] = {
1563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1565 * Description of Freebsd_Gcc3_Breakage fix
1567 tSCC zFreebsd_Gcc3_BreakageName[] =
1568 "freebsd_gcc3_breakage";
1571 * File name selection pattern
1573 tSCC zFreebsd_Gcc3_BreakageList[] =
1576 * Machine/OS name selection pattern
1578 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
1580 (const char*)NULL };
1583 * content selection pattern - do fix if pattern found
1585 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
1586 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
1589 * content bypass pattern - skip fix if pattern found
1591 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
1592 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
1594 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
1595 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
1596 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
1597 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
1600 * Fix Command Arguments for Freebsd_Gcc3_Breakage
1602 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
1604 "%0 || __GNUC__ >= 3",
1607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1609 * Description of Gnu_Types fix
1611 tSCC zGnu_TypesName[] =
1615 * File name selection pattern
1617 tSCC zGnu_TypesList[] =
1618 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
1620 * Machine/OS name selection pattern
1622 #define apzGnu_TypesMachs (const char**)NULL
1625 * content selection pattern - do fix if pattern found
1627 tSCC zGnu_TypesSelect0[] =
1628 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
1631 * content bypass pattern - skip fix if pattern found
1633 tSCC zGnu_TypesBypass0[] =
1634 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
1636 #define GNU_TYPES_TEST_CT 2
1637 static tTestDesc aGnu_TypesTests[] = {
1638 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
1639 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
1642 * Fix Command Arguments for Gnu_Types
1644 static const char* apzGnu_TypesPatch[] = {
1648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1650 * Description of Hp_Inline fix
1652 tSCC zHp_InlineName[] =
1656 * File name selection pattern
1658 tSCC zHp_InlineList[] =
1659 "|sys/spinlock.h|machine/machparam.h|";
1661 * Machine/OS name selection pattern
1663 #define apzHp_InlineMachs (const char**)NULL
1666 * content selection pattern - do fix if pattern found
1668 tSCC zHp_InlineSelect0[] =
1669 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1671 #define HP_INLINE_TEST_CT 1
1672 static tTestDesc aHp_InlineTests[] = {
1673 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1676 * Fix Command Arguments for Hp_Inline
1678 static const char* apzHp_InlinePatch[] = {
1681 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1686 * Description of Hp_Sysfile fix
1688 tSCC zHp_SysfileName[] =
1692 * File name selection pattern
1694 tSCC zHp_SysfileList[] =
1697 * Machine/OS name selection pattern
1699 #define apzHp_SysfileMachs (const char**)NULL
1702 * content selection pattern - do fix if pattern found
1704 tSCC zHp_SysfileSelect0[] =
1707 #define HP_SYSFILE_TEST_CT 1
1708 static tTestDesc aHp_SysfileTests[] = {
1709 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
1712 * Fix Command Arguments for Hp_Sysfile
1714 static const char* apzHp_SysfilePatch[] = {
1716 "(struct file *, ...)",
1720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1722 * Description of Hpux10_Cpp_Pow_Inline fix
1724 tSCC zHpux10_Cpp_Pow_InlineName[] =
1725 "hpux10_cpp_pow_inline";
1728 * File name selection pattern
1730 tSCC zHpux10_Cpp_Pow_InlineList[] =
1731 "|fixinc-test-limits.h|math.h|";
1733 * Machine/OS name selection pattern
1735 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
1738 * content selection pattern - do fix if pattern found
1740 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
1741 "^# +ifdef +__cplusplus\n\
1743 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
1744 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
1746 +extern +\"C\" +\\{\n\
1750 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
1751 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
1752 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
1755 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
1757 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
1762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1764 * Description of Hpux11_Cpp_Pow_Inline fix
1766 tSCC zHpux11_Cpp_Pow_InlineName[] =
1767 "hpux11_cpp_pow_inline";
1770 * File name selection pattern
1772 tSCC zHpux11_Cpp_Pow_InlineList[] =
1775 * Machine/OS name selection pattern
1777 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
1780 * content selection pattern - do fix if pattern found
1782 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
1783 " +inline double pow\\(double d,int expon\\) \\{\n\
1784 +return pow\\(d, \\(double\\)expon\\);\n\
1787 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
1788 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
1789 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
1792 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
1794 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
1799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1801 * Description of Hpux10_Ctype_Declarations1 fix
1803 tSCC zHpux10_Ctype_Declarations1Name[] =
1804 "hpux10_ctype_declarations1";
1807 * File name selection pattern
1809 tSCC zHpux10_Ctype_Declarations1List[] =
1812 * Machine/OS name selection pattern
1814 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
1817 * content selection pattern - do fix if pattern found
1819 tSCC zHpux10_Ctype_Declarations1Select0[] =
1820 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
1823 * content bypass pattern - skip fix if pattern found
1825 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
1826 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
1828 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
1829 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
1830 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
1831 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
1834 * Fix Command Arguments for Hpux10_Ctype_Declarations1
1836 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
1838 "#ifdef _PROTOTYPES\n\
1839 extern int __tolower(int);\n\
1840 extern int __toupper(int);\n\
1841 #else /* NOT _PROTOTYPES */\n\
1842 extern int __tolower();\n\
1843 extern int __toupper();\n\
1844 #endif /* _PROTOTYPES */\n\n\
1848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1850 * Description of Hpux10_Ctype_Declarations2 fix
1852 tSCC zHpux10_Ctype_Declarations2Name[] =
1853 "hpux10_ctype_declarations2";
1856 * File name selection pattern
1858 tSCC zHpux10_Ctype_Declarations2List[] =
1861 * Machine/OS name selection pattern
1863 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
1866 * content selection pattern - do fix if pattern found
1868 tSCC zHpux10_Ctype_Declarations2Select0[] =
1869 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
1872 * content bypass pattern - skip fix if pattern found
1874 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
1875 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
1877 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
1878 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
1879 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
1880 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
1883 * Fix Command Arguments for Hpux10_Ctype_Declarations2
1885 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
1888 #ifdef _PROTOTYPES\n\
1889 extern int _isalnum(int);\n\
1890 extern int _isalpha(int);\n\
1891 extern int _iscntrl(int);\n\
1892 extern int _isdigit(int);\n\
1893 extern int _isgraph(int);\n\
1894 extern int _islower(int);\n\
1895 extern int _isprint(int);\n\
1896 extern int _ispunct(int);\n\
1897 extern int _isspace(int);\n\
1898 extern int _isupper(int);\n\
1899 extern int _isxdigit(int);\n\
1900 # else /* not _PROTOTYPES */\n\
1901 extern int _isalnum();\n\
1902 extern int _isalpha();\n\
1903 extern int _iscntrl();\n\
1904 extern int _isdigit();\n\
1905 extern int _isgraph();\n\
1906 extern int _islower();\n\
1907 extern int _isprint();\n\
1908 extern int _ispunct();\n\
1909 extern int _isspace();\n\
1910 extern int _isupper();\n\
1911 extern int _isxdigit();\n\
1912 #endif /* _PROTOTYPES */\n",
1915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1917 * Description of Hpux11_Abs fix
1919 tSCC zHpux11_AbsName[] =
1923 * File name selection pattern
1925 tSCC zHpux11_AbsList[] =
1928 * Machine/OS name selection pattern
1930 tSCC* apzHpux11_AbsMachs[] = {
1932 (const char*)NULL };
1935 * content selection pattern - do fix if pattern found
1937 tSCC zHpux11_AbsSelect0[] =
1938 "ifndef _MATH_INCLUDED";
1940 #define HPUX11_ABS_TEST_CT 1
1941 static tTestDesc aHpux11_AbsTests[] = {
1942 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
1945 * Fix Command Arguments for Hpux11_Abs
1947 static const char* apzHpux11_AbsPatch[] = {
1949 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
1952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1954 * Description of Hpux11_Fabsf fix
1956 tSCC zHpux11_FabsfName[] =
1960 * File name selection pattern
1962 tSCC zHpux11_FabsfList[] =
1965 * Machine/OS name selection pattern
1967 #define apzHpux11_FabsfMachs (const char**)NULL
1970 * content selection pattern - do fix if pattern found
1972 tSCC zHpux11_FabsfSelect0[] =
1973 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
1976 * content bypass pattern - skip fix if pattern found
1978 tSCC zHpux11_FabsfBypass0[] =
1981 #define HPUX11_FABSF_TEST_CT 2
1982 static tTestDesc aHpux11_FabsfTests[] = {
1983 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
1984 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
1987 * Fix Command Arguments for Hpux11_Fabsf
1989 static const char* apzHpux11_FabsfPatch[] = {
1991 "#ifndef __cplusplus\n\
1996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1998 * Description of Hpux11_Size_T fix
2000 tSCC zHpux11_Size_TName[] =
2004 * File name selection pattern
2006 #define zHpux11_Size_TList (char*)NULL
2008 * Machine/OS name selection pattern
2010 tSCC* apzHpux11_Size_TMachs[] = {
2012 (const char*)NULL };
2015 * content selection pattern - do fix if pattern found
2017 tSCC zHpux11_Size_TSelect0[] =
2020 #define HPUX11_SIZE_T_TEST_CT 1
2021 static tTestDesc aHpux11_Size_TTests[] = {
2022 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2025 * Fix Command Arguments for Hpux11_Size_T
2027 static const char* apzHpux11_Size_TPatch[] = {
2032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2034 * Description of Hpux11_Uint32_C fix
2036 tSCC zHpux11_Uint32_CName[] =
2040 * File name selection pattern
2042 tSCC zHpux11_Uint32_CList[] =
2045 * Machine/OS name selection pattern
2047 #define apzHpux11_Uint32_CMachs (const char**)NULL
2050 * content selection pattern - do fix if pattern found
2052 tSCC zHpux11_Uint32_CSelect0[] =
2053 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2055 #define HPUX11_UINT32_C_TEST_CT 1
2056 static tTestDesc aHpux11_Uint32_CTests[] = {
2057 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2060 * Fix Command Arguments for Hpux11_Uint32_C
2062 static const char* apzHpux11_Uint32_CPatch[] = {
2064 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2067 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2069 * Description of Hpux11_Vsnprintf fix
2071 tSCC zHpux11_VsnprintfName[] =
2075 * File name selection pattern
2077 tSCC zHpux11_VsnprintfList[] =
2080 * Machine/OS name selection pattern
2082 #define apzHpux11_VsnprintfMachs (const char**)NULL
2085 * content selection pattern - do fix if pattern found
2087 tSCC zHpux11_VsnprintfSelect0[] =
2088 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2090 #define HPUX11_VSNPRINTF_TEST_CT 1
2091 static tTestDesc aHpux11_VsnprintfTests[] = {
2092 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2095 * Fix Command Arguments for Hpux11_Vsnprintf
2097 static const char* apzHpux11_VsnprintfPatch[] = {
2102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2104 * Description of Hpux8_Bogus_Inlines fix
2106 tSCC zHpux8_Bogus_InlinesName[] =
2107 "hpux8_bogus_inlines";
2110 * File name selection pattern
2112 tSCC zHpux8_Bogus_InlinesList[] =
2115 * Machine/OS name selection pattern
2117 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2120 * content selection pattern - do fix if pattern found
2122 tSCC zHpux8_Bogus_InlinesSelect0[] =
2125 #define HPUX8_BOGUS_INLINES_TEST_CT 1
2126 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2127 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2130 * Fix Command Arguments for Hpux8_Bogus_Inlines
2132 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2133 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2134 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2135 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2136 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2139 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2141 * Description of Hpux_Ctype_Macros fix
2143 tSCC zHpux_Ctype_MacrosName[] =
2144 "hpux_ctype_macros";
2147 * File name selection pattern
2149 tSCC zHpux_Ctype_MacrosList[] =
2152 * Machine/OS name selection pattern
2154 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
2157 * content selection pattern - do fix if pattern found
2159 tSCC zHpux_Ctype_MacrosSelect0[] =
2160 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
2162 #define HPUX_CTYPE_MACROS_TEST_CT 1
2163 static tTestDesc aHpux_Ctype_MacrosTests[] = {
2164 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
2167 * Fix Command Arguments for Hpux_Ctype_Macros
2169 static const char* apzHpux_Ctype_MacrosPatch[] = {
2174 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2176 * Description of Hpux_Long_Double fix
2178 tSCC zHpux_Long_DoubleName[] =
2182 * File name selection pattern
2184 tSCC zHpux_Long_DoubleList[] =
2187 * Machine/OS name selection pattern
2189 #define apzHpux_Long_DoubleMachs (const char**)NULL
2192 * content selection pattern - do fix if pattern found
2194 tSCC zHpux_Long_DoubleSelect0[] =
2195 "extern[ \t]long_double[ \t]strtold";
2198 * content bypass pattern - skip fix if pattern found
2200 tSCC zHpux_Long_DoubleBypass0[] =
2203 #define HPUX_LONG_DOUBLE_TEST_CT 2
2204 static tTestDesc aHpux_Long_DoubleTests[] = {
2205 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
2206 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
2209 * Fix Command Arguments for Hpux_Long_Double
2211 static const char* apzHpux_Long_DoublePatch[] = { "sed",
2212 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
2213 "-e", "s/long_double/long double/g",
2216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2218 * Description of Hpux_Maxint fix
2220 tSCC zHpux_MaxintName[] =
2224 * File name selection pattern
2226 tSCC zHpux_MaxintList[] =
2227 "|sys/param.h|values.h|";
2229 * Machine/OS name selection pattern
2231 #define apzHpux_MaxintMachs (const char**)NULL
2234 * content selection pattern - do fix if pattern found
2236 tSCC zHpux_MaxintSelect0[] =
2237 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2240 * content bypass pattern - skip fix if pattern found
2242 tSCC zHpux_MaxintBypass0[] =
2243 "^#[ \t]*ifndef[ \t]+MAXINT";
2246 * perform the 'test' shell command - do fix on success
2248 tSCC zHpux_MaxintTest0[] =
2249 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2251 #define HPUX_MAXINT_TEST_CT 3
2252 static tTestDesc aHpux_MaxintTests[] = {
2253 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2254 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2255 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2258 * Fix Command Arguments for Hpux_Maxint
2260 static const char* apzHpux_MaxintPatch[] = {
2265 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2268 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2270 * Description of Hpux_Systime fix
2272 tSCC zHpux_SystimeName[] =
2276 * File name selection pattern
2278 tSCC zHpux_SystimeList[] =
2281 * Machine/OS name selection pattern
2283 #define apzHpux_SystimeMachs (const char**)NULL
2286 * content selection pattern - do fix if pattern found
2288 tSCC zHpux_SystimeSelect0[] =
2289 "^extern struct sigevent;";
2291 #define HPUX_SYSTIME_TEST_CT 1
2292 static tTestDesc aHpux_SystimeTests[] = {
2293 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2296 * Fix Command Arguments for Hpux_Systime
2298 static const char* apzHpux_SystimePatch[] = {
2303 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2305 * Description of Int_Abort_Free_And_Exit fix
2307 tSCC zInt_Abort_Free_And_ExitName[] =
2308 "int_abort_free_and_exit";
2311 * File name selection pattern
2313 tSCC zInt_Abort_Free_And_ExitList[] =
2316 * Machine/OS name selection pattern
2318 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2321 * content selection pattern - do fix if pattern found
2323 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2324 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2326 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2327 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2328 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2331 * Fix Command Arguments for Int_Abort_Free_And_Exit
2333 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2340 * Description of Io_Quotes_Def fix
2342 tSCC zIo_Quotes_DefName[] =
2346 * File name selection pattern
2348 #define zIo_Quotes_DefList (char*)NULL
2350 * Machine/OS name selection pattern
2352 #define apzIo_Quotes_DefMachs (const char**)NULL
2355 * content selection pattern - do fix if pattern found
2357 tSCC zIo_Quotes_DefSelect0[] =
2358 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2360 #define IO_QUOTES_DEF_TEST_CT 1
2361 static tTestDesc aIo_Quotes_DefTests[] = {
2362 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2365 * Fix Command Arguments for Io_Quotes_Def
2367 static const char* apzIo_Quotes_DefPatch[] = {
2372 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2374 * Description of Io_Quotes_Use fix
2376 tSCC zIo_Quotes_UseName[] =
2380 * File name selection pattern
2382 #define zIo_Quotes_UseList (char*)NULL
2384 * Machine/OS name selection pattern
2386 #define apzIo_Quotes_UseMachs (const char**)NULL
2389 * content selection pattern - do fix if pattern found
2391 tSCC zIo_Quotes_UseSelect0[] =
2392 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2394 #define IO_QUOTES_USE_TEST_CT 1
2395 static tTestDesc aIo_Quotes_UseTests[] = {
2396 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2399 * Fix Command Arguments for Io_Quotes_Use
2401 static const char* apzIo_Quotes_UsePatch[] = {
2406 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2408 * Description of Ip_Missing_Semi fix
2410 tSCC zIp_Missing_SemiName[] =
2414 * File name selection pattern
2416 tSCC zIp_Missing_SemiList[] =
2419 * Machine/OS name selection pattern
2421 #define apzIp_Missing_SemiMachs (const char**)NULL
2424 * content selection pattern - do fix if pattern found
2426 tSCC zIp_Missing_SemiSelect0[] =
2429 #define IP_MISSING_SEMI_TEST_CT 1
2430 static tTestDesc aIp_Missing_SemiTests[] = {
2431 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2434 * Fix Command Arguments for Ip_Missing_Semi
2436 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2437 "-e", "/^struct/,/^};/s/}$/};/",
2440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2442 * Description of Irix___Restrict fix
2444 tSCC zIrix___RestrictName[] =
2448 * File name selection pattern
2450 tSCC zIrix___RestrictList[] =
2451 "|internal/sgimacros.h|";
2453 * Machine/OS name selection pattern
2455 tSCC* apzIrix___RestrictMachs[] = {
2457 (const char*)NULL };
2460 * content selection pattern - do fix if pattern found
2462 tSCC zIrix___RestrictSelect0[] =
2464 )(#[ \t]*define __restrict restrict)";
2466 #define IRIX___RESTRICT_TEST_CT 1
2467 static tTestDesc aIrix___RestrictTests[] = {
2468 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
2471 * Fix Command Arguments for Irix___Restrict
2473 static const char* apzIrix___RestrictPatch[] = {
2475 "%1# ifndef __cplusplus\n\
2480 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2482 * Description of Irix_Asm_Apostrophe fix
2484 tSCC zIrix_Asm_ApostropheName[] =
2485 "irix_asm_apostrophe";
2488 * File name selection pattern
2490 tSCC zIrix_Asm_ApostropheList[] =
2493 * Machine/OS name selection pattern
2495 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2498 * content selection pattern - do fix if pattern found
2500 tSCC zIrix_Asm_ApostropheSelect0[] =
2501 "^[ \t]*#.*[Ww]e're";
2503 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2504 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2505 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2508 * Fix Command Arguments for Irix_Asm_Apostrophe
2510 static const char* apzIrix_Asm_ApostrophePatch[] = {
2513 "^([ \t]*#.*[Ww]e)'re",
2516 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2518 * Description of Irix_Limits_Const fix
2520 tSCC zIrix_Limits_ConstName[] =
2521 "irix_limits_const";
2524 * File name selection pattern
2526 tSCC zIrix_Limits_ConstList[] =
2527 "|fixinc-test-limits.h|limits.h|";
2529 * Machine/OS name selection pattern
2531 #define apzIrix_Limits_ConstMachs (const char**)NULL
2534 * content selection pattern - do fix if pattern found
2536 tSCC zIrix_Limits_ConstSelect0[] =
2539 #define IRIX_LIMITS_CONST_TEST_CT 1
2540 static tTestDesc aIrix_Limits_ConstTests[] = {
2541 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
2544 * Fix Command Arguments for Irix_Limits_Const
2546 static const char* apzIrix_Limits_ConstPatch[] = {
2551 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2553 * Description of Irix_Socklen_T fix
2555 tSCC zIrix_Socklen_TName[] =
2559 * File name selection pattern
2561 tSCC zIrix_Socklen_TList[] =
2564 * Machine/OS name selection pattern
2566 tSCC* apzIrix_Socklen_TMachs[] = {
2568 (const char*)NULL };
2571 * content selection pattern - do fix if pattern found
2573 tSCC zIrix_Socklen_TSelect0[] =
2574 "(#define _SOCKLEN_T\n\
2575 )(typedef u_int32_t socklen_t;)";
2577 #define IRIX_SOCKLEN_T_TEST_CT 1
2578 static tTestDesc aIrix_Socklen_TTests[] = {
2579 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
2582 * Fix Command Arguments for Irix_Socklen_T
2584 static const char* apzIrix_Socklen_TPatch[] = {
2586 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
2587 typedef int socklen_t;\n\
2590 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
2593 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2595 * Description of Irix_Stdio_Va_List fix
2597 tSCC zIrix_Stdio_Va_ListName[] =
2598 "irix_stdio_va_list";
2601 * File name selection pattern
2603 tSCC zIrix_Stdio_Va_ListList[] =
2604 "|stdio.h|internal/stdio_core.h|";
2606 * Machine/OS name selection pattern
2608 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
2611 * content selection pattern - do fix if pattern found
2613 tSCC zIrix_Stdio_Va_ListSelect0[] =
2614 "(printf\\(.*), /\\* va_list \\*/ char \\*";
2616 #define IRIX_STDIO_VA_LIST_TEST_CT 1
2617 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
2618 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
2621 * Fix Command Arguments for Irix_Stdio_Va_List
2623 static const char* apzIrix_Stdio_Va_ListPatch[] = {
2625 "%1, __gnuc_va_list",
2628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2630 * Description of Irix_Wcsftime fix
2632 tSCC zIrix_WcsftimeName[] =
2636 * File name selection pattern
2638 tSCC zIrix_WcsftimeList[] =
2639 "|internal/wchar_core.h|";
2641 * Machine/OS name selection pattern
2643 tSCC* apzIrix_WcsftimeMachs[] = {
2645 (const char*)NULL };
2648 * content selection pattern - do fix if pattern found
2650 tSCC zIrix_WcsftimeSelect0[] =
2652 (extern size_t[ \t]+wcsftime.*const char *.*)";
2654 #define IRIX_WCSFTIME_TEST_CT 1
2655 static tTestDesc aIrix_WcsftimeTests[] = {
2656 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
2659 * Fix Command Arguments for Irix_Wcsftime
2661 static const char* apzIrix_WcsftimePatch[] = {
2663 "#if _NO_XOPEN5 && !defined(__c99)\n\
2667 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2669 * Description of Isc_Fmod fix
2671 tSCC zIsc_FmodName[] =
2675 * File name selection pattern
2677 tSCC zIsc_FmodList[] =
2680 * Machine/OS name selection pattern
2682 #define apzIsc_FmodMachs (const char**)NULL
2685 * content selection pattern - do fix if pattern found
2687 tSCC zIsc_FmodSelect0[] =
2690 #define ISC_FMOD_TEST_CT 1
2691 static tTestDesc aIsc_FmodTests[] = {
2692 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
2695 * Fix Command Arguments for Isc_Fmod
2697 static const char* apzIsc_FmodPatch[] = {
2699 "fmod(double, double)",
2702 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2704 * Description of Isc_Omits_With_Stdc fix
2706 tSCC zIsc_Omits_With_StdcName[] =
2707 "isc_omits_with_stdc";
2710 * File name selection pattern
2712 tSCC zIsc_Omits_With_StdcList[] =
2713 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
2715 * Machine/OS name selection pattern
2717 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
2720 * content selection pattern - do fix if pattern found
2722 tSCC zIsc_Omits_With_StdcSelect0[] =
2723 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
2725 #define ISC_OMITS_WITH_STDC_TEST_CT 1
2726 static tTestDesc aIsc_Omits_With_StdcTests[] = {
2727 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
2730 * Fix Command Arguments for Isc_Omits_With_Stdc
2732 static const char* apzIsc_Omits_With_StdcPatch[] = {
2734 "!defined(_POSIX_SOURCE)",
2737 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2739 * Description of Kandr_Concat fix
2741 tSCC zKandr_ConcatName[] =
2745 * File name selection pattern
2747 tSCC zKandr_ConcatList[] =
2748 "|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|";
2750 * Machine/OS name selection pattern
2752 #define apzKandr_ConcatMachs (const char**)NULL
2755 * content selection pattern - do fix if pattern found
2757 tSCC zKandr_ConcatSelect0[] =
2760 #define KANDR_CONCAT_TEST_CT 1
2761 static tTestDesc aKandr_ConcatTests[] = {
2762 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
2765 * Fix Command Arguments for Kandr_Concat
2767 static const char* apzKandr_ConcatPatch[] = {
2772 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2774 * Description of Libc1_G_Va_List fix
2776 tSCC zLibc1_G_Va_ListName[] =
2780 * File name selection pattern
2782 tSCC zLibc1_G_Va_ListList[] =
2785 * Machine/OS name selection pattern
2787 tSCC* apzLibc1_G_Va_ListMachs[] = {
2789 (const char*)NULL };
2792 * content selection pattern - do fix if pattern found
2794 tSCC zLibc1_G_Va_ListSelect0[] =
2795 "typedef void \\* _G_va_list;";
2797 #define LIBC1_G_VA_LIST_TEST_CT 1
2798 static tTestDesc aLibc1_G_Va_ListTests[] = {
2799 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
2802 * Fix Command Arguments for Libc1_G_Va_List
2804 static const char* apzLibc1_G_Va_ListPatch[] = {
2806 "typedef __builtin_va_list _G_va_list;",
2809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2811 * Description of Libc1_Ifdefd_Memx fix
2813 tSCC zLibc1_Ifdefd_MemxName[] =
2814 "libc1_ifdefd_memx";
2817 * File name selection pattern
2819 tSCC zLibc1_Ifdefd_MemxList[] =
2820 "|testing.h|string.h|";
2822 * Machine/OS name selection pattern
2824 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
2827 * content selection pattern - do fix if pattern found
2829 tSCC zLibc1_Ifdefd_MemxSelect0[] =
2830 "' is a built-in function for gcc 2\\.x\\. \\*/";
2833 * content bypass pattern - skip fix if pattern found
2835 tSCC zLibc1_Ifdefd_MemxBypass0[] =
2838 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
2839 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
2840 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
2841 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
2844 * Fix Command Arguments for Libc1_Ifdefd_Memx
2846 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
2849 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
2850 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
2852 extern [a-z_]+ mem.*(\n\
2857 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2859 * Description of Limits_Ifndefs fix
2861 tSCC zLimits_IfndefsName[] =
2865 * File name selection pattern
2867 tSCC zLimits_IfndefsList[] =
2868 "|sys/limits.h|limits.h|";
2870 * Machine/OS name selection pattern
2872 #define apzLimits_IfndefsMachs (const char**)NULL
2875 * content selection pattern - do fix if pattern found
2877 tSCC zLimits_IfndefsSelect0[] =
2878 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*";
2881 * content bypass pattern - skip fix if pattern found
2883 tSCC zLimits_IfndefsBypass0[] =
2884 "ifndef[ \t]+FLT_(MIN|MAX)";
2886 #define LIMITS_IFNDEFS_TEST_CT 2
2887 static tTestDesc aLimits_IfndefsTests[] = {
2888 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL },
2889 { TT_EGREP, zLimits_IfndefsSelect0, (regex_t*)NULL }, };
2892 * Fix Command Arguments for Limits_Ifndefs
2894 static const char* apzLimits_IfndefsPatch[] = {
2901 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2903 * Description of Lynx_Void_Int fix
2905 tSCC zLynx_Void_IntName[] =
2909 * File name selection pattern
2911 tSCC zLynx_Void_IntList[] =
2914 * Machine/OS name selection pattern
2916 #define apzLynx_Void_IntMachs (const char**)NULL
2919 * content selection pattern - do fix if pattern found
2921 tSCC zLynx_Void_IntSelect0[] =
2922 "#[ \t]*define[ \t]+void[ \t]+int[ \t]*";
2924 #define LYNX_VOID_INT_TEST_CT 1
2925 static tTestDesc aLynx_Void_IntTests[] = {
2926 { TT_EGREP, zLynx_Void_IntSelect0, (regex_t*)NULL }, };
2929 * Fix Command Arguments for Lynx_Void_Int
2931 static const char* apzLynx_Void_IntPatch[] = {
2936 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2938 * Description of Lynxos_Fcntl_Proto fix
2940 tSCC zLynxos_Fcntl_ProtoName[] =
2941 "lynxos_fcntl_proto";
2944 * File name selection pattern
2946 tSCC zLynxos_Fcntl_ProtoList[] =
2949 * Machine/OS name selection pattern
2951 #define apzLynxos_Fcntl_ProtoMachs (const char**)NULL
2954 * content selection pattern - do fix if pattern found
2956 tSCC zLynxos_Fcntl_ProtoSelect0[] =
2957 "fcntl[ \t]*\\(int, int, int\\)";
2959 #define LYNXOS_FCNTL_PROTO_TEST_CT 1
2960 static tTestDesc aLynxos_Fcntl_ProtoTests[] = {
2961 { TT_EGREP, zLynxos_Fcntl_ProtoSelect0, (regex_t*)NULL }, };
2964 * Fix Command Arguments for Lynxos_Fcntl_Proto
2966 static const char* apzLynxos_Fcntl_ProtoPatch[] = {
2969 "(fcntl[ \t]*\\(int, int, )int\\)",
2972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2974 * Description of Machine_Ansi_H_Va_List fix
2976 tSCC zMachine_Ansi_H_Va_ListName[] =
2977 "machine_ansi_h_va_list";
2980 * File name selection pattern
2982 #define zMachine_Ansi_H_Va_ListList (char*)NULL
2984 * Machine/OS name selection pattern
2986 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
2989 * content selection pattern - do fix if pattern found
2991 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
2992 "define[ \t]+_BSD_VA_LIST_[ \t]";
2995 * content bypass pattern - skip fix if pattern found
2997 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
2998 "__builtin_va_list";
3000 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
3001 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
3002 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
3003 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
3006 * Fix Command Arguments for Machine_Ansi_H_Va_List
3008 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
3010 "%1__builtin_va_list",
3011 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
3014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3016 * Description of Machine_Name fix
3018 tSCC zMachine_NameName[] =
3022 * File name selection pattern
3024 #define zMachine_NameList (char*)NULL
3026 * Machine/OS name selection pattern
3028 #define apzMachine_NameMachs (const char**)NULL
3031 * perform the C function call test
3033 tSCC zMachine_NameFTst0[] = "machine_name";
3035 #define MACHINE_NAME_TEST_CT 1
3036 static tTestDesc aMachine_NameTests[] = {
3037 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
3040 * Fix Command Arguments for Machine_Name
3042 static const char* apzMachine_NamePatch[] = {
3046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3048 * Description of Math_Exception fix
3050 tSCC zMath_ExceptionName[] =
3054 * File name selection pattern
3056 tSCC zMath_ExceptionList[] =
3059 * Machine/OS name selection pattern
3061 #define apzMath_ExceptionMachs (const char**)NULL
3064 * content selection pattern - do fix if pattern found
3066 tSCC zMath_ExceptionSelect0[] =
3070 * content bypass pattern - skip fix if pattern found
3072 tSCC zMath_ExceptionBypass0[] =
3075 #define MATH_EXCEPTION_TEST_CT 2
3076 static tTestDesc aMath_ExceptionTests[] = {
3077 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
3078 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
3081 * Fix Command Arguments for Math_Exception
3083 static const char* apzMath_ExceptionPatch[] = {
3085 "#ifdef __cplusplus\n\
3086 #define exception __math_exception\n\
3088 "#ifdef __cplusplus\n\
3093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3095 * Description of Math_Huge_Val_From_Dbl_Max fix
3097 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
3098 "math_huge_val_from_dbl_max";
3101 * File name selection pattern
3103 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
3106 * Machine/OS name selection pattern
3108 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
3111 * content selection pattern - do fix if pattern found
3113 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
3114 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
3117 * content bypass pattern - skip fix if pattern found
3119 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
3120 "define[ \t]+DBL_MAX";
3122 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
3123 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
3124 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
3125 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
3128 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
3130 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
3131 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
3132 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
3133 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
3138 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3140 * Description of Math_Huge_Val_Ifndef fix
3142 tSCC zMath_Huge_Val_IfndefName[] =
3143 "math_huge_val_ifndef";
3146 * File name selection pattern
3148 tSCC zMath_Huge_Val_IfndefList[] =
3149 "|math.h|math/math.h|";
3151 * Machine/OS name selection pattern
3153 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
3156 * content selection pattern - do fix if pattern found
3158 tSCC zMath_Huge_Val_IfndefSelect0[] =
3159 "define[ \t]+HUGE_VAL";
3161 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
3162 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
3163 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
3166 * Fix Command Arguments for Math_Huge_Val_Ifndef
3168 static const char* apzMath_Huge_Val_IfndefPatch[] = {
3170 "#ifndef HUGE_VAL\n\
3173 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
3176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3178 * Description of Nested_Auth_Des fix
3180 tSCC zNested_Auth_DesName[] =
3184 * File name selection pattern
3186 tSCC zNested_Auth_DesList[] =
3189 * Machine/OS name selection pattern
3191 #define apzNested_Auth_DesMachs (const char**)NULL
3194 * content selection pattern - do fix if pattern found
3196 tSCC zNested_Auth_DesSelect0[] =
3197 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3199 #define NESTED_AUTH_DES_TEST_CT 1
3200 static tTestDesc aNested_Auth_DesTests[] = {
3201 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3204 * Fix Command Arguments for Nested_Auth_Des
3206 static const char* apzNested_Auth_DesPatch[] = {
3211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3213 * Description of Nested_Motorola fix
3215 tSCC zNested_MotorolaName[] =
3219 * File name selection pattern
3221 tSCC zNested_MotorolaList[] =
3222 "|sys/limits.h|limits.h|";
3224 * Machine/OS name selection pattern
3226 tSCC* apzNested_MotorolaMachs[] = {
3227 "m68k-motorola-sysv*",
3228 (const char*)NULL };
3231 * content selection pattern - do fix if pattern found
3233 tSCC zNested_MotorolaSelect0[] =
3234 "max # bytes atomic in write|error value returned by Math lib";
3236 #define NESTED_MOTOROLA_TEST_CT 1
3237 static tTestDesc aNested_MotorolaTests[] = {
3238 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3241 * Fix Command Arguments for Nested_Motorola
3243 static const char* apzNested_MotorolaPatch[] = { "sed",
3244 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3245 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3248 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3250 * Description of Nested_Sys_Limits fix
3252 tSCC zNested_Sys_LimitsName[] =
3253 "nested_sys_limits";
3256 * File name selection pattern
3258 tSCC zNested_Sys_LimitsList[] =
3261 * Machine/OS name selection pattern
3263 #define apzNested_Sys_LimitsMachs (const char**)NULL
3266 * content selection pattern - do fix if pattern found
3268 tSCC zNested_Sys_LimitsSelect0[] =
3271 #define NESTED_SYS_LIMITS_TEST_CT 1
3272 static tTestDesc aNested_Sys_LimitsTests[] = {
3273 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3276 * Fix Command Arguments for Nested_Sys_Limits
3278 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3279 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3280 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3285 * Description of Netbsd_Extra_Semicolon fix
3287 tSCC zNetbsd_Extra_SemicolonName[] =
3288 "netbsd_extra_semicolon";
3291 * File name selection pattern
3293 tSCC zNetbsd_Extra_SemicolonList[] =
3296 * Machine/OS name selection pattern
3298 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
3300 (const char*)NULL };
3303 * content selection pattern - do fix if pattern found
3305 tSCC zNetbsd_Extra_SemicolonSelect0[] =
3306 "#define[ \t]*__END_DECLS[ \t]*};";
3308 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
3309 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
3310 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
3313 * Fix Command Arguments for Netbsd_Extra_Semicolon
3315 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
3317 "#define __END_DECLS }",
3320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3322 * Description of Next_Math_Prefix fix
3324 tSCC zNext_Math_PrefixName[] =
3328 * File name selection pattern
3330 tSCC zNext_Math_PrefixList[] =
3333 * Machine/OS name selection pattern
3335 #define apzNext_Math_PrefixMachs (const char**)NULL
3338 * content selection pattern - do fix if pattern found
3340 tSCC zNext_Math_PrefixSelect0[] =
3341 "^extern[ \t]+double[ \t]+__const__[ \t]";
3343 #define NEXT_MATH_PREFIX_TEST_CT 1
3344 static tTestDesc aNext_Math_PrefixTests[] = {
3345 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3348 * Fix Command Arguments for Next_Math_Prefix
3350 static const char* apzNext_Math_PrefixPatch[] = {
3352 "extern double %1(",
3353 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3356 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3358 * Description of Next_Template fix
3360 tSCC zNext_TemplateName[] =
3364 * File name selection pattern
3366 tSCC zNext_TemplateList[] =
3369 * Machine/OS name selection pattern
3371 #define apzNext_TemplateMachs (const char**)NULL
3374 * content selection pattern - do fix if pattern found
3376 tSCC zNext_TemplateSelect0[] =
3379 #define NEXT_TEMPLATE_TEST_CT 1
3380 static tTestDesc aNext_TemplateTests[] = {
3381 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3384 * Fix Command Arguments for Next_Template
3386 static const char* apzNext_TemplatePatch[] = {
3389 "\\(([^)]*)[ \t]template\\)",
3392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3394 * Description of Next_Volitile fix
3396 tSCC zNext_VolitileName[] =
3400 * File name selection pattern
3402 tSCC zNext_VolitileList[] =
3405 * Machine/OS name selection pattern
3407 #define apzNext_VolitileMachs (const char**)NULL
3410 * content selection pattern - do fix if pattern found
3412 tSCC zNext_VolitileSelect0[] =
3413 "^extern[ \t]+volatile[ \t]+void[ \t]";
3415 #define NEXT_VOLITILE_TEST_CT 1
3416 static tTestDesc aNext_VolitileTests[] = {
3417 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3420 * Fix Command Arguments for Next_Volitile
3422 static const char* apzNext_VolitilePatch[] = {
3425 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3428 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3430 * Description of Next_Wait_Union fix
3432 tSCC zNext_Wait_UnionName[] =
3436 * File name selection pattern
3438 tSCC zNext_Wait_UnionList[] =
3441 * Machine/OS name selection pattern
3443 #define apzNext_Wait_UnionMachs (const char**)NULL
3446 * content selection pattern - do fix if pattern found
3448 tSCC zNext_Wait_UnionSelect0[] =
3449 "wait\\(union wait";
3451 #define NEXT_WAIT_UNION_TEST_CT 1
3452 static tTestDesc aNext_Wait_UnionTests[] = {
3453 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3456 * Fix Command Arguments for Next_Wait_Union
3458 static const char* apzNext_Wait_UnionPatch[] = {
3463 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3465 * Description of Nodeent_Syntax fix
3467 tSCC zNodeent_SyntaxName[] =
3471 * File name selection pattern
3473 tSCC zNodeent_SyntaxList[] =
3474 "|netdnet/dnetdb.h|";
3476 * Machine/OS name selection pattern
3478 #define apzNodeent_SyntaxMachs (const char**)NULL
3481 * content selection pattern - do fix if pattern found
3483 tSCC zNodeent_SyntaxSelect0[] =
3484 "char[ \t]*\\*na_addr[ \t]*$";
3486 #define NODEENT_SYNTAX_TEST_CT 1
3487 static tTestDesc aNodeent_SyntaxTests[] = {
3488 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3491 * Fix Command Arguments for Nodeent_Syntax
3493 static const char* apzNodeent_SyntaxPatch[] = {
3498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3500 * Description of Osf_Namespace_A fix
3502 tSCC zOsf_Namespace_AName[] =
3506 * File name selection pattern
3508 tSCC zOsf_Namespace_AList[] =
3509 "|reg_types.h|sys/lc_core.h|";
3511 * Machine/OS name selection pattern
3513 #define apzOsf_Namespace_AMachs (const char**)NULL
3516 * perform the 'test' shell command - do fix on success
3518 tSCC zOsf_Namespace_ATest0[] =
3520 tSCC zOsf_Namespace_ATest1[] =
3521 " -r sys/lc_core.h";
3522 tSCC zOsf_Namespace_ATest2[] =
3523 " -n \"`grep '} regex_t;' reg_types.h`\"";
3524 tSCC zOsf_Namespace_ATest3[] =
3525 " -z \"`grep __regex_t regex.h`\"";
3527 #define OSF_NAMESPACE_A_TEST_CT 4
3528 static tTestDesc aOsf_Namespace_ATests[] = {
3529 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
3530 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
3531 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
3532 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
3535 * Fix Command Arguments for Osf_Namespace_A
3537 static const char* apzOsf_Namespace_APatch[] = {
3540 "reg(ex|off|match)_t",
3543 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3545 * Description of Osf_Namespace_C fix
3547 tSCC zOsf_Namespace_CName[] =
3551 * File name selection pattern
3553 tSCC zOsf_Namespace_CList[] =
3556 * Machine/OS name selection pattern
3558 #define apzOsf_Namespace_CMachs (const char**)NULL
3561 * content selection pattern - do fix if pattern found
3563 tSCC zOsf_Namespace_CSelect0[] =
3564 "#include <reg_types.h>.*";
3567 * perform the 'test' shell command - do fix on success
3569 tSCC zOsf_Namespace_CTest0[] =
3571 tSCC zOsf_Namespace_CTest1[] =
3572 " -r sys/lc_core.h";
3573 tSCC zOsf_Namespace_CTest2[] =
3574 " -n \"`grep '} regex_t;' reg_types.h`\"";
3575 tSCC zOsf_Namespace_CTest3[] =
3576 " -z \"`grep __regex_t regex.h`\"";
3578 #define OSF_NAMESPACE_C_TEST_CT 5
3579 static tTestDesc aOsf_Namespace_CTests[] = {
3580 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
3581 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
3582 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
3583 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
3584 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
3587 * Fix Command Arguments for Osf_Namespace_C
3589 static const char* apzOsf_Namespace_CPatch[] = {
3592 typedef __regex_t\tregex_t;\n\
3593 typedef __regoff_t\tregoff_t;\n\
3594 typedef __regmatch_t\tregmatch_t;",
3597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3599 * Description of Pthread_Page_Size fix
3601 tSCC zPthread_Page_SizeName[] =
3602 "pthread_page_size";
3605 * File name selection pattern
3607 tSCC zPthread_Page_SizeList[] =
3610 * Machine/OS name selection pattern
3612 #define apzPthread_Page_SizeMachs (const char**)NULL
3615 * content selection pattern - do fix if pattern found
3617 tSCC zPthread_Page_SizeSelect0[] =
3620 #define PTHREAD_PAGE_SIZE_TEST_CT 1
3621 static tTestDesc aPthread_Page_SizeTests[] = {
3622 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
3625 * Fix Command Arguments for Pthread_Page_Size
3627 static const char* apzPthread_Page_SizePatch[] = {
3632 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3634 * Description of Read_Ret_Type fix
3636 tSCC zRead_Ret_TypeName[] =
3640 * File name selection pattern
3642 tSCC zRead_Ret_TypeList[] =
3645 * Machine/OS name selection pattern
3647 #define apzRead_Ret_TypeMachs (const char**)NULL
3650 * content selection pattern - do fix if pattern found
3652 tSCC zRead_Ret_TypeSelect0[] =
3653 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
3655 #define READ_RET_TYPE_TEST_CT 1
3656 static tTestDesc aRead_Ret_TypeTests[] = {
3657 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
3660 * Fix Command Arguments for Read_Ret_Type
3662 static const char* apzRead_Ret_TypePatch[] = {
3664 "extern unsigned int fread(), fwrite();\n\
3666 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
3669 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3671 * Description of Rs6000_Double fix
3673 tSCC zRs6000_DoubleName[] =
3677 * File name selection pattern
3679 tSCC zRs6000_DoubleList[] =
3682 * Machine/OS name selection pattern
3684 #define apzRs6000_DoubleMachs (const char**)NULL
3687 * content selection pattern - do fix if pattern found
3689 tSCC zRs6000_DoubleSelect0[] =
3690 "[^a-zA-Z_]class\\(";
3692 #define RS6000_DOUBLE_TEST_CT 1
3693 static tTestDesc aRs6000_DoubleTests[] = {
3694 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
3697 * Fix Command Arguments for Rs6000_Double
3699 static const char* apzRs6000_DoublePatch[] = {
3701 "#ifndef __cplusplus\n\
3704 "^.*[^a-zA-Z_]class\\(.*",
3707 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3709 * Description of Rs6000_Fchmod fix
3711 tSCC zRs6000_FchmodName[] =
3715 * File name selection pattern
3717 tSCC zRs6000_FchmodList[] =
3720 * Machine/OS name selection pattern
3722 #define apzRs6000_FchmodMachs (const char**)NULL
3725 * content selection pattern - do fix if pattern found
3727 tSCC zRs6000_FchmodSelect0[] =
3728 "fchmod\\(char \\*";
3730 #define RS6000_FCHMOD_TEST_CT 1
3731 static tTestDesc aRs6000_FchmodTests[] = {
3732 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
3735 * Fix Command Arguments for Rs6000_Fchmod
3737 static const char* apzRs6000_FchmodPatch[] = {
3742 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3744 * Description of Rs6000_Param fix
3746 tSCC zRs6000_ParamName[] =
3750 * File name selection pattern
3752 tSCC zRs6000_ParamList[] =
3753 "|stdio.h|unistd.h|";
3755 * Machine/OS name selection pattern
3757 #define apzRs6000_ParamMachs (const char**)NULL
3760 * content selection pattern - do fix if pattern found
3762 tSCC zRs6000_ParamSelect0[] =
3763 "rename\\(const char \\*old, const char \\*new\\)";
3765 #define RS6000_PARAM_TEST_CT 1
3766 static tTestDesc aRs6000_ParamTests[] = {
3767 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
3770 * Fix Command Arguments for Rs6000_Param
3772 static const char* apzRs6000_ParamPatch[] = {
3774 "rename(const char *_old, const char *_new)",
3777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3779 * Description of Sco_Math fix
3781 tSCC zSco_MathName[] =
3785 * File name selection pattern
3787 tSCC zSco_MathList[] =
3788 "|math.h|ansi/math.h|posix/math.h|xpg4/math.h|xpg4v2/math.h|xpg4plus/math.h|ods_30_compat/math.h|oldstyle/math.h|";
3790 * Machine/OS name selection pattern
3792 #define apzSco_MathMachs (const char**)NULL
3795 * content selection pattern - do fix if pattern found
3797 tSCC zSco_MathSelect0[] =
3798 "inline double abs";
3800 #define SCO_MATH_TEST_CT 1
3801 static tTestDesc aSco_MathTests[] = {
3802 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
3805 * Fix Command Arguments for Sco_Math
3807 static const char* apzSco_MathPatch[] = { "sed",
3808 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
3809 #ifndef __GNUC__\n",
3810 "-e", "/.*__builtin_generic/a\\\n\
3812 #define __fp_class(a) \\\\\\\n\
3813 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
3814 __fpclassifyl(a), \\\\\\\n\
3815 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
3816 __fpclassifyf(a),__fpclassify(a)))\\\n\
3818 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
3819 #ifndef __GNUC__\n",
3820 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
3821 #endif /* ! __GNUC__ */",
3824 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3826 * Description of Sco_Regset fix
3828 tSCC zSco_RegsetName[] =
3832 * File name selection pattern
3834 tSCC zSco_RegsetList[] =
3837 * Machine/OS name selection pattern
3839 tSCC* apzSco_RegsetMachs[] = {
3841 (const char*)NULL };
3844 * content selection pattern - do fix if pattern found
3846 tSCC zSco_RegsetSelect0[] =
3847 "(struct[ \t]+.*)fpstate";
3849 #define SCO_REGSET_TEST_CT 1
3850 static tTestDesc aSco_RegsetTests[] = {
3851 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
3854 * Fix Command Arguments for Sco_Regset
3856 static const char* apzSco_RegsetPatch[] = {
3861 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3863 * Description of Sco_Static_Func fix
3865 tSCC zSco_Static_FuncName[] =
3869 * File name selection pattern
3871 tSCC zSco_Static_FuncList[] =
3874 * Machine/OS name selection pattern
3876 tSCC* apzSco_Static_FuncMachs[] = {
3878 (const char*)NULL };
3881 * content selection pattern - do fix if pattern found
3883 tSCC zSco_Static_FuncSelect0[] =
3886 #define SCO_STATIC_FUNC_TEST_CT 1
3887 static tTestDesc aSco_Static_FuncTests[] = {
3888 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
3891 * Fix Command Arguments for Sco_Static_Func
3893 static const char* apzSco_Static_FuncPatch[] = { "sed",
3894 "-e", "/^static int/i\\\n\
3895 #if __cplusplus\\\n\
3897 #endif /* __cplusplus */",
3899 #if __cplusplus\\\n\
3901 #endif /* __cplusplus */",
3904 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3906 * Description of Sco_Utime fix
3908 tSCC zSco_UtimeName[] =
3912 * File name selection pattern
3914 tSCC zSco_UtimeList[] =
3917 * Machine/OS name selection pattern
3919 tSCC* apzSco_UtimeMachs[] = {
3921 (const char*)NULL };
3924 * content selection pattern - do fix if pattern found
3926 tSCC zSco_UtimeSelect0[] =
3927 "\\(const char \\*, struct utimbuf \\*\\);";
3929 #define SCO_UTIME_TEST_CT 1
3930 static tTestDesc aSco_UtimeTests[] = {
3931 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
3934 * Fix Command Arguments for Sco_Utime
3936 static const char* apzSco_UtimePatch[] = {
3938 "(const char *, const struct utimbuf *);",
3941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3943 * Description of Solaris_Mutex_Init_1 fix
3945 tSCC zSolaris_Mutex_Init_1Name[] =
3946 "solaris_mutex_init_1";
3949 * File name selection pattern
3951 tSCC zSolaris_Mutex_Init_1List[] =
3954 * Machine/OS name selection pattern
3956 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
3959 * content selection pattern - do fix if pattern found
3961 tSCC zSolaris_Mutex_Init_1Select0[] =
3962 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
3964 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
3965 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
3966 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
3969 * Fix Command Arguments for Solaris_Mutex_Init_1
3971 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
3972 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
3973 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
3976 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3978 * Description of Solaris_Mutex_Init_2 fix
3980 tSCC zSolaris_Mutex_Init_2Name[] =
3981 "solaris_mutex_init_2";
3984 * File name selection pattern
3986 tSCC zSolaris_Mutex_Init_2List[] =
3989 * Machine/OS name selection pattern
3991 #define apzSolaris_Mutex_Init_2Machs (const char**)NULL
3994 * content selection pattern - do fix if pattern found
3996 tSCC zSolaris_Mutex_Init_2Select0[] =
3997 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
3999 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
4000 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
4001 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
4004 * Fix Command Arguments for Solaris_Mutex_Init_2
4006 static const char* apzSolaris_Mutex_Init_2Patch[] = {
4008 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
4013 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*),[ \t]*0\\}(|[ \t].*)$",
4016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4018 * Description of Solaris_Socket fix
4020 tSCC zSolaris_SocketName[] =
4024 * File name selection pattern
4026 tSCC zSolaris_SocketList[] =
4029 * Machine/OS name selection pattern
4031 #define apzSolaris_SocketMachs (const char**)NULL
4034 * content selection pattern - do fix if pattern found
4036 tSCC zSolaris_SocketSelect0[] =
4037 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
4039 #define SOLARIS_SOCKET_TEST_CT 1
4040 static tTestDesc aSolaris_SocketTests[] = {
4041 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
4044 * Fix Command Arguments for Solaris_Socket
4046 static const char* apzSolaris_SocketPatch[] = {
4048 "extern int %1(int, %2void *, int, int);",
4049 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
4052 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4054 * Description of Solaris_Stdio_Tag fix
4056 tSCC zSolaris_Stdio_TagName[] =
4057 "solaris_stdio_tag";
4060 * File name selection pattern
4062 tSCC zSolaris_Stdio_TagList[] =
4065 * Machine/OS name selection pattern
4067 #define apzSolaris_Stdio_TagMachs (const char**)NULL
4070 * content selection pattern - do fix if pattern found
4072 tSCC zSolaris_Stdio_TagSelect0[] =
4073 "__cplusplus < 54321L";
4075 #define SOLARIS_STDIO_TAG_TEST_CT 1
4076 static tTestDesc aSolaris_Stdio_TagTests[] = {
4077 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
4080 * Fix Command Arguments for Solaris_Stdio_Tag
4082 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
4083 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
4086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4088 * Description of Solaris_Unistd fix
4090 tSCC zSolaris_UnistdName[] =
4094 * File name selection pattern
4096 tSCC zSolaris_UnistdList[] =
4099 * Machine/OS name selection pattern
4101 #define apzSolaris_UnistdMachs (const char**)NULL
4104 * content selection pattern - do fix if pattern found
4106 tSCC zSolaris_UnistdSelect0[] =
4107 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
4110 * content bypass pattern - skip fix if pattern found
4112 tSCC zSolaris_UnistdBypass0[] =
4115 #define SOLARIS_UNISTD_TEST_CT 2
4116 static tTestDesc aSolaris_UnistdTests[] = {
4117 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
4118 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
4121 * Fix Command Arguments for Solaris_Unistd
4123 static const char* apzSolaris_UnistdPatch[] = {
4125 "extern int getpagesize();\n\
4127 "^extern (pid_t|int) getpgid\\(.*\\);",
4130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4132 * Description of Solaris_Widec fix
4134 tSCC zSolaris_WidecName[] =
4138 * File name selection pattern
4140 tSCC zSolaris_WidecList[] =
4143 * Machine/OS name selection pattern
4145 tSCC* apzSolaris_WidecMachs[] = {
4146 "*-*-solaris2.[0-5]*",
4147 (const char*)NULL };
4150 * content selection pattern - do fix if pattern found
4152 tSCC zSolaris_WidecSelect0[] =
4156 * content bypass pattern - skip fix if pattern found
4158 tSCC zSolaris_WidecBypass0[] =
4159 "include.*wchar\\.h";
4161 #define SOLARIS_WIDEC_TEST_CT 2
4162 static tTestDesc aSolaris_WidecTests[] = {
4163 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
4164 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
4167 * Fix Command Arguments for Solaris_Widec
4169 static const char* apzSolaris_WidecPatch[] = {
4172 #include <wchar.h>",
4175 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4177 * Description of Statsswtch fix
4179 tSCC zStatsswtchName[] =
4183 * File name selection pattern
4185 tSCC zStatsswtchList[] =
4188 * Machine/OS name selection pattern
4190 #define apzStatsswtchMachs (const char**)NULL
4193 * content selection pattern - do fix if pattern found
4195 tSCC zStatsswtchSelect0[] =
4198 #define STATSSWTCH_TEST_CT 1
4199 static tTestDesc aStatsswtchTests[] = {
4200 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
4203 * Fix Command Arguments for Statsswtch
4205 static const char* apzStatsswtchPatch[] = {
4210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4212 * Description of Stdio_Stdarg_H fix
4214 tSCC zStdio_Stdarg_HName[] =
4218 * File name selection pattern
4220 tSCC zStdio_Stdarg_HList[] =
4223 * Machine/OS name selection pattern
4225 #define apzStdio_Stdarg_HMachs (const char**)NULL
4228 * content bypass pattern - skip fix if pattern found
4230 tSCC zStdio_Stdarg_HBypass0[] =
4231 "include.*(stdarg.h|machine/ansi.h)";
4233 #define STDIO_STDARG_H_TEST_CT 1
4234 static tTestDesc aStdio_Stdarg_HTests[] = {
4235 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
4238 * Fix Command Arguments for Stdio_Stdarg_H
4240 static const char* apzStdio_Stdarg_HPatch[] = {
4242 "#define __need___va_list\n\
4243 #include <stdarg.h>\n",
4246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4248 * Description of Stdio_Va_List fix
4250 tSCC zStdio_Va_ListName[] =
4254 * File name selection pattern
4256 tSCC zStdio_Va_ListList[] =
4257 "|stdio.h|internal/stdio_core.h|internal/wchar_core.h|";
4259 * Machine/OS name selection pattern
4261 #define apzStdio_Va_ListMachs (const char**)NULL
4264 * content bypass pattern - skip fix if pattern found
4266 tSCC zStdio_Va_ListBypass0[] =
4267 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
4269 #define STDIO_VA_LIST_TEST_CT 1
4270 static tTestDesc aStdio_Va_ListTests[] = {
4271 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
4274 * Fix Command Arguments for Stdio_Va_List
4276 static const char* apzStdio_Va_ListPatch[] = { "sed",
4277 "-e", "s@ va_list @ __gnuc_va_list @\n\
4278 s@ va_list)@ __gnuc_va_list)@\n\
4279 s@va_list _ap;@__gnuc_va_list _ap;@\n\
4280 s@(va_list)&@(__gnuc_va_list)\\&@\n\
4281 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
4282 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
4283 s@ va_list@ __not_va_list__@\n\
4284 s@\\*va_list@*__not_va_list__@\n\
4285 s@ __va_list)@ __gnuc_va_list)@\n\
4286 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
4287 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
4288 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
4289 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
4290 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
4291 s@VA_LIST@DUMMY_VA_LIST@\n\
4292 s@_Va_LIST@_VA_LIST@",
4295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4297 * Description of Strict_Ansi_Not fix
4299 tSCC zStrict_Ansi_NotName[] =
4303 * File name selection pattern
4305 #define zStrict_Ansi_NotList (char*)NULL
4307 * Machine/OS name selection pattern
4309 #define apzStrict_Ansi_NotMachs (const char**)NULL
4312 * content selection pattern - do fix if pattern found
4314 tSCC zStrict_Ansi_NotSelect0[] =
4315 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
4318 * content bypass pattern - skip fix if pattern found
4320 tSCC zStrict_Ansi_NotBypass0[] =
4321 "GNU and MIPS C compilers define __STDC__ differently";
4322 tSCC zStrict_Ansi_NotBypass1[] =
4323 "__SCO_VERSION__.*__STDC__ != 1";
4326 * perform the C function call test
4328 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
4330 #define STRICT_ANSI_NOT_TEST_CT 4
4331 static tTestDesc aStrict_Ansi_NotTests[] = {
4332 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
4333 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
4334 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
4335 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
4338 * Fix Command Arguments for Strict_Ansi_Not
4340 static const char* apzStrict_Ansi_NotPatch[] = {
4342 "%1 !defined(__STRICT_ANSI__)",
4345 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4347 * Description of Strict_Ansi_Not_Ctd fix
4349 tSCC zStrict_Ansi_Not_CtdName[] =
4350 "strict_ansi_not_ctd";
4353 * File name selection pattern
4355 tSCC zStrict_Ansi_Not_CtdList[] =
4356 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
4358 * Machine/OS name selection pattern
4360 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
4363 * content selection pattern - do fix if pattern found
4365 tSCC zStrict_Ansi_Not_CtdSelect0[] =
4366 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
4369 * perform the C function call test
4371 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
4373 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
4374 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
4375 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
4376 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
4379 * Fix Command Arguments for Strict_Ansi_Not_Ctd
4381 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
4383 "%1 !defined(__STRICT_ANSI__)",
4386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4388 * Description of Strict_Ansi_Only fix
4390 tSCC zStrict_Ansi_OnlyName[] =
4394 * File name selection pattern
4396 #define zStrict_Ansi_OnlyList (char*)NULL
4398 * Machine/OS name selection pattern
4400 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
4403 * content selection pattern - do fix if pattern found
4405 tSCC zStrict_Ansi_OnlySelect0[] =
4406 "^([ \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)";
4409 * perform the C function call test
4411 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
4413 #define STRICT_ANSI_ONLY_TEST_CT 2
4414 static tTestDesc aStrict_Ansi_OnlyTests[] = {
4415 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
4416 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
4419 * Fix Command Arguments for Strict_Ansi_Only
4421 static const char* apzStrict_Ansi_OnlyPatch[] = {
4423 "%1 defined(__STRICT_ANSI__)",
4426 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4428 * Description of Struct_File fix
4430 tSCC zStruct_FileName[] =
4434 * File name selection pattern
4436 tSCC zStruct_FileList[] =
4439 * Machine/OS name selection pattern
4441 #define apzStruct_FileMachs (const char**)NULL
4444 * content selection pattern - do fix if pattern found
4446 tSCC zStruct_FileSelect0[] =
4447 "^.*xdrstdio_create.*struct __file_s";
4449 #define STRUCT_FILE_TEST_CT 1
4450 static tTestDesc aStruct_FileTests[] = {
4451 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
4454 * Fix Command Arguments for Struct_File
4456 static const char* apzStruct_FilePatch[] = {
4458 "struct __file_s;\n\
4462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4464 * Description of Struct_Sockaddr fix
4466 tSCC zStruct_SockaddrName[] =
4470 * File name selection pattern
4472 tSCC zStruct_SockaddrList[] =
4475 * Machine/OS name selection pattern
4477 #define apzStruct_SockaddrMachs (const char**)NULL
4480 * content selection pattern - do fix if pattern found
4482 tSCC zStruct_SockaddrSelect0[] =
4483 "^.*authdes_create.*struct sockaddr[^_]";
4486 * content bypass pattern - skip fix if pattern found
4488 tSCC zStruct_SockaddrBypass0[] =
4490 tSCC zStruct_SockaddrBypass1[] =
4491 "struct sockaddr;\n";
4493 #define STRUCT_SOCKADDR_TEST_CT 3
4494 static tTestDesc aStruct_SockaddrTests[] = {
4495 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
4496 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
4497 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
4500 * Fix Command Arguments for Struct_Sockaddr
4502 static const char* apzStruct_SockaddrPatch[] = {
4504 "struct sockaddr;\n\
4508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4510 * Description of Sun_Auth_Proto fix
4512 tSCC zSun_Auth_ProtoName[] =
4516 * File name selection pattern
4518 tSCC zSun_Auth_ProtoList[] =
4519 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
4521 * Machine/OS name selection pattern
4523 #define apzSun_Auth_ProtoMachs (const char**)NULL
4526 * content selection pattern - do fix if pattern found
4528 tSCC zSun_Auth_ProtoSelect0[] =
4529 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
4531 #define SUN_AUTH_PROTO_TEST_CT 1
4532 static tTestDesc aSun_Auth_ProtoTests[] = {
4533 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
4536 * Fix Command Arguments for Sun_Auth_Proto
4538 static const char* apzSun_Auth_ProtoPatch[] = {
4540 "#ifdef __cplusplus\n\
4545 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
4548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4550 * Description of Sun_Bogus_Ifdef fix
4552 tSCC zSun_Bogus_IfdefName[] =
4556 * File name selection pattern
4558 tSCC zSun_Bogus_IfdefList[] =
4559 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
4561 * Machine/OS name selection pattern
4563 #define apzSun_Bogus_IfdefMachs (const char**)NULL
4566 * content selection pattern - do fix if pattern found
4568 tSCC zSun_Bogus_IfdefSelect0[] =
4569 "#ifdef(.*\\|\\|.*)";
4571 #define SUN_BOGUS_IFDEF_TEST_CT 1
4572 static tTestDesc aSun_Bogus_IfdefTests[] = {
4573 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
4576 * Fix Command Arguments for Sun_Bogus_Ifdef
4578 static const char* apzSun_Bogus_IfdefPatch[] = {
4583 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4585 * Description of Sun_Catmacro fix
4587 tSCC zSun_CatmacroName[] =
4591 * File name selection pattern
4593 tSCC zSun_CatmacroList[] =
4594 "|pixrect/memvar.h|";
4596 * Machine/OS name selection pattern
4598 #define apzSun_CatmacroMachs (const char**)NULL
4601 * content selection pattern - do fix if pattern found
4603 tSCC zSun_CatmacroSelect0[] =
4604 "^#define[ \t]+CAT\\(a,b\\).*";
4606 #define SUN_CATMACRO_TEST_CT 1
4607 static tTestDesc aSun_CatmacroTests[] = {
4608 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
4611 * Fix Command Arguments for Sun_Catmacro
4613 static const char* apzSun_CatmacroPatch[] = {
4616 # define CAT(a,b) a##b\n\
4622 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4624 * Description of Sun_Malloc fix
4626 tSCC zSun_MallocName[] =
4630 * File name selection pattern
4632 tSCC zSun_MallocList[] =
4635 * Machine/OS name selection pattern
4637 #define apzSun_MallocMachs (const char**)NULL
4638 #define SUN_MALLOC_TEST_CT 0
4639 #define aSun_MallocTests (tTestDesc*)NULL
4642 * Fix Command Arguments for Sun_Malloc
4644 static const char* apzSun_MallocPatch[] = { "sed",
4645 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
4646 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
4647 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
4648 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
4649 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
4652 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4654 * Description of Sun_Rusers_Semi fix
4656 tSCC zSun_Rusers_SemiName[] =
4660 * File name selection pattern
4662 tSCC zSun_Rusers_SemiList[] =
4663 "|rpcsvc/rusers.h|";
4665 * Machine/OS name selection pattern
4667 #define apzSun_Rusers_SemiMachs (const char**)NULL
4670 * content selection pattern - do fix if pattern found
4672 tSCC zSun_Rusers_SemiSelect0[] =
4675 #define SUN_RUSERS_SEMI_TEST_CT 1
4676 static tTestDesc aSun_Rusers_SemiTests[] = {
4677 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
4680 * Fix Command Arguments for Sun_Rusers_Semi
4682 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
4683 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
4686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4688 * Description of Sun_Signal fix
4690 tSCC zSun_SignalName[] =
4694 * File name selection pattern
4696 tSCC zSun_SignalList[] =
4697 "|sys/signal.h|signal.h|";
4699 * Machine/OS name selection pattern
4701 #define apzSun_SignalMachs (const char**)NULL
4704 * content selection pattern - do fix if pattern found
4706 tSCC zSun_SignalSelect0[] =
4707 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
4709 #define SUN_SIGNAL_TEST_CT 1
4710 static tTestDesc aSun_SignalTests[] = {
4711 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
4714 * Fix Command Arguments for Sun_Signal
4716 static const char* apzSun_SignalPatch[] = {
4718 "#ifdef __cplusplus\n\
4719 void\t(*signal(...))(...);\n\
4725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4727 * Description of Sunos_Matherr_Decl fix
4729 tSCC zSunos_Matherr_DeclName[] =
4730 "sunos_matherr_decl";
4733 * File name selection pattern
4735 tSCC zSunos_Matherr_DeclList[] =
4738 * Machine/OS name selection pattern
4740 #define apzSunos_Matherr_DeclMachs (const char**)NULL
4743 * content selection pattern - do fix if pattern found
4745 tSCC zSunos_Matherr_DeclSelect0[] =
4749 * content bypass pattern - skip fix if pattern found
4751 tSCC zSunos_Matherr_DeclBypass0[] =
4752 "matherr.*(struct exception|__MATH_EXCEPTION)";
4754 #define SUNOS_MATHERR_DECL_TEST_CT 2
4755 static tTestDesc aSunos_Matherr_DeclTests[] = {
4756 { TT_NEGREP, zSunos_Matherr_DeclBypass0, (regex_t*)NULL },
4757 { TT_EGREP, zSunos_Matherr_DeclSelect0, (regex_t*)NULL }, };
4760 * Fix Command Arguments for Sunos_Matherr_Decl
4762 static const char* apzSunos_Matherr_DeclPatch[] = {
4764 "struct exception;\n",
4767 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4769 * Description of Sunos_Strlen fix
4771 tSCC zSunos_StrlenName[] =
4775 * File name selection pattern
4777 tSCC zSunos_StrlenList[] =
4780 * Machine/OS name selection pattern
4782 #define apzSunos_StrlenMachs (const char**)NULL
4785 * content selection pattern - do fix if pattern found
4787 tSCC zSunos_StrlenSelect0[] =
4788 "int[ \t]*strlen\\(\\);(.*)";
4790 #define SUNOS_STRLEN_TEST_CT 1
4791 static tTestDesc aSunos_StrlenTests[] = {
4792 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
4795 * Fix Command Arguments for Sunos_Strlen
4797 static const char* apzSunos_StrlenPatch[] = {
4799 "__SIZE_TYPE__ strlen();%1",
4802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4804 * Description of Svr4__P fix
4806 tSCC zSvr4__PName[] =
4810 * File name selection pattern
4812 tSCC zSvr4__PList[] =
4813 "|math.h|floatingpoint.h|";
4815 * Machine/OS name selection pattern
4817 #define apzSvr4__PMachs (const char**)NULL
4820 * content selection pattern - do fix if pattern found
4822 tSCC zSvr4__PSelect0[] =
4823 "^#define[ \t]+__P.*";
4825 #define SVR4__P_TEST_CT 1
4826 static tTestDesc aSvr4__PTests[] = {
4827 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
4830 * Fix Command Arguments for Svr4__P
4832 static const char* apzSvr4__PPatch[] = {
4839 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4841 * Description of Svr4_Disable_Opt fix
4843 tSCC zSvr4_Disable_OptName[] =
4847 * File name selection pattern
4849 tSCC zSvr4_Disable_OptList[] =
4852 * Machine/OS name selection pattern
4854 #define apzSvr4_Disable_OptMachs (const char**)NULL
4857 * content selection pattern - do fix if pattern found
4859 tSCC zSvr4_Disable_OptSelect0[] =
4860 "#define.*__std_hdr_";
4862 #define SVR4_DISABLE_OPT_TEST_CT 1
4863 static tTestDesc aSvr4_Disable_OptTests[] = {
4864 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
4867 * Fix Command Arguments for Svr4_Disable_Opt
4869 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
4870 "-e", "/#define.*__std_hdr_/d",
4873 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4875 * Description of Svr4_Getcwd fix
4877 tSCC zSvr4_GetcwdName[] =
4881 * File name selection pattern
4883 tSCC zSvr4_GetcwdList[] =
4884 "|stdlib.h|unistd.h|prototypes.h|";
4886 * Machine/OS name selection pattern
4888 #define apzSvr4_GetcwdMachs (const char**)NULL
4891 * content selection pattern - do fix if pattern found
4893 tSCC zSvr4_GetcwdSelect0[] =
4894 "getcwd\\(char \\*, int\\)";
4896 #define SVR4_GETCWD_TEST_CT 1
4897 static tTestDesc aSvr4_GetcwdTests[] = {
4898 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
4901 * Fix Command Arguments for Svr4_Getcwd
4903 static const char* apzSvr4_GetcwdPatch[] = {
4905 "getcwd(char *, size_t)",
4908 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4910 * Description of Svr4_Krnl fix
4912 tSCC zSvr4_KrnlName[] =
4916 * File name selection pattern
4918 tSCC zSvr4_KrnlList[] =
4919 "|fs/rfs/rf_cache.h|sys/erec.h|sys/err.h|sys/char.h|sys/getpages.h|sys/map.h|sys/cmn_err.h|sys/kdebugger.h|";
4921 * Machine/OS name selection pattern
4923 tSCC* apzSvr4_KrnlMachs[] = {
4925 "i?86-sequent-ptx*",
4926 "i?86-sequent-sysv3*",
4927 (const char*)NULL };
4930 * content bypass pattern - skip fix if pattern found
4932 tSCC zSvr4_KrnlBypass0[] =
4935 #define SVR4_KRNL_TEST_CT 1
4936 static tTestDesc aSvr4_KrnlTests[] = {
4937 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
4940 * Fix Command Arguments for Svr4_Krnl
4942 static const char* apzSvr4_KrnlPatch[] = {
4945 "#endif /* _KERNEL */\n",
4948 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4950 * Description of Svr4_Profil fix
4952 tSCC zSvr4_ProfilName[] =
4956 * File name selection pattern
4958 tSCC zSvr4_ProfilList[] =
4959 "|stdlib.h|unistd.h|";
4961 * Machine/OS name selection pattern
4963 #define apzSvr4_ProfilMachs (const char**)NULL
4966 * content selection pattern - do fix if pattern found
4968 tSCC zSvr4_ProfilSelect0[] =
4969 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
4971 #define SVR4_PROFIL_TEST_CT 1
4972 static tTestDesc aSvr4_ProfilTests[] = {
4973 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
4976 * Fix Command Arguments for Svr4_Profil
4978 static const char* apzSvr4_ProfilPatch[] = {
4980 "profil(unsigned short *, size_t, int, unsigned int)",
4983 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4985 * Description of Svr4_Undeclared_Getrnge fix
4987 tSCC zSvr4_Undeclared_GetrngeName[] =
4988 "svr4_undeclared_getrnge";
4991 * File name selection pattern
4993 tSCC zSvr4_Undeclared_GetrngeList[] =
4996 * Machine/OS name selection pattern
4998 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
5001 * content selection pattern - do fix if pattern found
5003 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
5007 * content bypass pattern - skip fix if pattern found
5009 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
5010 "static void getrnge";
5012 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
5013 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
5014 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
5015 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
5018 * Fix Command Arguments for Svr4_Undeclared_Getrnge
5020 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
5023 static int getrnge ();",
5024 "^static int[ \t]+size;",
5027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5029 * Description of Sysv68_String fix
5031 tSCC zSysv68_StringName[] =
5035 * File name selection pattern
5037 tSCC zSysv68_StringList[] =
5038 "|testing.h|string.h|";
5040 * Machine/OS name selection pattern
5042 #define apzSysv68_StringMachs (const char**)NULL
5043 #define SYSV68_STRING_TEST_CT 0
5044 #define aSysv68_StringTests (tTestDesc*)NULL
5047 * Fix Command Arguments for Sysv68_String
5049 static const char* apzSysv68_StringPatch[] = { "sed",
5050 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
5051 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
5052 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
5053 "-e", "/^extern char$/N",
5054 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
5055 "-e", "/^extern int$/N",
5056 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
5057 "-e", "/^\tstrncmp(),$/N",
5058 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
5059 extern unsigned int\\\n\
5063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5065 * Description of Sysz_Stdlib_For_Sun fix
5067 tSCC zSysz_Stdlib_For_SunName[] =
5068 "sysz_stdlib_for_sun";
5071 * File name selection pattern
5073 tSCC zSysz_Stdlib_For_SunList[] =
5076 * Machine/OS name selection pattern
5078 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
5081 * content selection pattern - do fix if pattern found
5083 tSCC zSysz_Stdlib_For_SunSelect0[] =
5084 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
5086 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
5087 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
5088 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
5091 * Fix Command Arguments for Sysz_Stdlib_For_Sun
5093 static const char* apzSysz_Stdlib_For_SunPatch[] = {
5098 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5100 * Description of Thread_Keyword fix
5102 tSCC zThread_KeywordName[] =
5106 * File name selection pattern
5108 tSCC zThread_KeywordList[] =
5109 "|pthread.h|bits/sigthread.h|";
5111 * Machine/OS name selection pattern
5113 #define apzThread_KeywordMachs (const char**)NULL
5116 * content selection pattern - do fix if pattern found
5118 tSCC zThread_KeywordSelect0[] =
5119 "([* ])__thread([,)])";
5121 #define THREAD_KEYWORD_TEST_CT 1
5122 static tTestDesc aThread_KeywordTests[] = {
5123 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
5126 * Fix Command Arguments for Thread_Keyword
5128 static const char* apzThread_KeywordPatch[] = {
5133 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5135 * Description of Tinfo_Cplusplus fix
5137 tSCC zTinfo_CplusplusName[] =
5141 * File name selection pattern
5143 tSCC zTinfo_CplusplusList[] =
5146 * Machine/OS name selection pattern
5148 #define apzTinfo_CplusplusMachs (const char**)NULL
5151 * content selection pattern - do fix if pattern found
5153 tSCC zTinfo_CplusplusSelect0[] =
5156 #define TINFO_CPLUSPLUS_TEST_CT 1
5157 static tTestDesc aTinfo_CplusplusTests[] = {
5158 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
5161 * Fix Command Arguments for Tinfo_Cplusplus
5163 static const char* apzTinfo_CplusplusPatch[] = {
5168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5170 * Description of Ultrix_Atexit_Param fix
5172 tSCC zUltrix_Atexit_ParamName[] =
5173 "ultrix_atexit_param";
5176 * File name selection pattern
5178 tSCC zUltrix_Atexit_ParamList[] =
5181 * Machine/OS name selection pattern
5183 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
5186 * content selection pattern - do fix if pattern found
5188 tSCC zUltrix_Atexit_ParamSelect0[] =
5189 "atexit\\(.*\\(\\)";
5191 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
5192 static tTestDesc aUltrix_Atexit_ParamTests[] = {
5193 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
5196 * Fix Command Arguments for Ultrix_Atexit_Param
5198 static const char* apzUltrix_Atexit_ParamPatch[] = {
5200 "atexit( void (*__func)( void )",
5203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5205 * Description of Ultrix_Atof_Param fix
5207 tSCC zUltrix_Atof_ParamName[] =
5208 "ultrix_atof_param";
5211 * File name selection pattern
5213 tSCC zUltrix_Atof_ParamList[] =
5216 * Machine/OS name selection pattern
5218 #define apzUltrix_Atof_ParamMachs (const char**)NULL
5221 * content selection pattern - do fix if pattern found
5223 tSCC zUltrix_Atof_ParamSelect0[] =
5224 "atof\\([ \t]*char";
5226 #define ULTRIX_ATOF_PARAM_TEST_CT 1
5227 static tTestDesc aUltrix_Atof_ParamTests[] = {
5228 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
5231 * Fix Command Arguments for Ultrix_Atof_Param
5233 static const char* apzUltrix_Atof_ParamPatch[] = {
5238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5240 * Description of Ultrix_Const fix
5242 tSCC zUltrix_ConstName[] =
5246 * File name selection pattern
5248 tSCC zUltrix_ConstList[] =
5251 * Machine/OS name selection pattern
5253 #define apzUltrix_ConstMachs (const char**)NULL
5256 * content selection pattern - do fix if pattern found
5258 tSCC zUltrix_ConstSelect0[] =
5259 "perror\\( char \\*";
5261 #define ULTRIX_CONST_TEST_CT 1
5262 static tTestDesc aUltrix_ConstTests[] = {
5263 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
5266 * Fix Command Arguments for Ultrix_Const
5268 static const char* apzUltrix_ConstPatch[] = {
5271 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
5274 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5276 * Description of Ultrix_Const2 fix
5278 tSCC zUltrix_Const2Name[] =
5282 * File name selection pattern
5284 tSCC zUltrix_Const2List[] =
5287 * Machine/OS name selection pattern
5289 #define apzUltrix_Const2Machs (const char**)NULL
5292 * content selection pattern - do fix if pattern found
5294 tSCC zUltrix_Const2Select0[] =
5295 "\\*fopen\\( char \\*";
5297 #define ULTRIX_CONST2_TEST_CT 1
5298 static tTestDesc aUltrix_Const2Tests[] = {
5299 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
5302 * Fix Command Arguments for Ultrix_Const2
5304 static const char* apzUltrix_Const2Patch[] = {
5306 "%1( const char *%3, const char *",
5307 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
5310 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5312 * Description of Ultrix_Fix_Fixproto fix
5314 tSCC zUltrix_Fix_FixprotoName[] =
5315 "ultrix_fix_fixproto";
5318 * File name selection pattern
5320 tSCC zUltrix_Fix_FixprotoList[] =
5323 * Machine/OS name selection pattern
5325 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
5328 * content selection pattern - do fix if pattern found
5330 tSCC zUltrix_Fix_FixprotoSelect0[] =
5333 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
5334 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
5335 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
5338 * Fix Command Arguments for Ultrix_Fix_Fixproto
5340 static const char* apzUltrix_Fix_FixprotoPatch[] = {
5344 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
5347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5349 * Description of Ultrix_Ifdef fix
5351 tSCC zUltrix_IfdefName[] =
5355 * File name selection pattern
5357 tSCC zUltrix_IfdefList[] =
5360 * Machine/OS name selection pattern
5362 #define apzUltrix_IfdefMachs (const char**)NULL
5365 * content selection pattern - do fix if pattern found
5367 tSCC zUltrix_IfdefSelect0[] =
5368 "^#ifdef KERNEL[ \t]+&&";
5370 #define ULTRIX_IFDEF_TEST_CT 1
5371 static tTestDesc aUltrix_IfdefTests[] = {
5372 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
5375 * Fix Command Arguments for Ultrix_Ifdef
5377 static const char* apzUltrix_IfdefPatch[] = {
5379 "#if defined(KERNEL) &&",
5382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5384 * Description of Ultrix_Math_Ifdef fix
5386 tSCC zUltrix_Math_IfdefName[] =
5387 "ultrix_math_ifdef";
5390 * File name selection pattern
5392 tSCC zUltrix_Math_IfdefList[] =
5393 "|sys/limits.h|float.h|math.h|";
5395 * Machine/OS name selection pattern
5397 #define apzUltrix_Math_IfdefMachs (const char**)NULL
5400 * content selection pattern - do fix if pattern found
5402 tSCC zUltrix_Math_IfdefSelect0[] =
5403 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
5405 #define ULTRIX_MATH_IFDEF_TEST_CT 1
5406 static tTestDesc aUltrix_Math_IfdefTests[] = {
5407 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
5410 * Fix Command Arguments for Ultrix_Math_Ifdef
5412 static const char* apzUltrix_Math_IfdefPatch[] = {
5417 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5419 * Description of Ultrix_Nested_Ioctl fix
5421 tSCC zUltrix_Nested_IoctlName[] =
5422 "ultrix_nested_ioctl";
5425 * File name selection pattern
5427 tSCC zUltrix_Nested_IoctlList[] =
5430 * Machine/OS name selection pattern
5432 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
5435 * content selection pattern - do fix if pattern found
5437 tSCC zUltrix_Nested_IoctlSelect0[] =
5438 "^/\\* #define SIOCSCREEN";
5440 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
5441 static tTestDesc aUltrix_Nested_IoctlTests[] = {
5442 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
5445 * Fix Command Arguments for Ultrix_Nested_Ioctl
5447 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
5448 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
5451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5453 * Description of Ultrix_Nested_Svc fix
5455 tSCC zUltrix_Nested_SvcName[] =
5456 "ultrix_nested_svc";
5459 * File name selection pattern
5461 tSCC zUltrix_Nested_SvcList[] =
5464 * Machine/OS name selection pattern
5466 #define apzUltrix_Nested_SvcMachs (const char**)NULL
5469 * content selection pattern - do fix if pattern found
5471 tSCC zUltrix_Nested_SvcSelect0[] =
5472 "^ \\*[ \t]*int protocol; */\\*";
5474 #define ULTRIX_NESTED_SVC_TEST_CT 1
5475 static tTestDesc aUltrix_Nested_SvcTests[] = {
5476 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
5479 * Fix Command Arguments for Ultrix_Nested_Svc
5481 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
5482 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
5485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5487 * Description of Ultrix_Stat fix
5489 tSCC zUltrix_StatName[] =
5493 * File name selection pattern
5495 tSCC zUltrix_StatList[] =
5498 * Machine/OS name selection pattern
5500 #define apzUltrix_StatMachs (const char**)NULL
5503 * content selection pattern - do fix if pattern found
5505 tSCC zUltrix_StatSelect0[] =
5506 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
5508 #define ULTRIX_STAT_TEST_CT 1
5509 static tTestDesc aUltrix_StatTests[] = {
5510 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
5513 * Fix Command Arguments for Ultrix_Stat
5515 static const char* apzUltrix_StatPatch[] = { "sed",
5516 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
5518 /* macro to test for symbolic link */\\\n\
5519 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
5520 "-e", "/^[ \t]*fstat(),$/a\\\n\
5524 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5526 * Description of Ultrix_Static fix
5528 tSCC zUltrix_StaticName[] =
5532 * File name selection pattern
5534 tSCC zUltrix_StaticList[] =
5537 * Machine/OS name selection pattern
5539 #define apzUltrix_StaticMachs (const char**)NULL
5542 * content selection pattern - do fix if pattern found
5544 tSCC zUltrix_StaticSelect0[] =
5545 "#include \"r[34]_cpu";
5547 #define ULTRIX_STATIC_TEST_CT 1
5548 static tTestDesc aUltrix_StaticTests[] = {
5549 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
5552 * Fix Command Arguments for Ultrix_Static
5554 static const char* apzUltrix_StaticPatch[] = { "sed",
5555 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
5556 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
5557 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
5560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5562 * Description of Ultrix_Strings fix
5564 tSCC zUltrix_StringsName[] =
5568 * File name selection pattern
5570 tSCC zUltrix_StringsList[] =
5573 * Machine/OS name selection pattern
5575 #define apzUltrix_StringsMachs (const char**)NULL
5578 * content selection pattern - do fix if pattern found
5580 tSCC zUltrix_StringsSelect0[] =
5581 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
5583 #define ULTRIX_STRINGS_TEST_CT 1
5584 static tTestDesc aUltrix_StringsTests[] = {
5585 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
5588 * Fix Command Arguments for Ultrix_Strings
5590 static const char* apzUltrix_StringsPatch[] = {
5594 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5596 * Description of Undefine_Null fix
5598 tSCC zUndefine_NullName[] =
5602 * File name selection pattern
5604 #define zUndefine_NullList (char*)NULL
5606 * Machine/OS name selection pattern
5608 #define apzUndefine_NullMachs (const char**)NULL
5611 * content selection pattern - do fix if pattern found
5613 tSCC zUndefine_NullSelect0[] =
5614 "^#[ \t]*define[ \t]+NULL[ \t]";
5617 * content bypass pattern - skip fix if pattern found
5619 tSCC zUndefine_NullBypass0[] =
5620 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
5622 #define UNDEFINE_NULL_TEST_CT 2
5623 static tTestDesc aUndefine_NullTests[] = {
5624 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
5625 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
5628 * Fix Command Arguments for Undefine_Null
5630 static const char* apzUndefine_NullPatch[] = {
5635 "^#[ \t]*define[ \t]*[ \t]NULL([^\r\n\
5639 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5641 * Description of Unicosmk_Restrict fix
5643 tSCC zUnicosmk_RestrictName[] =
5644 "unicosmk_restrict";
5647 * File name selection pattern
5649 tSCC zUnicosmk_RestrictList[] =
5650 "|stdio.h|stdlib.h|wchar.h|";
5652 * Machine/OS name selection pattern
5654 tSCC* apzUnicosmk_RestrictMachs[] = {
5656 (const char*)NULL };
5659 * content selection pattern - do fix if pattern found
5661 tSCC zUnicosmk_RestrictSelect0[] =
5662 "(\\*[ \t]*)restrict([ \t]+)";
5664 #define UNICOSMK_RESTRICT_TEST_CT 1
5665 static tTestDesc aUnicosmk_RestrictTests[] = {
5666 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
5669 * Fix Command Arguments for Unicosmk_Restrict
5671 static const char* apzUnicosmk_RestrictPatch[] = {
5676 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5678 * Description of Uw7_Byteorder_Fix fix
5680 tSCC zUw7_Byteorder_FixName[] =
5681 "uw7_byteorder_fix";
5684 * File name selection pattern
5686 tSCC zUw7_Byteorder_FixList[] =
5689 * Machine/OS name selection pattern
5691 tSCC* apzUw7_Byteorder_FixMachs[] = {
5695 "i?86-*-solaris2.[0-4]",
5696 "powerpcle-*-solaris2.[0-4]",
5697 "sparc-*-solaris2.[0-4]",
5698 (const char*)NULL };
5701 * content selection pattern - do fix if pattern found
5703 tSCC zUw7_Byteorder_FixSelect0[] =
5707 * perform the 'test' shell command - do fix on success
5709 tSCC zUw7_Byteorder_FixTest0[] =
5710 "-f sys/byteorder.h";
5712 #define UW7_BYTEORDER_FIX_TEST_CT 2
5713 static tTestDesc aUw7_Byteorder_FixTests[] = {
5714 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
5715 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
5718 * Fix Command Arguments for Uw7_Byteorder_Fix
5720 static const char* apzUw7_Byteorder_FixPatch[] = {
5723 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
5726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5728 * Description of Va_I960_Macro fix
5730 tSCC zVa_I960_MacroName[] =
5734 * File name selection pattern
5736 tSCC zVa_I960_MacroList[] =
5737 "|arch/i960/archI960.h|";
5739 * Machine/OS name selection pattern
5741 #define apzVa_I960_MacroMachs (const char**)NULL
5744 * content selection pattern - do fix if pattern found
5746 tSCC zVa_I960_MacroSelect0[] =
5747 "__(vsiz|vali|vpad|alignof__)";
5749 #define VA_I960_MACRO_TEST_CT 1
5750 static tTestDesc aVa_I960_MacroTests[] = {
5751 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
5754 * Fix Command Arguments for Va_I960_Macro
5756 static const char* apzVa_I960_MacroPatch[] = {
5761 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5763 * Description of Void_Null fix
5765 tSCC zVoid_NullName[] =
5769 * File name selection pattern
5771 tSCC zVoid_NullList[] =
5772 "|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|";
5774 * Machine/OS name selection pattern
5776 #define apzVoid_NullMachs (const char**)NULL
5779 * content selection pattern - do fix if pattern found
5781 tSCC zVoid_NullSelect0[] =
5782 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
5784 #define VOID_NULL_TEST_CT 1
5785 static tTestDesc aVoid_NullTests[] = {
5786 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
5789 * Fix Command Arguments for Void_Null
5791 static const char* apzVoid_NullPatch[] = {
5796 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5798 * Description of Vxworks_Gcc_Problem fix
5800 tSCC zVxworks_Gcc_ProblemName[] =
5801 "vxworks_gcc_problem";
5804 * File name selection pattern
5806 tSCC zVxworks_Gcc_ProblemList[] =
5807 "|types/vxTypesBase.h|";
5809 * Machine/OS name selection pattern
5811 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
5814 * content selection pattern - do fix if pattern found
5816 tSCC zVxworks_Gcc_ProblemSelect0[] =
5817 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
5819 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
5820 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
5821 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
5824 * Fix Command Arguments for Vxworks_Gcc_Problem
5826 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
5827 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
5828 "-e", "/[ \t]size_t/i\\\n\
5829 #ifndef _GCC_SIZE_T\\\n\
5830 #define _GCC_SIZE_T\n",
5831 "-e", "/[ \t]size_t/a\\\n\
5833 "-e", "/[ \t]ptrdiff_t/i\\\n\
5834 #ifndef _GCC_PTRDIFF_T\\\n\
5835 #define _GCC_PTRDIFF_T\n",
5836 "-e", "/[ \t]ptrdiff_t/a\\\n\
5838 "-e", "/[ \t]wchar_t/i\\\n\
5839 #ifndef _GCC_WCHAR_T\\\n\
5840 #define _GCC_WCHAR_T\n",
5841 "-e", "/[ \t]wchar_t/a\\\n\
5845 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5847 * Description of Vxworks_Needs_Vxtypes fix
5849 tSCC zVxworks_Needs_VxtypesName[] =
5850 "vxworks_needs_vxtypes";
5853 * File name selection pattern
5855 tSCC zVxworks_Needs_VxtypesList[] =
5858 * Machine/OS name selection pattern
5860 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
5863 * content selection pattern - do fix if pattern found
5865 tSCC zVxworks_Needs_VxtypesSelect0[] =
5866 "uint_t([ \t]+_clocks_per_sec)";
5868 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
5869 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
5870 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
5873 * Fix Command Arguments for Vxworks_Needs_Vxtypes
5875 static const char* apzVxworks_Needs_VxtypesPatch[] = {
5880 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5882 * Description of Vxworks_Needs_Vxworks fix
5884 tSCC zVxworks_Needs_VxworksName[] =
5885 "vxworks_needs_vxworks";
5888 * File name selection pattern
5890 tSCC zVxworks_Needs_VxworksList[] =
5893 * Machine/OS name selection pattern
5895 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
5898 * content selection pattern - do fix if pattern found
5900 tSCC zVxworks_Needs_VxworksSelect0[] =
5901 "#[ \t]define[ \t]+__INCstath";
5904 * perform the 'test' shell command - do fix on success
5906 tSCC zVxworks_Needs_VxworksTest0[] =
5907 " -r types/vxTypesOld.h";
5908 tSCC zVxworks_Needs_VxworksTest1[] =
5909 " -n \"`egrep '#include' $file`\"";
5910 tSCC zVxworks_Needs_VxworksTest2[] =
5911 " -n \"`egrep ULONG $file`\"";
5913 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
5914 static tTestDesc aVxworks_Needs_VxworksTests[] = {
5915 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
5916 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
5917 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
5918 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
5921 * Fix Command Arguments for Vxworks_Needs_Vxworks
5923 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
5924 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
5925 #include <types/vxTypesOld.h>\n",
5928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5930 * Description of Vxworks_Time fix
5932 tSCC zVxworks_TimeName[] =
5936 * File name selection pattern
5938 tSCC zVxworks_TimeList[] =
5941 * Machine/OS name selection pattern
5943 #define apzVxworks_TimeMachs (const char**)NULL
5946 * content selection pattern - do fix if pattern found
5948 tSCC zVxworks_TimeSelect0[] =
5949 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
5952 * perform the 'test' shell command - do fix on success
5954 tSCC zVxworks_TimeTest0[] =
5957 #define VXWORKS_TIME_TEST_CT 2
5958 static tTestDesc aVxworks_TimeTests[] = {
5959 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
5960 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
5963 * Fix Command Arguments for Vxworks_Time
5965 static const char* apzVxworks_TimePatch[] = {
5967 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
5968 #ifdef __cplusplus\n\
5969 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
5971 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
5973 #define __gcc_VOIDFUNCPTR_defined\n\
5975 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
5978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5980 * Description of Windiss_Math1 fix
5982 tSCC zWindiss_Math1Name[] =
5986 * File name selection pattern
5988 tSCC zWindiss_Math1List[] =
5991 * Machine/OS name selection pattern
5993 tSCC* apzWindiss_Math1Machs[] = {
5995 (const char*)NULL };
5996 #define WINDISS_MATH1_TEST_CT 0
5997 #define aWindiss_Math1Tests (tTestDesc*)NULL
6000 * Fix Command Arguments for Windiss_Math1
6002 static const char* apzWindiss_Math1Patch[] = { "sed",
6003 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
6006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6008 * Description of Windiss_Math2 fix
6010 tSCC zWindiss_Math2Name[] =
6014 * File name selection pattern
6016 tSCC zWindiss_Math2List[] =
6019 * Machine/OS name selection pattern
6021 tSCC* apzWindiss_Math2Machs[] = {
6023 (const char*)NULL };
6024 #define WINDISS_MATH2_TEST_CT 0
6025 #define aWindiss_Math2Tests (tTestDesc*)NULL
6028 * Fix Command Arguments for Windiss_Math2
6030 static const char* apzWindiss_Math2Patch[] = { "sed",
6031 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
6034 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6036 * Description of Windiss_Valist fix
6038 tSCC zWindiss_ValistName[] =
6042 * File name selection pattern
6044 #define zWindiss_ValistList (char*)NULL
6046 * Machine/OS name selection pattern
6048 tSCC* apzWindiss_ValistMachs[] = {
6050 (const char*)NULL };
6053 * content selection pattern - do fix if pattern found
6055 tSCC zWindiss_ValistSelect0[] =
6056 "(#include.*)diab/va_list.h";
6058 #define WINDISS_VALIST_TEST_CT 1
6059 static tTestDesc aWindiss_ValistTests[] = {
6060 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
6063 * Fix Command Arguments for Windiss_Valist
6065 static const char* apzWindiss_ValistPatch[] = { "sed",
6066 "-e", "s|diab/va_list.h|stdarg.h|",
6069 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6071 * Description of X11_Class fix
6073 tSCC zX11_ClassName[] =
6077 * File name selection pattern
6079 tSCC zX11_ClassList[] =
6082 * Machine/OS name selection pattern
6084 #define apzX11_ClassMachs (const char**)NULL
6087 * content selection pattern - do fix if pattern found
6089 tSCC zX11_ClassSelect0[] =
6090 "^([ \t]*char \\*)class;(.*)";
6093 * content bypass pattern - skip fix if pattern found
6095 tSCC zX11_ClassBypass0[] =
6098 #define X11_CLASS_TEST_CT 2
6099 static tTestDesc aX11_ClassTests[] = {
6100 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
6101 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
6104 * Fix Command Arguments for X11_Class
6106 static const char* apzX11_ClassPatch[] = {
6108 "#ifdef __cplusplus\n\
6115 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6117 * Description of X11_Class_Usage fix
6119 tSCC zX11_Class_UsageName[] =
6123 * File name selection pattern
6125 tSCC zX11_Class_UsageList[] =
6126 "|Xm/BaseClassI.h|";
6128 * Machine/OS name selection pattern
6130 #define apzX11_Class_UsageMachs (const char**)NULL
6133 * content selection pattern - do fix if pattern found
6135 tSCC zX11_Class_UsageSelect0[] =
6139 * content bypass pattern - skip fix if pattern found
6141 tSCC zX11_Class_UsageBypass0[] =
6144 #define X11_CLASS_USAGE_TEST_CT 2
6145 static tTestDesc aX11_Class_UsageTests[] = {
6146 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
6147 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
6150 * Fix Command Arguments for X11_Class_Usage
6152 static const char* apzX11_Class_UsagePatch[] = {
6157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6159 * Description of X11_New fix
6161 tSCC zX11_NewName[] =
6165 * File name selection pattern
6167 tSCC zX11_NewList[] =
6170 * Machine/OS name selection pattern
6172 #define apzX11_NewMachs (const char**)NULL
6175 * content bypass pattern - skip fix if pattern found
6177 tSCC zX11_NewBypass0[] =
6180 #define X11_NEW_TEST_CT 1
6181 static tTestDesc aX11_NewTests[] = {
6182 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
6185 * Fix Command Arguments for X11_New
6187 static const char* apzX11_NewPatch[] = { "sed",
6188 "-e", "/Widget\told, new;/i\\\n\
6189 #ifdef __cplusplus\\\n\
6190 \tWidget\told, c_new;\\\n\
6192 "-e", "/Widget\told, new;/a\\\n\
6194 "-e", "s/Widget new,/Widget c_new,/g",
6197 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6199 * Description of X11_Sprintf fix
6201 tSCC zX11_SprintfName[] =
6205 * File name selection pattern
6207 tSCC zX11_SprintfList[] =
6208 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
6210 * Machine/OS name selection pattern
6212 #define apzX11_SprintfMachs (const char**)NULL
6215 * content selection pattern - do fix if pattern found
6217 tSCC zX11_SprintfSelect0[] =
6218 "^extern char \\*\tsprintf\\(\\);$";
6220 #define X11_SPRINTF_TEST_CT 1
6221 static tTestDesc aX11_SprintfTests[] = {
6222 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
6225 * Fix Command Arguments for X11_Sprintf
6227 static const char* apzX11_SprintfPatch[] = {
6229 "#ifndef __STDC__\n\
6231 #endif /* !defined __STDC__ */",
6235 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6239 #define REGEX_COUNT 177
6240 #define MACH_LIST_SIZE_LIMIT 261
6241 #define FIX_COUNT 157
6244 * Enumerate the fixes
6247 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
6248 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
6249 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
6250 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
6251 AAB_SUN_MEMCPY_FIXIDX,
6252 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
6253 AAB_ULTRIX_LIMITS_FIXIDX,
6254 AAB_ULTRIX_MEMORY_FIXIDX,
6255 AAB_ULTRIX_STRING_FIXIDX,
6257 AIX_SYSMACHINE_FIXIDX,
6259 AIX_VOLATILE_FIXIDX,
6260 ALPHA___ASSERT_FIXIDX,
6261 ALPHA___EXTERN_PREFIX_FIXIDX,
6262 ALPHA_ASSERT_FIXIDX,
6263 ALPHA_GETOPT_FIXIDX,
6264 ALPHA_PARENS_FIXIDX,
6265 ALPHA_PTHREAD_FIXIDX,
6267 AVOID_BOOL_DEFINE_FIXIDX,
6268 AVOID_BOOL_TYPE_FIXIDX,
6269 AVOID_WCHAR_T_TYPE_FIXIDX,
6271 BAD_STRUCT_TERM_FIXIDX,
6273 BROKEN_ASSERT_STDIO_FIXIDX,
6274 BROKEN_ASSERT_STDLIB_FIXIDX,
6276 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
6277 CTRL_QUOTES_DEF_FIXIDX,
6278 CTRL_QUOTES_USE_FIXIDX,
6280 DEC_INTERN_ASM_FIXIDX,
6281 DJGPP_WCHAR_H_FIXIDX,
6283 FREEBSD_GCC3_BREAKAGE_FIXIDX,
6287 HPUX10_CPP_POW_INLINE_FIXIDX,
6288 HPUX11_CPP_POW_INLINE_FIXIDX,
6289 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
6290 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
6292 HPUX11_FABSF_FIXIDX,
6293 HPUX11_SIZE_T_FIXIDX,
6294 HPUX11_UINT32_C_FIXIDX,
6295 HPUX11_VSNPRINTF_FIXIDX,
6296 HPUX8_BOGUS_INLINES_FIXIDX,
6297 HPUX_CTYPE_MACROS_FIXIDX,
6298 HPUX_LONG_DOUBLE_FIXIDX,
6300 HPUX_SYSTIME_FIXIDX,
6301 INT_ABORT_FREE_AND_EXIT_FIXIDX,
6302 IO_QUOTES_DEF_FIXIDX,
6303 IO_QUOTES_USE_FIXIDX,
6304 IP_MISSING_SEMI_FIXIDX,
6305 IRIX___RESTRICT_FIXIDX,
6306 IRIX_ASM_APOSTROPHE_FIXIDX,
6307 IRIX_LIMITS_CONST_FIXIDX,
6308 IRIX_SOCKLEN_T_FIXIDX,
6309 IRIX_STDIO_VA_LIST_FIXIDX,
6310 IRIX_WCSFTIME_FIXIDX,
6312 ISC_OMITS_WITH_STDC_FIXIDX,
6313 KANDR_CONCAT_FIXIDX,
6314 LIBC1_G_VA_LIST_FIXIDX,
6315 LIBC1_IFDEFD_MEMX_FIXIDX,
6316 LIMITS_IFNDEFS_FIXIDX,
6317 LYNX_VOID_INT_FIXIDX,
6318 LYNXOS_FCNTL_PROTO_FIXIDX,
6319 MACHINE_ANSI_H_VA_LIST_FIXIDX,
6320 MACHINE_NAME_FIXIDX,
6321 MATH_EXCEPTION_FIXIDX,
6322 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
6323 MATH_HUGE_VAL_IFNDEF_FIXIDX,
6324 NESTED_AUTH_DES_FIXIDX,
6325 NESTED_MOTOROLA_FIXIDX,
6326 NESTED_SYS_LIMITS_FIXIDX,
6327 NETBSD_EXTRA_SEMICOLON_FIXIDX,
6328 NEXT_MATH_PREFIX_FIXIDX,
6329 NEXT_TEMPLATE_FIXIDX,
6330 NEXT_VOLITILE_FIXIDX,
6331 NEXT_WAIT_UNION_FIXIDX,
6332 NODEENT_SYNTAX_FIXIDX,
6333 OSF_NAMESPACE_A_FIXIDX,
6334 OSF_NAMESPACE_C_FIXIDX,
6335 PTHREAD_PAGE_SIZE_FIXIDX,
6336 READ_RET_TYPE_FIXIDX,
6337 RS6000_DOUBLE_FIXIDX,
6338 RS6000_FCHMOD_FIXIDX,
6339 RS6000_PARAM_FIXIDX,
6342 SCO_STATIC_FUNC_FIXIDX,
6344 SOLARIS_MUTEX_INIT_1_FIXIDX,
6345 SOLARIS_MUTEX_INIT_2_FIXIDX,
6346 SOLARIS_SOCKET_FIXIDX,
6347 SOLARIS_STDIO_TAG_FIXIDX,
6348 SOLARIS_UNISTD_FIXIDX,
6349 SOLARIS_WIDEC_FIXIDX,
6351 STDIO_STDARG_H_FIXIDX,
6352 STDIO_VA_LIST_FIXIDX,
6353 STRICT_ANSI_NOT_FIXIDX,
6354 STRICT_ANSI_NOT_CTD_FIXIDX,
6355 STRICT_ANSI_ONLY_FIXIDX,
6357 STRUCT_SOCKADDR_FIXIDX,
6358 SUN_AUTH_PROTO_FIXIDX,
6359 SUN_BOGUS_IFDEF_FIXIDX,
6360 SUN_CATMACRO_FIXIDX,
6362 SUN_RUSERS_SEMI_FIXIDX,
6364 SUNOS_MATHERR_DECL_FIXIDX,
6365 SUNOS_STRLEN_FIXIDX,
6367 SVR4_DISABLE_OPT_FIXIDX,
6371 SVR4_UNDECLARED_GETRNGE_FIXIDX,
6372 SYSV68_STRING_FIXIDX,
6373 SYSZ_STDLIB_FOR_SUN_FIXIDX,
6374 THREAD_KEYWORD_FIXIDX,
6375 TINFO_CPLUSPLUS_FIXIDX,
6376 ULTRIX_ATEXIT_PARAM_FIXIDX,
6377 ULTRIX_ATOF_PARAM_FIXIDX,
6378 ULTRIX_CONST_FIXIDX,
6379 ULTRIX_CONST2_FIXIDX,
6380 ULTRIX_FIX_FIXPROTO_FIXIDX,
6381 ULTRIX_IFDEF_FIXIDX,
6382 ULTRIX_MATH_IFDEF_FIXIDX,
6383 ULTRIX_NESTED_IOCTL_FIXIDX,
6384 ULTRIX_NESTED_SVC_FIXIDX,
6386 ULTRIX_STATIC_FIXIDX,
6387 ULTRIX_STRINGS_FIXIDX,
6388 UNDEFINE_NULL_FIXIDX,
6389 UNICOSMK_RESTRICT_FIXIDX,
6390 UW7_BYTEORDER_FIX_FIXIDX,
6391 VA_I960_MACRO_FIXIDX,
6393 VXWORKS_GCC_PROBLEM_FIXIDX,
6394 VXWORKS_NEEDS_VXTYPES_FIXIDX,
6395 VXWORKS_NEEDS_VXWORKS_FIXIDX,
6396 VXWORKS_TIME_FIXIDX,
6397 WINDISS_MATH1_FIXIDX,
6398 WINDISS_MATH2_FIXIDX,
6399 WINDISS_VALIST_FIXIDX,
6401 X11_CLASS_USAGE_FIXIDX,
6406 tFixDesc fixDescList[ FIX_COUNT ] = {
6407 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
6408 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
6409 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
6410 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
6412 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
6413 apzAab_Fd_Zero_Gnu_Types_HMachs,
6414 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
6415 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
6417 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
6418 apzAab_Fd_Zero_Selectbits_HMachs,
6419 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
6420 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
6422 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
6423 apzAab_Solaris_Sys_Varargs_HMachs,
6424 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
6425 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
6427 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
6428 apzAab_Sun_MemcpyMachs,
6429 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
6430 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
6432 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
6433 apzAab_Ultrix_Ansi_CompatMachs,
6434 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
6435 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
6437 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
6438 apzAab_Ultrix_LimitsMachs,
6439 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
6440 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
6442 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
6443 apzAab_Ultrix_MemoryMachs,
6444 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
6445 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
6447 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
6448 apzAab_Ultrix_StringMachs,
6449 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
6450 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
6452 { zAix_PthreadName, zAix_PthreadList,
6453 apzAix_PthreadMachs,
6454 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6455 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
6457 { zAix_SysmachineName, zAix_SysmachineList,
6458 apzAix_SysmachineMachs,
6459 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6460 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
6462 { zAix_SyswaitName, zAix_SyswaitList,
6463 apzAix_SyswaitMachs,
6464 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6465 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
6467 { zAix_VolatileName, zAix_VolatileList,
6468 apzAix_VolatileMachs,
6469 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6470 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
6472 { zAlpha___AssertName, zAlpha___AssertList,
6473 apzAlpha___AssertMachs,
6474 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6475 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
6477 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
6478 apzAlpha___Extern_PrefixMachs,
6479 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6480 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
6482 { zAlpha_AssertName, zAlpha_AssertList,
6483 apzAlpha_AssertMachs,
6484 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6485 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
6487 { zAlpha_GetoptName, zAlpha_GetoptList,
6488 apzAlpha_GetoptMachs,
6489 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6490 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
6492 { zAlpha_ParensName, zAlpha_ParensList,
6493 apzAlpha_ParensMachs,
6494 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6495 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
6497 { zAlpha_PthreadName, zAlpha_PthreadList,
6498 apzAlpha_PthreadMachs,
6499 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6500 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
6502 { zAlpha_SbrkName, zAlpha_SbrkList,
6504 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6505 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
6507 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
6508 apzAvoid_Bool_DefineMachs,
6509 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6510 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
6512 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
6513 apzAvoid_Bool_TypeMachs,
6514 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6515 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
6517 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
6518 apzAvoid_Wchar_T_TypeMachs,
6519 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6520 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
6522 { zBad_LvalName, zBad_LvalList,
6524 BAD_LVAL_TEST_CT, FD_MACH_ONLY,
6525 aBad_LvalTests, apzBad_LvalPatch, 0 },
6527 { zBad_Struct_TermName, zBad_Struct_TermList,
6528 apzBad_Struct_TermMachs,
6529 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6530 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
6532 { zBadquoteName, zBadquoteList,
6534 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6535 aBadquoteTests, apzBadquotePatch, 0 },
6537 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
6538 apzBroken_Assert_StdioMachs,
6539 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6540 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
6542 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
6543 apzBroken_Assert_StdlibMachs,
6544 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6545 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
6547 { zBroken_CabsName, zBroken_CabsList,
6548 apzBroken_CabsMachs,
6549 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6550 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
6552 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
6553 apzBsd_Stdio_Attrs_ConflictMachs,
6554 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6555 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
6557 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
6558 apzCtrl_Quotes_DefMachs,
6559 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6560 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
6562 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
6563 apzCtrl_Quotes_UseMachs,
6564 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6565 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
6567 { zCxx_UnreadyName, zCxx_UnreadyList,
6568 apzCxx_UnreadyMachs,
6569 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6570 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
6572 { zDec_Intern_AsmName, zDec_Intern_AsmList,
6573 apzDec_Intern_AsmMachs,
6574 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
6575 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
6577 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
6578 apzDjgpp_Wchar_HMachs,
6579 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6580 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
6582 { zEcd_CursorName, zEcd_CursorList,
6584 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6585 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
6587 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
6588 apzFreebsd_Gcc3_BreakageMachs,
6589 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6590 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
6592 { zGnu_TypesName, zGnu_TypesList,
6594 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6595 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
6597 { zHp_InlineName, zHp_InlineList,
6599 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6600 aHp_InlineTests, apzHp_InlinePatch, 0 },
6602 { zHp_SysfileName, zHp_SysfileList,
6604 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6605 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
6607 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
6608 apzHpux10_Cpp_Pow_InlineMachs,
6609 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6610 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
6612 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
6613 apzHpux11_Cpp_Pow_InlineMachs,
6614 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6615 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
6617 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
6618 apzHpux10_Ctype_Declarations1Machs,
6619 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6620 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
6622 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
6623 apzHpux10_Ctype_Declarations2Machs,
6624 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6625 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
6627 { zHpux11_AbsName, zHpux11_AbsList,
6629 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6630 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
6632 { zHpux11_FabsfName, zHpux11_FabsfList,
6633 apzHpux11_FabsfMachs,
6634 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6635 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
6637 { zHpux11_Size_TName, zHpux11_Size_TList,
6638 apzHpux11_Size_TMachs,
6639 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6640 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
6642 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
6643 apzHpux11_Uint32_CMachs,
6644 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6645 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
6647 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
6648 apzHpux11_VsnprintfMachs,
6649 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6650 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
6652 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
6653 apzHpux8_Bogus_InlinesMachs,
6654 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
6655 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
6657 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
6658 apzHpux_Ctype_MacrosMachs,
6659 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6660 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
6662 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
6663 apzHpux_Long_DoubleMachs,
6664 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
6665 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
6667 { zHpux_MaxintName, zHpux_MaxintList,
6668 apzHpux_MaxintMachs,
6669 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6670 aHpux_MaxintTests, apzHpux_MaxintPatch, 0 },
6672 { zHpux_SystimeName, zHpux_SystimeList,
6673 apzHpux_SystimeMachs,
6674 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6675 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
6677 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
6678 apzInt_Abort_Free_And_ExitMachs,
6679 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6680 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
6682 { zIo_Quotes_DefName, zIo_Quotes_DefList,
6683 apzIo_Quotes_DefMachs,
6684 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6685 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
6687 { zIo_Quotes_UseName, zIo_Quotes_UseList,
6688 apzIo_Quotes_UseMachs,
6689 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6690 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
6692 { zIp_Missing_SemiName, zIp_Missing_SemiList,
6693 apzIp_Missing_SemiMachs,
6694 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
6695 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
6697 { zIrix___RestrictName, zIrix___RestrictList,
6698 apzIrix___RestrictMachs,
6699 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6700 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
6702 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
6703 apzIrix_Asm_ApostropheMachs,
6704 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6705 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
6707 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
6708 apzIrix_Limits_ConstMachs,
6709 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6710 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
6712 { zIrix_Socklen_TName, zIrix_Socklen_TList,
6713 apzIrix_Socklen_TMachs,
6714 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6715 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
6717 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
6718 apzIrix_Stdio_Va_ListMachs,
6719 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6720 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
6722 { zIrix_WcsftimeName, zIrix_WcsftimeList,
6723 apzIrix_WcsftimeMachs,
6724 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6725 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
6727 { zIsc_FmodName, zIsc_FmodList,
6729 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6730 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
6732 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
6733 apzIsc_Omits_With_StdcMachs,
6734 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6735 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
6737 { zKandr_ConcatName, zKandr_ConcatList,
6738 apzKandr_ConcatMachs,
6739 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6740 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
6742 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
6743 apzLibc1_G_Va_ListMachs,
6744 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6745 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
6747 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
6748 apzLibc1_Ifdefd_MemxMachs,
6749 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6750 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
6752 { zLimits_IfndefsName, zLimits_IfndefsList,
6753 apzLimits_IfndefsMachs,
6754 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6755 aLimits_IfndefsTests, apzLimits_IfndefsPatch, 0 },
6757 { zLynx_Void_IntName, zLynx_Void_IntList,
6758 apzLynx_Void_IntMachs,
6759 LYNX_VOID_INT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6760 aLynx_Void_IntTests, apzLynx_Void_IntPatch, 0 },
6762 { zLynxos_Fcntl_ProtoName, zLynxos_Fcntl_ProtoList,
6763 apzLynxos_Fcntl_ProtoMachs,
6764 LYNXOS_FCNTL_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6765 aLynxos_Fcntl_ProtoTests, apzLynxos_Fcntl_ProtoPatch, 0 },
6767 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
6768 apzMachine_Ansi_H_Va_ListMachs,
6769 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6770 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
6772 { zMachine_NameName, zMachine_NameList,
6773 apzMachine_NameMachs,
6774 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6775 aMachine_NameTests, apzMachine_NamePatch, 0 },
6777 { zMath_ExceptionName, zMath_ExceptionList,
6778 apzMath_ExceptionMachs,
6779 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6780 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
6782 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
6783 apzMath_Huge_Val_From_Dbl_MaxMachs,
6784 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
6785 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
6787 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
6788 apzMath_Huge_Val_IfndefMachs,
6789 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6790 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch, 0 },
6792 { zNested_Auth_DesName, zNested_Auth_DesList,
6793 apzNested_Auth_DesMachs,
6794 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6795 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
6797 { zNested_MotorolaName, zNested_MotorolaList,
6798 apzNested_MotorolaMachs,
6799 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
6800 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
6802 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
6803 apzNested_Sys_LimitsMachs,
6804 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
6805 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
6807 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
6808 apzNetbsd_Extra_SemicolonMachs,
6809 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6810 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
6812 { zNext_Math_PrefixName, zNext_Math_PrefixList,
6813 apzNext_Math_PrefixMachs,
6814 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6815 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
6817 { zNext_TemplateName, zNext_TemplateList,
6818 apzNext_TemplateMachs,
6819 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6820 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
6822 { zNext_VolitileName, zNext_VolitileList,
6823 apzNext_VolitileMachs,
6824 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6825 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
6827 { zNext_Wait_UnionName, zNext_Wait_UnionList,
6828 apzNext_Wait_UnionMachs,
6829 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6830 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
6832 { zNodeent_SyntaxName, zNodeent_SyntaxList,
6833 apzNodeent_SyntaxMachs,
6834 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6835 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
6837 { zOsf_Namespace_AName, zOsf_Namespace_AList,
6838 apzOsf_Namespace_AMachs,
6839 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6840 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
6842 { zOsf_Namespace_CName, zOsf_Namespace_CList,
6843 apzOsf_Namespace_CMachs,
6844 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6845 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
6847 { zPthread_Page_SizeName, zPthread_Page_SizeList,
6848 apzPthread_Page_SizeMachs,
6849 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6850 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
6852 { zRead_Ret_TypeName, zRead_Ret_TypeList,
6853 apzRead_Ret_TypeMachs,
6854 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6855 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
6857 { zRs6000_DoubleName, zRs6000_DoubleList,
6858 apzRs6000_DoubleMachs,
6859 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6860 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
6862 { zRs6000_FchmodName, zRs6000_FchmodList,
6863 apzRs6000_FchmodMachs,
6864 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6865 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
6867 { zRs6000_ParamName, zRs6000_ParamList,
6868 apzRs6000_ParamMachs,
6869 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6870 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
6872 { zSco_MathName, zSco_MathList,
6874 SCO_MATH_TEST_CT, FD_MACH_ONLY,
6875 aSco_MathTests, apzSco_MathPatch, 0 },
6877 { zSco_RegsetName, zSco_RegsetList,
6879 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6880 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
6882 { zSco_Static_FuncName, zSco_Static_FuncList,
6883 apzSco_Static_FuncMachs,
6884 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
6885 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
6887 { zSco_UtimeName, zSco_UtimeList,
6889 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6890 aSco_UtimeTests, apzSco_UtimePatch, 0 },
6892 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
6893 apzSolaris_Mutex_Init_1Machs,
6894 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
6895 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
6897 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
6898 apzSolaris_Mutex_Init_2Machs,
6899 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6900 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
6902 { zSolaris_SocketName, zSolaris_SocketList,
6903 apzSolaris_SocketMachs,
6904 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6905 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
6907 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
6908 apzSolaris_Stdio_TagMachs,
6909 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
6910 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
6912 { zSolaris_UnistdName, zSolaris_UnistdList,
6913 apzSolaris_UnistdMachs,
6914 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6915 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
6917 { zSolaris_WidecName, zSolaris_WidecList,
6918 apzSolaris_WidecMachs,
6919 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6920 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
6922 { zStatsswtchName, zStatsswtchList,
6924 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6925 aStatsswtchTests, apzStatsswtchPatch, 0 },
6927 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
6928 apzStdio_Stdarg_HMachs,
6929 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6930 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
6932 { zStdio_Va_ListName, zStdio_Va_ListList,
6933 apzStdio_Va_ListMachs,
6934 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
6935 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
6937 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
6938 apzStrict_Ansi_NotMachs,
6939 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6940 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
6942 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
6943 apzStrict_Ansi_Not_CtdMachs,
6944 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6945 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
6947 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
6948 apzStrict_Ansi_OnlyMachs,
6949 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6950 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
6952 { zStruct_FileName, zStruct_FileList,
6953 apzStruct_FileMachs,
6954 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6955 aStruct_FileTests, apzStruct_FilePatch, 0 },
6957 { zStruct_SockaddrName, zStruct_SockaddrList,
6958 apzStruct_SockaddrMachs,
6959 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6960 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
6962 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
6963 apzSun_Auth_ProtoMachs,
6964 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6965 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
6967 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
6968 apzSun_Bogus_IfdefMachs,
6969 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6970 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
6972 { zSun_CatmacroName, zSun_CatmacroList,
6973 apzSun_CatmacroMachs,
6974 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6975 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
6977 { zSun_MallocName, zSun_MallocList,
6979 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
6980 aSun_MallocTests, apzSun_MallocPatch, 0 },
6982 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
6983 apzSun_Rusers_SemiMachs,
6984 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
6985 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
6987 { zSun_SignalName, zSun_SignalList,
6989 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6990 aSun_SignalTests, apzSun_SignalPatch, 0 },
6992 { zSunos_Matherr_DeclName, zSunos_Matherr_DeclList,
6993 apzSunos_Matherr_DeclMachs,
6994 SUNOS_MATHERR_DECL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
6995 aSunos_Matherr_DeclTests, apzSunos_Matherr_DeclPatch, 0 },
6997 { zSunos_StrlenName, zSunos_StrlenList,
6998 apzSunos_StrlenMachs,
6999 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7000 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
7002 { zSvr4__PName, zSvr4__PList,
7004 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7005 aSvr4__PTests, apzSvr4__PPatch, 0 },
7007 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
7008 apzSvr4_Disable_OptMachs,
7009 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
7010 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
7012 { zSvr4_GetcwdName, zSvr4_GetcwdList,
7013 apzSvr4_GetcwdMachs,
7014 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7015 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
7017 { zSvr4_KrnlName, zSvr4_KrnlList,
7019 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7020 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
7022 { zSvr4_ProfilName, zSvr4_ProfilList,
7023 apzSvr4_ProfilMachs,
7024 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7025 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
7027 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
7028 apzSvr4_Undeclared_GetrngeMachs,
7029 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7030 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
7032 { zSysv68_StringName, zSysv68_StringList,
7033 apzSysv68_StringMachs,
7034 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
7035 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
7037 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
7038 apzSysz_Stdlib_For_SunMachs,
7039 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7040 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
7042 { zThread_KeywordName, zThread_KeywordList,
7043 apzThread_KeywordMachs,
7044 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7045 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
7047 { zTinfo_CplusplusName, zTinfo_CplusplusList,
7048 apzTinfo_CplusplusMachs,
7049 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7050 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
7052 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
7053 apzUltrix_Atexit_ParamMachs,
7054 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7055 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
7057 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
7058 apzUltrix_Atof_ParamMachs,
7059 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7060 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
7062 { zUltrix_ConstName, zUltrix_ConstList,
7063 apzUltrix_ConstMachs,
7064 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7065 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
7067 { zUltrix_Const2Name, zUltrix_Const2List,
7068 apzUltrix_Const2Machs,
7069 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7070 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
7072 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
7073 apzUltrix_Fix_FixprotoMachs,
7074 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7075 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
7077 { zUltrix_IfdefName, zUltrix_IfdefList,
7078 apzUltrix_IfdefMachs,
7079 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7080 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
7082 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
7083 apzUltrix_Math_IfdefMachs,
7084 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7085 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
7087 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
7088 apzUltrix_Nested_IoctlMachs,
7089 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
7090 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
7092 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
7093 apzUltrix_Nested_SvcMachs,
7094 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
7095 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
7097 { zUltrix_StatName, zUltrix_StatList,
7098 apzUltrix_StatMachs,
7099 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
7100 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
7102 { zUltrix_StaticName, zUltrix_StaticList,
7103 apzUltrix_StaticMachs,
7104 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
7105 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
7107 { zUltrix_StringsName, zUltrix_StringsList,
7108 apzUltrix_StringsMachs,
7109 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7110 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
7112 { zUndefine_NullName, zUndefine_NullList,
7113 apzUndefine_NullMachs,
7114 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7115 aUndefine_NullTests, apzUndefine_NullPatch, 0 },
7117 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
7118 apzUnicosmk_RestrictMachs,
7119 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7120 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
7122 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
7123 apzUw7_Byteorder_FixMachs,
7124 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7125 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
7127 { zVa_I960_MacroName, zVa_I960_MacroList,
7128 apzVa_I960_MacroMachs,
7129 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7130 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
7132 { zVoid_NullName, zVoid_NullList,
7134 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7135 aVoid_NullTests, apzVoid_NullPatch, 0 },
7137 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
7138 apzVxworks_Gcc_ProblemMachs,
7139 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
7140 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
7142 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
7143 apzVxworks_Needs_VxtypesMachs,
7144 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7145 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
7147 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
7148 apzVxworks_Needs_VxworksMachs,
7149 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
7150 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
7152 { zVxworks_TimeName, zVxworks_TimeList,
7153 apzVxworks_TimeMachs,
7154 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7155 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
7157 { zWindiss_Math1Name, zWindiss_Math1List,
7158 apzWindiss_Math1Machs,
7159 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
7160 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
7162 { zWindiss_Math2Name, zWindiss_Math2List,
7163 apzWindiss_Math2Machs,
7164 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
7165 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
7167 { zWindiss_ValistName, zWindiss_ValistList,
7168 apzWindiss_ValistMachs,
7169 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
7170 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
7172 { zX11_ClassName, zX11_ClassList,
7174 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7175 aX11_ClassTests, apzX11_ClassPatch, 0 },
7177 { zX11_Class_UsageName, zX11_Class_UsageList,
7178 apzX11_Class_UsageMachs,
7179 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7180 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
7182 { zX11_NewName, zX11_NewList,
7184 X11_NEW_TEST_CT, FD_MACH_ONLY,
7185 aX11_NewTests, apzX11_NewPatch, 0 },
7187 { zX11_SprintfName, zX11_SprintfList,
7188 apzX11_SprintfMachs,
7189 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7190 aX11_SprintfTests, apzX11_SprintfPatch, 0 }