1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Sunday November 21, 2004 at 03:52:23 PM MST
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT CVS-MERGE THIS FILE, EITHER Sun Nov 21 15:52:23 MST 2004
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 177 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 files = sys/byteorder.h;\n\
304 replace = <<- _EndOfHeader_\n\
305 #ifndef _SYS_BYTEORDER_H\n\
306 #define _SYS_BYTEORDER_H\n\n\
307 /* Functions to convert `short' and `long' quantities from host byte order\n\
308 to (internet) network byte order (i.e. big-endian).\n\n\
309 Written by Ron Guilmette (rfg@ncd.com).\n\n\
310 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
311 For big-endian machines these functions are essentially no-ops.\n\n\
312 For little-endian machines, we define the functions using specialized\n\
313 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
314 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
315 #error You lose! This file is only useful with GNU compilers.\n\
317 #ifndef __BYTE_ORDER__\n\
318 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
319 double underscores added at the front and back. */\n\
320 #define __LITTLE_ENDIAN__ 1234\n\
321 #define __BIG_ENDIAN__ 4321\n\
322 #define __PDP_ENDIAN__ 3412\n\
325 static __inline__ unsigned long htonl (unsigned long);\n\
326 static __inline__ unsigned short htons (unsigned int);\n\
327 static __inline__ unsigned long ntohl (unsigned long);\n\
328 static __inline__ unsigned short ntohs (unsigned int);\n\
329 #endif /* defined (__STDC__) */\n\n\
330 #if defined (__i386__)\n\n\
331 #ifndef __BYTE_ORDER__\n\
332 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
334 /* Convert a host long to a network long. */\n\n\
335 /* We must use a new-style function definition, so that this will also\n\
336 be valid for C++. */\n\
337 static __inline__ unsigned long\n\
338 htonl (unsigned long __arg)\n\
340 register unsigned long __result;\n\n\
341 __asm__ (\"xchg%B0 %b0,%h0\n\
343 xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
346 /* Convert a host short to a network short. */\n\n\
347 static __inline__ unsigned short\n\
348 htons (unsigned int __arg)\n\
350 register unsigned short __result;\n\n\
351 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
354 #elif (defined (__ns32k__) || defined (__vax__) || defined (__arm__))\n\n\
355 #ifndef __BYTE_ORDER__\n\
356 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
358 /* For other little-endian machines, using C code is just as efficient as\n\
359 using assembly code. */\n\n\
360 /* Convert a host long to a network long. */\n\n\
361 static __inline__ unsigned long\n\
362 htonl (unsigned long __arg)\n\
364 register unsigned long __result;\n\n\
365 __result = (__arg >> 24) & 0x000000ff;\n\
366 __result |= (__arg >> 8) & 0x0000ff00;\n\
367 __result |= (__arg << 8) & 0x00ff0000;\n\
368 __result |= (__arg << 24) & 0xff000000;\n\
371 /* Convert a host short to a network short. */\n\n\
372 static __inline__ unsigned short\n\
373 htons (unsigned int __arg)\n\
375 register unsigned short __result;\n\n\
376 __result = (__arg << 8) & 0xff00;\n\
377 __result |= (__arg >> 8) & 0x00ff;\n\
380 #else /* must be a big-endian machine */\n\n\
381 #ifndef __BYTE_ORDER__\n\
382 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
384 /* Convert a host long to a network long. */\n\n\
385 static __inline__ unsigned long\n\
386 htonl (unsigned long __arg)\n\
390 /* Convert a host short to a network short. */\n\n\
391 static __inline__ unsigned short\n\
392 htons (unsigned int __arg)\n\
396 #endif /* big-endian */\n\n\
397 /* Convert a network long to a host long. */\n\n\
398 static __inline__ unsigned long\n\
399 ntohl (unsigned long __arg)\n\
401 return htonl (__arg);\n\
403 /* Convert a network short to a host short. */\n\n\
404 static __inline__ unsigned short\n\
405 ntohs (unsigned int __arg)\n\
407 return htons (__arg);\n\
412 /* * * * * * * * * * * * * * * * * * * * * * * * * *
414 * Description of Aab_Ultrix_Ansi_Compat fix
416 tSCC zAab_Ultrix_Ansi_CompatName[] =
417 "AAB_ultrix_ansi_compat";
420 * File name selection pattern
422 tSCC zAab_Ultrix_Ansi_CompatList[] =
425 * Machine/OS name selection pattern
427 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
430 * content selection pattern - do fix if pattern found
432 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
435 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
436 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
437 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
440 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
442 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
443 "/* This file intentionally left blank. */\n",
446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
448 * Description of Aab_Ultrix_Limits fix
450 tSCC zAab_Ultrix_LimitsName[] =
454 * File name selection pattern
456 tSCC zAab_Ultrix_LimitsList[] =
459 * Machine/OS name selection pattern
461 tSCC* apzAab_Ultrix_LimitsMachs[] = {
464 #define AAB_ULTRIX_LIMITS_TEST_CT 0
465 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
468 * Fix Command Arguments for Aab_Ultrix_Limits
470 static const char* apzAab_Ultrix_LimitsPatch[] = {
471 "#ifndef _LIMITS_INCLUDED\n\
472 #define _LIMITS_INCLUDED\n\
473 #include <sys/limits.h>\n\
474 #endif /* _LIMITS_INCLUDED */",
477 /* * * * * * * * * * * * * * * * * * * * * * * * * *
479 * Description of Aab_Ultrix_Memory fix
481 tSCC zAab_Ultrix_MemoryName[] =
485 * File name selection pattern
487 tSCC zAab_Ultrix_MemoryList[] =
490 * Machine/OS name selection pattern
492 tSCC* apzAab_Ultrix_MemoryMachs[] = {
495 #define AAB_ULTRIX_MEMORY_TEST_CT 0
496 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
499 * Fix Command Arguments for Aab_Ultrix_Memory
501 static const char* apzAab_Ultrix_MemoryPatch[] = {
502 "#ifndef _MEMORY_INCLUDED\n\
503 #define _MEMORY_INCLUDED\n\
504 #include <strings.h>\n\
505 #endif /* _MEMORY_INCLUDED */",
508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
510 * Description of Aab_Ultrix_String fix
512 tSCC zAab_Ultrix_StringName[] =
516 * File name selection pattern
518 tSCC zAab_Ultrix_StringList[] =
521 * Machine/OS name selection pattern
523 tSCC* apzAab_Ultrix_StringMachs[] = {
526 #define AAB_ULTRIX_STRING_TEST_CT 0
527 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
530 * Fix Command Arguments for Aab_Ultrix_String
532 static const char* apzAab_Ultrix_StringPatch[] = {
533 "#ifndef _STRING_INCLUDED\n\
534 #define _STRING_INCLUDED\n\
535 #include <strings.h>\n\
536 #endif /* _STRING_INCLUDED */",
539 /* * * * * * * * * * * * * * * * * * * * * * * * * *
541 * Description of Aix_Pthread fix
543 tSCC zAix_PthreadName[] =
547 * File name selection pattern
549 tSCC zAix_PthreadList[] =
552 * Machine/OS name selection pattern
554 #define apzAix_PthreadMachs (const char**)NULL
557 * content selection pattern - do fix if pattern found
559 tSCC zAix_PthreadSelect0[] =
560 "(#define [A-Za-z_0-9]+)(\\\\\n\
564 #define AIX_PTHREAD_TEST_CT 1
565 static tTestDesc aAix_PthreadTests[] = {
566 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
569 * Fix Command Arguments for Aix_Pthread
571 static const char* apzAix_PthreadPatch[] = {
576 /* * * * * * * * * * * * * * * * * * * * * * * * * *
578 * Description of Aix_Sysmachine fix
580 tSCC zAix_SysmachineName[] =
584 * File name selection pattern
586 tSCC zAix_SysmachineList[] =
589 * Machine/OS name selection pattern
591 #define apzAix_SysmachineMachs (const char**)NULL
594 * content selection pattern - do fix if pattern found
596 tSCC zAix_SysmachineSelect0[] =
599 #define AIX_SYSMACHINE_TEST_CT 1
600 static tTestDesc aAix_SysmachineTests[] = {
601 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
604 * Fix Command Arguments for Aix_Sysmachine
606 static const char* apzAix_SysmachinePatch[] = {
611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
613 * Description of Aix_Syswait fix
615 tSCC zAix_SyswaitName[] =
619 * File name selection pattern
621 tSCC zAix_SyswaitList[] =
624 * Machine/OS name selection pattern
626 #define apzAix_SyswaitMachs (const char**)NULL
629 * content selection pattern - do fix if pattern found
631 tSCC zAix_SyswaitSelect0[] =
632 "^extern pid_t wait3\\(\\);\n";
633 tSCC zAix_SyswaitSelect1[] =
636 #define AIX_SYSWAIT_TEST_CT 2
637 static tTestDesc aAix_SyswaitTests[] = {
638 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
639 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
642 * Fix Command Arguments for Aix_Syswait
644 static const char* apzAix_SyswaitPatch[] = {
650 /* * * * * * * * * * * * * * * * * * * * * * * * * *
652 * Description of Aix_Syswait_2 fix
654 tSCC zAix_Syswait_2Name[] =
658 * File name selection pattern
660 tSCC zAix_Syswait_2List[] =
663 * Machine/OS name selection pattern
665 #define apzAix_Syswait_2Machs (const char**)NULL
668 * content selection pattern - do fix if pattern found
670 tSCC zAix_Syswait_2Select0[] =
671 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
673 #define AIX_SYSWAIT_2_TEST_CT 1
674 static tTestDesc aAix_Syswait_2Tests[] = {
675 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
678 * Fix Command Arguments for Aix_Syswait_2
680 static const char* apzAix_Syswait_2Patch[] = {
685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
687 * Description of Aix_Volatile fix
689 tSCC zAix_VolatileName[] =
693 * File name selection pattern
695 tSCC zAix_VolatileList[] =
698 * Machine/OS name selection pattern
700 #define apzAix_VolatileMachs (const char**)NULL
703 * content selection pattern - do fix if pattern found
705 tSCC zAix_VolatileSelect0[] =
706 "typedef volatile int sig_atomic_t";
708 #define AIX_VOLATILE_TEST_CT 1
709 static tTestDesc aAix_VolatileTests[] = {
710 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
713 * Fix Command Arguments for Aix_Volatile
715 static const char* apzAix_VolatilePatch[] = {
717 "typedef int sig_atomic_t",
720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
722 * Description of Alpha___Assert fix
724 tSCC zAlpha___AssertName[] =
728 * File name selection pattern
730 tSCC zAlpha___AssertList[] =
733 * Machine/OS name selection pattern
735 #define apzAlpha___AssertMachs (const char**)NULL
738 * content selection pattern - do fix if pattern found
740 tSCC zAlpha___AssertSelect0[] =
741 "__assert\\(char \\*, char \\*, int\\)";
743 #define ALPHA___ASSERT_TEST_CT 1
744 static tTestDesc aAlpha___AssertTests[] = {
745 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
748 * Fix Command Arguments for Alpha___Assert
750 static const char* apzAlpha___AssertPatch[] = {
752 "__assert(const char *, const char *, int)",
755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
757 * Description of Alpha___Extern_Prefix fix
759 tSCC zAlpha___Extern_PrefixName[] =
760 "alpha___extern_prefix";
763 * File name selection pattern
765 #define zAlpha___Extern_PrefixList (char*)NULL
767 * Machine/OS name selection pattern
769 tSCC* apzAlpha___Extern_PrefixMachs[] = {
774 * content selection pattern - do fix if pattern found
776 tSCC zAlpha___Extern_PrefixSelect0[] =
777 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
778 (#[ \t]*pragma[ \t]*extern_prefix.*)";
780 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
781 static tTestDesc aAlpha___Extern_PrefixTests[] = {
782 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
785 * Fix Command Arguments for Alpha___Extern_Prefix
787 static const char* apzAlpha___Extern_PrefixPatch[] = {
789 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
793 /* * * * * * * * * * * * * * * * * * * * * * * * * *
795 * Description of Alpha___Extern_Prefix_Standards fix
797 tSCC zAlpha___Extern_Prefix_StandardsName[] =
798 "alpha___extern_prefix_standards";
801 * File name selection pattern
803 tSCC zAlpha___Extern_Prefix_StandardsList[] =
806 * Machine/OS name selection pattern
808 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
813 * content selection pattern - do fix if pattern found
815 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
816 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
818 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
819 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
820 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
823 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
825 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
827 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
830 /* * * * * * * * * * * * * * * * * * * * * * * * * *
832 * Description of Alpha___Extern_Prefix_Sys_Stat fix
834 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
835 "alpha___extern_prefix_sys_stat";
838 * File name selection pattern
840 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
841 "|sys/stat.h|sys/mount.h|";
843 * Machine/OS name selection pattern
845 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
850 * content selection pattern - do fix if pattern found
852 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
853 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
855 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
856 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
857 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
860 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
862 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
864 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
867 /* * * * * * * * * * * * * * * * * * * * * * * * * *
869 * Description of Alpha_Assert fix
871 tSCC zAlpha_AssertName[] =
875 * File name selection pattern
877 tSCC zAlpha_AssertList[] =
880 * Machine/OS name selection pattern
882 #define apzAlpha_AssertMachs (const char**)NULL
885 * content selection pattern - do fix if pattern found
887 tSCC zAlpha_AssertSelect0[] =
888 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
890 #define ALPHA_ASSERT_TEST_CT 1
891 static tTestDesc aAlpha_AssertTests[] = {
892 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
895 * Fix Command Arguments for Alpha_Assert
897 static const char* apzAlpha_AssertPatch[] = {
902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
904 * Description of Alpha_Bad_Lval fix
906 tSCC zAlpha_Bad_LvalName[] =
910 * File name selection pattern
912 #define zAlpha_Bad_LvalList (char*)NULL
914 * Machine/OS name selection pattern
916 tSCC* apzAlpha_Bad_LvalMachs[] = {
921 * content selection pattern - do fix if pattern found
923 tSCC zAlpha_Bad_LvalSelect0[] =
924 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
926 #define ALPHA_BAD_LVAL_TEST_CT 1
927 static tTestDesc aAlpha_Bad_LvalTests[] = {
928 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
931 * Fix Command Arguments for Alpha_Bad_Lval
933 static const char* apzAlpha_Bad_LvalPatch[] = { "sed",
934 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
939 * Description of Alpha_Getopt fix
941 tSCC zAlpha_GetoptName[] =
945 * File name selection pattern
947 tSCC zAlpha_GetoptList[] =
948 "|stdio.h|stdlib.h|";
950 * Machine/OS name selection pattern
952 #define apzAlpha_GetoptMachs (const char**)NULL
955 * content selection pattern - do fix if pattern found
957 tSCC zAlpha_GetoptSelect0[] =
958 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
960 #define ALPHA_GETOPT_TEST_CT 1
961 static tTestDesc aAlpha_GetoptTests[] = {
962 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
965 * Fix Command Arguments for Alpha_Getopt
967 static const char* apzAlpha_GetoptPatch[] = {
969 "getopt(int, char *const[], const char *)",
972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
974 * Description of Alpha_Parens fix
976 tSCC zAlpha_ParensName[] =
980 * File name selection pattern
982 tSCC zAlpha_ParensList[] =
985 * Machine/OS name selection pattern
987 #define apzAlpha_ParensMachs (const char**)NULL
990 * content selection pattern - do fix if pattern found
992 tSCC zAlpha_ParensSelect0[] =
993 "#ifndef\\(__mips64\\)";
995 #define ALPHA_PARENS_TEST_CT 1
996 static tTestDesc aAlpha_ParensTests[] = {
997 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1000 * Fix Command Arguments for Alpha_Parens
1002 static const char* apzAlpha_ParensPatch[] = {
1007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1009 * Description of Alpha_Pthread fix
1011 tSCC zAlpha_PthreadName[] =
1015 * File name selection pattern
1017 tSCC zAlpha_PthreadList[] =
1020 * Machine/OS name selection pattern
1022 tSCC* apzAlpha_PthreadMachs[] = {
1024 (const char*)NULL };
1027 * content selection pattern - do fix if pattern found
1029 tSCC zAlpha_PthreadSelect0[] =
1030 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
1031 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
1033 #define ALPHA_PTHREAD_TEST_CT 1
1034 static tTestDesc aAlpha_PthreadTests[] = {
1035 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
1038 * Fix Command Arguments for Alpha_Pthread
1040 static const char* apzAlpha_PthreadPatch[] = {
1042 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
1046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1048 * Description of Alpha_Pthread_Gcc fix
1050 tSCC zAlpha_Pthread_GccName[] =
1051 "alpha_pthread_gcc";
1054 * File name selection pattern
1056 tSCC zAlpha_Pthread_GccList[] =
1059 * Machine/OS name selection pattern
1061 tSCC* apzAlpha_Pthread_GccMachs[] = {
1063 (const char*)NULL };
1066 * content selection pattern - do fix if pattern found
1068 tSCC zAlpha_Pthread_GccSelect0[] =
1070 # error <pthread.h>: unrecognized compiler.";
1072 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1073 static tTestDesc aAlpha_Pthread_GccTests[] = {
1074 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1077 * Fix Command Arguments for Alpha_Pthread_Gcc
1079 static const char* apzAlpha_Pthread_GccPatch[] = {
1081 "#elif defined (__GNUC__)\n\
1082 # define _PTHREAD_ENV_GCC\n\
1086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1088 * Description of Alpha_Pthread_Init fix
1090 tSCC zAlpha_Pthread_InitName[] =
1091 "alpha_pthread_init";
1094 * File name selection pattern
1096 tSCC zAlpha_Pthread_InitList[] =
1099 * Machine/OS name selection pattern
1101 tSCC* apzAlpha_Pthread_InitMachs[] = {
1103 (const char*)NULL };
1106 * content selection pattern - do fix if pattern found
1108 tSCC zAlpha_Pthread_InitSelect0[] =
1109 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1111 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1112 static tTestDesc aAlpha_Pthread_InitTests[] = {
1113 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1116 * Fix Command Arguments for Alpha_Pthread_Init
1118 static const char* apzAlpha_Pthread_InitPatch[] = { "sed",
1119 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1120 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1121 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1122 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1123 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1124 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1129 * Description of Alpha_Sbrk fix
1131 tSCC zAlpha_SbrkName[] =
1135 * File name selection pattern
1137 tSCC zAlpha_SbrkList[] =
1140 * Machine/OS name selection pattern
1142 #define apzAlpha_SbrkMachs (const char**)NULL
1145 * content selection pattern - do fix if pattern found
1147 tSCC zAlpha_SbrkSelect0[] =
1148 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1150 #define ALPHA_SBRK_TEST_CT 1
1151 static tTestDesc aAlpha_SbrkTests[] = {
1152 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1155 * Fix Command Arguments for Alpha_Sbrk
1157 static const char* apzAlpha_SbrkPatch[] = {
1162 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1164 * Description of Alpha_Wchar fix
1166 tSCC zAlpha_WcharName[] =
1170 * File name selection pattern
1172 tSCC zAlpha_WcharList[] =
1175 * Machine/OS name selection pattern
1177 tSCC* apzAlpha_WcharMachs[] = {
1179 (const char*)NULL };
1182 * content selection pattern - do fix if pattern found
1184 tSCC zAlpha_WcharSelect0[] =
1185 "#define wcstok wcstok_r";
1187 #define ALPHA_WCHAR_TEST_CT 1
1188 static tTestDesc aAlpha_WcharTests[] = {
1189 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1192 * Fix Command Arguments for Alpha_Wchar
1194 static const char* apzAlpha_WcharPatch[] = { "sed",
1195 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1196 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1199 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1201 * Description of Avoid_Bool_Define fix
1203 tSCC zAvoid_Bool_DefineName[] =
1204 "avoid_bool_define";
1207 * File name selection pattern
1209 tSCC zAvoid_Bool_DefineList[] =
1210 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1212 * Machine/OS name selection pattern
1214 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1217 * content selection pattern - do fix if pattern found
1219 tSCC zAvoid_Bool_DefineSelect0[] =
1220 "#[ \t]*define[ \t]+bool[ \t]";
1223 * content bypass pattern - skip fix if pattern found
1225 tSCC zAvoid_Bool_DefineBypass0[] =
1228 #define AVOID_BOOL_DEFINE_TEST_CT 2
1229 static tTestDesc aAvoid_Bool_DefineTests[] = {
1230 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1231 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1234 * Fix Command Arguments for Avoid_Bool_Define
1236 static const char* apzAvoid_Bool_DefinePatch[] = {
1238 "#ifndef __cplusplus\n\
1241 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1246 * Description of Avoid_Bool_Type fix
1248 tSCC zAvoid_Bool_TypeName[] =
1252 * File name selection pattern
1254 tSCC zAvoid_Bool_TypeList[] =
1255 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1257 * Machine/OS name selection pattern
1259 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1262 * content selection pattern - do fix if pattern found
1264 tSCC zAvoid_Bool_TypeSelect0[] =
1265 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1268 * content bypass pattern - skip fix if pattern found
1270 tSCC zAvoid_Bool_TypeBypass0[] =
1273 #define AVOID_BOOL_TYPE_TEST_CT 2
1274 static tTestDesc aAvoid_Bool_TypeTests[] = {
1275 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1276 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1279 * Fix Command Arguments for Avoid_Bool_Type
1281 static const char* apzAvoid_Bool_TypePatch[] = {
1283 "#ifndef __cplusplus\n\
1288 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1290 * Description of Avoid_Wchar_T_Type fix
1292 tSCC zAvoid_Wchar_T_TypeName[] =
1293 "avoid_wchar_t_type";
1296 * File name selection pattern
1298 #define zAvoid_Wchar_T_TypeList (char*)NULL
1300 * Machine/OS name selection pattern
1302 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1305 * content selection pattern - do fix if pattern found
1307 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1308 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1311 * content bypass pattern - skip fix if pattern found
1313 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1315 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1317 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1318 "XFree86: xc/lib/X11/Xlib\\.h";
1320 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1321 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1322 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1323 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1324 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1325 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1328 * Fix Command Arguments for Avoid_Wchar_T_Type
1330 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1332 "#ifndef __cplusplus\n\
1337 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1339 * Description of Bad_Struct_Term fix
1341 tSCC zBad_Struct_TermName[] =
1345 * File name selection pattern
1347 tSCC zBad_Struct_TermList[] =
1350 * Machine/OS name selection pattern
1352 #define apzBad_Struct_TermMachs (const char**)NULL
1355 * content selection pattern - do fix if pattern found
1357 tSCC zBad_Struct_TermSelect0[] =
1358 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1360 #define BAD_STRUCT_TERM_TEST_CT 1
1361 static tTestDesc aBad_Struct_TermTests[] = {
1362 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1365 * Fix Command Arguments for Bad_Struct_Term
1367 static const char* apzBad_Struct_TermPatch[] = {
1372 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1374 * Description of Badquote fix
1376 tSCC zBadquoteName[] =
1380 * File name selection pattern
1382 tSCC zBadquoteList[] =
1383 "|sundev/vuid_event.h|";
1385 * Machine/OS name selection pattern
1387 #define apzBadquoteMachs (const char**)NULL
1390 * content selection pattern - do fix if pattern found
1392 tSCC zBadquoteSelect0[] =
1395 #define BADQUOTE_TEST_CT 1
1396 static tTestDesc aBadquoteTests[] = {
1397 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1400 * Fix Command Arguments for Badquote
1402 static const char* apzBadquotePatch[] = {
1407 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1409 * Description of Broken_Assert_Stdio fix
1411 tSCC zBroken_Assert_StdioName[] =
1412 "broken_assert_stdio";
1415 * File name selection pattern
1417 tSCC zBroken_Assert_StdioList[] =
1420 * Machine/OS name selection pattern
1422 #define apzBroken_Assert_StdioMachs (const char**)NULL
1425 * content selection pattern - do fix if pattern found
1427 tSCC zBroken_Assert_StdioSelect0[] =
1431 * content bypass pattern - skip fix if pattern found
1433 tSCC zBroken_Assert_StdioBypass0[] =
1434 "include.*stdio\\.h";
1436 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1437 static tTestDesc aBroken_Assert_StdioTests[] = {
1438 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1439 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1442 * Fix Command Arguments for Broken_Assert_Stdio
1444 static const char* apzBroken_Assert_StdioPatch[] = {
1446 "#include <stdio.h>\n",
1449 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1451 * Description of Broken_Assert_Stdlib fix
1453 tSCC zBroken_Assert_StdlibName[] =
1454 "broken_assert_stdlib";
1457 * File name selection pattern
1459 tSCC zBroken_Assert_StdlibList[] =
1462 * Machine/OS name selection pattern
1464 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1467 * content selection pattern - do fix if pattern found
1469 tSCC zBroken_Assert_StdlibSelect0[] =
1470 "exit *\\(|abort *\\(";
1473 * content bypass pattern - skip fix if pattern found
1475 tSCC zBroken_Assert_StdlibBypass0[] =
1476 "include.*stdlib\\.h";
1478 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1479 static tTestDesc aBroken_Assert_StdlibTests[] = {
1480 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1481 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1484 * Fix Command Arguments for Broken_Assert_Stdlib
1486 static const char* apzBroken_Assert_StdlibPatch[] = {
1488 "#ifdef __cplusplus\n\
1489 #include <stdlib.h>\n\
1493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1495 * Description of Broken_Cabs fix
1497 tSCC zBroken_CabsName[] =
1501 * File name selection pattern
1503 tSCC zBroken_CabsList[] =
1504 "|math.h|architecture/ppc/math.h|architecture/i386/math.h|";
1506 * Machine/OS name selection pattern
1508 #define apzBroken_CabsMachs (const char**)NULL
1511 * content selection pattern - do fix if pattern found
1513 tSCC zBroken_CabsSelect0[] =
1514 "^extern[ \\t]+double[ \\t]+cabs";
1516 #define BROKEN_CABS_TEST_CT 1
1517 static tTestDesc aBroken_CabsTests[] = {
1518 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1521 * Fix Command Arguments for Broken_Cabs
1523 static const char* apzBroken_CabsPatch[] = {
1526 "^extern[ \t]+double[ \t]+cabs[ \t]*\\([^\\)]*\\);",
1529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1531 * Description of Bsd_Stdio_Attrs_Conflict fix
1533 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1534 "bsd_stdio_attrs_conflict";
1537 * File name selection pattern
1539 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1542 * Machine/OS name selection pattern
1544 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1547 (const char*)NULL };
1550 * content selection pattern - do fix if pattern found
1552 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1553 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1555 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1556 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1557 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1560 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1562 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1564 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1565 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1566 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1569 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1571 * Description of Ctrl_Quotes_Def fix
1573 tSCC zCtrl_Quotes_DefName[] =
1577 * File name selection pattern
1579 #define zCtrl_Quotes_DefList (char*)NULL
1581 * Machine/OS name selection pattern
1583 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1586 * content selection pattern - do fix if pattern found
1588 tSCC zCtrl_Quotes_DefSelect0[] =
1589 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1591 #define CTRL_QUOTES_DEF_TEST_CT 1
1592 static tTestDesc aCtrl_Quotes_DefTests[] = {
1593 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1596 * Fix Command Arguments for Ctrl_Quotes_Def
1598 static const char* apzCtrl_Quotes_DefPatch[] = {
1603 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1605 * Description of Ctrl_Quotes_Use fix
1607 tSCC zCtrl_Quotes_UseName[] =
1611 * File name selection pattern
1613 #define zCtrl_Quotes_UseList (char*)NULL
1615 * Machine/OS name selection pattern
1617 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1620 * content selection pattern - do fix if pattern found
1622 tSCC zCtrl_Quotes_UseSelect0[] =
1623 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1625 #define CTRL_QUOTES_USE_TEST_CT 1
1626 static tTestDesc aCtrl_Quotes_UseTests[] = {
1627 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1630 * Fix Command Arguments for Ctrl_Quotes_Use
1632 static const char* apzCtrl_Quotes_UsePatch[] = {
1637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1639 * Description of Cxx_Unready fix
1641 tSCC zCxx_UnreadyName[] =
1645 * File name selection pattern
1647 tSCC zCxx_UnreadyList[] =
1648 "|sys/mman.h|rpc/types.h|";
1650 * Machine/OS name selection pattern
1652 #define apzCxx_UnreadyMachs (const char**)NULL
1655 * content selection pattern - do fix if pattern found
1657 tSCC zCxx_UnreadySelect0[] =
1661 * content bypass pattern - skip fix if pattern found
1663 tSCC zCxx_UnreadyBypass0[] =
1664 "\"C\"|__BEGIN_DECLS";
1666 #define CXX_UNREADY_TEST_CT 2
1667 static tTestDesc aCxx_UnreadyTests[] = {
1668 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1669 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1672 * Fix Command Arguments for Cxx_Unready
1674 static const char* apzCxx_UnreadyPatch[] = {
1676 "#ifdef __cplusplus\n\
1679 "#ifdef __cplusplus\n\
1684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1686 * Description of Darwin_Gcc4_Breakage fix
1688 tSCC zDarwin_Gcc4_BreakageName[] =
1689 "darwin_gcc4_breakage";
1692 * File name selection pattern
1694 tSCC zDarwin_Gcc4_BreakageList[] =
1695 "|AvailabilityMacros.h|";
1697 * Machine/OS name selection pattern
1699 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1701 (const char*)NULL };
1704 * content selection pattern - do fix if pattern found
1706 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1707 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1709 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1710 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1711 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1714 * Fix Command Arguments for Darwin_Gcc4_Breakage
1716 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1718 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1723 * Description of Darwin_Private_Extern fix
1725 tSCC zDarwin_Private_ExternName[] =
1726 "darwin_private_extern";
1729 * File name selection pattern
1731 tSCC zDarwin_Private_ExternList[] =
1734 * Machine/OS name selection pattern
1736 tSCC* apzDarwin_Private_ExternMachs[] = {
1738 (const char*)NULL };
1741 * content selection pattern - do fix if pattern found
1743 tSCC zDarwin_Private_ExternSelect0[] =
1744 "__private_extern__ [a-z_]+ _dyld_";
1746 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1747 static tTestDesc aDarwin_Private_ExternTests[] = {
1748 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1751 * Fix Command Arguments for Darwin_Private_Extern
1753 static const char* apzDarwin_Private_ExternPatch[] = {
1756 "__private_extern__",
1759 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1761 * Description of Dec_Intern_Asm fix
1763 tSCC zDec_Intern_AsmName[] =
1767 * File name selection pattern
1769 tSCC zDec_Intern_AsmList[] =
1772 * Machine/OS name selection pattern
1774 #define apzDec_Intern_AsmMachs (const char**)NULL
1775 #define DEC_INTERN_ASM_TEST_CT 0
1776 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1779 * Fix Command Arguments for Dec_Intern_Asm
1781 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1782 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1784 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1788 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1790 * Description of Djgpp_Wchar_H fix
1792 tSCC zDjgpp_Wchar_HName[] =
1796 * File name selection pattern
1798 #define zDjgpp_Wchar_HList (char*)NULL
1800 * Machine/OS name selection pattern
1802 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1805 * content selection pattern - do fix if pattern found
1807 tSCC zDjgpp_Wchar_HSelect0[] =
1811 * content bypass pattern - skip fix if pattern found
1813 tSCC zDjgpp_Wchar_HBypass0[] =
1816 #define DJGPP_WCHAR_H_TEST_CT 2
1817 static tTestDesc aDjgpp_Wchar_HTests[] = {
1818 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1819 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1822 * Fix Command Arguments for Djgpp_Wchar_H
1824 static const char* apzDjgpp_Wchar_HPatch[] = {
1827 #include <sys/djtypes.h>",
1828 "#include <stddef.h>",
1831 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1833 * Description of Ecd_Cursor fix
1835 tSCC zEcd_CursorName[] =
1839 * File name selection pattern
1841 tSCC zEcd_CursorList[] =
1842 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1844 * Machine/OS name selection pattern
1846 #define apzEcd_CursorMachs (const char**)NULL
1849 * content selection pattern - do fix if pattern found
1851 tSCC zEcd_CursorSelect0[] =
1854 #define ECD_CURSOR_TEST_CT 1
1855 static tTestDesc aEcd_CursorTests[] = {
1856 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1859 * Fix Command Arguments for Ecd_Cursor
1861 static const char* apzEcd_CursorPatch[] = {
1866 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1868 * Description of Exception_Structure fix
1870 tSCC zException_StructureName[] =
1871 "exception_structure";
1874 * File name selection pattern
1876 tSCC zException_StructureList[] =
1879 * Machine/OS name selection pattern
1881 #define apzException_StructureMachs (const char**)NULL
1884 * content selection pattern - do fix if pattern found
1886 tSCC zException_StructureSelect0[] =
1890 * content bypass pattern - skip fix if pattern found
1892 tSCC zException_StructureBypass0[] =
1893 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
1895 #define EXCEPTION_STRUCTURE_TEST_CT 2
1896 static tTestDesc aException_StructureTests[] = {
1897 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
1898 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
1901 * Fix Command Arguments for Exception_Structure
1903 static const char* apzException_StructurePatch[] = {
1905 "struct exception;\n",
1908 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1910 * Description of Freebsd_Gcc3_Breakage fix
1912 tSCC zFreebsd_Gcc3_BreakageName[] =
1913 "freebsd_gcc3_breakage";
1916 * File name selection pattern
1918 tSCC zFreebsd_Gcc3_BreakageList[] =
1921 * Machine/OS name selection pattern
1923 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
1925 (const char*)NULL };
1928 * content selection pattern - do fix if pattern found
1930 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
1931 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
1934 * content bypass pattern - skip fix if pattern found
1936 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
1937 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
1939 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
1940 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
1941 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
1942 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
1945 * Fix Command Arguments for Freebsd_Gcc3_Breakage
1947 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
1949 "%0 || __GNUC__ >= 3",
1952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1954 * Description of Freebsd_Gcc4_Breakage fix
1956 tSCC zFreebsd_Gcc4_BreakageName[] =
1957 "freebsd_gcc4_breakage";
1960 * File name selection pattern
1962 tSCC zFreebsd_Gcc4_BreakageList[] =
1965 * Machine/OS name selection pattern
1967 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
1969 (const char*)NULL };
1972 * content selection pattern - do fix if pattern found
1974 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
1975 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
1977 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
1978 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
1979 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1982 * Fix Command Arguments for Freebsd_Gcc4_Breakage
1984 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
1986 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
1989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1991 * Description of Gnu_Types fix
1993 tSCC zGnu_TypesName[] =
1997 * File name selection pattern
1999 tSCC zGnu_TypesList[] =
2000 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
2002 * Machine/OS name selection pattern
2004 #define apzGnu_TypesMachs (const char**)NULL
2007 * content selection pattern - do fix if pattern found
2009 tSCC zGnu_TypesSelect0[] =
2010 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2013 * content bypass pattern - skip fix if pattern found
2015 tSCC zGnu_TypesBypass0[] =
2016 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2018 #define GNU_TYPES_TEST_CT 2
2019 static tTestDesc aGnu_TypesTests[] = {
2020 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2021 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2024 * Fix Command Arguments for Gnu_Types
2026 static const char* apzGnu_TypesPatch[] = {
2030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2032 * Description of Hp_Inline fix
2034 tSCC zHp_InlineName[] =
2038 * File name selection pattern
2040 tSCC zHp_InlineList[] =
2041 "|sys/spinlock.h|machine/machparam.h|";
2043 * Machine/OS name selection pattern
2045 #define apzHp_InlineMachs (const char**)NULL
2048 * content selection pattern - do fix if pattern found
2050 tSCC zHp_InlineSelect0[] =
2051 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2053 #define HP_INLINE_TEST_CT 1
2054 static tTestDesc aHp_InlineTests[] = {
2055 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2058 * Fix Command Arguments for Hp_Inline
2060 static const char* apzHp_InlinePatch[] = {
2063 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2068 * Description of Hp_Sysfile fix
2070 tSCC zHp_SysfileName[] =
2074 * File name selection pattern
2076 tSCC zHp_SysfileList[] =
2079 * Machine/OS name selection pattern
2081 #define apzHp_SysfileMachs (const char**)NULL
2084 * content selection pattern - do fix if pattern found
2086 tSCC zHp_SysfileSelect0[] =
2089 #define HP_SYSFILE_TEST_CT 1
2090 static tTestDesc aHp_SysfileTests[] = {
2091 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2094 * Fix Command Arguments for Hp_Sysfile
2096 static const char* apzHp_SysfilePatch[] = {
2098 "(struct file *, ...)",
2102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2104 * Description of Hpux10_Cpp_Pow_Inline fix
2106 tSCC zHpux10_Cpp_Pow_InlineName[] =
2107 "hpux10_cpp_pow_inline";
2110 * File name selection pattern
2112 tSCC zHpux10_Cpp_Pow_InlineList[] =
2113 "|fixinc-test-limits.h|math.h|";
2115 * Machine/OS name selection pattern
2117 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2120 * content selection pattern - do fix if pattern found
2122 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2123 "^# +ifdef +__cplusplus\n\
2125 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2126 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2128 +extern +\"C\" +\\{\n\
2132 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2133 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2134 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2137 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2139 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2146 * Description of Hpux11_Cpp_Pow_Inline fix
2148 tSCC zHpux11_Cpp_Pow_InlineName[] =
2149 "hpux11_cpp_pow_inline";
2152 * File name selection pattern
2154 tSCC zHpux11_Cpp_Pow_InlineList[] =
2157 * Machine/OS name selection pattern
2159 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2162 * content selection pattern - do fix if pattern found
2164 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2165 " +inline double pow\\(double d,int expon\\) \\{\n\
2166 +return pow\\(d, \\(double\\)expon\\);\n\
2169 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2170 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2171 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2174 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2176 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2181 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2183 * Description of Hpux10_Ctype_Declarations1 fix
2185 tSCC zHpux10_Ctype_Declarations1Name[] =
2186 "hpux10_ctype_declarations1";
2189 * File name selection pattern
2191 tSCC zHpux10_Ctype_Declarations1List[] =
2194 * Machine/OS name selection pattern
2196 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2199 * content selection pattern - do fix if pattern found
2201 tSCC zHpux10_Ctype_Declarations1Select0[] =
2202 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2205 * content bypass pattern - skip fix if pattern found
2207 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2208 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2210 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2211 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2212 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2213 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2216 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2218 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2220 "#ifdef _PROTOTYPES\n\
2221 extern int __tolower(int);\n\
2222 extern int __toupper(int);\n\
2223 #else /* NOT _PROTOTYPES */\n\
2224 extern int __tolower();\n\
2225 extern int __toupper();\n\
2226 #endif /* _PROTOTYPES */\n\n\
2230 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2232 * Description of Hpux10_Ctype_Declarations2 fix
2234 tSCC zHpux10_Ctype_Declarations2Name[] =
2235 "hpux10_ctype_declarations2";
2238 * File name selection pattern
2240 tSCC zHpux10_Ctype_Declarations2List[] =
2243 * Machine/OS name selection pattern
2245 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2248 * content selection pattern - do fix if pattern found
2250 tSCC zHpux10_Ctype_Declarations2Select0[] =
2251 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2254 * content bypass pattern - skip fix if pattern found
2256 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2257 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2259 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2260 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2261 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2262 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2265 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2267 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2270 #ifdef _PROTOTYPES\n\
2271 extern int _isalnum(int);\n\
2272 extern int _isalpha(int);\n\
2273 extern int _iscntrl(int);\n\
2274 extern int _isdigit(int);\n\
2275 extern int _isgraph(int);\n\
2276 extern int _islower(int);\n\
2277 extern int _isprint(int);\n\
2278 extern int _ispunct(int);\n\
2279 extern int _isspace(int);\n\
2280 extern int _isupper(int);\n\
2281 extern int _isxdigit(int);\n\
2282 # else /* not _PROTOTYPES */\n\
2283 extern int _isalnum();\n\
2284 extern int _isalpha();\n\
2285 extern int _iscntrl();\n\
2286 extern int _isdigit();\n\
2287 extern int _isgraph();\n\
2288 extern int _islower();\n\
2289 extern int _isprint();\n\
2290 extern int _ispunct();\n\
2291 extern int _isspace();\n\
2292 extern int _isupper();\n\
2293 extern int _isxdigit();\n\
2294 #endif /* _PROTOTYPES */\n",
2297 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2299 * Description of Hpux10_Stdio_Declarations fix
2301 tSCC zHpux10_Stdio_DeclarationsName[] =
2302 "hpux10_stdio_declarations";
2305 * File name selection pattern
2307 tSCC zHpux10_Stdio_DeclarationsList[] =
2310 * Machine/OS name selection pattern
2312 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2315 * content selection pattern - do fix if pattern found
2317 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2318 "^#[ \t]*define _iob[ \t]*__iob";
2321 * content bypass pattern - skip fix if pattern found
2323 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2324 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2326 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2327 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2328 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2329 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2332 * Fix Command Arguments for Hpux10_Stdio_Declarations
2334 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2337 # if defined(__STDC__) || defined(__cplusplus)\n\
2338 extern int snprintf(char *, size_t, const char *, ...);\n\
2339 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2340 # else /* not __STDC__) || __cplusplus */\n\
2341 extern int snprintf();\n\
2342 extern int vsnprintf();\n\
2343 # endif /* __STDC__) || __cplusplus */\n",
2346 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2348 * Description of Hpux11_Abs fix
2350 tSCC zHpux11_AbsName[] =
2354 * File name selection pattern
2356 tSCC zHpux11_AbsList[] =
2359 * Machine/OS name selection pattern
2361 tSCC* apzHpux11_AbsMachs[] = {
2363 (const char*)NULL };
2366 * content selection pattern - do fix if pattern found
2368 tSCC zHpux11_AbsSelect0[] =
2369 "ifndef _MATH_INCLUDED";
2371 #define HPUX11_ABS_TEST_CT 1
2372 static tTestDesc aHpux11_AbsTests[] = {
2373 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2376 * Fix Command Arguments for Hpux11_Abs
2378 static const char* apzHpux11_AbsPatch[] = {
2380 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2385 * Description of Hpux11_Fabsf fix
2387 tSCC zHpux11_FabsfName[] =
2391 * File name selection pattern
2393 tSCC zHpux11_FabsfList[] =
2396 * Machine/OS name selection pattern
2398 #define apzHpux11_FabsfMachs (const char**)NULL
2401 * content selection pattern - do fix if pattern found
2403 tSCC zHpux11_FabsfSelect0[] =
2404 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2407 * content bypass pattern - skip fix if pattern found
2409 tSCC zHpux11_FabsfBypass0[] =
2412 #define HPUX11_FABSF_TEST_CT 2
2413 static tTestDesc aHpux11_FabsfTests[] = {
2414 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2415 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2418 * Fix Command Arguments for Hpux11_Fabsf
2420 static const char* apzHpux11_FabsfPatch[] = {
2422 "#ifndef __cplusplus\n\
2427 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2429 * Description of Hpux11_Size_T fix
2431 tSCC zHpux11_Size_TName[] =
2435 * File name selection pattern
2437 #define zHpux11_Size_TList (char*)NULL
2439 * Machine/OS name selection pattern
2441 tSCC* apzHpux11_Size_TMachs[] = {
2443 (const char*)NULL };
2446 * content selection pattern - do fix if pattern found
2448 tSCC zHpux11_Size_TSelect0[] =
2451 #define HPUX11_SIZE_T_TEST_CT 1
2452 static tTestDesc aHpux11_Size_TTests[] = {
2453 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2456 * Fix Command Arguments for Hpux11_Size_T
2458 static const char* apzHpux11_Size_TPatch[] = {
2463 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2465 * Description of Hpux11_Snprintf fix
2467 tSCC zHpux11_SnprintfName[] =
2471 * File name selection pattern
2473 tSCC zHpux11_SnprintfList[] =
2476 * Machine/OS name selection pattern
2478 #define apzHpux11_SnprintfMachs (const char**)NULL
2481 * content selection pattern - do fix if pattern found
2483 tSCC zHpux11_SnprintfSelect0[] =
2484 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2486 #define HPUX11_SNPRINTF_TEST_CT 1
2487 static tTestDesc aHpux11_SnprintfTests[] = {
2488 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2491 * Fix Command Arguments for Hpux11_Snprintf
2493 static const char* apzHpux11_SnprintfPatch[] = {
2498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2500 * Description of Hpux11_Uint32_C fix
2502 tSCC zHpux11_Uint32_CName[] =
2506 * File name selection pattern
2508 tSCC zHpux11_Uint32_CList[] =
2511 * Machine/OS name selection pattern
2513 #define apzHpux11_Uint32_CMachs (const char**)NULL
2516 * content selection pattern - do fix if pattern found
2518 tSCC zHpux11_Uint32_CSelect0[] =
2519 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2521 #define HPUX11_UINT32_C_TEST_CT 1
2522 static tTestDesc aHpux11_Uint32_CTests[] = {
2523 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2526 * Fix Command Arguments for Hpux11_Uint32_C
2528 static const char* apzHpux11_Uint32_CPatch[] = {
2530 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2535 * Description of Hpux11_Vsnprintf fix
2537 tSCC zHpux11_VsnprintfName[] =
2541 * File name selection pattern
2543 tSCC zHpux11_VsnprintfList[] =
2546 * Machine/OS name selection pattern
2548 #define apzHpux11_VsnprintfMachs (const char**)NULL
2551 * content selection pattern - do fix if pattern found
2553 tSCC zHpux11_VsnprintfSelect0[] =
2554 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2556 #define HPUX11_VSNPRINTF_TEST_CT 1
2557 static tTestDesc aHpux11_VsnprintfTests[] = {
2558 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2561 * Fix Command Arguments for Hpux11_Vsnprintf
2563 static const char* apzHpux11_VsnprintfPatch[] = {
2568 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2570 * Description of Hpux8_Bogus_Inlines fix
2572 tSCC zHpux8_Bogus_InlinesName[] =
2573 "hpux8_bogus_inlines";
2576 * File name selection pattern
2578 tSCC zHpux8_Bogus_InlinesList[] =
2581 * Machine/OS name selection pattern
2583 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2586 * content selection pattern - do fix if pattern found
2588 tSCC zHpux8_Bogus_InlinesSelect0[] =
2592 * content bypass pattern - skip fix if pattern found
2594 tSCC zHpux8_Bogus_InlinesBypass0[] =
2597 #define HPUX8_BOGUS_INLINES_TEST_CT 2
2598 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2599 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
2600 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2603 * Fix Command Arguments for Hpux8_Bogus_Inlines
2605 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2606 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2607 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2608 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2609 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2614 * Description of Hpux_Ctype_Macros fix
2616 tSCC zHpux_Ctype_MacrosName[] =
2617 "hpux_ctype_macros";
2620 * File name selection pattern
2622 tSCC zHpux_Ctype_MacrosList[] =
2625 * Machine/OS name selection pattern
2627 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
2630 * content selection pattern - do fix if pattern found
2632 tSCC zHpux_Ctype_MacrosSelect0[] =
2633 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
2635 #define HPUX_CTYPE_MACROS_TEST_CT 1
2636 static tTestDesc aHpux_Ctype_MacrosTests[] = {
2637 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
2640 * Fix Command Arguments for Hpux_Ctype_Macros
2642 static const char* apzHpux_Ctype_MacrosPatch[] = {
2647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2649 * Description of Hpux_Long_Double fix
2651 tSCC zHpux_Long_DoubleName[] =
2655 * File name selection pattern
2657 tSCC zHpux_Long_DoubleList[] =
2660 * Machine/OS name selection pattern
2662 #define apzHpux_Long_DoubleMachs (const char**)NULL
2665 * content selection pattern - do fix if pattern found
2667 tSCC zHpux_Long_DoubleSelect0[] =
2668 "extern[ \t]long_double[ \t]strtold";
2671 * content bypass pattern - skip fix if pattern found
2673 tSCC zHpux_Long_DoubleBypass0[] =
2676 #define HPUX_LONG_DOUBLE_TEST_CT 2
2677 static tTestDesc aHpux_Long_DoubleTests[] = {
2678 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
2679 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
2682 * Fix Command Arguments for Hpux_Long_Double
2684 static const char* apzHpux_Long_DoublePatch[] = { "sed",
2685 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
2686 "-e", "s/long_double/long double/g",
2689 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2691 * Description of Hpux_Systime fix
2693 tSCC zHpux_SystimeName[] =
2697 * File name selection pattern
2699 tSCC zHpux_SystimeList[] =
2702 * Machine/OS name selection pattern
2704 #define apzHpux_SystimeMachs (const char**)NULL
2707 * content selection pattern - do fix if pattern found
2709 tSCC zHpux_SystimeSelect0[] =
2710 "^extern struct sigevent;";
2712 #define HPUX_SYSTIME_TEST_CT 1
2713 static tTestDesc aHpux_SystimeTests[] = {
2714 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2717 * Fix Command Arguments for Hpux_Systime
2719 static const char* apzHpux_SystimePatch[] = {
2724 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2726 * Description of Int_Abort_Free_And_Exit fix
2728 tSCC zInt_Abort_Free_And_ExitName[] =
2729 "int_abort_free_and_exit";
2732 * File name selection pattern
2734 tSCC zInt_Abort_Free_And_ExitList[] =
2737 * Machine/OS name selection pattern
2739 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2742 * content selection pattern - do fix if pattern found
2744 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2745 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2748 * content bypass pattern - skip fix if pattern found
2750 tSCC zInt_Abort_Free_And_ExitBypass0[] =
2751 "_CLASSIC_ANSI_TYPES";
2753 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
2754 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2755 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
2756 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2759 * Fix Command Arguments for Int_Abort_Free_And_Exit
2761 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2768 * Description of Io_Quotes_Def fix
2770 tSCC zIo_Quotes_DefName[] =
2774 * File name selection pattern
2776 #define zIo_Quotes_DefList (char*)NULL
2778 * Machine/OS name selection pattern
2780 #define apzIo_Quotes_DefMachs (const char**)NULL
2783 * content selection pattern - do fix if pattern found
2785 tSCC zIo_Quotes_DefSelect0[] =
2786 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2788 #define IO_QUOTES_DEF_TEST_CT 1
2789 static tTestDesc aIo_Quotes_DefTests[] = {
2790 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2793 * Fix Command Arguments for Io_Quotes_Def
2795 static const char* apzIo_Quotes_DefPatch[] = {
2800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2802 * Description of Io_Quotes_Use fix
2804 tSCC zIo_Quotes_UseName[] =
2808 * File name selection pattern
2810 #define zIo_Quotes_UseList (char*)NULL
2812 * Machine/OS name selection pattern
2814 #define apzIo_Quotes_UseMachs (const char**)NULL
2817 * content selection pattern - do fix if pattern found
2819 tSCC zIo_Quotes_UseSelect0[] =
2820 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2822 #define IO_QUOTES_USE_TEST_CT 1
2823 static tTestDesc aIo_Quotes_UseTests[] = {
2824 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2827 * Fix Command Arguments for Io_Quotes_Use
2829 static const char* apzIo_Quotes_UsePatch[] = {
2834 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2836 * Description of Ip_Missing_Semi fix
2838 tSCC zIp_Missing_SemiName[] =
2842 * File name selection pattern
2844 tSCC zIp_Missing_SemiList[] =
2847 * Machine/OS name selection pattern
2849 #define apzIp_Missing_SemiMachs (const char**)NULL
2852 * content selection pattern - do fix if pattern found
2854 tSCC zIp_Missing_SemiSelect0[] =
2857 #define IP_MISSING_SEMI_TEST_CT 1
2858 static tTestDesc aIp_Missing_SemiTests[] = {
2859 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2862 * Fix Command Arguments for Ip_Missing_Semi
2864 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2865 "-e", "/^struct/,/^};/s/}$/};/",
2868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2870 * Description of Irix___Restrict fix
2872 tSCC zIrix___RestrictName[] =
2876 * File name selection pattern
2878 tSCC zIrix___RestrictList[] =
2879 "|internal/sgimacros.h|";
2881 * Machine/OS name selection pattern
2883 tSCC* apzIrix___RestrictMachs[] = {
2885 (const char*)NULL };
2888 * content selection pattern - do fix if pattern found
2890 tSCC zIrix___RestrictSelect0[] =
2892 )(#[ \t]*define __restrict restrict)";
2894 #define IRIX___RESTRICT_TEST_CT 1
2895 static tTestDesc aIrix___RestrictTests[] = {
2896 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
2899 * Fix Command Arguments for Irix___Restrict
2901 static const char* apzIrix___RestrictPatch[] = {
2903 "%1# ifndef __cplusplus\n\
2908 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2910 * Description of Irix___Generic1 fix
2912 tSCC zIrix___Generic1Name[] =
2916 * File name selection pattern
2918 tSCC zIrix___Generic1List[] =
2919 "|internal/math_core.h|";
2921 * Machine/OS name selection pattern
2923 tSCC* apzIrix___Generic1Machs[] = {
2925 (const char*)NULL };
2928 * content selection pattern - do fix if pattern found
2930 tSCC zIrix___Generic1Select0[] =
2931 "#define ([a-z]+)\\(x\\) *__generic.*";
2933 #define IRIX___GENERIC1_TEST_CT 1
2934 static tTestDesc aIrix___Generic1Tests[] = {
2935 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
2938 * Fix Command Arguments for Irix___Generic1
2940 static const char* apzIrix___Generic1Patch[] = {
2942 "extern int %1(double);\n\
2943 extern int %1f(float);\n\
2944 extern int %1l(long double);\n\
2945 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
2946 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
2950 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2952 * Description of Irix___Generic2 fix
2954 tSCC zIrix___Generic2Name[] =
2958 * File name selection pattern
2960 tSCC zIrix___Generic2List[] =
2961 "|internal/math_core.h|";
2963 * Machine/OS name selection pattern
2965 tSCC* apzIrix___Generic2Machs[] = {
2967 (const char*)NULL };
2970 * content selection pattern - do fix if pattern found
2972 tSCC zIrix___Generic2Select0[] =
2973 "#define ([a-z]+)\\(x,y\\) *__generic.*";
2975 #define IRIX___GENERIC2_TEST_CT 1
2976 static tTestDesc aIrix___Generic2Tests[] = {
2977 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
2980 * Fix Command Arguments for Irix___Generic2
2982 static const char* apzIrix___Generic2Patch[] = {
2984 "#define %1(x,y) \\\n\
2985 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
2986 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
2990 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2992 * Description of Irix_Asm_Apostrophe fix
2994 tSCC zIrix_Asm_ApostropheName[] =
2995 "irix_asm_apostrophe";
2998 * File name selection pattern
3000 tSCC zIrix_Asm_ApostropheList[] =
3003 * Machine/OS name selection pattern
3005 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3008 * content selection pattern - do fix if pattern found
3010 tSCC zIrix_Asm_ApostropheSelect0[] =
3011 "^[ \t]*#.*[Ww]e're";
3013 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3014 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3015 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3018 * Fix Command Arguments for Irix_Asm_Apostrophe
3020 static const char* apzIrix_Asm_ApostrophePatch[] = {
3023 "^([ \t]*#.*[Ww]e)'re",
3026 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3028 * Description of Irix_Limits_Const fix
3030 tSCC zIrix_Limits_ConstName[] =
3031 "irix_limits_const";
3034 * File name selection pattern
3036 tSCC zIrix_Limits_ConstList[] =
3037 "|fixinc-test-limits.h|limits.h|";
3039 * Machine/OS name selection pattern
3041 #define apzIrix_Limits_ConstMachs (const char**)NULL
3044 * content selection pattern - do fix if pattern found
3046 tSCC zIrix_Limits_ConstSelect0[] =
3049 #define IRIX_LIMITS_CONST_TEST_CT 1
3050 static tTestDesc aIrix_Limits_ConstTests[] = {
3051 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3054 * Fix Command Arguments for Irix_Limits_Const
3056 static const char* apzIrix_Limits_ConstPatch[] = {
3061 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3063 * Description of Irix_Socklen_T fix
3065 tSCC zIrix_Socklen_TName[] =
3069 * File name selection pattern
3071 tSCC zIrix_Socklen_TList[] =
3074 * Machine/OS name selection pattern
3076 tSCC* apzIrix_Socklen_TMachs[] = {
3078 (const char*)NULL };
3081 * content selection pattern - do fix if pattern found
3083 tSCC zIrix_Socklen_TSelect0[] =
3084 "(#define _SOCKLEN_T\n\
3085 )(typedef u_int32_t socklen_t;)";
3087 #define IRIX_SOCKLEN_T_TEST_CT 1
3088 static tTestDesc aIrix_Socklen_TTests[] = {
3089 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3092 * Fix Command Arguments for Irix_Socklen_T
3094 static const char* apzIrix_Socklen_TPatch[] = {
3096 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3097 typedef int socklen_t;\n\
3100 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3105 * Description of Irix_Stdio_Va_List fix
3107 tSCC zIrix_Stdio_Va_ListName[] =
3108 "irix_stdio_va_list";
3111 * File name selection pattern
3113 tSCC zIrix_Stdio_Va_ListList[] =
3114 "|stdio.h|internal/stdio_core.h|";
3116 * Machine/OS name selection pattern
3118 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3121 * content selection pattern - do fix if pattern found
3123 tSCC zIrix_Stdio_Va_ListSelect0[] =
3124 "/\\* va_list \\*/ char \\*";
3126 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3127 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3128 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3131 * Fix Command Arguments for Irix_Stdio_Va_List
3133 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3138 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3140 * Description of Irix_Wcsftime fix
3142 tSCC zIrix_WcsftimeName[] =
3146 * File name selection pattern
3148 tSCC zIrix_WcsftimeList[] =
3149 "|internal/wchar_core.h|";
3151 * Machine/OS name selection pattern
3153 tSCC* apzIrix_WcsftimeMachs[] = {
3155 (const char*)NULL };
3158 * content selection pattern - do fix if pattern found
3160 tSCC zIrix_WcsftimeSelect0[] =
3162 (extern size_t[ \t]+wcsftime.*const char *.*)";
3164 #define IRIX_WCSFTIME_TEST_CT 1
3165 static tTestDesc aIrix_WcsftimeTests[] = {
3166 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
3169 * Fix Command Arguments for Irix_Wcsftime
3171 static const char* apzIrix_WcsftimePatch[] = {
3173 "#if _NO_XOPEN5 && !defined(__c99)\n\
3177 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3179 * Description of Isc_Fmod fix
3181 tSCC zIsc_FmodName[] =
3185 * File name selection pattern
3187 tSCC zIsc_FmodList[] =
3190 * Machine/OS name selection pattern
3192 #define apzIsc_FmodMachs (const char**)NULL
3195 * content selection pattern - do fix if pattern found
3197 tSCC zIsc_FmodSelect0[] =
3200 #define ISC_FMOD_TEST_CT 1
3201 static tTestDesc aIsc_FmodTests[] = {
3202 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
3205 * Fix Command Arguments for Isc_Fmod
3207 static const char* apzIsc_FmodPatch[] = {
3209 "fmod(double, double)",
3212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3214 * Description of Isc_Omits_With_Stdc fix
3216 tSCC zIsc_Omits_With_StdcName[] =
3217 "isc_omits_with_stdc";
3220 * File name selection pattern
3222 tSCC zIsc_Omits_With_StdcList[] =
3223 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
3225 * Machine/OS name selection pattern
3227 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
3230 * content selection pattern - do fix if pattern found
3232 tSCC zIsc_Omits_With_StdcSelect0[] =
3233 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
3235 #define ISC_OMITS_WITH_STDC_TEST_CT 1
3236 static tTestDesc aIsc_Omits_With_StdcTests[] = {
3237 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
3240 * Fix Command Arguments for Isc_Omits_With_Stdc
3242 static const char* apzIsc_Omits_With_StdcPatch[] = {
3244 "!defined(_POSIX_SOURCE)",
3247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3249 * Description of Kandr_Concat fix
3251 tSCC zKandr_ConcatName[] =
3255 * File name selection pattern
3257 tSCC zKandr_ConcatList[] =
3258 "|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|";
3260 * Machine/OS name selection pattern
3262 #define apzKandr_ConcatMachs (const char**)NULL
3265 * content selection pattern - do fix if pattern found
3267 tSCC zKandr_ConcatSelect0[] =
3270 #define KANDR_CONCAT_TEST_CT 1
3271 static tTestDesc aKandr_ConcatTests[] = {
3272 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
3275 * Fix Command Arguments for Kandr_Concat
3277 static const char* apzKandr_ConcatPatch[] = {
3282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3284 * Description of Libc1_G_Va_List fix
3286 tSCC zLibc1_G_Va_ListName[] =
3290 * File name selection pattern
3292 tSCC zLibc1_G_Va_ListList[] =
3295 * Machine/OS name selection pattern
3297 tSCC* apzLibc1_G_Va_ListMachs[] = {
3299 (const char*)NULL };
3302 * content selection pattern - do fix if pattern found
3304 tSCC zLibc1_G_Va_ListSelect0[] =
3305 "typedef void \\* _G_va_list;";
3307 #define LIBC1_G_VA_LIST_TEST_CT 1
3308 static tTestDesc aLibc1_G_Va_ListTests[] = {
3309 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
3312 * Fix Command Arguments for Libc1_G_Va_List
3314 static const char* apzLibc1_G_Va_ListPatch[] = {
3316 "typedef __builtin_va_list _G_va_list;",
3319 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3321 * Description of Libc1_Ifdefd_Memx fix
3323 tSCC zLibc1_Ifdefd_MemxName[] =
3324 "libc1_ifdefd_memx";
3327 * File name selection pattern
3329 tSCC zLibc1_Ifdefd_MemxList[] =
3330 "|testing.h|string.h|";
3332 * Machine/OS name selection pattern
3334 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
3337 * content selection pattern - do fix if pattern found
3339 tSCC zLibc1_Ifdefd_MemxSelect0[] =
3340 "' is a built-in function for gcc 2\\.x\\. \\*/";
3343 * content bypass pattern - skip fix if pattern found
3345 tSCC zLibc1_Ifdefd_MemxBypass0[] =
3348 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
3349 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
3350 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
3351 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
3354 * Fix Command Arguments for Libc1_Ifdefd_Memx
3356 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
3359 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
3360 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
3362 extern [a-z_]+ mem.*(\n\
3367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3369 * Description of Linux_Ia64_Ucontext fix
3371 tSCC zLinux_Ia64_UcontextName[] =
3372 "linux_ia64_ucontext";
3375 * File name selection pattern
3377 tSCC zLinux_Ia64_UcontextList[] =
3380 * Machine/OS name selection pattern
3382 tSCC* apzLinux_Ia64_UcontextMachs[] = {
3384 (const char*)NULL };
3387 * content selection pattern - do fix if pattern found
3389 tSCC zLinux_Ia64_UcontextSelect0[] =
3390 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
3392 #define LINUX_IA64_UCONTEXT_TEST_CT 1
3393 static tTestDesc aLinux_Ia64_UcontextTests[] = {
3394 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
3397 * Fix Command Arguments for Linux_Ia64_Ucontext
3399 static const char* apzLinux_Ia64_UcontextPatch[] = {
3401 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
3404 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3406 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
3408 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
3409 "lynxos_no_warning_in_sys_time_h";
3412 * File name selection pattern
3414 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
3417 * Machine/OS name selection pattern
3419 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
3422 * content selection pattern - do fix if pattern found
3424 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
3425 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
3427 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
3428 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
3429 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
3432 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
3434 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
3439 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3441 * Description of Lynxos_Missing_Putenv fix
3443 tSCC zLynxos_Missing_PutenvName[] =
3444 "lynxos_missing_putenv";
3447 * File name selection pattern
3449 tSCC zLynxos_Missing_PutenvList[] =
3452 * Machine/OS name selection pattern
3454 tSCC* apzLynxos_Missing_PutenvMachs[] = {
3456 (const char*)NULL };
3459 * content selection pattern - do fix if pattern found
3461 tSCC zLynxos_Missing_PutenvSelect0[] =
3462 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
3465 * content bypass pattern - skip fix if pattern found
3467 tSCC zLynxos_Missing_PutenvBypass0[] =
3470 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
3471 static tTestDesc aLynxos_Missing_PutenvTests[] = {
3472 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
3473 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
3476 * Fix Command Arguments for Lynxos_Missing_Putenv
3478 static const char* apzLynxos_Missing_PutenvPatch[] = {
3481 extern int putenv\t\t\t\t_AP((char *));",
3482 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
3485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3487 * Description of Machine_Ansi_H_Va_List fix
3489 tSCC zMachine_Ansi_H_Va_ListName[] =
3490 "machine_ansi_h_va_list";
3493 * File name selection pattern
3495 #define zMachine_Ansi_H_Va_ListList (char*)NULL
3497 * Machine/OS name selection pattern
3499 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
3502 * content selection pattern - do fix if pattern found
3504 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
3505 "define[ \t]+_BSD_VA_LIST_[ \t]";
3508 * content bypass pattern - skip fix if pattern found
3510 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
3511 "__builtin_va_list";
3513 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
3514 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
3515 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
3516 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
3519 * Fix Command Arguments for Machine_Ansi_H_Va_List
3521 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
3523 "%1__builtin_va_list",
3524 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
3527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3529 * Description of Machine_Name fix
3531 tSCC zMachine_NameName[] =
3535 * File name selection pattern
3537 #define zMachine_NameList (char*)NULL
3539 * Machine/OS name selection pattern
3541 #define apzMachine_NameMachs (const char**)NULL
3544 * perform the C function call test
3546 tSCC zMachine_NameFTst0[] = "machine_name";
3548 #define MACHINE_NAME_TEST_CT 1
3549 static tTestDesc aMachine_NameTests[] = {
3550 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
3553 * Fix Command Arguments for Machine_Name
3555 static const char* apzMachine_NamePatch[] = {
3559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3561 * Description of Math_Exception fix
3563 tSCC zMath_ExceptionName[] =
3567 * File name selection pattern
3569 tSCC zMath_ExceptionList[] =
3572 * Machine/OS name selection pattern
3574 #define apzMath_ExceptionMachs (const char**)NULL
3577 * content selection pattern - do fix if pattern found
3579 tSCC zMath_ExceptionSelect0[] =
3583 * content bypass pattern - skip fix if pattern found
3585 tSCC zMath_ExceptionBypass0[] =
3586 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
3588 #define MATH_EXCEPTION_TEST_CT 2
3589 static tTestDesc aMath_ExceptionTests[] = {
3590 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
3591 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
3594 * Fix Command Arguments for Math_Exception
3596 static const char* apzMath_ExceptionPatch[] = {
3598 "#ifdef __cplusplus\n\
3599 #define exception __math_exception\n\
3601 "#ifdef __cplusplus\n\
3606 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3608 * Description of Math_Huge_Val_From_Dbl_Max fix
3610 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
3611 "math_huge_val_from_dbl_max";
3614 * File name selection pattern
3616 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
3619 * Machine/OS name selection pattern
3621 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
3624 * content selection pattern - do fix if pattern found
3626 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
3627 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
3630 * content bypass pattern - skip fix if pattern found
3632 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
3633 "define[ \t]+DBL_MAX";
3635 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
3636 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
3637 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
3638 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
3641 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
3643 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
3644 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
3645 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
3646 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
3651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3653 * Description of Nested_Auth_Des fix
3655 tSCC zNested_Auth_DesName[] =
3659 * File name selection pattern
3661 tSCC zNested_Auth_DesList[] =
3664 * Machine/OS name selection pattern
3666 #define apzNested_Auth_DesMachs (const char**)NULL
3669 * content selection pattern - do fix if pattern found
3671 tSCC zNested_Auth_DesSelect0[] =
3672 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3674 #define NESTED_AUTH_DES_TEST_CT 1
3675 static tTestDesc aNested_Auth_DesTests[] = {
3676 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3679 * Fix Command Arguments for Nested_Auth_Des
3681 static const char* apzNested_Auth_DesPatch[] = {
3686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3688 * Description of Nested_Motorola fix
3690 tSCC zNested_MotorolaName[] =
3694 * File name selection pattern
3696 tSCC zNested_MotorolaList[] =
3697 "|sys/limits.h|limits.h|";
3699 * Machine/OS name selection pattern
3701 tSCC* apzNested_MotorolaMachs[] = {
3702 "m68k-motorola-sysv*",
3703 (const char*)NULL };
3706 * content selection pattern - do fix if pattern found
3708 tSCC zNested_MotorolaSelect0[] =
3709 "max # bytes atomic in write|error value returned by Math lib";
3711 #define NESTED_MOTOROLA_TEST_CT 1
3712 static tTestDesc aNested_MotorolaTests[] = {
3713 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3716 * Fix Command Arguments for Nested_Motorola
3718 static const char* apzNested_MotorolaPatch[] = { "sed",
3719 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3720 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3725 * Description of Nested_Sys_Limits fix
3727 tSCC zNested_Sys_LimitsName[] =
3728 "nested_sys_limits";
3731 * File name selection pattern
3733 tSCC zNested_Sys_LimitsList[] =
3736 * Machine/OS name selection pattern
3738 #define apzNested_Sys_LimitsMachs (const char**)NULL
3741 * content selection pattern - do fix if pattern found
3743 tSCC zNested_Sys_LimitsSelect0[] =
3746 #define NESTED_SYS_LIMITS_TEST_CT 1
3747 static tTestDesc aNested_Sys_LimitsTests[] = {
3748 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3751 * Fix Command Arguments for Nested_Sys_Limits
3753 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3754 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3755 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3758 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3760 * Description of Netbsd_Extra_Semicolon fix
3762 tSCC zNetbsd_Extra_SemicolonName[] =
3763 "netbsd_extra_semicolon";
3766 * File name selection pattern
3768 tSCC zNetbsd_Extra_SemicolonList[] =
3771 * Machine/OS name selection pattern
3773 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
3775 (const char*)NULL };
3778 * content selection pattern - do fix if pattern found
3780 tSCC zNetbsd_Extra_SemicolonSelect0[] =
3781 "#define[ \t]*__END_DECLS[ \t]*};";
3783 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
3784 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
3785 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
3788 * Fix Command Arguments for Netbsd_Extra_Semicolon
3790 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
3792 "#define __END_DECLS }",
3795 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3797 * Description of Next_Math_Prefix fix
3799 tSCC zNext_Math_PrefixName[] =
3803 * File name selection pattern
3805 tSCC zNext_Math_PrefixList[] =
3808 * Machine/OS name selection pattern
3810 #define apzNext_Math_PrefixMachs (const char**)NULL
3813 * content selection pattern - do fix if pattern found
3815 tSCC zNext_Math_PrefixSelect0[] =
3816 "^extern[ \t]+double[ \t]+__const__[ \t]";
3818 #define NEXT_MATH_PREFIX_TEST_CT 1
3819 static tTestDesc aNext_Math_PrefixTests[] = {
3820 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3823 * Fix Command Arguments for Next_Math_Prefix
3825 static const char* apzNext_Math_PrefixPatch[] = {
3827 "extern double %1(",
3828 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3831 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3833 * Description of Next_Template fix
3835 tSCC zNext_TemplateName[] =
3839 * File name selection pattern
3841 tSCC zNext_TemplateList[] =
3844 * Machine/OS name selection pattern
3846 #define apzNext_TemplateMachs (const char**)NULL
3849 * content selection pattern - do fix if pattern found
3851 tSCC zNext_TemplateSelect0[] =
3854 #define NEXT_TEMPLATE_TEST_CT 1
3855 static tTestDesc aNext_TemplateTests[] = {
3856 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3859 * Fix Command Arguments for Next_Template
3861 static const char* apzNext_TemplatePatch[] = {
3864 "\\(([^)]*)[ \t]template\\)",
3867 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3869 * Description of Next_Volitile fix
3871 tSCC zNext_VolitileName[] =
3875 * File name selection pattern
3877 tSCC zNext_VolitileList[] =
3880 * Machine/OS name selection pattern
3882 #define apzNext_VolitileMachs (const char**)NULL
3885 * content selection pattern - do fix if pattern found
3887 tSCC zNext_VolitileSelect0[] =
3888 "^extern[ \t]+volatile[ \t]+void[ \t]";
3890 #define NEXT_VOLITILE_TEST_CT 1
3891 static tTestDesc aNext_VolitileTests[] = {
3892 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3895 * Fix Command Arguments for Next_Volitile
3897 static const char* apzNext_VolitilePatch[] = {
3900 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3903 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3905 * Description of Next_Wait_Union fix
3907 tSCC zNext_Wait_UnionName[] =
3911 * File name selection pattern
3913 tSCC zNext_Wait_UnionList[] =
3916 * Machine/OS name selection pattern
3918 #define apzNext_Wait_UnionMachs (const char**)NULL
3921 * content selection pattern - do fix if pattern found
3923 tSCC zNext_Wait_UnionSelect0[] =
3924 "wait\\(union wait";
3926 #define NEXT_WAIT_UNION_TEST_CT 1
3927 static tTestDesc aNext_Wait_UnionTests[] = {
3928 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3931 * Fix Command Arguments for Next_Wait_Union
3933 static const char* apzNext_Wait_UnionPatch[] = {
3938 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3940 * Description of Nodeent_Syntax fix
3942 tSCC zNodeent_SyntaxName[] =
3946 * File name selection pattern
3948 tSCC zNodeent_SyntaxList[] =
3949 "|netdnet/dnetdb.h|";
3951 * Machine/OS name selection pattern
3953 #define apzNodeent_SyntaxMachs (const char**)NULL
3956 * content selection pattern - do fix if pattern found
3958 tSCC zNodeent_SyntaxSelect0[] =
3959 "char[ \t]*\\*na_addr[ \t]*$";
3961 #define NODEENT_SYNTAX_TEST_CT 1
3962 static tTestDesc aNodeent_SyntaxTests[] = {
3963 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3966 * Fix Command Arguments for Nodeent_Syntax
3968 static const char* apzNodeent_SyntaxPatch[] = {
3973 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3975 * Description of Obstack_Lvalue_Cast fix
3977 tSCC zObstack_Lvalue_CastName[] =
3978 "obstack_lvalue_cast";
3981 * File name selection pattern
3983 tSCC zObstack_Lvalue_CastList[] =
3986 * Machine/OS name selection pattern
3988 #define apzObstack_Lvalue_CastMachs (const char**)NULL
3991 * content selection pattern - do fix if pattern found
3993 tSCC zObstack_Lvalue_CastSelect0[] =
3994 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
3996 #define OBSTACK_LVALUE_CAST_TEST_CT 1
3997 static tTestDesc aObstack_Lvalue_CastTests[] = {
3998 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
4001 * Fix Command Arguments for Obstack_Lvalue_Cast
4003 static const char* apzObstack_Lvalue_CastPatch[] = {
4005 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
4008 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4010 * Description of Osf_Namespace_A fix
4012 tSCC zOsf_Namespace_AName[] =
4016 * File name selection pattern
4018 tSCC zOsf_Namespace_AList[] =
4019 "|reg_types.h|sys/lc_core.h|";
4021 * Machine/OS name selection pattern
4023 #define apzOsf_Namespace_AMachs (const char**)NULL
4026 * perform the 'test' shell command - do fix on success
4028 tSCC zOsf_Namespace_ATest0[] =
4030 tSCC zOsf_Namespace_ATest1[] =
4031 " -r sys/lc_core.h";
4032 tSCC zOsf_Namespace_ATest2[] =
4033 " -n \"`grep '} regex_t;' reg_types.h`\"";
4034 tSCC zOsf_Namespace_ATest3[] =
4035 " -z \"`grep __regex_t regex.h`\"";
4037 #define OSF_NAMESPACE_A_TEST_CT 4
4038 static tTestDesc aOsf_Namespace_ATests[] = {
4039 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4040 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4041 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4042 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4045 * Fix Command Arguments for Osf_Namespace_A
4047 static const char* apzOsf_Namespace_APatch[] = {
4050 "reg(ex|off|match)_t",
4053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4055 * Description of Osf_Namespace_C fix
4057 tSCC zOsf_Namespace_CName[] =
4061 * File name selection pattern
4063 tSCC zOsf_Namespace_CList[] =
4066 * Machine/OS name selection pattern
4068 #define apzOsf_Namespace_CMachs (const char**)NULL
4071 * content selection pattern - do fix if pattern found
4073 tSCC zOsf_Namespace_CSelect0[] =
4074 "#include <reg_types.h>.*";
4077 * perform the 'test' shell command - do fix on success
4079 tSCC zOsf_Namespace_CTest0[] =
4081 tSCC zOsf_Namespace_CTest1[] =
4082 " -r sys/lc_core.h";
4083 tSCC zOsf_Namespace_CTest2[] =
4084 " -n \"`grep '} regex_t;' reg_types.h`\"";
4085 tSCC zOsf_Namespace_CTest3[] =
4086 " -z \"`grep __regex_t regex.h`\"";
4088 #define OSF_NAMESPACE_C_TEST_CT 5
4089 static tTestDesc aOsf_Namespace_CTests[] = {
4090 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
4091 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
4092 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
4093 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
4094 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
4097 * Fix Command Arguments for Osf_Namespace_C
4099 static const char* apzOsf_Namespace_CPatch[] = {
4102 typedef __regex_t\tregex_t;\n\
4103 typedef __regoff_t\tregoff_t;\n\
4104 typedef __regmatch_t\tregmatch_t;",
4107 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4109 * Description of Pthread_Page_Size fix
4111 tSCC zPthread_Page_SizeName[] =
4112 "pthread_page_size";
4115 * File name selection pattern
4117 tSCC zPthread_Page_SizeList[] =
4120 * Machine/OS name selection pattern
4122 #define apzPthread_Page_SizeMachs (const char**)NULL
4125 * content selection pattern - do fix if pattern found
4127 tSCC zPthread_Page_SizeSelect0[] =
4130 #define PTHREAD_PAGE_SIZE_TEST_CT 1
4131 static tTestDesc aPthread_Page_SizeTests[] = {
4132 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
4135 * Fix Command Arguments for Pthread_Page_Size
4137 static const char* apzPthread_Page_SizePatch[] = {
4142 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4144 * Description of Read_Ret_Type fix
4146 tSCC zRead_Ret_TypeName[] =
4150 * File name selection pattern
4152 tSCC zRead_Ret_TypeList[] =
4155 * Machine/OS name selection pattern
4157 #define apzRead_Ret_TypeMachs (const char**)NULL
4160 * content selection pattern - do fix if pattern found
4162 tSCC zRead_Ret_TypeSelect0[] =
4163 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
4165 #define READ_RET_TYPE_TEST_CT 1
4166 static tTestDesc aRead_Ret_TypeTests[] = {
4167 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
4170 * Fix Command Arguments for Read_Ret_Type
4172 static const char* apzRead_Ret_TypePatch[] = {
4174 "extern unsigned int fread(), fwrite();\n\
4176 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
4179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4181 * Description of Rpc_Xdr_Lvalue_Cast_A fix
4183 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
4184 "rpc_xdr_lvalue_cast_a";
4187 * File name selection pattern
4189 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
4192 * Machine/OS name selection pattern
4194 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
4197 * content selection pattern - do fix if pattern found
4199 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
4200 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
4203 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
4204 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
4205 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
4208 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
4210 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
4212 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
4215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4217 * Description of Rpc_Xdr_Lvalue_Cast_B fix
4219 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
4220 "rpc_xdr_lvalue_cast_b";
4223 * File name selection pattern
4225 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
4228 * Machine/OS name selection pattern
4230 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
4233 * content selection pattern - do fix if pattern found
4235 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
4236 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
4239 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
4240 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
4241 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
4244 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
4246 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
4248 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
4251 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4253 * Description of Rs6000_Double fix
4255 tSCC zRs6000_DoubleName[] =
4259 * File name selection pattern
4261 tSCC zRs6000_DoubleList[] =
4264 * Machine/OS name selection pattern
4266 #define apzRs6000_DoubleMachs (const char**)NULL
4269 * content selection pattern - do fix if pattern found
4271 tSCC zRs6000_DoubleSelect0[] =
4272 "[^a-zA-Z_]class\\(";
4274 #define RS6000_DOUBLE_TEST_CT 1
4275 static tTestDesc aRs6000_DoubleTests[] = {
4276 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
4279 * Fix Command Arguments for Rs6000_Double
4281 static const char* apzRs6000_DoublePatch[] = {
4283 "#ifndef __cplusplus\n\
4286 "^.*[^a-zA-Z_]class\\(.*",
4289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4291 * Description of Rs6000_Fchmod fix
4293 tSCC zRs6000_FchmodName[] =
4297 * File name selection pattern
4299 tSCC zRs6000_FchmodList[] =
4302 * Machine/OS name selection pattern
4304 #define apzRs6000_FchmodMachs (const char**)NULL
4307 * content selection pattern - do fix if pattern found
4309 tSCC zRs6000_FchmodSelect0[] =
4310 "fchmod\\(char \\*";
4312 #define RS6000_FCHMOD_TEST_CT 1
4313 static tTestDesc aRs6000_FchmodTests[] = {
4314 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
4317 * Fix Command Arguments for Rs6000_Fchmod
4319 static const char* apzRs6000_FchmodPatch[] = {
4324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4326 * Description of Rs6000_Param fix
4328 tSCC zRs6000_ParamName[] =
4332 * File name selection pattern
4334 tSCC zRs6000_ParamList[] =
4335 "|stdio.h|unistd.h|";
4337 * Machine/OS name selection pattern
4339 #define apzRs6000_ParamMachs (const char**)NULL
4342 * content selection pattern - do fix if pattern found
4344 tSCC zRs6000_ParamSelect0[] =
4345 "rename\\(const char \\*old, const char \\*new\\)";
4347 #define RS6000_PARAM_TEST_CT 1
4348 static tTestDesc aRs6000_ParamTests[] = {
4349 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
4352 * Fix Command Arguments for Rs6000_Param
4354 static const char* apzRs6000_ParamPatch[] = {
4356 "rename(const char *_old, const char *_new)",
4359 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4361 * Description of Sco_Math fix
4363 tSCC zSco_MathName[] =
4367 * File name selection pattern
4369 tSCC zSco_MathList[] =
4370 "|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|";
4372 * Machine/OS name selection pattern
4374 #define apzSco_MathMachs (const char**)NULL
4377 * content selection pattern - do fix if pattern found
4379 tSCC zSco_MathSelect0[] =
4380 "inline double abs";
4383 * content bypass pattern - skip fix if pattern found
4385 tSCC zSco_MathBypass0[] =
4388 #define SCO_MATH_TEST_CT 2
4389 static tTestDesc aSco_MathTests[] = {
4390 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
4391 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
4394 * Fix Command Arguments for Sco_Math
4396 static const char* apzSco_MathPatch[] = { "sed",
4397 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
4398 #ifndef __GNUC__\n",
4399 "-e", "/.*__builtin_generic/a\\\n\
4401 #define __fp_class(a) \\\\\\\n\
4402 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
4403 __fpclassifyl(a), \\\\\\\n\
4404 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
4405 __fpclassifyf(a),__fpclassify(a)))\\\n\
4407 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
4408 #ifndef __GNUC__\n",
4409 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
4410 #endif /* ! __GNUC__ */",
4413 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4415 * Description of Sco_Regset fix
4417 tSCC zSco_RegsetName[] =
4421 * File name selection pattern
4423 tSCC zSco_RegsetList[] =
4426 * Machine/OS name selection pattern
4428 tSCC* apzSco_RegsetMachs[] = {
4430 (const char*)NULL };
4433 * content selection pattern - do fix if pattern found
4435 tSCC zSco_RegsetSelect0[] =
4436 "(struct[ \t]+.*)fpstate";
4438 #define SCO_REGSET_TEST_CT 1
4439 static tTestDesc aSco_RegsetTests[] = {
4440 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
4443 * Fix Command Arguments for Sco_Regset
4445 static const char* apzSco_RegsetPatch[] = {
4450 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4452 * Description of Sco_Static_Func fix
4454 tSCC zSco_Static_FuncName[] =
4458 * File name selection pattern
4460 tSCC zSco_Static_FuncList[] =
4463 * Machine/OS name selection pattern
4465 tSCC* apzSco_Static_FuncMachs[] = {
4467 (const char*)NULL };
4470 * content selection pattern - do fix if pattern found
4472 tSCC zSco_Static_FuncSelect0[] =
4475 #define SCO_STATIC_FUNC_TEST_CT 1
4476 static tTestDesc aSco_Static_FuncTests[] = {
4477 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
4480 * Fix Command Arguments for Sco_Static_Func
4482 static const char* apzSco_Static_FuncPatch[] = { "sed",
4483 "-e", "/^static int/i\\\n\
4484 #if __cplusplus\\\n\
4486 #endif /* __cplusplus */",
4488 #if __cplusplus\\\n\
4490 #endif /* __cplusplus */",
4493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4495 * Description of Sco_Utime fix
4497 tSCC zSco_UtimeName[] =
4501 * File name selection pattern
4503 tSCC zSco_UtimeList[] =
4506 * Machine/OS name selection pattern
4508 tSCC* apzSco_UtimeMachs[] = {
4510 (const char*)NULL };
4513 * content selection pattern - do fix if pattern found
4515 tSCC zSco_UtimeSelect0[] =
4516 "\\(const char \\*, struct utimbuf \\*\\);";
4518 #define SCO_UTIME_TEST_CT 1
4519 static tTestDesc aSco_UtimeTests[] = {
4520 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
4523 * Fix Command Arguments for Sco_Utime
4525 static const char* apzSco_UtimePatch[] = {
4527 "(const char *, const struct utimbuf *);",
4530 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4532 * Description of Solaris_Mutex_Init_1 fix
4534 tSCC zSolaris_Mutex_Init_1Name[] =
4535 "solaris_mutex_init_1";
4538 * File name selection pattern
4540 tSCC zSolaris_Mutex_Init_1List[] =
4543 * Machine/OS name selection pattern
4545 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
4548 * content selection pattern - do fix if pattern found
4550 tSCC zSolaris_Mutex_Init_1Select0[] =
4551 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
4553 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
4554 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
4555 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
4558 * Fix Command Arguments for Solaris_Mutex_Init_1
4560 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
4561 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
4562 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
4565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4567 * Description of Solaris_Mutex_Init_2 fix
4569 tSCC zSolaris_Mutex_Init_2Name[] =
4570 "solaris_mutex_init_2";
4573 * File name selection pattern
4575 tSCC zSolaris_Mutex_Init_2List[] =
4578 * Machine/OS name selection pattern
4580 #define apzSolaris_Mutex_Init_2Machs (const char**)NULL
4583 * content selection pattern - do fix if pattern found
4585 tSCC zSolaris_Mutex_Init_2Select0[] =
4586 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
4588 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
4589 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
4590 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
4593 * Fix Command Arguments for Solaris_Mutex_Init_2
4595 static const char* apzSolaris_Mutex_Init_2Patch[] = {
4597 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
4602 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*),[ \t]*0\\}(|[ \t].*)$",
4605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4607 * Description of Solaris_Socket fix
4609 tSCC zSolaris_SocketName[] =
4613 * File name selection pattern
4615 tSCC zSolaris_SocketList[] =
4618 * Machine/OS name selection pattern
4620 #define apzSolaris_SocketMachs (const char**)NULL
4623 * content selection pattern - do fix if pattern found
4625 tSCC zSolaris_SocketSelect0[] =
4626 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
4628 #define SOLARIS_SOCKET_TEST_CT 1
4629 static tTestDesc aSolaris_SocketTests[] = {
4630 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
4633 * Fix Command Arguments for Solaris_Socket
4635 static const char* apzSolaris_SocketPatch[] = {
4637 "extern int %1(int, %2void *, int, int);",
4638 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
4641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4643 * Description of Solaris_Stdio_Tag fix
4645 tSCC zSolaris_Stdio_TagName[] =
4646 "solaris_stdio_tag";
4649 * File name selection pattern
4651 tSCC zSolaris_Stdio_TagList[] =
4654 * Machine/OS name selection pattern
4656 #define apzSolaris_Stdio_TagMachs (const char**)NULL
4659 * content selection pattern - do fix if pattern found
4661 tSCC zSolaris_Stdio_TagSelect0[] =
4662 "__cplusplus < 54321L";
4664 #define SOLARIS_STDIO_TAG_TEST_CT 1
4665 static tTestDesc aSolaris_Stdio_TagTests[] = {
4666 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
4669 * Fix Command Arguments for Solaris_Stdio_Tag
4671 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
4672 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
4675 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4677 * Description of Solaris_Unistd fix
4679 tSCC zSolaris_UnistdName[] =
4683 * File name selection pattern
4685 tSCC zSolaris_UnistdList[] =
4688 * Machine/OS name selection pattern
4690 #define apzSolaris_UnistdMachs (const char**)NULL
4693 * content selection pattern - do fix if pattern found
4695 tSCC zSolaris_UnistdSelect0[] =
4696 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
4699 * content bypass pattern - skip fix if pattern found
4701 tSCC zSolaris_UnistdBypass0[] =
4704 #define SOLARIS_UNISTD_TEST_CT 2
4705 static tTestDesc aSolaris_UnistdTests[] = {
4706 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
4707 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
4710 * Fix Command Arguments for Solaris_Unistd
4712 static const char* apzSolaris_UnistdPatch[] = {
4714 "extern int getpagesize();\n\
4716 "^extern (pid_t|int) getpgid\\(.*\\);",
4719 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4721 * Description of Solaris_Widec fix
4723 tSCC zSolaris_WidecName[] =
4727 * File name selection pattern
4729 tSCC zSolaris_WidecList[] =
4732 * Machine/OS name selection pattern
4734 tSCC* apzSolaris_WidecMachs[] = {
4735 "*-*-solaris2.[0-5]",
4736 "*-*-solaris2.[0-5].*",
4737 (const char*)NULL };
4740 * content selection pattern - do fix if pattern found
4742 tSCC zSolaris_WidecSelect0[] =
4746 * content bypass pattern - skip fix if pattern found
4748 tSCC zSolaris_WidecBypass0[] =
4749 "include.*wchar\\.h";
4751 #define SOLARIS_WIDEC_TEST_CT 2
4752 static tTestDesc aSolaris_WidecTests[] = {
4753 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
4754 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
4757 * Fix Command Arguments for Solaris_Widec
4759 static const char* apzSolaris_WidecPatch[] = {
4762 #include <wchar.h>",
4765 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4767 * Description of Statsswtch fix
4769 tSCC zStatsswtchName[] =
4773 * File name selection pattern
4775 tSCC zStatsswtchList[] =
4778 * Machine/OS name selection pattern
4780 #define apzStatsswtchMachs (const char**)NULL
4783 * content selection pattern - do fix if pattern found
4785 tSCC zStatsswtchSelect0[] =
4788 #define STATSSWTCH_TEST_CT 1
4789 static tTestDesc aStatsswtchTests[] = {
4790 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
4793 * Fix Command Arguments for Statsswtch
4795 static const char* apzStatsswtchPatch[] = {
4800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4802 * Description of Stdio_Stdarg_H fix
4804 tSCC zStdio_Stdarg_HName[] =
4808 * File name selection pattern
4810 tSCC zStdio_Stdarg_HList[] =
4813 * Machine/OS name selection pattern
4815 #define apzStdio_Stdarg_HMachs (const char**)NULL
4818 * content bypass pattern - skip fix if pattern found
4820 tSCC zStdio_Stdarg_HBypass0[] =
4821 "include.*(stdarg.h|machine/ansi.h)";
4823 #define STDIO_STDARG_H_TEST_CT 1
4824 static tTestDesc aStdio_Stdarg_HTests[] = {
4825 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
4828 * Fix Command Arguments for Stdio_Stdarg_H
4830 static const char* apzStdio_Stdarg_HPatch[] = {
4832 "#define __need___va_list\n\
4833 #include <stdarg.h>\n",
4836 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4838 * Description of Stdio_Va_List fix
4840 tSCC zStdio_Va_ListName[] =
4844 * File name selection pattern
4846 tSCC zStdio_Va_ListList[] =
4847 "|stdio.h|internal/stdio_core.h|internal/wchar_core.h|";
4849 * Machine/OS name selection pattern
4851 #define apzStdio_Va_ListMachs (const char**)NULL
4854 * content bypass pattern - skip fix if pattern found
4856 tSCC zStdio_Va_ListBypass0[] =
4857 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
4859 #define STDIO_VA_LIST_TEST_CT 1
4860 static tTestDesc aStdio_Va_ListTests[] = {
4861 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
4864 * Fix Command Arguments for Stdio_Va_List
4866 static const char* apzStdio_Va_ListPatch[] = { "sed",
4867 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
4868 s@(va_list)&@(__gnuc_va_list)\\&@\n\
4869 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
4870 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
4871 s@ va_list@ __not_va_list__@\n\
4872 s@\\*va_list@*__not_va_list__@\n\
4873 s@ __va_list)@ __gnuc_va_list)@\n\
4874 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
4875 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
4876 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
4877 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
4878 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
4879 s@VA_LIST@DUMMY_VA_LIST@\n\
4880 s@_Va_LIST@_VA_LIST@",
4883 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4885 * Description of Stdio_Va_List_Clients fix
4887 tSCC zStdio_Va_List_ClientsName[] =
4888 "stdio_va_list_clients";
4891 * File name selection pattern
4893 tSCC zStdio_Va_List_ClientsList[] =
4894 "|com_err.h|cps.h|curses.h|krb5.h|lc_core.h|pfmt.h|wchar.h|curses_colr/curses.h|";
4896 * Machine/OS name selection pattern
4898 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
4901 * content bypass pattern - skip fix if pattern found
4903 tSCC zStdio_Va_List_ClientsBypass0[] =
4904 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
4905 tSCC zStdio_Va_List_ClientsBypass1[] =
4906 "include <stdarg\\.h>|#ifdef va_start";
4908 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
4909 static tTestDesc aStdio_Va_List_ClientsTests[] = {
4910 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
4911 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
4914 * Fix Command Arguments for Stdio_Va_List_Clients
4916 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
4917 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
4918 s@(va_list)&@(__gnuc_va_list)\\&@\n\
4919 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
4920 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
4921 s@ va_list@ __not_va_list__@\n\
4922 s@\\*va_list@*__not_va_list__@\n\
4923 s@ __va_list)@ __gnuc_va_list)@\n\
4924 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
4925 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
4926 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
4927 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
4928 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
4929 s@VA_LIST@DUMMY_VA_LIST@\n\
4930 s@_Va_LIST@_VA_LIST@",
4933 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4935 * Description of Strict_Ansi_Not fix
4937 tSCC zStrict_Ansi_NotName[] =
4941 * File name selection pattern
4943 #define zStrict_Ansi_NotList (char*)NULL
4945 * Machine/OS name selection pattern
4947 #define apzStrict_Ansi_NotMachs (const char**)NULL
4950 * content selection pattern - do fix if pattern found
4952 tSCC zStrict_Ansi_NotSelect0[] =
4953 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
4956 * content bypass pattern - skip fix if pattern found
4958 tSCC zStrict_Ansi_NotBypass0[] =
4959 "GNU and MIPS C compilers define __STDC__ differently";
4960 tSCC zStrict_Ansi_NotBypass1[] =
4961 "__SCO_VERSION__.*__STDC__ != 1";
4964 * perform the C function call test
4966 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
4968 #define STRICT_ANSI_NOT_TEST_CT 4
4969 static tTestDesc aStrict_Ansi_NotTests[] = {
4970 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
4971 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
4972 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
4973 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
4976 * Fix Command Arguments for Strict_Ansi_Not
4978 static const char* apzStrict_Ansi_NotPatch[] = {
4980 "%1 !defined(__STRICT_ANSI__)",
4983 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4985 * Description of Strict_Ansi_Not_Ctd fix
4987 tSCC zStrict_Ansi_Not_CtdName[] =
4988 "strict_ansi_not_ctd";
4991 * File name selection pattern
4993 tSCC zStrict_Ansi_Not_CtdList[] =
4994 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
4996 * Machine/OS name selection pattern
4998 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
5001 * content selection pattern - do fix if pattern found
5003 tSCC zStrict_Ansi_Not_CtdSelect0[] =
5004 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
5007 * perform the C function call test
5009 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
5011 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
5012 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
5013 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
5014 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
5017 * Fix Command Arguments for Strict_Ansi_Not_Ctd
5019 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
5021 "%1 !defined(__STRICT_ANSI__)",
5024 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5026 * Description of Strict_Ansi_Only fix
5028 tSCC zStrict_Ansi_OnlyName[] =
5032 * File name selection pattern
5034 #define zStrict_Ansi_OnlyList (char*)NULL
5036 * Machine/OS name selection pattern
5038 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
5041 * content selection pattern - do fix if pattern found
5043 tSCC zStrict_Ansi_OnlySelect0[] =
5044 "^([ \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)";
5047 * perform the C function call test
5049 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
5051 #define STRICT_ANSI_ONLY_TEST_CT 2
5052 static tTestDesc aStrict_Ansi_OnlyTests[] = {
5053 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
5054 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
5057 * Fix Command Arguments for Strict_Ansi_Only
5059 static const char* apzStrict_Ansi_OnlyPatch[] = {
5061 "%1 defined(__STRICT_ANSI__)",
5064 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5066 * Description of Struct_File fix
5068 tSCC zStruct_FileName[] =
5072 * File name selection pattern
5074 tSCC zStruct_FileList[] =
5077 * Machine/OS name selection pattern
5079 #define apzStruct_FileMachs (const char**)NULL
5082 * content selection pattern - do fix if pattern found
5084 tSCC zStruct_FileSelect0[] =
5085 "^.*xdrstdio_create.*struct __file_s";
5087 #define STRUCT_FILE_TEST_CT 1
5088 static tTestDesc aStruct_FileTests[] = {
5089 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
5092 * Fix Command Arguments for Struct_File
5094 static const char* apzStruct_FilePatch[] = {
5096 "struct __file_s;\n\
5100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5102 * Description of Struct_Sockaddr fix
5104 tSCC zStruct_SockaddrName[] =
5108 * File name selection pattern
5110 tSCC zStruct_SockaddrList[] =
5113 * Machine/OS name selection pattern
5115 #define apzStruct_SockaddrMachs (const char**)NULL
5118 * content selection pattern - do fix if pattern found
5120 tSCC zStruct_SockaddrSelect0[] =
5121 "^.*authdes_create.*struct sockaddr[^_]";
5124 * content bypass pattern - skip fix if pattern found
5126 tSCC zStruct_SockaddrBypass0[] =
5128 tSCC zStruct_SockaddrBypass1[] =
5129 "struct sockaddr;\n";
5131 #define STRUCT_SOCKADDR_TEST_CT 3
5132 static tTestDesc aStruct_SockaddrTests[] = {
5133 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
5134 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
5135 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
5138 * Fix Command Arguments for Struct_Sockaddr
5140 static const char* apzStruct_SockaddrPatch[] = {
5142 "struct sockaddr;\n\
5146 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5148 * Description of Sun_Auth_Proto fix
5150 tSCC zSun_Auth_ProtoName[] =
5154 * File name selection pattern
5156 tSCC zSun_Auth_ProtoList[] =
5157 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
5159 * Machine/OS name selection pattern
5161 #define apzSun_Auth_ProtoMachs (const char**)NULL
5164 * content selection pattern - do fix if pattern found
5166 tSCC zSun_Auth_ProtoSelect0[] =
5167 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
5170 * content bypass pattern - skip fix if pattern found
5172 tSCC zSun_Auth_ProtoBypass0[] =
5175 #define SUN_AUTH_PROTO_TEST_CT 2
5176 static tTestDesc aSun_Auth_ProtoTests[] = {
5177 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
5178 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
5181 * Fix Command Arguments for Sun_Auth_Proto
5183 static const char* apzSun_Auth_ProtoPatch[] = {
5185 "#ifdef __cplusplus\n\
5190 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
5193 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5195 * Description of Sun_Bogus_Ifdef fix
5197 tSCC zSun_Bogus_IfdefName[] =
5201 * File name selection pattern
5203 tSCC zSun_Bogus_IfdefList[] =
5204 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
5206 * Machine/OS name selection pattern
5208 #define apzSun_Bogus_IfdefMachs (const char**)NULL
5211 * content selection pattern - do fix if pattern found
5213 tSCC zSun_Bogus_IfdefSelect0[] =
5214 "#ifdef(.*\\|\\|.*)";
5216 #define SUN_BOGUS_IFDEF_TEST_CT 1
5217 static tTestDesc aSun_Bogus_IfdefTests[] = {
5218 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
5221 * Fix Command Arguments for Sun_Bogus_Ifdef
5223 static const char* apzSun_Bogus_IfdefPatch[] = {
5228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5230 * Description of Sun_Catmacro fix
5232 tSCC zSun_CatmacroName[] =
5236 * File name selection pattern
5238 tSCC zSun_CatmacroList[] =
5239 "|pixrect/memvar.h|";
5241 * Machine/OS name selection pattern
5243 #define apzSun_CatmacroMachs (const char**)NULL
5246 * content selection pattern - do fix if pattern found
5248 tSCC zSun_CatmacroSelect0[] =
5249 "^#define[ \t]+CAT\\(a,b\\).*";
5251 #define SUN_CATMACRO_TEST_CT 1
5252 static tTestDesc aSun_CatmacroTests[] = {
5253 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
5256 * Fix Command Arguments for Sun_Catmacro
5258 static const char* apzSun_CatmacroPatch[] = {
5261 # define CAT(a,b) a##b\n\
5267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5269 * Description of Sun_Malloc fix
5271 tSCC zSun_MallocName[] =
5275 * File name selection pattern
5277 tSCC zSun_MallocList[] =
5280 * Machine/OS name selection pattern
5282 #define apzSun_MallocMachs (const char**)NULL
5285 * content bypass pattern - skip fix if pattern found
5287 tSCC zSun_MallocBypass0[] =
5288 "_CLASSIC_ANSI_TYPES";
5290 #define SUN_MALLOC_TEST_CT 1
5291 static tTestDesc aSun_MallocTests[] = {
5292 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
5295 * Fix Command Arguments for Sun_Malloc
5297 static const char* apzSun_MallocPatch[] = { "sed",
5298 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
5299 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
5300 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
5301 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
5302 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
5305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5307 * Description of Sun_Rusers_Semi fix
5309 tSCC zSun_Rusers_SemiName[] =
5313 * File name selection pattern
5315 tSCC zSun_Rusers_SemiList[] =
5316 "|rpcsvc/rusers.h|";
5318 * Machine/OS name selection pattern
5320 #define apzSun_Rusers_SemiMachs (const char**)NULL
5323 * content selection pattern - do fix if pattern found
5325 tSCC zSun_Rusers_SemiSelect0[] =
5328 #define SUN_RUSERS_SEMI_TEST_CT 1
5329 static tTestDesc aSun_Rusers_SemiTests[] = {
5330 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
5333 * Fix Command Arguments for Sun_Rusers_Semi
5335 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
5336 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
5339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5341 * Description of Sun_Signal fix
5343 tSCC zSun_SignalName[] =
5347 * File name selection pattern
5349 tSCC zSun_SignalList[] =
5350 "|sys/signal.h|signal.h|";
5352 * Machine/OS name selection pattern
5354 #define apzSun_SignalMachs (const char**)NULL
5357 * content selection pattern - do fix if pattern found
5359 tSCC zSun_SignalSelect0[] =
5360 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
5362 #define SUN_SIGNAL_TEST_CT 1
5363 static tTestDesc aSun_SignalTests[] = {
5364 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
5367 * Fix Command Arguments for Sun_Signal
5369 static const char* apzSun_SignalPatch[] = {
5371 "#ifdef __cplusplus\n\
5372 void\t(*signal(...))(...);\n\
5378 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5380 * Description of Sunos_Strlen fix
5382 tSCC zSunos_StrlenName[] =
5386 * File name selection pattern
5388 tSCC zSunos_StrlenList[] =
5391 * Machine/OS name selection pattern
5393 #define apzSunos_StrlenMachs (const char**)NULL
5396 * content selection pattern - do fix if pattern found
5398 tSCC zSunos_StrlenSelect0[] =
5399 "int[ \t]*strlen\\(\\);(.*)";
5401 #define SUNOS_STRLEN_TEST_CT 1
5402 static tTestDesc aSunos_StrlenTests[] = {
5403 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
5406 * Fix Command Arguments for Sunos_Strlen
5408 static const char* apzSunos_StrlenPatch[] = {
5410 "__SIZE_TYPE__ strlen();%1",
5413 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5415 * Description of Svr4_Disable_Opt fix
5417 tSCC zSvr4_Disable_OptName[] =
5421 * File name selection pattern
5423 tSCC zSvr4_Disable_OptList[] =
5426 * Machine/OS name selection pattern
5428 #define apzSvr4_Disable_OptMachs (const char**)NULL
5431 * content selection pattern - do fix if pattern found
5433 tSCC zSvr4_Disable_OptSelect0[] =
5434 "#define.*__std_hdr_";
5436 #define SVR4_DISABLE_OPT_TEST_CT 1
5437 static tTestDesc aSvr4_Disable_OptTests[] = {
5438 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
5441 * Fix Command Arguments for Svr4_Disable_Opt
5443 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
5444 "-e", "/#define.*__std_hdr_/d",
5447 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5449 * Description of Svr4_Getcwd fix
5451 tSCC zSvr4_GetcwdName[] =
5455 * File name selection pattern
5457 tSCC zSvr4_GetcwdList[] =
5458 "|stdlib.h|unistd.h|prototypes.h|";
5460 * Machine/OS name selection pattern
5462 #define apzSvr4_GetcwdMachs (const char**)NULL
5465 * content selection pattern - do fix if pattern found
5467 tSCC zSvr4_GetcwdSelect0[] =
5468 "getcwd\\(char \\*, int\\)";
5470 #define SVR4_GETCWD_TEST_CT 1
5471 static tTestDesc aSvr4_GetcwdTests[] = {
5472 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
5475 * Fix Command Arguments for Svr4_Getcwd
5477 static const char* apzSvr4_GetcwdPatch[] = {
5479 "getcwd(char *, size_t)",
5482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5484 * Description of Svr4_Krnl fix
5486 tSCC zSvr4_KrnlName[] =
5490 * File name selection pattern
5492 tSCC zSvr4_KrnlList[] =
5493 "|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|";
5495 * Machine/OS name selection pattern
5497 tSCC* apzSvr4_KrnlMachs[] = {
5499 "i?86-sequent-ptx*",
5500 (const char*)NULL };
5503 * content bypass pattern - skip fix if pattern found
5505 tSCC zSvr4_KrnlBypass0[] =
5508 #define SVR4_KRNL_TEST_CT 1
5509 static tTestDesc aSvr4_KrnlTests[] = {
5510 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
5513 * Fix Command Arguments for Svr4_Krnl
5515 static const char* apzSvr4_KrnlPatch[] = {
5518 "#endif /* _KERNEL */\n",
5521 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5523 * Description of Svr4_Profil fix
5525 tSCC zSvr4_ProfilName[] =
5529 * File name selection pattern
5531 tSCC zSvr4_ProfilList[] =
5532 "|stdlib.h|unistd.h|";
5534 * Machine/OS name selection pattern
5536 #define apzSvr4_ProfilMachs (const char**)NULL
5539 * content selection pattern - do fix if pattern found
5541 tSCC zSvr4_ProfilSelect0[] =
5542 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
5545 * content bypass pattern - skip fix if pattern found
5547 tSCC zSvr4_ProfilBypass0[] =
5550 #define SVR4_PROFIL_TEST_CT 2
5551 static tTestDesc aSvr4_ProfilTests[] = {
5552 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
5553 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
5556 * Fix Command Arguments for Svr4_Profil
5558 static const char* apzSvr4_ProfilPatch[] = {
5560 "profil(unsigned short *, size_t, int, unsigned int)",
5563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5565 * Description of Svr4_Sighandler_Type fix
5567 tSCC zSvr4_Sighandler_TypeName[] =
5568 "svr4_sighandler_type";
5571 * File name selection pattern
5573 tSCC zSvr4_Sighandler_TypeList[] =
5576 * Machine/OS name selection pattern
5578 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
5581 * content selection pattern - do fix if pattern found
5583 tSCC zSvr4_Sighandler_TypeSelect0[] =
5584 "void *\\(\\*\\)\\(\\)";
5586 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
5587 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
5588 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
5591 * Fix Command Arguments for Svr4_Sighandler_Type
5593 static const char* apzSvr4_Sighandler_TypePatch[] = {
5598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5600 * Description of Svr4_Undeclared_Getrnge fix
5602 tSCC zSvr4_Undeclared_GetrngeName[] =
5603 "svr4_undeclared_getrnge";
5606 * File name selection pattern
5608 tSCC zSvr4_Undeclared_GetrngeList[] =
5611 * Machine/OS name selection pattern
5613 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
5616 * content selection pattern - do fix if pattern found
5618 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
5622 * content bypass pattern - skip fix if pattern found
5624 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
5625 "static void getrnge";
5627 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
5628 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
5629 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
5630 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
5633 * Fix Command Arguments for Svr4_Undeclared_Getrnge
5635 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
5638 static int getrnge ();",
5639 "^static int[ \t]+size;",
5642 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5644 * Description of Sysv68_String fix
5646 tSCC zSysv68_StringName[] =
5650 * File name selection pattern
5652 tSCC zSysv68_StringList[] =
5653 "|testing.h|string.h|";
5655 * Machine/OS name selection pattern
5657 #define apzSysv68_StringMachs (const char**)NULL
5660 * content bypass pattern - skip fix if pattern found
5662 tSCC zSysv68_StringBypass0[] =
5663 "_CLASSIC_ANSI_TYPES";
5665 #define SYSV68_STRING_TEST_CT 1
5666 static tTestDesc aSysv68_StringTests[] = {
5667 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
5670 * Fix Command Arguments for Sysv68_String
5672 static const char* apzSysv68_StringPatch[] = { "sed",
5673 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
5674 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
5675 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
5676 "-e", "/^extern char$/N",
5677 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
5678 "-e", "/^extern int$/N",
5679 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
5680 "-e", "/^\tstrncmp(),$/N",
5681 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
5682 extern unsigned int\\\n\
5686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5688 * Description of Sysz_Stdlib_For_Sun fix
5690 tSCC zSysz_Stdlib_For_SunName[] =
5691 "sysz_stdlib_for_sun";
5694 * File name selection pattern
5696 tSCC zSysz_Stdlib_For_SunList[] =
5699 * Machine/OS name selection pattern
5701 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
5704 * content selection pattern - do fix if pattern found
5706 tSCC zSysz_Stdlib_For_SunSelect0[] =
5707 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
5710 * content bypass pattern - skip fix if pattern found
5712 tSCC zSysz_Stdlib_For_SunBypass0[] =
5713 "_CLASSIC_ANSI_TYPES";
5715 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
5716 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
5717 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
5718 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
5721 * Fix Command Arguments for Sysz_Stdlib_For_Sun
5723 static const char* apzSysz_Stdlib_For_SunPatch[] = {
5728 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5730 * Description of Thread_Keyword fix
5732 tSCC zThread_KeywordName[] =
5736 * File name selection pattern
5738 tSCC zThread_KeywordList[] =
5739 "|pthread.h|bits/sigthread.h|";
5741 * Machine/OS name selection pattern
5743 #define apzThread_KeywordMachs (const char**)NULL
5746 * content selection pattern - do fix if pattern found
5748 tSCC zThread_KeywordSelect0[] =
5749 "([* ])__thread([,)])";
5751 #define THREAD_KEYWORD_TEST_CT 1
5752 static tTestDesc aThread_KeywordTests[] = {
5753 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
5756 * Fix Command Arguments for Thread_Keyword
5758 static const char* apzThread_KeywordPatch[] = {
5763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5765 * Description of Tinfo_Cplusplus fix
5767 tSCC zTinfo_CplusplusName[] =
5771 * File name selection pattern
5773 tSCC zTinfo_CplusplusList[] =
5776 * Machine/OS name selection pattern
5778 #define apzTinfo_CplusplusMachs (const char**)NULL
5781 * content selection pattern - do fix if pattern found
5783 tSCC zTinfo_CplusplusSelect0[] =
5786 #define TINFO_CPLUSPLUS_TEST_CT 1
5787 static tTestDesc aTinfo_CplusplusTests[] = {
5788 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
5791 * Fix Command Arguments for Tinfo_Cplusplus
5793 static const char* apzTinfo_CplusplusPatch[] = {
5798 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5800 * Description of Ultrix_Atexit_Param fix
5802 tSCC zUltrix_Atexit_ParamName[] =
5803 "ultrix_atexit_param";
5806 * File name selection pattern
5808 tSCC zUltrix_Atexit_ParamList[] =
5811 * Machine/OS name selection pattern
5813 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
5816 * content selection pattern - do fix if pattern found
5818 tSCC zUltrix_Atexit_ParamSelect0[] =
5819 "atexit\\(.*\\(\\)";
5821 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
5822 static tTestDesc aUltrix_Atexit_ParamTests[] = {
5823 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
5826 * Fix Command Arguments for Ultrix_Atexit_Param
5828 static const char* apzUltrix_Atexit_ParamPatch[] = {
5830 "atexit( void (*__func)( void )",
5833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5835 * Description of Ultrix_Atof_Param fix
5837 tSCC zUltrix_Atof_ParamName[] =
5838 "ultrix_atof_param";
5841 * File name selection pattern
5843 tSCC zUltrix_Atof_ParamList[] =
5846 * Machine/OS name selection pattern
5848 #define apzUltrix_Atof_ParamMachs (const char**)NULL
5851 * content selection pattern - do fix if pattern found
5853 tSCC zUltrix_Atof_ParamSelect0[] =
5854 "atof\\([ \t]*char";
5856 #define ULTRIX_ATOF_PARAM_TEST_CT 1
5857 static tTestDesc aUltrix_Atof_ParamTests[] = {
5858 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
5861 * Fix Command Arguments for Ultrix_Atof_Param
5863 static const char* apzUltrix_Atof_ParamPatch[] = {
5868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5870 * Description of Ultrix_Const fix
5872 tSCC zUltrix_ConstName[] =
5876 * File name selection pattern
5878 tSCC zUltrix_ConstList[] =
5881 * Machine/OS name selection pattern
5883 #define apzUltrix_ConstMachs (const char**)NULL
5886 * content selection pattern - do fix if pattern found
5888 tSCC zUltrix_ConstSelect0[] =
5889 "perror\\( char \\*";
5891 #define ULTRIX_CONST_TEST_CT 1
5892 static tTestDesc aUltrix_ConstTests[] = {
5893 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
5896 * Fix Command Arguments for Ultrix_Const
5898 static const char* apzUltrix_ConstPatch[] = {
5901 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
5904 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5906 * Description of Ultrix_Const2 fix
5908 tSCC zUltrix_Const2Name[] =
5912 * File name selection pattern
5914 tSCC zUltrix_Const2List[] =
5917 * Machine/OS name selection pattern
5919 #define apzUltrix_Const2Machs (const char**)NULL
5922 * content selection pattern - do fix if pattern found
5924 tSCC zUltrix_Const2Select0[] =
5925 "\\*fopen\\( char \\*";
5927 #define ULTRIX_CONST2_TEST_CT 1
5928 static tTestDesc aUltrix_Const2Tests[] = {
5929 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
5932 * Fix Command Arguments for Ultrix_Const2
5934 static const char* apzUltrix_Const2Patch[] = {
5936 "%1( const char *%3, const char *",
5937 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
5940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5942 * Description of Ultrix_Const3 fix
5944 tSCC zUltrix_Const3Name[] =
5948 * File name selection pattern
5950 tSCC zUltrix_Const3List[] =
5953 * Machine/OS name selection pattern
5955 #define apzUltrix_Const3Machs (const char**)NULL
5958 * content selection pattern - do fix if pattern found
5960 tSCC zUltrix_Const3Select0[] =
5961 "fdopen\\( .*, char \\*";
5963 #define ULTRIX_CONST3_TEST_CT 1
5964 static tTestDesc aUltrix_Const3Tests[] = {
5965 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
5968 * Fix Command Arguments for Ultrix_Const3
5970 static const char* apzUltrix_Const3Patch[] = {
5973 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
5976 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5978 * Description of Ultrix_Fix_Fixproto fix
5980 tSCC zUltrix_Fix_FixprotoName[] =
5981 "ultrix_fix_fixproto";
5984 * File name selection pattern
5986 tSCC zUltrix_Fix_FixprotoList[] =
5989 * Machine/OS name selection pattern
5991 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
5994 * content selection pattern - do fix if pattern found
5996 tSCC zUltrix_Fix_FixprotoSelect0[] =
5999 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
6000 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
6001 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
6004 * Fix Command Arguments for Ultrix_Fix_Fixproto
6006 static const char* apzUltrix_Fix_FixprotoPatch[] = {
6010 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
6013 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6015 * Description of Ultrix_Ifdef fix
6017 tSCC zUltrix_IfdefName[] =
6021 * File name selection pattern
6023 tSCC zUltrix_IfdefList[] =
6026 * Machine/OS name selection pattern
6028 #define apzUltrix_IfdefMachs (const char**)NULL
6031 * content selection pattern - do fix if pattern found
6033 tSCC zUltrix_IfdefSelect0[] =
6034 "^#ifdef KERNEL[ \t]+&&";
6036 #define ULTRIX_IFDEF_TEST_CT 1
6037 static tTestDesc aUltrix_IfdefTests[] = {
6038 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
6041 * Fix Command Arguments for Ultrix_Ifdef
6043 static const char* apzUltrix_IfdefPatch[] = {
6045 "#if defined(KERNEL) &&",
6048 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6050 * Description of Ultrix_Locale fix
6052 tSCC zUltrix_LocaleName[] =
6056 * File name selection pattern
6058 tSCC zUltrix_LocaleList[] =
6061 * Machine/OS name selection pattern
6063 #define apzUltrix_LocaleMachs (const char**)NULL
6066 * content selection pattern - do fix if pattern found
6068 tSCC zUltrix_LocaleSelect0[] =
6069 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
6071 #define ULTRIX_LOCALE_TEST_CT 1
6072 static tTestDesc aUltrix_LocaleTests[] = {
6073 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
6076 * Fix Command Arguments for Ultrix_Locale
6078 static const char* apzUltrix_LocalePatch[] = {
6082 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6084 * Description of Ultrix_Math_Ifdef fix
6086 tSCC zUltrix_Math_IfdefName[] =
6087 "ultrix_math_ifdef";
6090 * File name selection pattern
6092 tSCC zUltrix_Math_IfdefList[] =
6093 "|sys/limits.h|float.h|math.h|";
6095 * Machine/OS name selection pattern
6097 #define apzUltrix_Math_IfdefMachs (const char**)NULL
6100 * content selection pattern - do fix if pattern found
6102 tSCC zUltrix_Math_IfdefSelect0[] =
6103 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
6105 #define ULTRIX_MATH_IFDEF_TEST_CT 1
6106 static tTestDesc aUltrix_Math_IfdefTests[] = {
6107 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
6110 * Fix Command Arguments for Ultrix_Math_Ifdef
6112 static const char* apzUltrix_Math_IfdefPatch[] = {
6117 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6119 * Description of Ultrix_Nested_Ioctl fix
6121 tSCC zUltrix_Nested_IoctlName[] =
6122 "ultrix_nested_ioctl";
6125 * File name selection pattern
6127 tSCC zUltrix_Nested_IoctlList[] =
6130 * Machine/OS name selection pattern
6132 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
6135 * content selection pattern - do fix if pattern found
6137 tSCC zUltrix_Nested_IoctlSelect0[] =
6138 "^/\\* #define SIOCSCREEN";
6140 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
6141 static tTestDesc aUltrix_Nested_IoctlTests[] = {
6142 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
6145 * Fix Command Arguments for Ultrix_Nested_Ioctl
6147 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
6148 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
6151 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6153 * Description of Ultrix_Nested_Svc fix
6155 tSCC zUltrix_Nested_SvcName[] =
6156 "ultrix_nested_svc";
6159 * File name selection pattern
6161 tSCC zUltrix_Nested_SvcList[] =
6164 * Machine/OS name selection pattern
6166 #define apzUltrix_Nested_SvcMachs (const char**)NULL
6169 * content selection pattern - do fix if pattern found
6171 tSCC zUltrix_Nested_SvcSelect0[] =
6172 "^ \\*[ \t]*int protocol; */\\*";
6174 #define ULTRIX_NESTED_SVC_TEST_CT 1
6175 static tTestDesc aUltrix_Nested_SvcTests[] = {
6176 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
6179 * Fix Command Arguments for Ultrix_Nested_Svc
6181 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
6182 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
6185 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6187 * Description of Ultrix_Stat fix
6189 tSCC zUltrix_StatName[] =
6193 * File name selection pattern
6195 tSCC zUltrix_StatList[] =
6198 * Machine/OS name selection pattern
6200 #define apzUltrix_StatMachs (const char**)NULL
6203 * content selection pattern - do fix if pattern found
6205 tSCC zUltrix_StatSelect0[] =
6206 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
6208 #define ULTRIX_STAT_TEST_CT 1
6209 static tTestDesc aUltrix_StatTests[] = {
6210 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
6213 * Fix Command Arguments for Ultrix_Stat
6215 static const char* apzUltrix_StatPatch[] = { "sed",
6216 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
6218 /* macro to test for symbolic link */\\\n\
6219 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
6220 "-e", "/^[ \t]*fstat(),$/a\\\n\
6224 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6226 * Description of Ultrix_Static fix
6228 tSCC zUltrix_StaticName[] =
6232 * File name selection pattern
6234 tSCC zUltrix_StaticList[] =
6237 * Machine/OS name selection pattern
6239 #define apzUltrix_StaticMachs (const char**)NULL
6242 * content selection pattern - do fix if pattern found
6244 tSCC zUltrix_StaticSelect0[] =
6245 "#include \"r[34]_cpu";
6247 #define ULTRIX_STATIC_TEST_CT 1
6248 static tTestDesc aUltrix_StaticTests[] = {
6249 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
6252 * Fix Command Arguments for Ultrix_Static
6254 static const char* apzUltrix_StaticPatch[] = { "sed",
6255 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
6256 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
6257 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
6260 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6262 * Description of Ultrix_Stdlib fix
6264 tSCC zUltrix_StdlibName[] =
6268 * File name selection pattern
6270 tSCC zUltrix_StdlibList[] =
6273 * Machine/OS name selection pattern
6275 #define apzUltrix_StdlibMachs (const char**)NULL
6278 * content selection pattern - do fix if pattern found
6280 tSCC zUltrix_StdlibSelect0[] =
6281 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
6283 #define ULTRIX_STDLIB_TEST_CT 1
6284 static tTestDesc aUltrix_StdlibTests[] = {
6285 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
6288 * Fix Command Arguments for Ultrix_Stdlib
6290 static const char* apzUltrix_StdlibPatch[] = { "sed",
6291 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
6292 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
6293 void\t\tunsetenv( const char *__name );\\\n\
6294 int\t\tputenv( char *__s );\n",
6295 "-e", "/^char.*getenv();.*$/a\\\n\
6297 void\tunsetenv();\\\n\
6301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6303 * Description of Ultrix_Strings fix
6305 tSCC zUltrix_StringsName[] =
6309 * File name selection pattern
6311 tSCC zUltrix_StringsList[] =
6314 * Machine/OS name selection pattern
6316 #define apzUltrix_StringsMachs (const char**)NULL
6319 * content selection pattern - do fix if pattern found
6321 tSCC zUltrix_StringsSelect0[] =
6322 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
6324 #define ULTRIX_STRINGS_TEST_CT 1
6325 static tTestDesc aUltrix_StringsTests[] = {
6326 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
6329 * Fix Command Arguments for Ultrix_Strings
6331 static const char* apzUltrix_StringsPatch[] = {
6335 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6337 * Description of Ultrix_Strings2 fix
6339 tSCC zUltrix_Strings2Name[] =
6343 * File name selection pattern
6345 tSCC zUltrix_Strings2List[] =
6348 * Machine/OS name selection pattern
6350 #define apzUltrix_Strings2Machs (const char**)NULL
6353 * content selection pattern - do fix if pattern found
6355 tSCC zUltrix_Strings2Select0[] =
6356 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
6358 #define ULTRIX_STRINGS2_TEST_CT 1
6359 static tTestDesc aUltrix_Strings2Tests[] = {
6360 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
6363 * Fix Command Arguments for Ultrix_Strings2
6365 static const char* apzUltrix_Strings2Patch[] = { "sed",
6366 "-e", "/^.*strncmp( const .* );.*/a\\\n\
6369 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
6370 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
6371 "-e", "/^.*strncmp();.*/a\\\n\
6373 \tstrcasecmp(),\\\n\
6374 \tstrncasecmp();\n",
6377 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6379 * Description of Ultrix_Sys_Time fix
6381 tSCC zUltrix_Sys_TimeName[] =
6385 * File name selection pattern
6387 tSCC zUltrix_Sys_TimeList[] =
6390 * Machine/OS name selection pattern
6392 #define apzUltrix_Sys_TimeMachs (const char**)NULL
6395 * content selection pattern - do fix if pattern found
6397 tSCC zUltrix_Sys_TimeSelect0[] =
6398 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
6400 #define ULTRIX_SYS_TIME_TEST_CT 1
6401 static tTestDesc aUltrix_Sys_TimeTests[] = {
6402 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
6405 * Fix Command Arguments for Ultrix_Sys_Time
6407 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
6408 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
6410 extern int adjtime(struct timeval *, struct timeval *);\\\n\
6411 extern int getitimer(int, struct itimerval *);\\\n\
6412 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
6413 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
6414 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
6415 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
6416 extern int stime(const time_t *);\\\n\
6417 extern int utimes(const char *, const struct timeval[2]);\\\n\
6418 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
6419 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
6420 extern\tint adjtime();\\\n\
6421 extern\tint getitimer();\\\n\
6422 extern\tint setitimer();\\\n\
6423 extern\tint gettimeofday();\\\n\
6424 extern\tint settimeofday();\\\n\
6425 extern\tvoid profil();\\\n\
6426 extern\tint stime();\\\n\
6427 extern\tint utimes();\\\n\
6428 extern\tint select();\n",
6431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6433 * Description of Ultrix_Unistd fix
6435 tSCC zUltrix_UnistdName[] =
6439 * File name selection pattern
6441 tSCC zUltrix_UnistdList[] =
6444 * Machine/OS name selection pattern
6446 #define apzUltrix_UnistdMachs (const char**)NULL
6449 * content selection pattern - do fix if pattern found
6451 tSCC zUltrix_UnistdSelect0[] =
6452 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
6454 #define ULTRIX_UNISTD_TEST_CT 1
6455 static tTestDesc aUltrix_UnistdTests[] = {
6456 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
6459 * Fix Command Arguments for Ultrix_Unistd
6461 static const char* apzUltrix_UnistdPatch[] = { "sed",
6462 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
6463 \tgetpagesize(),\n",
6464 "-e", "/^[ \t]*fork(),.*$/a\\\n\
6468 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6470 * Description of Unicosmk_Restrict fix
6472 tSCC zUnicosmk_RestrictName[] =
6473 "unicosmk_restrict";
6476 * File name selection pattern
6478 tSCC zUnicosmk_RestrictList[] =
6479 "|stdio.h|stdlib.h|wchar.h|";
6481 * Machine/OS name selection pattern
6483 tSCC* apzUnicosmk_RestrictMachs[] = {
6485 (const char*)NULL };
6488 * content selection pattern - do fix if pattern found
6490 tSCC zUnicosmk_RestrictSelect0[] =
6491 "(\\*[ \t]*)restrict([ \t]+)";
6493 #define UNICOSMK_RESTRICT_TEST_CT 1
6494 static tTestDesc aUnicosmk_RestrictTests[] = {
6495 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
6498 * Fix Command Arguments for Unicosmk_Restrict
6500 static const char* apzUnicosmk_RestrictPatch[] = {
6505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6507 * Description of Uw7_Byteorder_Fix fix
6509 tSCC zUw7_Byteorder_FixName[] =
6510 "uw7_byteorder_fix";
6513 * File name selection pattern
6515 tSCC zUw7_Byteorder_FixList[] =
6518 * Machine/OS name selection pattern
6520 tSCC* apzUw7_Byteorder_FixMachs[] = {
6524 "i?86-*-solaris2.[0-4]",
6525 "powerpcle-*-solaris2.[0-4]",
6526 "sparc-*-solaris2.[0-4]",
6527 (const char*)NULL };
6530 * content selection pattern - do fix if pattern found
6532 tSCC zUw7_Byteorder_FixSelect0[] =
6536 * perform the 'test' shell command - do fix on success
6538 tSCC zUw7_Byteorder_FixTest0[] =
6539 "-f sys/byteorder.h";
6541 #define UW7_BYTEORDER_FIX_TEST_CT 2
6542 static tTestDesc aUw7_Byteorder_FixTests[] = {
6543 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
6544 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
6547 * Fix Command Arguments for Uw7_Byteorder_Fix
6549 static const char* apzUw7_Byteorder_FixPatch[] = {
6552 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
6555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6557 * Description of Va_I960_Macro fix
6559 tSCC zVa_I960_MacroName[] =
6563 * File name selection pattern
6565 tSCC zVa_I960_MacroList[] =
6566 "|arch/i960/archI960.h|";
6568 * Machine/OS name selection pattern
6570 #define apzVa_I960_MacroMachs (const char**)NULL
6573 * content selection pattern - do fix if pattern found
6575 tSCC zVa_I960_MacroSelect0[] =
6576 "__(vsiz|vali|vpad|alignof__)";
6578 #define VA_I960_MACRO_TEST_CT 1
6579 static tTestDesc aVa_I960_MacroTests[] = {
6580 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
6583 * Fix Command Arguments for Va_I960_Macro
6585 static const char* apzVa_I960_MacroPatch[] = {
6590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6592 * Description of Void_Null fix
6594 tSCC zVoid_NullName[] =
6598 * File name selection pattern
6600 tSCC zVoid_NullList[] =
6601 "|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|";
6603 * Machine/OS name selection pattern
6605 #define apzVoid_NullMachs (const char**)NULL
6608 * content selection pattern - do fix if pattern found
6610 tSCC zVoid_NullSelect0[] =
6611 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
6614 * content bypass pattern - skip fix if pattern found
6616 tSCC zVoid_NullBypass0[] =
6619 #define VOID_NULL_TEST_CT 2
6620 static tTestDesc aVoid_NullTests[] = {
6621 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
6622 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
6625 * Fix Command Arguments for Void_Null
6627 static const char* apzVoid_NullPatch[] = {
6632 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6634 * Description of Vxworks_Gcc_Problem fix
6636 tSCC zVxworks_Gcc_ProblemName[] =
6637 "vxworks_gcc_problem";
6640 * File name selection pattern
6642 tSCC zVxworks_Gcc_ProblemList[] =
6643 "|types/vxTypesBase.h|";
6645 * Machine/OS name selection pattern
6647 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
6650 * content selection pattern - do fix if pattern found
6652 tSCC zVxworks_Gcc_ProblemSelect0[] =
6653 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
6655 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
6656 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
6657 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
6660 * Fix Command Arguments for Vxworks_Gcc_Problem
6662 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
6663 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
6664 "-e", "/[ \t]size_t/i\\\n\
6665 #ifndef _GCC_SIZE_T\\\n\
6666 #define _GCC_SIZE_T\n",
6667 "-e", "/[ \t]size_t/a\\\n\
6669 "-e", "/[ \t]ptrdiff_t/i\\\n\
6670 #ifndef _GCC_PTRDIFF_T\\\n\
6671 #define _GCC_PTRDIFF_T\n",
6672 "-e", "/[ \t]ptrdiff_t/a\\\n\
6674 "-e", "/[ \t]wchar_t/i\\\n\
6675 #ifndef _GCC_WCHAR_T\\\n\
6676 #define _GCC_WCHAR_T\n",
6677 "-e", "/[ \t]wchar_t/a\\\n\
6681 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6683 * Description of Vxworks_Needs_Vxtypes fix
6685 tSCC zVxworks_Needs_VxtypesName[] =
6686 "vxworks_needs_vxtypes";
6689 * File name selection pattern
6691 tSCC zVxworks_Needs_VxtypesList[] =
6694 * Machine/OS name selection pattern
6696 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
6699 * content selection pattern - do fix if pattern found
6701 tSCC zVxworks_Needs_VxtypesSelect0[] =
6702 "uint_t([ \t]+_clocks_per_sec)";
6704 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
6705 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
6706 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
6709 * Fix Command Arguments for Vxworks_Needs_Vxtypes
6711 static const char* apzVxworks_Needs_VxtypesPatch[] = {
6716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6718 * Description of Vxworks_Needs_Vxworks fix
6720 tSCC zVxworks_Needs_VxworksName[] =
6721 "vxworks_needs_vxworks";
6724 * File name selection pattern
6726 tSCC zVxworks_Needs_VxworksList[] =
6729 * Machine/OS name selection pattern
6731 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
6734 * content selection pattern - do fix if pattern found
6736 tSCC zVxworks_Needs_VxworksSelect0[] =
6737 "#[ \t]define[ \t]+__INCstath";
6740 * perform the 'test' shell command - do fix on success
6742 tSCC zVxworks_Needs_VxworksTest0[] =
6743 " -r types/vxTypesOld.h";
6744 tSCC zVxworks_Needs_VxworksTest1[] =
6745 " -n \"`egrep '#include' $file`\"";
6746 tSCC zVxworks_Needs_VxworksTest2[] =
6747 " -n \"`egrep ULONG $file`\"";
6749 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
6750 static tTestDesc aVxworks_Needs_VxworksTests[] = {
6751 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
6752 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
6753 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
6754 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
6757 * Fix Command Arguments for Vxworks_Needs_Vxworks
6759 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
6760 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
6761 #include <types/vxTypesOld.h>\n",
6764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6766 * Description of Vxworks_Time fix
6768 tSCC zVxworks_TimeName[] =
6772 * File name selection pattern
6774 tSCC zVxworks_TimeList[] =
6777 * Machine/OS name selection pattern
6779 #define apzVxworks_TimeMachs (const char**)NULL
6782 * content selection pattern - do fix if pattern found
6784 tSCC zVxworks_TimeSelect0[] =
6785 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
6788 * perform the 'test' shell command - do fix on success
6790 tSCC zVxworks_TimeTest0[] =
6793 #define VXWORKS_TIME_TEST_CT 2
6794 static tTestDesc aVxworks_TimeTests[] = {
6795 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
6796 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
6799 * Fix Command Arguments for Vxworks_Time
6801 static const char* apzVxworks_TimePatch[] = {
6803 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
6804 #ifdef __cplusplus\n\
6805 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
6807 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
6809 #define __gcc_VOIDFUNCPTR_defined\n\
6811 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
6814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6816 * Description of Windiss_Math1 fix
6818 tSCC zWindiss_Math1Name[] =
6822 * File name selection pattern
6824 tSCC zWindiss_Math1List[] =
6827 * Machine/OS name selection pattern
6829 tSCC* apzWindiss_Math1Machs[] = {
6831 (const char*)NULL };
6832 #define WINDISS_MATH1_TEST_CT 0
6833 #define aWindiss_Math1Tests (tTestDesc*)NULL
6836 * Fix Command Arguments for Windiss_Math1
6838 static const char* apzWindiss_Math1Patch[] = { "sed",
6839 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
6842 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6844 * Description of Windiss_Math2 fix
6846 tSCC zWindiss_Math2Name[] =
6850 * File name selection pattern
6852 tSCC zWindiss_Math2List[] =
6855 * Machine/OS name selection pattern
6857 tSCC* apzWindiss_Math2Machs[] = {
6859 (const char*)NULL };
6860 #define WINDISS_MATH2_TEST_CT 0
6861 #define aWindiss_Math2Tests (tTestDesc*)NULL
6864 * Fix Command Arguments for Windiss_Math2
6866 static const char* apzWindiss_Math2Patch[] = { "sed",
6867 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
6870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6872 * Description of Windiss_Valist fix
6874 tSCC zWindiss_ValistName[] =
6878 * File name selection pattern
6880 #define zWindiss_ValistList (char*)NULL
6882 * Machine/OS name selection pattern
6884 tSCC* apzWindiss_ValistMachs[] = {
6886 (const char*)NULL };
6889 * content selection pattern - do fix if pattern found
6891 tSCC zWindiss_ValistSelect0[] =
6892 "(#include.*)diab/va_list.h";
6894 #define WINDISS_VALIST_TEST_CT 1
6895 static tTestDesc aWindiss_ValistTests[] = {
6896 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
6899 * Fix Command Arguments for Windiss_Valist
6901 static const char* apzWindiss_ValistPatch[] = { "sed",
6902 "-e", "s|diab/va_list.h|stdarg.h|",
6905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6907 * Description of X11_Class fix
6909 tSCC zX11_ClassName[] =
6913 * File name selection pattern
6915 tSCC zX11_ClassList[] =
6918 * Machine/OS name selection pattern
6920 #define apzX11_ClassMachs (const char**)NULL
6923 * content selection pattern - do fix if pattern found
6925 tSCC zX11_ClassSelect0[] =
6926 "^([ \t]*char \\*)class;(.*)";
6929 * content bypass pattern - skip fix if pattern found
6931 tSCC zX11_ClassBypass0[] =
6934 #define X11_CLASS_TEST_CT 2
6935 static tTestDesc aX11_ClassTests[] = {
6936 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
6937 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
6940 * Fix Command Arguments for X11_Class
6942 static const char* apzX11_ClassPatch[] = {
6944 "#ifdef __cplusplus\n\
6951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6953 * Description of X11_Class_Usage fix
6955 tSCC zX11_Class_UsageName[] =
6959 * File name selection pattern
6961 tSCC zX11_Class_UsageList[] =
6962 "|Xm/BaseClassI.h|";
6964 * Machine/OS name selection pattern
6966 #define apzX11_Class_UsageMachs (const char**)NULL
6969 * content selection pattern - do fix if pattern found
6971 tSCC zX11_Class_UsageSelect0[] =
6975 * content bypass pattern - skip fix if pattern found
6977 tSCC zX11_Class_UsageBypass0[] =
6980 #define X11_CLASS_USAGE_TEST_CT 2
6981 static tTestDesc aX11_Class_UsageTests[] = {
6982 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
6983 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
6986 * Fix Command Arguments for X11_Class_Usage
6988 static const char* apzX11_Class_UsagePatch[] = {
6993 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6995 * Description of X11_New fix
6997 tSCC zX11_NewName[] =
7001 * File name selection pattern
7003 tSCC zX11_NewList[] =
7006 * Machine/OS name selection pattern
7008 #define apzX11_NewMachs (const char**)NULL
7011 * content bypass pattern - skip fix if pattern found
7013 tSCC zX11_NewBypass0[] =
7016 #define X11_NEW_TEST_CT 1
7017 static tTestDesc aX11_NewTests[] = {
7018 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
7021 * Fix Command Arguments for X11_New
7023 static const char* apzX11_NewPatch[] = { "sed",
7024 "-e", "/Widget\told, new;/i\\\n\
7025 #ifdef __cplusplus\\\n\
7026 \tWidget\told, c_new;\\\n\
7028 "-e", "/Widget\told, new;/a\\\n\
7030 "-e", "s/Widget new,/Widget c_new,/g",
7033 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7035 * Description of X11_Sprintf fix
7037 tSCC zX11_SprintfName[] =
7041 * File name selection pattern
7043 tSCC zX11_SprintfList[] =
7044 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
7046 * Machine/OS name selection pattern
7048 #define apzX11_SprintfMachs (const char**)NULL
7051 * content selection pattern - do fix if pattern found
7053 tSCC zX11_SprintfSelect0[] =
7054 "^extern char \\*\tsprintf\\(\\);$";
7056 #define X11_SPRINTF_TEST_CT 1
7057 static tTestDesc aX11_SprintfTests[] = {
7058 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
7061 * Fix Command Arguments for X11_Sprintf
7063 static const char* apzX11_SprintfPatch[] = {
7065 "#ifndef __STDC__\n\
7067 #endif /* !defined __STDC__ */",
7071 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7075 #define REGEX_COUNT 206
7076 #define MACH_LIST_SIZE_LIMIT 261
7077 #define FIX_COUNT 177
7080 * Enumerate the fixes
7083 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
7084 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
7085 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
7086 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
7087 AAB_SUN_MEMCPY_FIXIDX,
7088 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
7089 AAB_ULTRIX_LIMITS_FIXIDX,
7090 AAB_ULTRIX_MEMORY_FIXIDX,
7091 AAB_ULTRIX_STRING_FIXIDX,
7093 AIX_SYSMACHINE_FIXIDX,
7095 AIX_SYSWAIT_2_FIXIDX,
7096 AIX_VOLATILE_FIXIDX,
7097 ALPHA___ASSERT_FIXIDX,
7098 ALPHA___EXTERN_PREFIX_FIXIDX,
7099 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
7100 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
7101 ALPHA_ASSERT_FIXIDX,
7102 ALPHA_BAD_LVAL_FIXIDX,
7103 ALPHA_GETOPT_FIXIDX,
7104 ALPHA_PARENS_FIXIDX,
7105 ALPHA_PTHREAD_FIXIDX,
7106 ALPHA_PTHREAD_GCC_FIXIDX,
7107 ALPHA_PTHREAD_INIT_FIXIDX,
7110 AVOID_BOOL_DEFINE_FIXIDX,
7111 AVOID_BOOL_TYPE_FIXIDX,
7112 AVOID_WCHAR_T_TYPE_FIXIDX,
7113 BAD_STRUCT_TERM_FIXIDX,
7115 BROKEN_ASSERT_STDIO_FIXIDX,
7116 BROKEN_ASSERT_STDLIB_FIXIDX,
7118 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
7119 CTRL_QUOTES_DEF_FIXIDX,
7120 CTRL_QUOTES_USE_FIXIDX,
7122 DARWIN_GCC4_BREAKAGE_FIXIDX,
7123 DARWIN_PRIVATE_EXTERN_FIXIDX,
7124 DEC_INTERN_ASM_FIXIDX,
7125 DJGPP_WCHAR_H_FIXIDX,
7127 EXCEPTION_STRUCTURE_FIXIDX,
7128 FREEBSD_GCC3_BREAKAGE_FIXIDX,
7129 FREEBSD_GCC4_BREAKAGE_FIXIDX,
7133 HPUX10_CPP_POW_INLINE_FIXIDX,
7134 HPUX11_CPP_POW_INLINE_FIXIDX,
7135 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
7136 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
7137 HPUX10_STDIO_DECLARATIONS_FIXIDX,
7139 HPUX11_FABSF_FIXIDX,
7140 HPUX11_SIZE_T_FIXIDX,
7141 HPUX11_SNPRINTF_FIXIDX,
7142 HPUX11_UINT32_C_FIXIDX,
7143 HPUX11_VSNPRINTF_FIXIDX,
7144 HPUX8_BOGUS_INLINES_FIXIDX,
7145 HPUX_CTYPE_MACROS_FIXIDX,
7146 HPUX_LONG_DOUBLE_FIXIDX,
7147 HPUX_SYSTIME_FIXIDX,
7148 INT_ABORT_FREE_AND_EXIT_FIXIDX,
7149 IO_QUOTES_DEF_FIXIDX,
7150 IO_QUOTES_USE_FIXIDX,
7151 IP_MISSING_SEMI_FIXIDX,
7152 IRIX___RESTRICT_FIXIDX,
7153 IRIX___GENERIC1_FIXIDX,
7154 IRIX___GENERIC2_FIXIDX,
7155 IRIX_ASM_APOSTROPHE_FIXIDX,
7156 IRIX_LIMITS_CONST_FIXIDX,
7157 IRIX_SOCKLEN_T_FIXIDX,
7158 IRIX_STDIO_VA_LIST_FIXIDX,
7159 IRIX_WCSFTIME_FIXIDX,
7161 ISC_OMITS_WITH_STDC_FIXIDX,
7162 KANDR_CONCAT_FIXIDX,
7163 LIBC1_G_VA_LIST_FIXIDX,
7164 LIBC1_IFDEFD_MEMX_FIXIDX,
7165 LINUX_IA64_UCONTEXT_FIXIDX,
7166 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
7167 LYNXOS_MISSING_PUTENV_FIXIDX,
7168 MACHINE_ANSI_H_VA_LIST_FIXIDX,
7169 MACHINE_NAME_FIXIDX,
7170 MATH_EXCEPTION_FIXIDX,
7171 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
7172 NESTED_AUTH_DES_FIXIDX,
7173 NESTED_MOTOROLA_FIXIDX,
7174 NESTED_SYS_LIMITS_FIXIDX,
7175 NETBSD_EXTRA_SEMICOLON_FIXIDX,
7176 NEXT_MATH_PREFIX_FIXIDX,
7177 NEXT_TEMPLATE_FIXIDX,
7178 NEXT_VOLITILE_FIXIDX,
7179 NEXT_WAIT_UNION_FIXIDX,
7180 NODEENT_SYNTAX_FIXIDX,
7181 OBSTACK_LVALUE_CAST_FIXIDX,
7182 OSF_NAMESPACE_A_FIXIDX,
7183 OSF_NAMESPACE_C_FIXIDX,
7184 PTHREAD_PAGE_SIZE_FIXIDX,
7185 READ_RET_TYPE_FIXIDX,
7186 RPC_XDR_LVALUE_CAST_A_FIXIDX,
7187 RPC_XDR_LVALUE_CAST_B_FIXIDX,
7188 RS6000_DOUBLE_FIXIDX,
7189 RS6000_FCHMOD_FIXIDX,
7190 RS6000_PARAM_FIXIDX,
7193 SCO_STATIC_FUNC_FIXIDX,
7195 SOLARIS_MUTEX_INIT_1_FIXIDX,
7196 SOLARIS_MUTEX_INIT_2_FIXIDX,
7197 SOLARIS_SOCKET_FIXIDX,
7198 SOLARIS_STDIO_TAG_FIXIDX,
7199 SOLARIS_UNISTD_FIXIDX,
7200 SOLARIS_WIDEC_FIXIDX,
7202 STDIO_STDARG_H_FIXIDX,
7203 STDIO_VA_LIST_FIXIDX,
7204 STDIO_VA_LIST_CLIENTS_FIXIDX,
7205 STRICT_ANSI_NOT_FIXIDX,
7206 STRICT_ANSI_NOT_CTD_FIXIDX,
7207 STRICT_ANSI_ONLY_FIXIDX,
7209 STRUCT_SOCKADDR_FIXIDX,
7210 SUN_AUTH_PROTO_FIXIDX,
7211 SUN_BOGUS_IFDEF_FIXIDX,
7212 SUN_CATMACRO_FIXIDX,
7214 SUN_RUSERS_SEMI_FIXIDX,
7216 SUNOS_STRLEN_FIXIDX,
7217 SVR4_DISABLE_OPT_FIXIDX,
7221 SVR4_SIGHANDLER_TYPE_FIXIDX,
7222 SVR4_UNDECLARED_GETRNGE_FIXIDX,
7223 SYSV68_STRING_FIXIDX,
7224 SYSZ_STDLIB_FOR_SUN_FIXIDX,
7225 THREAD_KEYWORD_FIXIDX,
7226 TINFO_CPLUSPLUS_FIXIDX,
7227 ULTRIX_ATEXIT_PARAM_FIXIDX,
7228 ULTRIX_ATOF_PARAM_FIXIDX,
7229 ULTRIX_CONST_FIXIDX,
7230 ULTRIX_CONST2_FIXIDX,
7231 ULTRIX_CONST3_FIXIDX,
7232 ULTRIX_FIX_FIXPROTO_FIXIDX,
7233 ULTRIX_IFDEF_FIXIDX,
7234 ULTRIX_LOCALE_FIXIDX,
7235 ULTRIX_MATH_IFDEF_FIXIDX,
7236 ULTRIX_NESTED_IOCTL_FIXIDX,
7237 ULTRIX_NESTED_SVC_FIXIDX,
7239 ULTRIX_STATIC_FIXIDX,
7240 ULTRIX_STDLIB_FIXIDX,
7241 ULTRIX_STRINGS_FIXIDX,
7242 ULTRIX_STRINGS2_FIXIDX,
7243 ULTRIX_SYS_TIME_FIXIDX,
7244 ULTRIX_UNISTD_FIXIDX,
7245 UNICOSMK_RESTRICT_FIXIDX,
7246 UW7_BYTEORDER_FIX_FIXIDX,
7247 VA_I960_MACRO_FIXIDX,
7249 VXWORKS_GCC_PROBLEM_FIXIDX,
7250 VXWORKS_NEEDS_VXTYPES_FIXIDX,
7251 VXWORKS_NEEDS_VXWORKS_FIXIDX,
7252 VXWORKS_TIME_FIXIDX,
7253 WINDISS_MATH1_FIXIDX,
7254 WINDISS_MATH2_FIXIDX,
7255 WINDISS_VALIST_FIXIDX,
7257 X11_CLASS_USAGE_FIXIDX,
7262 tFixDesc fixDescList[ FIX_COUNT ] = {
7263 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
7264 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
7265 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7266 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
7268 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
7269 apzAab_Fd_Zero_Gnu_Types_HMachs,
7270 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7271 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
7273 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
7274 apzAab_Fd_Zero_Selectbits_HMachs,
7275 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7276 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
7278 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
7279 apzAab_Solaris_Sys_Varargs_HMachs,
7280 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7281 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
7283 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
7284 apzAab_Sun_MemcpyMachs,
7285 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7286 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
7288 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
7289 apzAab_Ultrix_Ansi_CompatMachs,
7290 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7291 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
7293 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
7294 apzAab_Ultrix_LimitsMachs,
7295 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7296 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
7298 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
7299 apzAab_Ultrix_MemoryMachs,
7300 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7301 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
7303 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
7304 apzAab_Ultrix_StringMachs,
7305 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7306 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
7308 { zAix_PthreadName, zAix_PthreadList,
7309 apzAix_PthreadMachs,
7310 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7311 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
7313 { zAix_SysmachineName, zAix_SysmachineList,
7314 apzAix_SysmachineMachs,
7315 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7316 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
7318 { zAix_SyswaitName, zAix_SyswaitList,
7319 apzAix_SyswaitMachs,
7320 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7321 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
7323 { zAix_Syswait_2Name, zAix_Syswait_2List,
7324 apzAix_Syswait_2Machs,
7325 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7326 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
7328 { zAix_VolatileName, zAix_VolatileList,
7329 apzAix_VolatileMachs,
7330 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7331 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
7333 { zAlpha___AssertName, zAlpha___AssertList,
7334 apzAlpha___AssertMachs,
7335 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7336 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
7338 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
7339 apzAlpha___Extern_PrefixMachs,
7340 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7341 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
7343 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
7344 apzAlpha___Extern_Prefix_StandardsMachs,
7345 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7346 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
7348 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
7349 apzAlpha___Extern_Prefix_Sys_StatMachs,
7350 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7351 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
7353 { zAlpha_AssertName, zAlpha_AssertList,
7354 apzAlpha_AssertMachs,
7355 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7356 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
7358 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
7359 apzAlpha_Bad_LvalMachs,
7360 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
7361 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
7363 { zAlpha_GetoptName, zAlpha_GetoptList,
7364 apzAlpha_GetoptMachs,
7365 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7366 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
7368 { zAlpha_ParensName, zAlpha_ParensList,
7369 apzAlpha_ParensMachs,
7370 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7371 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
7373 { zAlpha_PthreadName, zAlpha_PthreadList,
7374 apzAlpha_PthreadMachs,
7375 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7376 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
7378 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
7379 apzAlpha_Pthread_GccMachs,
7380 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7381 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
7383 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
7384 apzAlpha_Pthread_InitMachs,
7385 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
7386 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
7388 { zAlpha_SbrkName, zAlpha_SbrkList,
7390 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7391 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
7393 { zAlpha_WcharName, zAlpha_WcharList,
7394 apzAlpha_WcharMachs,
7395 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
7396 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
7398 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
7399 apzAvoid_Bool_DefineMachs,
7400 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7401 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
7403 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
7404 apzAvoid_Bool_TypeMachs,
7405 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7406 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
7408 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
7409 apzAvoid_Wchar_T_TypeMachs,
7410 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7411 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
7413 { zBad_Struct_TermName, zBad_Struct_TermList,
7414 apzBad_Struct_TermMachs,
7415 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7416 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
7418 { zBadquoteName, zBadquoteList,
7420 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7421 aBadquoteTests, apzBadquotePatch, 0 },
7423 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
7424 apzBroken_Assert_StdioMachs,
7425 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7426 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
7428 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
7429 apzBroken_Assert_StdlibMachs,
7430 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7431 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
7433 { zBroken_CabsName, zBroken_CabsList,
7434 apzBroken_CabsMachs,
7435 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7436 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
7438 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
7439 apzBsd_Stdio_Attrs_ConflictMachs,
7440 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7441 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
7443 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
7444 apzCtrl_Quotes_DefMachs,
7445 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7446 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
7448 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
7449 apzCtrl_Quotes_UseMachs,
7450 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7451 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
7453 { zCxx_UnreadyName, zCxx_UnreadyList,
7454 apzCxx_UnreadyMachs,
7455 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7456 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
7458 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
7459 apzDarwin_Gcc4_BreakageMachs,
7460 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7461 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
7463 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
7464 apzDarwin_Private_ExternMachs,
7465 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7466 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
7468 { zDec_Intern_AsmName, zDec_Intern_AsmList,
7469 apzDec_Intern_AsmMachs,
7470 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
7471 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
7473 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
7474 apzDjgpp_Wchar_HMachs,
7475 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7476 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
7478 { zEcd_CursorName, zEcd_CursorList,
7480 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7481 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
7483 { zException_StructureName, zException_StructureList,
7484 apzException_StructureMachs,
7485 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7486 aException_StructureTests, apzException_StructurePatch, 0 },
7488 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
7489 apzFreebsd_Gcc3_BreakageMachs,
7490 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7491 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
7493 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
7494 apzFreebsd_Gcc4_BreakageMachs,
7495 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7496 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
7498 { zGnu_TypesName, zGnu_TypesList,
7500 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7501 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
7503 { zHp_InlineName, zHp_InlineList,
7505 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7506 aHp_InlineTests, apzHp_InlinePatch, 0 },
7508 { zHp_SysfileName, zHp_SysfileList,
7510 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7511 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
7513 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
7514 apzHpux10_Cpp_Pow_InlineMachs,
7515 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7516 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
7518 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
7519 apzHpux11_Cpp_Pow_InlineMachs,
7520 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7521 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
7523 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
7524 apzHpux10_Ctype_Declarations1Machs,
7525 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7526 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
7528 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
7529 apzHpux10_Ctype_Declarations2Machs,
7530 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7531 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
7533 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
7534 apzHpux10_Stdio_DeclarationsMachs,
7535 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7536 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
7538 { zHpux11_AbsName, zHpux11_AbsList,
7540 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7541 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
7543 { zHpux11_FabsfName, zHpux11_FabsfList,
7544 apzHpux11_FabsfMachs,
7545 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7546 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
7548 { zHpux11_Size_TName, zHpux11_Size_TList,
7549 apzHpux11_Size_TMachs,
7550 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7551 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
7553 { zHpux11_SnprintfName, zHpux11_SnprintfList,
7554 apzHpux11_SnprintfMachs,
7555 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7556 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
7558 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
7559 apzHpux11_Uint32_CMachs,
7560 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7561 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
7563 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
7564 apzHpux11_VsnprintfMachs,
7565 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7566 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
7568 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
7569 apzHpux8_Bogus_InlinesMachs,
7570 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
7571 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
7573 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
7574 apzHpux_Ctype_MacrosMachs,
7575 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7576 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
7578 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
7579 apzHpux_Long_DoubleMachs,
7580 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
7581 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
7583 { zHpux_SystimeName, zHpux_SystimeList,
7584 apzHpux_SystimeMachs,
7585 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7586 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
7588 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
7589 apzInt_Abort_Free_And_ExitMachs,
7590 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7591 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
7593 { zIo_Quotes_DefName, zIo_Quotes_DefList,
7594 apzIo_Quotes_DefMachs,
7595 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7596 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
7598 { zIo_Quotes_UseName, zIo_Quotes_UseList,
7599 apzIo_Quotes_UseMachs,
7600 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7601 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
7603 { zIp_Missing_SemiName, zIp_Missing_SemiList,
7604 apzIp_Missing_SemiMachs,
7605 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
7606 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
7608 { zIrix___RestrictName, zIrix___RestrictList,
7609 apzIrix___RestrictMachs,
7610 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7611 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
7613 { zIrix___Generic1Name, zIrix___Generic1List,
7614 apzIrix___Generic1Machs,
7615 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7616 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
7618 { zIrix___Generic2Name, zIrix___Generic2List,
7619 apzIrix___Generic2Machs,
7620 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7621 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
7623 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
7624 apzIrix_Asm_ApostropheMachs,
7625 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7626 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
7628 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
7629 apzIrix_Limits_ConstMachs,
7630 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7631 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
7633 { zIrix_Socklen_TName, zIrix_Socklen_TList,
7634 apzIrix_Socklen_TMachs,
7635 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7636 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
7638 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
7639 apzIrix_Stdio_Va_ListMachs,
7640 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7641 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
7643 { zIrix_WcsftimeName, zIrix_WcsftimeList,
7644 apzIrix_WcsftimeMachs,
7645 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7646 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
7648 { zIsc_FmodName, zIsc_FmodList,
7650 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7651 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
7653 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
7654 apzIsc_Omits_With_StdcMachs,
7655 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7656 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
7658 { zKandr_ConcatName, zKandr_ConcatList,
7659 apzKandr_ConcatMachs,
7660 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7661 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
7663 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
7664 apzLibc1_G_Va_ListMachs,
7665 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7666 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
7668 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
7669 apzLibc1_Ifdefd_MemxMachs,
7670 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7671 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
7673 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
7674 apzLinux_Ia64_UcontextMachs,
7675 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7676 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
7678 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
7679 apzLynxos_No_Warning_In_Sys_Time_HMachs,
7680 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7681 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
7683 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
7684 apzLynxos_Missing_PutenvMachs,
7685 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7686 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
7688 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
7689 apzMachine_Ansi_H_Va_ListMachs,
7690 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7691 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
7693 { zMachine_NameName, zMachine_NameList,
7694 apzMachine_NameMachs,
7695 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7696 aMachine_NameTests, apzMachine_NamePatch, 0 },
7698 { zMath_ExceptionName, zMath_ExceptionList,
7699 apzMath_ExceptionMachs,
7700 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7701 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
7703 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
7704 apzMath_Huge_Val_From_Dbl_MaxMachs,
7705 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
7706 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
7708 { zNested_Auth_DesName, zNested_Auth_DesList,
7709 apzNested_Auth_DesMachs,
7710 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7711 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
7713 { zNested_MotorolaName, zNested_MotorolaList,
7714 apzNested_MotorolaMachs,
7715 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
7716 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
7718 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
7719 apzNested_Sys_LimitsMachs,
7720 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
7721 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
7723 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
7724 apzNetbsd_Extra_SemicolonMachs,
7725 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7726 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
7728 { zNext_Math_PrefixName, zNext_Math_PrefixList,
7729 apzNext_Math_PrefixMachs,
7730 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7731 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
7733 { zNext_TemplateName, zNext_TemplateList,
7734 apzNext_TemplateMachs,
7735 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7736 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
7738 { zNext_VolitileName, zNext_VolitileList,
7739 apzNext_VolitileMachs,
7740 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7741 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
7743 { zNext_Wait_UnionName, zNext_Wait_UnionList,
7744 apzNext_Wait_UnionMachs,
7745 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7746 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
7748 { zNodeent_SyntaxName, zNodeent_SyntaxList,
7749 apzNodeent_SyntaxMachs,
7750 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7751 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
7753 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
7754 apzObstack_Lvalue_CastMachs,
7755 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7756 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
7758 { zOsf_Namespace_AName, zOsf_Namespace_AList,
7759 apzOsf_Namespace_AMachs,
7760 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7761 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
7763 { zOsf_Namespace_CName, zOsf_Namespace_CList,
7764 apzOsf_Namespace_CMachs,
7765 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7766 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
7768 { zPthread_Page_SizeName, zPthread_Page_SizeList,
7769 apzPthread_Page_SizeMachs,
7770 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7771 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
7773 { zRead_Ret_TypeName, zRead_Ret_TypeList,
7774 apzRead_Ret_TypeMachs,
7775 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7776 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
7778 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
7779 apzRpc_Xdr_Lvalue_Cast_AMachs,
7780 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7781 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
7783 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
7784 apzRpc_Xdr_Lvalue_Cast_BMachs,
7785 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7786 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
7788 { zRs6000_DoubleName, zRs6000_DoubleList,
7789 apzRs6000_DoubleMachs,
7790 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7791 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
7793 { zRs6000_FchmodName, zRs6000_FchmodList,
7794 apzRs6000_FchmodMachs,
7795 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7796 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
7798 { zRs6000_ParamName, zRs6000_ParamList,
7799 apzRs6000_ParamMachs,
7800 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7801 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
7803 { zSco_MathName, zSco_MathList,
7805 SCO_MATH_TEST_CT, FD_MACH_ONLY,
7806 aSco_MathTests, apzSco_MathPatch, 0 },
7808 { zSco_RegsetName, zSco_RegsetList,
7810 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7811 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
7813 { zSco_Static_FuncName, zSco_Static_FuncList,
7814 apzSco_Static_FuncMachs,
7815 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
7816 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
7818 { zSco_UtimeName, zSco_UtimeList,
7820 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7821 aSco_UtimeTests, apzSco_UtimePatch, 0 },
7823 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
7824 apzSolaris_Mutex_Init_1Machs,
7825 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
7826 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
7828 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
7829 apzSolaris_Mutex_Init_2Machs,
7830 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7831 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
7833 { zSolaris_SocketName, zSolaris_SocketList,
7834 apzSolaris_SocketMachs,
7835 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7836 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
7838 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
7839 apzSolaris_Stdio_TagMachs,
7840 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
7841 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
7843 { zSolaris_UnistdName, zSolaris_UnistdList,
7844 apzSolaris_UnistdMachs,
7845 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7846 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
7848 { zSolaris_WidecName, zSolaris_WidecList,
7849 apzSolaris_WidecMachs,
7850 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7851 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
7853 { zStatsswtchName, zStatsswtchList,
7855 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7856 aStatsswtchTests, apzStatsswtchPatch, 0 },
7858 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
7859 apzStdio_Stdarg_HMachs,
7860 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7861 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
7863 { zStdio_Va_ListName, zStdio_Va_ListList,
7864 apzStdio_Va_ListMachs,
7865 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
7866 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
7868 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
7869 apzStdio_Va_List_ClientsMachs,
7870 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
7871 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
7873 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
7874 apzStrict_Ansi_NotMachs,
7875 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7876 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
7878 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
7879 apzStrict_Ansi_Not_CtdMachs,
7880 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7881 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
7883 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
7884 apzStrict_Ansi_OnlyMachs,
7885 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7886 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
7888 { zStruct_FileName, zStruct_FileList,
7889 apzStruct_FileMachs,
7890 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7891 aStruct_FileTests, apzStruct_FilePatch, 0 },
7893 { zStruct_SockaddrName, zStruct_SockaddrList,
7894 apzStruct_SockaddrMachs,
7895 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7896 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
7898 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
7899 apzSun_Auth_ProtoMachs,
7900 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7901 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
7903 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
7904 apzSun_Bogus_IfdefMachs,
7905 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7906 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
7908 { zSun_CatmacroName, zSun_CatmacroList,
7909 apzSun_CatmacroMachs,
7910 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7911 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
7913 { zSun_MallocName, zSun_MallocList,
7915 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
7916 aSun_MallocTests, apzSun_MallocPatch, 0 },
7918 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
7919 apzSun_Rusers_SemiMachs,
7920 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
7921 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
7923 { zSun_SignalName, zSun_SignalList,
7925 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7926 aSun_SignalTests, apzSun_SignalPatch, 0 },
7928 { zSunos_StrlenName, zSunos_StrlenList,
7929 apzSunos_StrlenMachs,
7930 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7931 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
7933 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
7934 apzSvr4_Disable_OptMachs,
7935 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
7936 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
7938 { zSvr4_GetcwdName, zSvr4_GetcwdList,
7939 apzSvr4_GetcwdMachs,
7940 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7941 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
7943 { zSvr4_KrnlName, zSvr4_KrnlList,
7945 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7946 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
7948 { zSvr4_ProfilName, zSvr4_ProfilList,
7949 apzSvr4_ProfilMachs,
7950 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7951 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
7953 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
7954 apzSvr4_Sighandler_TypeMachs,
7955 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7956 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
7958 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
7959 apzSvr4_Undeclared_GetrngeMachs,
7960 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7961 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
7963 { zSysv68_StringName, zSysv68_StringList,
7964 apzSysv68_StringMachs,
7965 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
7966 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
7968 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
7969 apzSysz_Stdlib_For_SunMachs,
7970 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7971 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
7973 { zThread_KeywordName, zThread_KeywordList,
7974 apzThread_KeywordMachs,
7975 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7976 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
7978 { zTinfo_CplusplusName, zTinfo_CplusplusList,
7979 apzTinfo_CplusplusMachs,
7980 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7981 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
7983 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
7984 apzUltrix_Atexit_ParamMachs,
7985 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7986 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
7988 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
7989 apzUltrix_Atof_ParamMachs,
7990 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7991 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
7993 { zUltrix_ConstName, zUltrix_ConstList,
7994 apzUltrix_ConstMachs,
7995 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7996 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
7998 { zUltrix_Const2Name, zUltrix_Const2List,
7999 apzUltrix_Const2Machs,
8000 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8001 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
8003 { zUltrix_Const3Name, zUltrix_Const3List,
8004 apzUltrix_Const3Machs,
8005 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8006 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
8008 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
8009 apzUltrix_Fix_FixprotoMachs,
8010 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8011 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
8013 { zUltrix_IfdefName, zUltrix_IfdefList,
8014 apzUltrix_IfdefMachs,
8015 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8016 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
8018 { zUltrix_LocaleName, zUltrix_LocaleList,
8019 apzUltrix_LocaleMachs,
8020 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8021 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
8023 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
8024 apzUltrix_Math_IfdefMachs,
8025 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8026 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
8028 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
8029 apzUltrix_Nested_IoctlMachs,
8030 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
8031 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
8033 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
8034 apzUltrix_Nested_SvcMachs,
8035 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
8036 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
8038 { zUltrix_StatName, zUltrix_StatList,
8039 apzUltrix_StatMachs,
8040 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
8041 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
8043 { zUltrix_StaticName, zUltrix_StaticList,
8044 apzUltrix_StaticMachs,
8045 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
8046 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
8048 { zUltrix_StdlibName, zUltrix_StdlibList,
8049 apzUltrix_StdlibMachs,
8050 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
8051 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
8053 { zUltrix_StringsName, zUltrix_StringsList,
8054 apzUltrix_StringsMachs,
8055 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8056 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
8058 { zUltrix_Strings2Name, zUltrix_Strings2List,
8059 apzUltrix_Strings2Machs,
8060 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
8061 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
8063 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
8064 apzUltrix_Sys_TimeMachs,
8065 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
8066 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
8068 { zUltrix_UnistdName, zUltrix_UnistdList,
8069 apzUltrix_UnistdMachs,
8070 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
8071 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
8073 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
8074 apzUnicosmk_RestrictMachs,
8075 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8076 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
8078 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
8079 apzUw7_Byteorder_FixMachs,
8080 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8081 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
8083 { zVa_I960_MacroName, zVa_I960_MacroList,
8084 apzVa_I960_MacroMachs,
8085 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8086 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
8088 { zVoid_NullName, zVoid_NullList,
8090 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8091 aVoid_NullTests, apzVoid_NullPatch, 0 },
8093 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
8094 apzVxworks_Gcc_ProblemMachs,
8095 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
8096 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
8098 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
8099 apzVxworks_Needs_VxtypesMachs,
8100 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8101 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
8103 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
8104 apzVxworks_Needs_VxworksMachs,
8105 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
8106 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
8108 { zVxworks_TimeName, zVxworks_TimeList,
8109 apzVxworks_TimeMachs,
8110 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8111 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
8113 { zWindiss_Math1Name, zWindiss_Math1List,
8114 apzWindiss_Math1Machs,
8115 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
8116 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
8118 { zWindiss_Math2Name, zWindiss_Math2List,
8119 apzWindiss_Math2Machs,
8120 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
8121 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
8123 { zWindiss_ValistName, zWindiss_ValistList,
8124 apzWindiss_ValistMachs,
8125 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
8126 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
8128 { zX11_ClassName, zX11_ClassList,
8130 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8131 aX11_ClassTests, apzX11_ClassPatch, 0 },
8133 { zX11_Class_UsageName, zX11_Class_UsageList,
8134 apzX11_Class_UsageMachs,
8135 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8136 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
8138 { zX11_NewName, zX11_NewList,
8140 X11_NEW_TEST_CT, FD_MACH_ONLY,
8141 aX11_NewTests, apzX11_NewPatch, 0 },
8143 { zX11_SprintfName, zX11_SprintfList,
8144 apzX11_SprintfMachs,
8145 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8146 aX11_SprintfTests, apzX11_SprintfPatch, 0 }