1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Friday November 26, 2004 at 09:59:26 PM UTC
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT CVS-MERGE THIS FILE, EITHER Fri Nov 26 21:59:26 UTC 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 tSCC* apzGnu_TypesMachs[] = {
2005 "*-*-solaris2.1[0-9]*",
2006 (const char*)NULL };
2009 * content selection pattern - do fix if pattern found
2011 tSCC zGnu_TypesSelect0[] =
2012 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2015 * content bypass pattern - skip fix if pattern found
2017 tSCC zGnu_TypesBypass0[] =
2018 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2020 #define GNU_TYPES_TEST_CT 2
2021 static tTestDesc aGnu_TypesTests[] = {
2022 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2023 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2026 * Fix Command Arguments for Gnu_Types
2028 static const char* apzGnu_TypesPatch[] = {
2032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2034 * Description of Hp_Inline fix
2036 tSCC zHp_InlineName[] =
2040 * File name selection pattern
2042 tSCC zHp_InlineList[] =
2043 "|sys/spinlock.h|machine/machparam.h|";
2045 * Machine/OS name selection pattern
2047 #define apzHp_InlineMachs (const char**)NULL
2050 * content selection pattern - do fix if pattern found
2052 tSCC zHp_InlineSelect0[] =
2053 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2055 #define HP_INLINE_TEST_CT 1
2056 static tTestDesc aHp_InlineTests[] = {
2057 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2060 * Fix Command Arguments for Hp_Inline
2062 static const char* apzHp_InlinePatch[] = {
2065 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2070 * Description of Hp_Sysfile fix
2072 tSCC zHp_SysfileName[] =
2076 * File name selection pattern
2078 tSCC zHp_SysfileList[] =
2081 * Machine/OS name selection pattern
2083 #define apzHp_SysfileMachs (const char**)NULL
2086 * content selection pattern - do fix if pattern found
2088 tSCC zHp_SysfileSelect0[] =
2091 #define HP_SYSFILE_TEST_CT 1
2092 static tTestDesc aHp_SysfileTests[] = {
2093 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2096 * Fix Command Arguments for Hp_Sysfile
2098 static const char* apzHp_SysfilePatch[] = {
2100 "(struct file *, ...)",
2104 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2106 * Description of Hpux10_Cpp_Pow_Inline fix
2108 tSCC zHpux10_Cpp_Pow_InlineName[] =
2109 "hpux10_cpp_pow_inline";
2112 * File name selection pattern
2114 tSCC zHpux10_Cpp_Pow_InlineList[] =
2115 "|fixinc-test-limits.h|math.h|";
2117 * Machine/OS name selection pattern
2119 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2122 * content selection pattern - do fix if pattern found
2124 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2125 "^# +ifdef +__cplusplus\n\
2127 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2128 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2130 +extern +\"C\" +\\{\n\
2134 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2135 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2136 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2139 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2141 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2146 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2148 * Description of Hpux11_Cpp_Pow_Inline fix
2150 tSCC zHpux11_Cpp_Pow_InlineName[] =
2151 "hpux11_cpp_pow_inline";
2154 * File name selection pattern
2156 tSCC zHpux11_Cpp_Pow_InlineList[] =
2159 * Machine/OS name selection pattern
2161 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2164 * content selection pattern - do fix if pattern found
2166 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2167 " +inline double pow\\(double d,int expon\\) \\{\n\
2168 +return pow\\(d, \\(double\\)expon\\);\n\
2171 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2172 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2173 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2176 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2178 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2183 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2185 * Description of Hpux10_Ctype_Declarations1 fix
2187 tSCC zHpux10_Ctype_Declarations1Name[] =
2188 "hpux10_ctype_declarations1";
2191 * File name selection pattern
2193 tSCC zHpux10_Ctype_Declarations1List[] =
2196 * Machine/OS name selection pattern
2198 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2201 * content selection pattern - do fix if pattern found
2203 tSCC zHpux10_Ctype_Declarations1Select0[] =
2204 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2207 * content bypass pattern - skip fix if pattern found
2209 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2210 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2212 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2213 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2214 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2215 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2218 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2220 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2222 "#ifdef _PROTOTYPES\n\
2223 extern int __tolower(int);\n\
2224 extern int __toupper(int);\n\
2225 #else /* NOT _PROTOTYPES */\n\
2226 extern int __tolower();\n\
2227 extern int __toupper();\n\
2228 #endif /* _PROTOTYPES */\n\n\
2232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2234 * Description of Hpux10_Ctype_Declarations2 fix
2236 tSCC zHpux10_Ctype_Declarations2Name[] =
2237 "hpux10_ctype_declarations2";
2240 * File name selection pattern
2242 tSCC zHpux10_Ctype_Declarations2List[] =
2245 * Machine/OS name selection pattern
2247 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2250 * content selection pattern - do fix if pattern found
2252 tSCC zHpux10_Ctype_Declarations2Select0[] =
2253 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2256 * content bypass pattern - skip fix if pattern found
2258 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2259 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2261 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2262 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2263 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2264 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2267 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2269 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2272 #ifdef _PROTOTYPES\n\
2273 extern int _isalnum(int);\n\
2274 extern int _isalpha(int);\n\
2275 extern int _iscntrl(int);\n\
2276 extern int _isdigit(int);\n\
2277 extern int _isgraph(int);\n\
2278 extern int _islower(int);\n\
2279 extern int _isprint(int);\n\
2280 extern int _ispunct(int);\n\
2281 extern int _isspace(int);\n\
2282 extern int _isupper(int);\n\
2283 extern int _isxdigit(int);\n\
2284 # else /* not _PROTOTYPES */\n\
2285 extern int _isalnum();\n\
2286 extern int _isalpha();\n\
2287 extern int _iscntrl();\n\
2288 extern int _isdigit();\n\
2289 extern int _isgraph();\n\
2290 extern int _islower();\n\
2291 extern int _isprint();\n\
2292 extern int _ispunct();\n\
2293 extern int _isspace();\n\
2294 extern int _isupper();\n\
2295 extern int _isxdigit();\n\
2296 #endif /* _PROTOTYPES */\n",
2299 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2301 * Description of Hpux10_Stdio_Declarations fix
2303 tSCC zHpux10_Stdio_DeclarationsName[] =
2304 "hpux10_stdio_declarations";
2307 * File name selection pattern
2309 tSCC zHpux10_Stdio_DeclarationsList[] =
2312 * Machine/OS name selection pattern
2314 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2317 * content selection pattern - do fix if pattern found
2319 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2320 "^#[ \t]*define _iob[ \t]*__iob";
2323 * content bypass pattern - skip fix if pattern found
2325 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2326 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2328 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2329 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2330 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2331 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2334 * Fix Command Arguments for Hpux10_Stdio_Declarations
2336 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2339 # if defined(__STDC__) || defined(__cplusplus)\n\
2340 extern int snprintf(char *, size_t, const char *, ...);\n\
2341 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2342 # else /* not __STDC__) || __cplusplus */\n\
2343 extern int snprintf();\n\
2344 extern int vsnprintf();\n\
2345 # endif /* __STDC__) || __cplusplus */\n",
2348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2350 * Description of Hpux11_Abs fix
2352 tSCC zHpux11_AbsName[] =
2356 * File name selection pattern
2358 tSCC zHpux11_AbsList[] =
2361 * Machine/OS name selection pattern
2363 tSCC* apzHpux11_AbsMachs[] = {
2365 (const char*)NULL };
2368 * content selection pattern - do fix if pattern found
2370 tSCC zHpux11_AbsSelect0[] =
2371 "ifndef _MATH_INCLUDED";
2373 #define HPUX11_ABS_TEST_CT 1
2374 static tTestDesc aHpux11_AbsTests[] = {
2375 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2378 * Fix Command Arguments for Hpux11_Abs
2380 static const char* apzHpux11_AbsPatch[] = {
2382 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2387 * Description of Hpux11_Fabsf fix
2389 tSCC zHpux11_FabsfName[] =
2393 * File name selection pattern
2395 tSCC zHpux11_FabsfList[] =
2398 * Machine/OS name selection pattern
2400 #define apzHpux11_FabsfMachs (const char**)NULL
2403 * content selection pattern - do fix if pattern found
2405 tSCC zHpux11_FabsfSelect0[] =
2406 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2409 * content bypass pattern - skip fix if pattern found
2411 tSCC zHpux11_FabsfBypass0[] =
2414 #define HPUX11_FABSF_TEST_CT 2
2415 static tTestDesc aHpux11_FabsfTests[] = {
2416 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2417 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2420 * Fix Command Arguments for Hpux11_Fabsf
2422 static const char* apzHpux11_FabsfPatch[] = {
2424 "#ifndef __cplusplus\n\
2429 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2431 * Description of Hpux11_Size_T fix
2433 tSCC zHpux11_Size_TName[] =
2437 * File name selection pattern
2439 #define zHpux11_Size_TList (char*)NULL
2441 * Machine/OS name selection pattern
2443 tSCC* apzHpux11_Size_TMachs[] = {
2445 (const char*)NULL };
2448 * content selection pattern - do fix if pattern found
2450 tSCC zHpux11_Size_TSelect0[] =
2453 #define HPUX11_SIZE_T_TEST_CT 1
2454 static tTestDesc aHpux11_Size_TTests[] = {
2455 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2458 * Fix Command Arguments for Hpux11_Size_T
2460 static const char* apzHpux11_Size_TPatch[] = {
2465 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2467 * Description of Hpux11_Snprintf fix
2469 tSCC zHpux11_SnprintfName[] =
2473 * File name selection pattern
2475 tSCC zHpux11_SnprintfList[] =
2478 * Machine/OS name selection pattern
2480 #define apzHpux11_SnprintfMachs (const char**)NULL
2483 * content selection pattern - do fix if pattern found
2485 tSCC zHpux11_SnprintfSelect0[] =
2486 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2488 #define HPUX11_SNPRINTF_TEST_CT 1
2489 static tTestDesc aHpux11_SnprintfTests[] = {
2490 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2493 * Fix Command Arguments for Hpux11_Snprintf
2495 static const char* apzHpux11_SnprintfPatch[] = {
2500 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2502 * Description of Hpux11_Uint32_C fix
2504 tSCC zHpux11_Uint32_CName[] =
2508 * File name selection pattern
2510 tSCC zHpux11_Uint32_CList[] =
2513 * Machine/OS name selection pattern
2515 #define apzHpux11_Uint32_CMachs (const char**)NULL
2518 * content selection pattern - do fix if pattern found
2520 tSCC zHpux11_Uint32_CSelect0[] =
2521 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2523 #define HPUX11_UINT32_C_TEST_CT 1
2524 static tTestDesc aHpux11_Uint32_CTests[] = {
2525 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2528 * Fix Command Arguments for Hpux11_Uint32_C
2530 static const char* apzHpux11_Uint32_CPatch[] = {
2532 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2535 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2537 * Description of Hpux11_Vsnprintf fix
2539 tSCC zHpux11_VsnprintfName[] =
2543 * File name selection pattern
2545 tSCC zHpux11_VsnprintfList[] =
2548 * Machine/OS name selection pattern
2550 #define apzHpux11_VsnprintfMachs (const char**)NULL
2553 * content selection pattern - do fix if pattern found
2555 tSCC zHpux11_VsnprintfSelect0[] =
2556 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2558 #define HPUX11_VSNPRINTF_TEST_CT 1
2559 static tTestDesc aHpux11_VsnprintfTests[] = {
2560 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2563 * Fix Command Arguments for Hpux11_Vsnprintf
2565 static const char* apzHpux11_VsnprintfPatch[] = {
2570 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2572 * Description of Hpux8_Bogus_Inlines fix
2574 tSCC zHpux8_Bogus_InlinesName[] =
2575 "hpux8_bogus_inlines";
2578 * File name selection pattern
2580 tSCC zHpux8_Bogus_InlinesList[] =
2583 * Machine/OS name selection pattern
2585 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2588 * content selection pattern - do fix if pattern found
2590 tSCC zHpux8_Bogus_InlinesSelect0[] =
2594 * content bypass pattern - skip fix if pattern found
2596 tSCC zHpux8_Bogus_InlinesBypass0[] =
2599 #define HPUX8_BOGUS_INLINES_TEST_CT 2
2600 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2601 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
2602 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2605 * Fix Command Arguments for Hpux8_Bogus_Inlines
2607 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2608 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2609 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2610 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2611 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2616 * Description of Hpux_Ctype_Macros fix
2618 tSCC zHpux_Ctype_MacrosName[] =
2619 "hpux_ctype_macros";
2622 * File name selection pattern
2624 tSCC zHpux_Ctype_MacrosList[] =
2627 * Machine/OS name selection pattern
2629 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
2632 * content selection pattern - do fix if pattern found
2634 tSCC zHpux_Ctype_MacrosSelect0[] =
2635 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
2637 #define HPUX_CTYPE_MACROS_TEST_CT 1
2638 static tTestDesc aHpux_Ctype_MacrosTests[] = {
2639 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
2642 * Fix Command Arguments for Hpux_Ctype_Macros
2644 static const char* apzHpux_Ctype_MacrosPatch[] = {
2649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2651 * Description of Hpux_Long_Double fix
2653 tSCC zHpux_Long_DoubleName[] =
2657 * File name selection pattern
2659 tSCC zHpux_Long_DoubleList[] =
2662 * Machine/OS name selection pattern
2664 #define apzHpux_Long_DoubleMachs (const char**)NULL
2667 * content selection pattern - do fix if pattern found
2669 tSCC zHpux_Long_DoubleSelect0[] =
2670 "extern[ \t]long_double[ \t]strtold";
2673 * content bypass pattern - skip fix if pattern found
2675 tSCC zHpux_Long_DoubleBypass0[] =
2678 #define HPUX_LONG_DOUBLE_TEST_CT 2
2679 static tTestDesc aHpux_Long_DoubleTests[] = {
2680 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
2681 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
2684 * Fix Command Arguments for Hpux_Long_Double
2686 static const char* apzHpux_Long_DoublePatch[] = { "sed",
2687 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
2688 "-e", "s/long_double/long double/g",
2691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2693 * Description of Hpux_Systime fix
2695 tSCC zHpux_SystimeName[] =
2699 * File name selection pattern
2701 tSCC zHpux_SystimeList[] =
2704 * Machine/OS name selection pattern
2706 #define apzHpux_SystimeMachs (const char**)NULL
2709 * content selection pattern - do fix if pattern found
2711 tSCC zHpux_SystimeSelect0[] =
2712 "^extern struct sigevent;";
2714 #define HPUX_SYSTIME_TEST_CT 1
2715 static tTestDesc aHpux_SystimeTests[] = {
2716 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2719 * Fix Command Arguments for Hpux_Systime
2721 static const char* apzHpux_SystimePatch[] = {
2726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2728 * Description of Int_Abort_Free_And_Exit fix
2730 tSCC zInt_Abort_Free_And_ExitName[] =
2731 "int_abort_free_and_exit";
2734 * File name selection pattern
2736 tSCC zInt_Abort_Free_And_ExitList[] =
2739 * Machine/OS name selection pattern
2741 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2744 * content selection pattern - do fix if pattern found
2746 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2747 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2750 * content bypass pattern - skip fix if pattern found
2752 tSCC zInt_Abort_Free_And_ExitBypass0[] =
2753 "_CLASSIC_ANSI_TYPES";
2755 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
2756 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2757 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
2758 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2761 * Fix Command Arguments for Int_Abort_Free_And_Exit
2763 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2768 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2770 * Description of Io_Quotes_Def fix
2772 tSCC zIo_Quotes_DefName[] =
2776 * File name selection pattern
2778 #define zIo_Quotes_DefList (char*)NULL
2780 * Machine/OS name selection pattern
2782 #define apzIo_Quotes_DefMachs (const char**)NULL
2785 * content selection pattern - do fix if pattern found
2787 tSCC zIo_Quotes_DefSelect0[] =
2788 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2790 #define IO_QUOTES_DEF_TEST_CT 1
2791 static tTestDesc aIo_Quotes_DefTests[] = {
2792 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2795 * Fix Command Arguments for Io_Quotes_Def
2797 static const char* apzIo_Quotes_DefPatch[] = {
2802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2804 * Description of Io_Quotes_Use fix
2806 tSCC zIo_Quotes_UseName[] =
2810 * File name selection pattern
2812 #define zIo_Quotes_UseList (char*)NULL
2814 * Machine/OS name selection pattern
2816 #define apzIo_Quotes_UseMachs (const char**)NULL
2819 * content selection pattern - do fix if pattern found
2821 tSCC zIo_Quotes_UseSelect0[] =
2822 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2824 #define IO_QUOTES_USE_TEST_CT 1
2825 static tTestDesc aIo_Quotes_UseTests[] = {
2826 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2829 * Fix Command Arguments for Io_Quotes_Use
2831 static const char* apzIo_Quotes_UsePatch[] = {
2836 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2838 * Description of Ip_Missing_Semi fix
2840 tSCC zIp_Missing_SemiName[] =
2844 * File name selection pattern
2846 tSCC zIp_Missing_SemiList[] =
2849 * Machine/OS name selection pattern
2851 #define apzIp_Missing_SemiMachs (const char**)NULL
2854 * content selection pattern - do fix if pattern found
2856 tSCC zIp_Missing_SemiSelect0[] =
2859 #define IP_MISSING_SEMI_TEST_CT 1
2860 static tTestDesc aIp_Missing_SemiTests[] = {
2861 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2864 * Fix Command Arguments for Ip_Missing_Semi
2866 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2867 "-e", "/^struct/,/^};/s/}$/};/",
2870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2872 * Description of Irix___Restrict fix
2874 tSCC zIrix___RestrictName[] =
2878 * File name selection pattern
2880 tSCC zIrix___RestrictList[] =
2881 "|internal/sgimacros.h|";
2883 * Machine/OS name selection pattern
2885 tSCC* apzIrix___RestrictMachs[] = {
2887 (const char*)NULL };
2890 * content selection pattern - do fix if pattern found
2892 tSCC zIrix___RestrictSelect0[] =
2894 )(#[ \t]*define __restrict restrict)";
2896 #define IRIX___RESTRICT_TEST_CT 1
2897 static tTestDesc aIrix___RestrictTests[] = {
2898 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
2901 * Fix Command Arguments for Irix___Restrict
2903 static const char* apzIrix___RestrictPatch[] = {
2905 "%1# ifndef __cplusplus\n\
2910 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2912 * Description of Irix___Generic1 fix
2914 tSCC zIrix___Generic1Name[] =
2918 * File name selection pattern
2920 tSCC zIrix___Generic1List[] =
2921 "|internal/math_core.h|";
2923 * Machine/OS name selection pattern
2925 tSCC* apzIrix___Generic1Machs[] = {
2927 (const char*)NULL };
2930 * content selection pattern - do fix if pattern found
2932 tSCC zIrix___Generic1Select0[] =
2933 "#define ([a-z]+)\\(x\\) *__generic.*";
2935 #define IRIX___GENERIC1_TEST_CT 1
2936 static tTestDesc aIrix___Generic1Tests[] = {
2937 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
2940 * Fix Command Arguments for Irix___Generic1
2942 static const char* apzIrix___Generic1Patch[] = {
2944 "extern int %1(double);\n\
2945 extern int %1f(float);\n\
2946 extern int %1l(long double);\n\
2947 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
2948 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
2952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2954 * Description of Irix___Generic2 fix
2956 tSCC zIrix___Generic2Name[] =
2960 * File name selection pattern
2962 tSCC zIrix___Generic2List[] =
2963 "|internal/math_core.h|";
2965 * Machine/OS name selection pattern
2967 tSCC* apzIrix___Generic2Machs[] = {
2969 (const char*)NULL };
2972 * content selection pattern - do fix if pattern found
2974 tSCC zIrix___Generic2Select0[] =
2975 "#define ([a-z]+)\\(x,y\\) *__generic.*";
2977 #define IRIX___GENERIC2_TEST_CT 1
2978 static tTestDesc aIrix___Generic2Tests[] = {
2979 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
2982 * Fix Command Arguments for Irix___Generic2
2984 static const char* apzIrix___Generic2Patch[] = {
2986 "#define %1(x,y) \\\n\
2987 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
2988 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
2992 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2994 * Description of Irix_Asm_Apostrophe fix
2996 tSCC zIrix_Asm_ApostropheName[] =
2997 "irix_asm_apostrophe";
3000 * File name selection pattern
3002 tSCC zIrix_Asm_ApostropheList[] =
3005 * Machine/OS name selection pattern
3007 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3010 * content selection pattern - do fix if pattern found
3012 tSCC zIrix_Asm_ApostropheSelect0[] =
3013 "^[ \t]*#.*[Ww]e're";
3015 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3016 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3017 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3020 * Fix Command Arguments for Irix_Asm_Apostrophe
3022 static const char* apzIrix_Asm_ApostrophePatch[] = {
3025 "^([ \t]*#.*[Ww]e)'re",
3028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3030 * Description of Irix_Limits_Const fix
3032 tSCC zIrix_Limits_ConstName[] =
3033 "irix_limits_const";
3036 * File name selection pattern
3038 tSCC zIrix_Limits_ConstList[] =
3039 "|fixinc-test-limits.h|limits.h|";
3041 * Machine/OS name selection pattern
3043 #define apzIrix_Limits_ConstMachs (const char**)NULL
3046 * content selection pattern - do fix if pattern found
3048 tSCC zIrix_Limits_ConstSelect0[] =
3051 #define IRIX_LIMITS_CONST_TEST_CT 1
3052 static tTestDesc aIrix_Limits_ConstTests[] = {
3053 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3056 * Fix Command Arguments for Irix_Limits_Const
3058 static const char* apzIrix_Limits_ConstPatch[] = {
3063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3065 * Description of Irix_Socklen_T fix
3067 tSCC zIrix_Socklen_TName[] =
3071 * File name selection pattern
3073 tSCC zIrix_Socklen_TList[] =
3076 * Machine/OS name selection pattern
3078 tSCC* apzIrix_Socklen_TMachs[] = {
3080 (const char*)NULL };
3083 * content selection pattern - do fix if pattern found
3085 tSCC zIrix_Socklen_TSelect0[] =
3086 "(#define _SOCKLEN_T\n\
3087 )(typedef u_int32_t socklen_t;)";
3089 #define IRIX_SOCKLEN_T_TEST_CT 1
3090 static tTestDesc aIrix_Socklen_TTests[] = {
3091 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3094 * Fix Command Arguments for Irix_Socklen_T
3096 static const char* apzIrix_Socklen_TPatch[] = {
3098 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3099 typedef int socklen_t;\n\
3102 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3107 * Description of Irix_Stdio_Va_List fix
3109 tSCC zIrix_Stdio_Va_ListName[] =
3110 "irix_stdio_va_list";
3113 * File name selection pattern
3115 tSCC zIrix_Stdio_Va_ListList[] =
3116 "|stdio.h|internal/stdio_core.h|";
3118 * Machine/OS name selection pattern
3120 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3123 * content selection pattern - do fix if pattern found
3125 tSCC zIrix_Stdio_Va_ListSelect0[] =
3126 "/\\* va_list \\*/ char \\*";
3128 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3129 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3130 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3133 * Fix Command Arguments for Irix_Stdio_Va_List
3135 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3142 * Description of Irix_Wcsftime fix
3144 tSCC zIrix_WcsftimeName[] =
3148 * File name selection pattern
3150 tSCC zIrix_WcsftimeList[] =
3151 "|internal/wchar_core.h|";
3153 * Machine/OS name selection pattern
3155 tSCC* apzIrix_WcsftimeMachs[] = {
3157 (const char*)NULL };
3160 * content selection pattern - do fix if pattern found
3162 tSCC zIrix_WcsftimeSelect0[] =
3164 (extern size_t[ \t]+wcsftime.*const char *.*)";
3166 #define IRIX_WCSFTIME_TEST_CT 1
3167 static tTestDesc aIrix_WcsftimeTests[] = {
3168 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
3171 * Fix Command Arguments for Irix_Wcsftime
3173 static const char* apzIrix_WcsftimePatch[] = {
3175 "#if _NO_XOPEN5 && !defined(__c99)\n\
3179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3181 * Description of Isc_Fmod fix
3183 tSCC zIsc_FmodName[] =
3187 * File name selection pattern
3189 tSCC zIsc_FmodList[] =
3192 * Machine/OS name selection pattern
3194 #define apzIsc_FmodMachs (const char**)NULL
3197 * content selection pattern - do fix if pattern found
3199 tSCC zIsc_FmodSelect0[] =
3202 #define ISC_FMOD_TEST_CT 1
3203 static tTestDesc aIsc_FmodTests[] = {
3204 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
3207 * Fix Command Arguments for Isc_Fmod
3209 static const char* apzIsc_FmodPatch[] = {
3211 "fmod(double, double)",
3214 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3216 * Description of Isc_Omits_With_Stdc fix
3218 tSCC zIsc_Omits_With_StdcName[] =
3219 "isc_omits_with_stdc";
3222 * File name selection pattern
3224 tSCC zIsc_Omits_With_StdcList[] =
3225 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
3227 * Machine/OS name selection pattern
3229 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
3232 * content selection pattern - do fix if pattern found
3234 tSCC zIsc_Omits_With_StdcSelect0[] =
3235 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
3237 #define ISC_OMITS_WITH_STDC_TEST_CT 1
3238 static tTestDesc aIsc_Omits_With_StdcTests[] = {
3239 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
3242 * Fix Command Arguments for Isc_Omits_With_Stdc
3244 static const char* apzIsc_Omits_With_StdcPatch[] = {
3246 "!defined(_POSIX_SOURCE)",
3249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3251 * Description of Kandr_Concat fix
3253 tSCC zKandr_ConcatName[] =
3257 * File name selection pattern
3259 tSCC zKandr_ConcatList[] =
3260 "|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|";
3262 * Machine/OS name selection pattern
3264 #define apzKandr_ConcatMachs (const char**)NULL
3267 * content selection pattern - do fix if pattern found
3269 tSCC zKandr_ConcatSelect0[] =
3272 #define KANDR_CONCAT_TEST_CT 1
3273 static tTestDesc aKandr_ConcatTests[] = {
3274 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
3277 * Fix Command Arguments for Kandr_Concat
3279 static const char* apzKandr_ConcatPatch[] = {
3284 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3286 * Description of Libc1_G_Va_List fix
3288 tSCC zLibc1_G_Va_ListName[] =
3292 * File name selection pattern
3294 tSCC zLibc1_G_Va_ListList[] =
3297 * Machine/OS name selection pattern
3299 tSCC* apzLibc1_G_Va_ListMachs[] = {
3301 (const char*)NULL };
3304 * content selection pattern - do fix if pattern found
3306 tSCC zLibc1_G_Va_ListSelect0[] =
3307 "typedef void \\* _G_va_list;";
3309 #define LIBC1_G_VA_LIST_TEST_CT 1
3310 static tTestDesc aLibc1_G_Va_ListTests[] = {
3311 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
3314 * Fix Command Arguments for Libc1_G_Va_List
3316 static const char* apzLibc1_G_Va_ListPatch[] = {
3318 "typedef __builtin_va_list _G_va_list;",
3321 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3323 * Description of Libc1_Ifdefd_Memx fix
3325 tSCC zLibc1_Ifdefd_MemxName[] =
3326 "libc1_ifdefd_memx";
3329 * File name selection pattern
3331 tSCC zLibc1_Ifdefd_MemxList[] =
3332 "|testing.h|string.h|";
3334 * Machine/OS name selection pattern
3336 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
3339 * content selection pattern - do fix if pattern found
3341 tSCC zLibc1_Ifdefd_MemxSelect0[] =
3342 "' is a built-in function for gcc 2\\.x\\. \\*/";
3345 * content bypass pattern - skip fix if pattern found
3347 tSCC zLibc1_Ifdefd_MemxBypass0[] =
3350 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
3351 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
3352 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
3353 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
3356 * Fix Command Arguments for Libc1_Ifdefd_Memx
3358 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
3361 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
3362 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
3364 extern [a-z_]+ mem.*(\n\
3369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3371 * Description of Linux_Ia64_Ucontext fix
3373 tSCC zLinux_Ia64_UcontextName[] =
3374 "linux_ia64_ucontext";
3377 * File name selection pattern
3379 tSCC zLinux_Ia64_UcontextList[] =
3382 * Machine/OS name selection pattern
3384 tSCC* apzLinux_Ia64_UcontextMachs[] = {
3386 (const char*)NULL };
3389 * content selection pattern - do fix if pattern found
3391 tSCC zLinux_Ia64_UcontextSelect0[] =
3392 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
3394 #define LINUX_IA64_UCONTEXT_TEST_CT 1
3395 static tTestDesc aLinux_Ia64_UcontextTests[] = {
3396 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
3399 * Fix Command Arguments for Linux_Ia64_Ucontext
3401 static const char* apzLinux_Ia64_UcontextPatch[] = {
3403 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
3406 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3408 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
3410 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
3411 "lynxos_no_warning_in_sys_time_h";
3414 * File name selection pattern
3416 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
3419 * Machine/OS name selection pattern
3421 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
3424 * content selection pattern - do fix if pattern found
3426 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
3427 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
3429 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
3430 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
3431 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
3434 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
3436 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
3441 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3443 * Description of Lynxos_Missing_Putenv fix
3445 tSCC zLynxos_Missing_PutenvName[] =
3446 "lynxos_missing_putenv";
3449 * File name selection pattern
3451 tSCC zLynxos_Missing_PutenvList[] =
3454 * Machine/OS name selection pattern
3456 tSCC* apzLynxos_Missing_PutenvMachs[] = {
3458 (const char*)NULL };
3461 * content selection pattern - do fix if pattern found
3463 tSCC zLynxos_Missing_PutenvSelect0[] =
3464 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
3467 * content bypass pattern - skip fix if pattern found
3469 tSCC zLynxos_Missing_PutenvBypass0[] =
3472 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
3473 static tTestDesc aLynxos_Missing_PutenvTests[] = {
3474 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
3475 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
3478 * Fix Command Arguments for Lynxos_Missing_Putenv
3480 static const char* apzLynxos_Missing_PutenvPatch[] = {
3483 extern int putenv\t\t\t\t_AP((char *));",
3484 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
3487 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3489 * Description of Machine_Ansi_H_Va_List fix
3491 tSCC zMachine_Ansi_H_Va_ListName[] =
3492 "machine_ansi_h_va_list";
3495 * File name selection pattern
3497 #define zMachine_Ansi_H_Va_ListList (char*)NULL
3499 * Machine/OS name selection pattern
3501 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
3504 * content selection pattern - do fix if pattern found
3506 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
3507 "define[ \t]+_BSD_VA_LIST_[ \t]";
3510 * content bypass pattern - skip fix if pattern found
3512 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
3513 "__builtin_va_list";
3515 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
3516 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
3517 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
3518 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
3521 * Fix Command Arguments for Machine_Ansi_H_Va_List
3523 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
3525 "%1__builtin_va_list",
3526 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
3529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3531 * Description of Machine_Name fix
3533 tSCC zMachine_NameName[] =
3537 * File name selection pattern
3539 #define zMachine_NameList (char*)NULL
3541 * Machine/OS name selection pattern
3543 #define apzMachine_NameMachs (const char**)NULL
3546 * perform the C function call test
3548 tSCC zMachine_NameFTst0[] = "machine_name";
3550 #define MACHINE_NAME_TEST_CT 1
3551 static tTestDesc aMachine_NameTests[] = {
3552 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
3555 * Fix Command Arguments for Machine_Name
3557 static const char* apzMachine_NamePatch[] = {
3561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3563 * Description of Math_Exception fix
3565 tSCC zMath_ExceptionName[] =
3569 * File name selection pattern
3571 tSCC zMath_ExceptionList[] =
3574 * Machine/OS name selection pattern
3576 #define apzMath_ExceptionMachs (const char**)NULL
3579 * content selection pattern - do fix if pattern found
3581 tSCC zMath_ExceptionSelect0[] =
3585 * content bypass pattern - skip fix if pattern found
3587 tSCC zMath_ExceptionBypass0[] =
3588 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
3590 #define MATH_EXCEPTION_TEST_CT 2
3591 static tTestDesc aMath_ExceptionTests[] = {
3592 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
3593 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
3596 * Fix Command Arguments for Math_Exception
3598 static const char* apzMath_ExceptionPatch[] = {
3600 "#ifdef __cplusplus\n\
3601 #define exception __math_exception\n\
3603 "#ifdef __cplusplus\n\
3608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3610 * Description of Math_Huge_Val_From_Dbl_Max fix
3612 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
3613 "math_huge_val_from_dbl_max";
3616 * File name selection pattern
3618 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
3621 * Machine/OS name selection pattern
3623 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
3626 * content selection pattern - do fix if pattern found
3628 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
3629 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
3632 * content bypass pattern - skip fix if pattern found
3634 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
3635 "define[ \t]+DBL_MAX";
3637 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
3638 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
3639 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
3640 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
3643 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
3645 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
3646 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
3647 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
3648 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
3653 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3655 * Description of Nested_Auth_Des fix
3657 tSCC zNested_Auth_DesName[] =
3661 * File name selection pattern
3663 tSCC zNested_Auth_DesList[] =
3666 * Machine/OS name selection pattern
3668 #define apzNested_Auth_DesMachs (const char**)NULL
3671 * content selection pattern - do fix if pattern found
3673 tSCC zNested_Auth_DesSelect0[] =
3674 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3676 #define NESTED_AUTH_DES_TEST_CT 1
3677 static tTestDesc aNested_Auth_DesTests[] = {
3678 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3681 * Fix Command Arguments for Nested_Auth_Des
3683 static const char* apzNested_Auth_DesPatch[] = {
3688 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3690 * Description of Nested_Motorola fix
3692 tSCC zNested_MotorolaName[] =
3696 * File name selection pattern
3698 tSCC zNested_MotorolaList[] =
3699 "|sys/limits.h|limits.h|";
3701 * Machine/OS name selection pattern
3703 tSCC* apzNested_MotorolaMachs[] = {
3704 "m68k-motorola-sysv*",
3705 (const char*)NULL };
3708 * content selection pattern - do fix if pattern found
3710 tSCC zNested_MotorolaSelect0[] =
3711 "max # bytes atomic in write|error value returned by Math lib";
3713 #define NESTED_MOTOROLA_TEST_CT 1
3714 static tTestDesc aNested_MotorolaTests[] = {
3715 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3718 * Fix Command Arguments for Nested_Motorola
3720 static const char* apzNested_MotorolaPatch[] = { "sed",
3721 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3722 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3727 * Description of Nested_Sys_Limits fix
3729 tSCC zNested_Sys_LimitsName[] =
3730 "nested_sys_limits";
3733 * File name selection pattern
3735 tSCC zNested_Sys_LimitsList[] =
3738 * Machine/OS name selection pattern
3740 #define apzNested_Sys_LimitsMachs (const char**)NULL
3743 * content selection pattern - do fix if pattern found
3745 tSCC zNested_Sys_LimitsSelect0[] =
3748 #define NESTED_SYS_LIMITS_TEST_CT 1
3749 static tTestDesc aNested_Sys_LimitsTests[] = {
3750 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3753 * Fix Command Arguments for Nested_Sys_Limits
3755 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3756 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3757 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3762 * Description of Netbsd_Extra_Semicolon fix
3764 tSCC zNetbsd_Extra_SemicolonName[] =
3765 "netbsd_extra_semicolon";
3768 * File name selection pattern
3770 tSCC zNetbsd_Extra_SemicolonList[] =
3773 * Machine/OS name selection pattern
3775 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
3777 (const char*)NULL };
3780 * content selection pattern - do fix if pattern found
3782 tSCC zNetbsd_Extra_SemicolonSelect0[] =
3783 "#define[ \t]*__END_DECLS[ \t]*};";
3785 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
3786 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
3787 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
3790 * Fix Command Arguments for Netbsd_Extra_Semicolon
3792 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
3794 "#define __END_DECLS }",
3797 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3799 * Description of Next_Math_Prefix fix
3801 tSCC zNext_Math_PrefixName[] =
3805 * File name selection pattern
3807 tSCC zNext_Math_PrefixList[] =
3810 * Machine/OS name selection pattern
3812 #define apzNext_Math_PrefixMachs (const char**)NULL
3815 * content selection pattern - do fix if pattern found
3817 tSCC zNext_Math_PrefixSelect0[] =
3818 "^extern[ \t]+double[ \t]+__const__[ \t]";
3820 #define NEXT_MATH_PREFIX_TEST_CT 1
3821 static tTestDesc aNext_Math_PrefixTests[] = {
3822 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3825 * Fix Command Arguments for Next_Math_Prefix
3827 static const char* apzNext_Math_PrefixPatch[] = {
3829 "extern double %1(",
3830 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3835 * Description of Next_Template fix
3837 tSCC zNext_TemplateName[] =
3841 * File name selection pattern
3843 tSCC zNext_TemplateList[] =
3846 * Machine/OS name selection pattern
3848 #define apzNext_TemplateMachs (const char**)NULL
3851 * content selection pattern - do fix if pattern found
3853 tSCC zNext_TemplateSelect0[] =
3856 #define NEXT_TEMPLATE_TEST_CT 1
3857 static tTestDesc aNext_TemplateTests[] = {
3858 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3861 * Fix Command Arguments for Next_Template
3863 static const char* apzNext_TemplatePatch[] = {
3866 "\\(([^)]*)[ \t]template\\)",
3869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3871 * Description of Next_Volitile fix
3873 tSCC zNext_VolitileName[] =
3877 * File name selection pattern
3879 tSCC zNext_VolitileList[] =
3882 * Machine/OS name selection pattern
3884 #define apzNext_VolitileMachs (const char**)NULL
3887 * content selection pattern - do fix if pattern found
3889 tSCC zNext_VolitileSelect0[] =
3890 "^extern[ \t]+volatile[ \t]+void[ \t]";
3892 #define NEXT_VOLITILE_TEST_CT 1
3893 static tTestDesc aNext_VolitileTests[] = {
3894 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3897 * Fix Command Arguments for Next_Volitile
3899 static const char* apzNext_VolitilePatch[] = {
3902 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3907 * Description of Next_Wait_Union fix
3909 tSCC zNext_Wait_UnionName[] =
3913 * File name selection pattern
3915 tSCC zNext_Wait_UnionList[] =
3918 * Machine/OS name selection pattern
3920 #define apzNext_Wait_UnionMachs (const char**)NULL
3923 * content selection pattern - do fix if pattern found
3925 tSCC zNext_Wait_UnionSelect0[] =
3926 "wait\\(union wait";
3928 #define NEXT_WAIT_UNION_TEST_CT 1
3929 static tTestDesc aNext_Wait_UnionTests[] = {
3930 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3933 * Fix Command Arguments for Next_Wait_Union
3935 static const char* apzNext_Wait_UnionPatch[] = {
3940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3942 * Description of Nodeent_Syntax fix
3944 tSCC zNodeent_SyntaxName[] =
3948 * File name selection pattern
3950 tSCC zNodeent_SyntaxList[] =
3951 "|netdnet/dnetdb.h|";
3953 * Machine/OS name selection pattern
3955 #define apzNodeent_SyntaxMachs (const char**)NULL
3958 * content selection pattern - do fix if pattern found
3960 tSCC zNodeent_SyntaxSelect0[] =
3961 "char[ \t]*\\*na_addr[ \t]*$";
3963 #define NODEENT_SYNTAX_TEST_CT 1
3964 static tTestDesc aNodeent_SyntaxTests[] = {
3965 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3968 * Fix Command Arguments for Nodeent_Syntax
3970 static const char* apzNodeent_SyntaxPatch[] = {
3975 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3977 * Description of Obstack_Lvalue_Cast fix
3979 tSCC zObstack_Lvalue_CastName[] =
3980 "obstack_lvalue_cast";
3983 * File name selection pattern
3985 tSCC zObstack_Lvalue_CastList[] =
3988 * Machine/OS name selection pattern
3990 #define apzObstack_Lvalue_CastMachs (const char**)NULL
3993 * content selection pattern - do fix if pattern found
3995 tSCC zObstack_Lvalue_CastSelect0[] =
3996 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
3998 #define OBSTACK_LVALUE_CAST_TEST_CT 1
3999 static tTestDesc aObstack_Lvalue_CastTests[] = {
4000 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
4003 * Fix Command Arguments for Obstack_Lvalue_Cast
4005 static const char* apzObstack_Lvalue_CastPatch[] = {
4007 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
4010 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4012 * Description of Osf_Namespace_A fix
4014 tSCC zOsf_Namespace_AName[] =
4018 * File name selection pattern
4020 tSCC zOsf_Namespace_AList[] =
4021 "|reg_types.h|sys/lc_core.h|";
4023 * Machine/OS name selection pattern
4025 #define apzOsf_Namespace_AMachs (const char**)NULL
4028 * perform the 'test' shell command - do fix on success
4030 tSCC zOsf_Namespace_ATest0[] =
4032 tSCC zOsf_Namespace_ATest1[] =
4033 " -r sys/lc_core.h";
4034 tSCC zOsf_Namespace_ATest2[] =
4035 " -n \"`grep '} regex_t;' reg_types.h`\"";
4036 tSCC zOsf_Namespace_ATest3[] =
4037 " -z \"`grep __regex_t regex.h`\"";
4039 #define OSF_NAMESPACE_A_TEST_CT 4
4040 static tTestDesc aOsf_Namespace_ATests[] = {
4041 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4042 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4043 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4044 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4047 * Fix Command Arguments for Osf_Namespace_A
4049 static const char* apzOsf_Namespace_APatch[] = {
4052 "reg(ex|off|match)_t",
4055 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4057 * Description of Osf_Namespace_C fix
4059 tSCC zOsf_Namespace_CName[] =
4063 * File name selection pattern
4065 tSCC zOsf_Namespace_CList[] =
4068 * Machine/OS name selection pattern
4070 #define apzOsf_Namespace_CMachs (const char**)NULL
4073 * content selection pattern - do fix if pattern found
4075 tSCC zOsf_Namespace_CSelect0[] =
4076 "#include <reg_types.h>.*";
4079 * perform the 'test' shell command - do fix on success
4081 tSCC zOsf_Namespace_CTest0[] =
4083 tSCC zOsf_Namespace_CTest1[] =
4084 " -r sys/lc_core.h";
4085 tSCC zOsf_Namespace_CTest2[] =
4086 " -n \"`grep '} regex_t;' reg_types.h`\"";
4087 tSCC zOsf_Namespace_CTest3[] =
4088 " -z \"`grep __regex_t regex.h`\"";
4090 #define OSF_NAMESPACE_C_TEST_CT 5
4091 static tTestDesc aOsf_Namespace_CTests[] = {
4092 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
4093 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
4094 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
4095 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
4096 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
4099 * Fix Command Arguments for Osf_Namespace_C
4101 static const char* apzOsf_Namespace_CPatch[] = {
4104 typedef __regex_t\tregex_t;\n\
4105 typedef __regoff_t\tregoff_t;\n\
4106 typedef __regmatch_t\tregmatch_t;",
4109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4111 * Description of Pthread_Page_Size fix
4113 tSCC zPthread_Page_SizeName[] =
4114 "pthread_page_size";
4117 * File name selection pattern
4119 tSCC zPthread_Page_SizeList[] =
4122 * Machine/OS name selection pattern
4124 #define apzPthread_Page_SizeMachs (const char**)NULL
4127 * content selection pattern - do fix if pattern found
4129 tSCC zPthread_Page_SizeSelect0[] =
4132 #define PTHREAD_PAGE_SIZE_TEST_CT 1
4133 static tTestDesc aPthread_Page_SizeTests[] = {
4134 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
4137 * Fix Command Arguments for Pthread_Page_Size
4139 static const char* apzPthread_Page_SizePatch[] = {
4144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4146 * Description of Read_Ret_Type fix
4148 tSCC zRead_Ret_TypeName[] =
4152 * File name selection pattern
4154 tSCC zRead_Ret_TypeList[] =
4157 * Machine/OS name selection pattern
4159 #define apzRead_Ret_TypeMachs (const char**)NULL
4162 * content selection pattern - do fix if pattern found
4164 tSCC zRead_Ret_TypeSelect0[] =
4165 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
4167 #define READ_RET_TYPE_TEST_CT 1
4168 static tTestDesc aRead_Ret_TypeTests[] = {
4169 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
4172 * Fix Command Arguments for Read_Ret_Type
4174 static const char* apzRead_Ret_TypePatch[] = {
4176 "extern unsigned int fread(), fwrite();\n\
4178 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
4181 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4183 * Description of Rpc_Xdr_Lvalue_Cast_A fix
4185 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
4186 "rpc_xdr_lvalue_cast_a";
4189 * File name selection pattern
4191 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
4194 * Machine/OS name selection pattern
4196 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
4199 * content selection pattern - do fix if pattern found
4201 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
4202 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
4205 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
4206 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
4207 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
4210 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
4212 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
4214 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
4217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4219 * Description of Rpc_Xdr_Lvalue_Cast_B fix
4221 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
4222 "rpc_xdr_lvalue_cast_b";
4225 * File name selection pattern
4227 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
4230 * Machine/OS name selection pattern
4232 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
4235 * content selection pattern - do fix if pattern found
4237 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
4238 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
4241 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
4242 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
4243 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
4246 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
4248 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
4250 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
4253 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4255 * Description of Rs6000_Double fix
4257 tSCC zRs6000_DoubleName[] =
4261 * File name selection pattern
4263 tSCC zRs6000_DoubleList[] =
4266 * Machine/OS name selection pattern
4268 #define apzRs6000_DoubleMachs (const char**)NULL
4271 * content selection pattern - do fix if pattern found
4273 tSCC zRs6000_DoubleSelect0[] =
4274 "[^a-zA-Z_]class\\(";
4276 #define RS6000_DOUBLE_TEST_CT 1
4277 static tTestDesc aRs6000_DoubleTests[] = {
4278 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
4281 * Fix Command Arguments for Rs6000_Double
4283 static const char* apzRs6000_DoublePatch[] = {
4285 "#ifndef __cplusplus\n\
4288 "^.*[^a-zA-Z_]class\\(.*",
4291 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4293 * Description of Rs6000_Fchmod fix
4295 tSCC zRs6000_FchmodName[] =
4299 * File name selection pattern
4301 tSCC zRs6000_FchmodList[] =
4304 * Machine/OS name selection pattern
4306 #define apzRs6000_FchmodMachs (const char**)NULL
4309 * content selection pattern - do fix if pattern found
4311 tSCC zRs6000_FchmodSelect0[] =
4312 "fchmod\\(char \\*";
4314 #define RS6000_FCHMOD_TEST_CT 1
4315 static tTestDesc aRs6000_FchmodTests[] = {
4316 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
4319 * Fix Command Arguments for Rs6000_Fchmod
4321 static const char* apzRs6000_FchmodPatch[] = {
4326 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4328 * Description of Rs6000_Param fix
4330 tSCC zRs6000_ParamName[] =
4334 * File name selection pattern
4336 tSCC zRs6000_ParamList[] =
4337 "|stdio.h|unistd.h|";
4339 * Machine/OS name selection pattern
4341 #define apzRs6000_ParamMachs (const char**)NULL
4344 * content selection pattern - do fix if pattern found
4346 tSCC zRs6000_ParamSelect0[] =
4347 "rename\\(const char \\*old, const char \\*new\\)";
4349 #define RS6000_PARAM_TEST_CT 1
4350 static tTestDesc aRs6000_ParamTests[] = {
4351 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
4354 * Fix Command Arguments for Rs6000_Param
4356 static const char* apzRs6000_ParamPatch[] = {
4358 "rename(const char *_old, const char *_new)",
4361 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4363 * Description of Sco_Math fix
4365 tSCC zSco_MathName[] =
4369 * File name selection pattern
4371 tSCC zSco_MathList[] =
4372 "|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|";
4374 * Machine/OS name selection pattern
4376 #define apzSco_MathMachs (const char**)NULL
4379 * content selection pattern - do fix if pattern found
4381 tSCC zSco_MathSelect0[] =
4382 "inline double abs";
4385 * content bypass pattern - skip fix if pattern found
4387 tSCC zSco_MathBypass0[] =
4390 #define SCO_MATH_TEST_CT 2
4391 static tTestDesc aSco_MathTests[] = {
4392 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
4393 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
4396 * Fix Command Arguments for Sco_Math
4398 static const char* apzSco_MathPatch[] = { "sed",
4399 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
4400 #ifndef __GNUC__\n",
4401 "-e", "/.*__builtin_generic/a\\\n\
4403 #define __fp_class(a) \\\\\\\n\
4404 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
4405 __fpclassifyl(a), \\\\\\\n\
4406 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
4407 __fpclassifyf(a),__fpclassify(a)))\\\n\
4409 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
4410 #ifndef __GNUC__\n",
4411 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
4412 #endif /* ! __GNUC__ */",
4415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4417 * Description of Sco_Regset fix
4419 tSCC zSco_RegsetName[] =
4423 * File name selection pattern
4425 tSCC zSco_RegsetList[] =
4428 * Machine/OS name selection pattern
4430 tSCC* apzSco_RegsetMachs[] = {
4432 (const char*)NULL };
4435 * content selection pattern - do fix if pattern found
4437 tSCC zSco_RegsetSelect0[] =
4438 "(struct[ \t]+.*)fpstate";
4440 #define SCO_REGSET_TEST_CT 1
4441 static tTestDesc aSco_RegsetTests[] = {
4442 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
4445 * Fix Command Arguments for Sco_Regset
4447 static const char* apzSco_RegsetPatch[] = {
4452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4454 * Description of Sco_Static_Func fix
4456 tSCC zSco_Static_FuncName[] =
4460 * File name selection pattern
4462 tSCC zSco_Static_FuncList[] =
4465 * Machine/OS name selection pattern
4467 tSCC* apzSco_Static_FuncMachs[] = {
4469 (const char*)NULL };
4472 * content selection pattern - do fix if pattern found
4474 tSCC zSco_Static_FuncSelect0[] =
4477 #define SCO_STATIC_FUNC_TEST_CT 1
4478 static tTestDesc aSco_Static_FuncTests[] = {
4479 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
4482 * Fix Command Arguments for Sco_Static_Func
4484 static const char* apzSco_Static_FuncPatch[] = { "sed",
4485 "-e", "/^static int/i\\\n\
4486 #if __cplusplus\\\n\
4488 #endif /* __cplusplus */",
4490 #if __cplusplus\\\n\
4492 #endif /* __cplusplus */",
4495 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4497 * Description of Sco_Utime fix
4499 tSCC zSco_UtimeName[] =
4503 * File name selection pattern
4505 tSCC zSco_UtimeList[] =
4508 * Machine/OS name selection pattern
4510 tSCC* apzSco_UtimeMachs[] = {
4512 (const char*)NULL };
4515 * content selection pattern - do fix if pattern found
4517 tSCC zSco_UtimeSelect0[] =
4518 "\\(const char \\*, struct utimbuf \\*\\);";
4520 #define SCO_UTIME_TEST_CT 1
4521 static tTestDesc aSco_UtimeTests[] = {
4522 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
4525 * Fix Command Arguments for Sco_Utime
4527 static const char* apzSco_UtimePatch[] = {
4529 "(const char *, const struct utimbuf *);",
4532 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4534 * Description of Solaris_Mutex_Init_1 fix
4536 tSCC zSolaris_Mutex_Init_1Name[] =
4537 "solaris_mutex_init_1";
4540 * File name selection pattern
4542 tSCC zSolaris_Mutex_Init_1List[] =
4545 * Machine/OS name selection pattern
4547 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
4550 * content selection pattern - do fix if pattern found
4552 tSCC zSolaris_Mutex_Init_1Select0[] =
4553 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
4555 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
4556 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
4557 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
4560 * Fix Command Arguments for Solaris_Mutex_Init_1
4562 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
4563 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
4564 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
4567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4569 * Description of Solaris_Mutex_Init_2 fix
4571 tSCC zSolaris_Mutex_Init_2Name[] =
4572 "solaris_mutex_init_2";
4575 * File name selection pattern
4577 tSCC zSolaris_Mutex_Init_2List[] =
4580 * Machine/OS name selection pattern
4582 #define apzSolaris_Mutex_Init_2Machs (const char**)NULL
4585 * content selection pattern - do fix if pattern found
4587 tSCC zSolaris_Mutex_Init_2Select0[] =
4588 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
4590 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
4591 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
4592 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
4595 * Fix Command Arguments for Solaris_Mutex_Init_2
4597 static const char* apzSolaris_Mutex_Init_2Patch[] = {
4599 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
4604 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*),[ \t]*0\\}(|[ \t].*)$",
4607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4609 * Description of Solaris_Socket fix
4611 tSCC zSolaris_SocketName[] =
4615 * File name selection pattern
4617 tSCC zSolaris_SocketList[] =
4620 * Machine/OS name selection pattern
4622 #define apzSolaris_SocketMachs (const char**)NULL
4625 * content selection pattern - do fix if pattern found
4627 tSCC zSolaris_SocketSelect0[] =
4628 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
4630 #define SOLARIS_SOCKET_TEST_CT 1
4631 static tTestDesc aSolaris_SocketTests[] = {
4632 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
4635 * Fix Command Arguments for Solaris_Socket
4637 static const char* apzSolaris_SocketPatch[] = {
4639 "extern int %1(int, %2void *, int, int);",
4640 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
4643 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4645 * Description of Solaris_Stdio_Tag fix
4647 tSCC zSolaris_Stdio_TagName[] =
4648 "solaris_stdio_tag";
4651 * File name selection pattern
4653 tSCC zSolaris_Stdio_TagList[] =
4656 * Machine/OS name selection pattern
4658 #define apzSolaris_Stdio_TagMachs (const char**)NULL
4661 * content selection pattern - do fix if pattern found
4663 tSCC zSolaris_Stdio_TagSelect0[] =
4664 "__cplusplus < 54321L";
4667 * content bypass pattern - skip fix if pattern found
4669 tSCC zSolaris_Stdio_TagBypass0[] =
4672 #define SOLARIS_STDIO_TAG_TEST_CT 2
4673 static tTestDesc aSolaris_Stdio_TagTests[] = {
4674 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
4675 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
4678 * Fix Command Arguments for Solaris_Stdio_Tag
4680 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
4681 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
4684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4686 * Description of Solaris_Unistd fix
4688 tSCC zSolaris_UnistdName[] =
4692 * File name selection pattern
4694 tSCC zSolaris_UnistdList[] =
4697 * Machine/OS name selection pattern
4699 #define apzSolaris_UnistdMachs (const char**)NULL
4702 * content selection pattern - do fix if pattern found
4704 tSCC zSolaris_UnistdSelect0[] =
4705 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
4708 * content bypass pattern - skip fix if pattern found
4710 tSCC zSolaris_UnistdBypass0[] =
4713 #define SOLARIS_UNISTD_TEST_CT 2
4714 static tTestDesc aSolaris_UnistdTests[] = {
4715 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
4716 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
4719 * Fix Command Arguments for Solaris_Unistd
4721 static const char* apzSolaris_UnistdPatch[] = {
4723 "extern int getpagesize();\n\
4725 "^extern (pid_t|int) getpgid\\(.*\\);",
4728 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4730 * Description of Solaris_Widec fix
4732 tSCC zSolaris_WidecName[] =
4736 * File name selection pattern
4738 tSCC zSolaris_WidecList[] =
4741 * Machine/OS name selection pattern
4743 tSCC* apzSolaris_WidecMachs[] = {
4744 "*-*-solaris2.[0-5]",
4745 "*-*-solaris2.[0-5].*",
4746 (const char*)NULL };
4749 * content selection pattern - do fix if pattern found
4751 tSCC zSolaris_WidecSelect0[] =
4755 * content bypass pattern - skip fix if pattern found
4757 tSCC zSolaris_WidecBypass0[] =
4758 "include.*wchar\\.h";
4760 #define SOLARIS_WIDEC_TEST_CT 2
4761 static tTestDesc aSolaris_WidecTests[] = {
4762 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
4763 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
4766 * Fix Command Arguments for Solaris_Widec
4768 static const char* apzSolaris_WidecPatch[] = {
4771 #include <wchar.h>",
4774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4776 * Description of Statsswtch fix
4778 tSCC zStatsswtchName[] =
4782 * File name selection pattern
4784 tSCC zStatsswtchList[] =
4787 * Machine/OS name selection pattern
4789 #define apzStatsswtchMachs (const char**)NULL
4792 * content selection pattern - do fix if pattern found
4794 tSCC zStatsswtchSelect0[] =
4797 #define STATSSWTCH_TEST_CT 1
4798 static tTestDesc aStatsswtchTests[] = {
4799 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
4802 * Fix Command Arguments for Statsswtch
4804 static const char* apzStatsswtchPatch[] = {
4809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4811 * Description of Stdio_Stdarg_H fix
4813 tSCC zStdio_Stdarg_HName[] =
4817 * File name selection pattern
4819 tSCC zStdio_Stdarg_HList[] =
4822 * Machine/OS name selection pattern
4824 tSCC* apzStdio_Stdarg_HMachs[] = {
4825 "*-*-solaris2.1[0-9]",
4826 (const char*)NULL };
4829 * content bypass pattern - skip fix if pattern found
4831 tSCC zStdio_Stdarg_HBypass0[] =
4832 "include.*(stdarg.h|machine/ansi.h)";
4834 #define STDIO_STDARG_H_TEST_CT 1
4835 static tTestDesc aStdio_Stdarg_HTests[] = {
4836 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
4839 * Fix Command Arguments for Stdio_Stdarg_H
4841 static const char* apzStdio_Stdarg_HPatch[] = {
4843 "#define __need___va_list\n\
4844 #include <stdarg.h>\n",
4847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4849 * Description of Stdio_Va_List fix
4851 tSCC zStdio_Va_ListName[] =
4855 * File name selection pattern
4857 tSCC zStdio_Va_ListList[] =
4858 "|stdio.h|internal/stdio_core.h|internal/wchar_core.h|";
4860 * Machine/OS name selection pattern
4862 tSCC* apzStdio_Va_ListMachs[] = {
4863 "*-*-solaris2.1[0-9]",
4864 (const char*)NULL };
4867 * content bypass pattern - skip fix if pattern found
4869 tSCC zStdio_Va_ListBypass0[] =
4870 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
4872 #define STDIO_VA_LIST_TEST_CT 1
4873 static tTestDesc aStdio_Va_ListTests[] = {
4874 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
4877 * Fix Command Arguments for Stdio_Va_List
4879 static const char* apzStdio_Va_ListPatch[] = { "sed",
4880 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
4881 s@(va_list)&@(__gnuc_va_list)\\&@\n\
4882 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
4883 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
4884 s@ va_list@ __not_va_list__@\n\
4885 s@\\*va_list@*__not_va_list__@\n\
4886 s@ __va_list)@ __gnuc_va_list)@\n\
4887 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
4888 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
4889 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
4890 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
4891 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
4892 s@VA_LIST@DUMMY_VA_LIST@\n\
4893 s@_Va_LIST@_VA_LIST@",
4896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4898 * Description of Stdio_Va_List_Clients fix
4900 tSCC zStdio_Va_List_ClientsName[] =
4901 "stdio_va_list_clients";
4904 * File name selection pattern
4906 tSCC zStdio_Va_List_ClientsList[] =
4907 "|com_err.h|cps.h|curses.h|krb5.h|lc_core.h|pfmt.h|wchar.h|curses_colr/curses.h|";
4909 * Machine/OS name selection pattern
4911 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
4914 * content bypass pattern - skip fix if pattern found
4916 tSCC zStdio_Va_List_ClientsBypass0[] =
4917 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
4918 tSCC zStdio_Va_List_ClientsBypass1[] =
4919 "include <stdarg\\.h>|#ifdef va_start";
4921 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
4922 static tTestDesc aStdio_Va_List_ClientsTests[] = {
4923 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
4924 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
4927 * Fix Command Arguments for Stdio_Va_List_Clients
4929 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
4930 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
4931 s@(va_list)&@(__gnuc_va_list)\\&@\n\
4932 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
4933 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
4934 s@ va_list@ __not_va_list__@\n\
4935 s@\\*va_list@*__not_va_list__@\n\
4936 s@ __va_list)@ __gnuc_va_list)@\n\
4937 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
4938 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
4939 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
4940 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
4941 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
4942 s@VA_LIST@DUMMY_VA_LIST@\n\
4943 s@_Va_LIST@_VA_LIST@",
4946 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4948 * Description of Strict_Ansi_Not fix
4950 tSCC zStrict_Ansi_NotName[] =
4954 * File name selection pattern
4956 #define zStrict_Ansi_NotList (char*)NULL
4958 * Machine/OS name selection pattern
4960 #define apzStrict_Ansi_NotMachs (const char**)NULL
4963 * content selection pattern - do fix if pattern found
4965 tSCC zStrict_Ansi_NotSelect0[] =
4966 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
4969 * content bypass pattern - skip fix if pattern found
4971 tSCC zStrict_Ansi_NotBypass0[] =
4972 "GNU and MIPS C compilers define __STDC__ differently";
4973 tSCC zStrict_Ansi_NotBypass1[] =
4974 "__SCO_VERSION__.*__STDC__ != 1";
4977 * perform the C function call test
4979 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
4981 #define STRICT_ANSI_NOT_TEST_CT 4
4982 static tTestDesc aStrict_Ansi_NotTests[] = {
4983 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
4984 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
4985 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
4986 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
4989 * Fix Command Arguments for Strict_Ansi_Not
4991 static const char* apzStrict_Ansi_NotPatch[] = {
4993 "%1 !defined(__STRICT_ANSI__)",
4996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4998 * Description of Strict_Ansi_Not_Ctd fix
5000 tSCC zStrict_Ansi_Not_CtdName[] =
5001 "strict_ansi_not_ctd";
5004 * File name selection pattern
5006 tSCC zStrict_Ansi_Not_CtdList[] =
5007 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
5009 * Machine/OS name selection pattern
5011 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
5014 * content selection pattern - do fix if pattern found
5016 tSCC zStrict_Ansi_Not_CtdSelect0[] =
5017 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
5020 * perform the C function call test
5022 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
5024 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
5025 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
5026 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
5027 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
5030 * Fix Command Arguments for Strict_Ansi_Not_Ctd
5032 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
5034 "%1 !defined(__STRICT_ANSI__)",
5037 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5039 * Description of Strict_Ansi_Only fix
5041 tSCC zStrict_Ansi_OnlyName[] =
5045 * File name selection pattern
5047 #define zStrict_Ansi_OnlyList (char*)NULL
5049 * Machine/OS name selection pattern
5051 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
5054 * content selection pattern - do fix if pattern found
5056 tSCC zStrict_Ansi_OnlySelect0[] =
5057 "^([ \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)";
5060 * perform the C function call test
5062 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
5064 #define STRICT_ANSI_ONLY_TEST_CT 2
5065 static tTestDesc aStrict_Ansi_OnlyTests[] = {
5066 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
5067 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
5070 * Fix Command Arguments for Strict_Ansi_Only
5072 static const char* apzStrict_Ansi_OnlyPatch[] = {
5074 "%1 defined(__STRICT_ANSI__)",
5077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5079 * Description of Struct_File fix
5081 tSCC zStruct_FileName[] =
5085 * File name selection pattern
5087 tSCC zStruct_FileList[] =
5090 * Machine/OS name selection pattern
5092 #define apzStruct_FileMachs (const char**)NULL
5095 * content selection pattern - do fix if pattern found
5097 tSCC zStruct_FileSelect0[] =
5098 "^.*xdrstdio_create.*struct __file_s";
5100 #define STRUCT_FILE_TEST_CT 1
5101 static tTestDesc aStruct_FileTests[] = {
5102 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
5105 * Fix Command Arguments for Struct_File
5107 static const char* apzStruct_FilePatch[] = {
5109 "struct __file_s;\n\
5113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5115 * Description of Struct_Sockaddr fix
5117 tSCC zStruct_SockaddrName[] =
5121 * File name selection pattern
5123 tSCC zStruct_SockaddrList[] =
5126 * Machine/OS name selection pattern
5128 #define apzStruct_SockaddrMachs (const char**)NULL
5131 * content selection pattern - do fix if pattern found
5133 tSCC zStruct_SockaddrSelect0[] =
5134 "^.*authdes_create.*struct sockaddr[^_]";
5137 * content bypass pattern - skip fix if pattern found
5139 tSCC zStruct_SockaddrBypass0[] =
5141 tSCC zStruct_SockaddrBypass1[] =
5142 "struct sockaddr;\n";
5144 #define STRUCT_SOCKADDR_TEST_CT 3
5145 static tTestDesc aStruct_SockaddrTests[] = {
5146 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
5147 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
5148 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
5151 * Fix Command Arguments for Struct_Sockaddr
5153 static const char* apzStruct_SockaddrPatch[] = {
5155 "struct sockaddr;\n\
5159 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5161 * Description of Sun_Auth_Proto fix
5163 tSCC zSun_Auth_ProtoName[] =
5167 * File name selection pattern
5169 tSCC zSun_Auth_ProtoList[] =
5170 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
5172 * Machine/OS name selection pattern
5174 #define apzSun_Auth_ProtoMachs (const char**)NULL
5177 * content selection pattern - do fix if pattern found
5179 tSCC zSun_Auth_ProtoSelect0[] =
5180 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
5183 * content bypass pattern - skip fix if pattern found
5185 tSCC zSun_Auth_ProtoBypass0[] =
5188 #define SUN_AUTH_PROTO_TEST_CT 2
5189 static tTestDesc aSun_Auth_ProtoTests[] = {
5190 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
5191 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
5194 * Fix Command Arguments for Sun_Auth_Proto
5196 static const char* apzSun_Auth_ProtoPatch[] = {
5198 "#ifdef __cplusplus\n\
5203 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
5206 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5208 * Description of Sun_Bogus_Ifdef fix
5210 tSCC zSun_Bogus_IfdefName[] =
5214 * File name selection pattern
5216 tSCC zSun_Bogus_IfdefList[] =
5217 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
5219 * Machine/OS name selection pattern
5221 #define apzSun_Bogus_IfdefMachs (const char**)NULL
5224 * content selection pattern - do fix if pattern found
5226 tSCC zSun_Bogus_IfdefSelect0[] =
5227 "#ifdef(.*\\|\\|.*)";
5229 #define SUN_BOGUS_IFDEF_TEST_CT 1
5230 static tTestDesc aSun_Bogus_IfdefTests[] = {
5231 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
5234 * Fix Command Arguments for Sun_Bogus_Ifdef
5236 static const char* apzSun_Bogus_IfdefPatch[] = {
5241 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5243 * Description of Sun_Catmacro fix
5245 tSCC zSun_CatmacroName[] =
5249 * File name selection pattern
5251 tSCC zSun_CatmacroList[] =
5252 "|pixrect/memvar.h|";
5254 * Machine/OS name selection pattern
5256 #define apzSun_CatmacroMachs (const char**)NULL
5259 * content selection pattern - do fix if pattern found
5261 tSCC zSun_CatmacroSelect0[] =
5262 "^#define[ \t]+CAT\\(a,b\\).*";
5264 #define SUN_CATMACRO_TEST_CT 1
5265 static tTestDesc aSun_CatmacroTests[] = {
5266 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
5269 * Fix Command Arguments for Sun_Catmacro
5271 static const char* apzSun_CatmacroPatch[] = {
5274 # define CAT(a,b) a##b\n\
5280 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5282 * Description of Sun_Malloc fix
5284 tSCC zSun_MallocName[] =
5288 * File name selection pattern
5290 tSCC zSun_MallocList[] =
5293 * Machine/OS name selection pattern
5295 #define apzSun_MallocMachs (const char**)NULL
5298 * content bypass pattern - skip fix if pattern found
5300 tSCC zSun_MallocBypass0[] =
5301 "_CLASSIC_ANSI_TYPES";
5303 #define SUN_MALLOC_TEST_CT 1
5304 static tTestDesc aSun_MallocTests[] = {
5305 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
5308 * Fix Command Arguments for Sun_Malloc
5310 static const char* apzSun_MallocPatch[] = { "sed",
5311 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
5312 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
5313 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
5314 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
5315 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
5318 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5320 * Description of Sun_Rusers_Semi fix
5322 tSCC zSun_Rusers_SemiName[] =
5326 * File name selection pattern
5328 tSCC zSun_Rusers_SemiList[] =
5329 "|rpcsvc/rusers.h|";
5331 * Machine/OS name selection pattern
5333 #define apzSun_Rusers_SemiMachs (const char**)NULL
5336 * content selection pattern - do fix if pattern found
5338 tSCC zSun_Rusers_SemiSelect0[] =
5341 #define SUN_RUSERS_SEMI_TEST_CT 1
5342 static tTestDesc aSun_Rusers_SemiTests[] = {
5343 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
5346 * Fix Command Arguments for Sun_Rusers_Semi
5348 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
5349 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
5352 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5354 * Description of Sun_Signal fix
5356 tSCC zSun_SignalName[] =
5360 * File name selection pattern
5362 tSCC zSun_SignalList[] =
5363 "|sys/signal.h|signal.h|";
5365 * Machine/OS name selection pattern
5367 #define apzSun_SignalMachs (const char**)NULL
5370 * content selection pattern - do fix if pattern found
5372 tSCC zSun_SignalSelect0[] =
5373 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
5375 #define SUN_SIGNAL_TEST_CT 1
5376 static tTestDesc aSun_SignalTests[] = {
5377 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
5380 * Fix Command Arguments for Sun_Signal
5382 static const char* apzSun_SignalPatch[] = {
5384 "#ifdef __cplusplus\n\
5385 void\t(*signal(...))(...);\n\
5391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5393 * Description of Sunos_Strlen fix
5395 tSCC zSunos_StrlenName[] =
5399 * File name selection pattern
5401 tSCC zSunos_StrlenList[] =
5404 * Machine/OS name selection pattern
5406 #define apzSunos_StrlenMachs (const char**)NULL
5409 * content selection pattern - do fix if pattern found
5411 tSCC zSunos_StrlenSelect0[] =
5412 "int[ \t]*strlen\\(\\);(.*)";
5414 #define SUNOS_STRLEN_TEST_CT 1
5415 static tTestDesc aSunos_StrlenTests[] = {
5416 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
5419 * Fix Command Arguments for Sunos_Strlen
5421 static const char* apzSunos_StrlenPatch[] = {
5423 "__SIZE_TYPE__ strlen();%1",
5426 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5428 * Description of Svr4_Disable_Opt fix
5430 tSCC zSvr4_Disable_OptName[] =
5434 * File name selection pattern
5436 tSCC zSvr4_Disable_OptList[] =
5439 * Machine/OS name selection pattern
5441 #define apzSvr4_Disable_OptMachs (const char**)NULL
5444 * content selection pattern - do fix if pattern found
5446 tSCC zSvr4_Disable_OptSelect0[] =
5447 "#define.*__std_hdr_";
5449 #define SVR4_DISABLE_OPT_TEST_CT 1
5450 static tTestDesc aSvr4_Disable_OptTests[] = {
5451 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
5454 * Fix Command Arguments for Svr4_Disable_Opt
5456 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
5457 "-e", "/#define.*__std_hdr_/d",
5460 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5462 * Description of Svr4_Getcwd fix
5464 tSCC zSvr4_GetcwdName[] =
5468 * File name selection pattern
5470 tSCC zSvr4_GetcwdList[] =
5471 "|stdlib.h|unistd.h|prototypes.h|";
5473 * Machine/OS name selection pattern
5475 #define apzSvr4_GetcwdMachs (const char**)NULL
5478 * content selection pattern - do fix if pattern found
5480 tSCC zSvr4_GetcwdSelect0[] =
5481 "getcwd\\(char \\*, int\\)";
5483 #define SVR4_GETCWD_TEST_CT 1
5484 static tTestDesc aSvr4_GetcwdTests[] = {
5485 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
5488 * Fix Command Arguments for Svr4_Getcwd
5490 static const char* apzSvr4_GetcwdPatch[] = {
5492 "getcwd(char *, size_t)",
5495 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5497 * Description of Svr4_Krnl fix
5499 tSCC zSvr4_KrnlName[] =
5503 * File name selection pattern
5505 tSCC zSvr4_KrnlList[] =
5506 "|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|";
5508 * Machine/OS name selection pattern
5510 tSCC* apzSvr4_KrnlMachs[] = {
5512 "i?86-sequent-ptx*",
5513 (const char*)NULL };
5516 * content bypass pattern - skip fix if pattern found
5518 tSCC zSvr4_KrnlBypass0[] =
5521 #define SVR4_KRNL_TEST_CT 1
5522 static tTestDesc aSvr4_KrnlTests[] = {
5523 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
5526 * Fix Command Arguments for Svr4_Krnl
5528 static const char* apzSvr4_KrnlPatch[] = {
5531 "#endif /* _KERNEL */\n",
5534 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5536 * Description of Svr4_Profil fix
5538 tSCC zSvr4_ProfilName[] =
5542 * File name selection pattern
5544 tSCC zSvr4_ProfilList[] =
5545 "|stdlib.h|unistd.h|";
5547 * Machine/OS name selection pattern
5549 #define apzSvr4_ProfilMachs (const char**)NULL
5552 * content selection pattern - do fix if pattern found
5554 tSCC zSvr4_ProfilSelect0[] =
5555 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
5558 * content bypass pattern - skip fix if pattern found
5560 tSCC zSvr4_ProfilBypass0[] =
5563 #define SVR4_PROFIL_TEST_CT 2
5564 static tTestDesc aSvr4_ProfilTests[] = {
5565 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
5566 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
5569 * Fix Command Arguments for Svr4_Profil
5571 static const char* apzSvr4_ProfilPatch[] = {
5573 "profil(unsigned short *, size_t, int, unsigned int)",
5576 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5578 * Description of Svr4_Sighandler_Type fix
5580 tSCC zSvr4_Sighandler_TypeName[] =
5581 "svr4_sighandler_type";
5584 * File name selection pattern
5586 tSCC zSvr4_Sighandler_TypeList[] =
5589 * Machine/OS name selection pattern
5591 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
5594 * content selection pattern - do fix if pattern found
5596 tSCC zSvr4_Sighandler_TypeSelect0[] =
5597 "void *\\(\\*\\)\\(\\)";
5599 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
5600 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
5601 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
5604 * Fix Command Arguments for Svr4_Sighandler_Type
5606 static const char* apzSvr4_Sighandler_TypePatch[] = {
5611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5613 * Description of Svr4_Undeclared_Getrnge fix
5615 tSCC zSvr4_Undeclared_GetrngeName[] =
5616 "svr4_undeclared_getrnge";
5619 * File name selection pattern
5621 tSCC zSvr4_Undeclared_GetrngeList[] =
5624 * Machine/OS name selection pattern
5626 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
5629 * content selection pattern - do fix if pattern found
5631 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
5635 * content bypass pattern - skip fix if pattern found
5637 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
5638 "static void getrnge";
5640 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
5641 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
5642 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
5643 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
5646 * Fix Command Arguments for Svr4_Undeclared_Getrnge
5648 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
5651 static int getrnge ();",
5652 "^static int[ \t]+size;",
5655 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5657 * Description of Sysv68_String fix
5659 tSCC zSysv68_StringName[] =
5663 * File name selection pattern
5665 tSCC zSysv68_StringList[] =
5666 "|testing.h|string.h|";
5668 * Machine/OS name selection pattern
5670 #define apzSysv68_StringMachs (const char**)NULL
5673 * content bypass pattern - skip fix if pattern found
5675 tSCC zSysv68_StringBypass0[] =
5676 "_CLASSIC_ANSI_TYPES";
5678 #define SYSV68_STRING_TEST_CT 1
5679 static tTestDesc aSysv68_StringTests[] = {
5680 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
5683 * Fix Command Arguments for Sysv68_String
5685 static const char* apzSysv68_StringPatch[] = { "sed",
5686 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
5687 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
5688 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
5689 "-e", "/^extern char$/N",
5690 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
5691 "-e", "/^extern int$/N",
5692 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
5693 "-e", "/^\tstrncmp(),$/N",
5694 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
5695 extern unsigned int\\\n\
5699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5701 * Description of Sysz_Stdlib_For_Sun fix
5703 tSCC zSysz_Stdlib_For_SunName[] =
5704 "sysz_stdlib_for_sun";
5707 * File name selection pattern
5709 tSCC zSysz_Stdlib_For_SunList[] =
5712 * Machine/OS name selection pattern
5714 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
5717 * content selection pattern - do fix if pattern found
5719 tSCC zSysz_Stdlib_For_SunSelect0[] =
5720 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
5723 * content bypass pattern - skip fix if pattern found
5725 tSCC zSysz_Stdlib_For_SunBypass0[] =
5726 "_CLASSIC_ANSI_TYPES";
5728 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
5729 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
5730 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
5731 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
5734 * Fix Command Arguments for Sysz_Stdlib_For_Sun
5736 static const char* apzSysz_Stdlib_For_SunPatch[] = {
5741 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5743 * Description of Thread_Keyword fix
5745 tSCC zThread_KeywordName[] =
5749 * File name selection pattern
5751 tSCC zThread_KeywordList[] =
5752 "|pthread.h|bits/sigthread.h|";
5754 * Machine/OS name selection pattern
5756 #define apzThread_KeywordMachs (const char**)NULL
5759 * content selection pattern - do fix if pattern found
5761 tSCC zThread_KeywordSelect0[] =
5762 "([* ])__thread([,)])";
5764 #define THREAD_KEYWORD_TEST_CT 1
5765 static tTestDesc aThread_KeywordTests[] = {
5766 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
5769 * Fix Command Arguments for Thread_Keyword
5771 static const char* apzThread_KeywordPatch[] = {
5776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5778 * Description of Tinfo_Cplusplus fix
5780 tSCC zTinfo_CplusplusName[] =
5784 * File name selection pattern
5786 tSCC zTinfo_CplusplusList[] =
5789 * Machine/OS name selection pattern
5791 #define apzTinfo_CplusplusMachs (const char**)NULL
5794 * content selection pattern - do fix if pattern found
5796 tSCC zTinfo_CplusplusSelect0[] =
5799 #define TINFO_CPLUSPLUS_TEST_CT 1
5800 static tTestDesc aTinfo_CplusplusTests[] = {
5801 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
5804 * Fix Command Arguments for Tinfo_Cplusplus
5806 static const char* apzTinfo_CplusplusPatch[] = {
5811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5813 * Description of Ultrix_Atexit_Param fix
5815 tSCC zUltrix_Atexit_ParamName[] =
5816 "ultrix_atexit_param";
5819 * File name selection pattern
5821 tSCC zUltrix_Atexit_ParamList[] =
5824 * Machine/OS name selection pattern
5826 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
5829 * content selection pattern - do fix if pattern found
5831 tSCC zUltrix_Atexit_ParamSelect0[] =
5832 "atexit\\(.*\\(\\)";
5834 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
5835 static tTestDesc aUltrix_Atexit_ParamTests[] = {
5836 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
5839 * Fix Command Arguments for Ultrix_Atexit_Param
5841 static const char* apzUltrix_Atexit_ParamPatch[] = {
5843 "atexit( void (*__func)( void )",
5846 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5848 * Description of Ultrix_Atof_Param fix
5850 tSCC zUltrix_Atof_ParamName[] =
5851 "ultrix_atof_param";
5854 * File name selection pattern
5856 tSCC zUltrix_Atof_ParamList[] =
5859 * Machine/OS name selection pattern
5861 #define apzUltrix_Atof_ParamMachs (const char**)NULL
5864 * content selection pattern - do fix if pattern found
5866 tSCC zUltrix_Atof_ParamSelect0[] =
5867 "atof\\([ \t]*char";
5869 #define ULTRIX_ATOF_PARAM_TEST_CT 1
5870 static tTestDesc aUltrix_Atof_ParamTests[] = {
5871 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
5874 * Fix Command Arguments for Ultrix_Atof_Param
5876 static const char* apzUltrix_Atof_ParamPatch[] = {
5881 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5883 * Description of Ultrix_Const fix
5885 tSCC zUltrix_ConstName[] =
5889 * File name selection pattern
5891 tSCC zUltrix_ConstList[] =
5894 * Machine/OS name selection pattern
5896 #define apzUltrix_ConstMachs (const char**)NULL
5899 * content selection pattern - do fix if pattern found
5901 tSCC zUltrix_ConstSelect0[] =
5902 "perror\\( char \\*";
5904 #define ULTRIX_CONST_TEST_CT 1
5905 static tTestDesc aUltrix_ConstTests[] = {
5906 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
5909 * Fix Command Arguments for Ultrix_Const
5911 static const char* apzUltrix_ConstPatch[] = {
5914 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
5917 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5919 * Description of Ultrix_Const2 fix
5921 tSCC zUltrix_Const2Name[] =
5925 * File name selection pattern
5927 tSCC zUltrix_Const2List[] =
5930 * Machine/OS name selection pattern
5932 #define apzUltrix_Const2Machs (const char**)NULL
5935 * content selection pattern - do fix if pattern found
5937 tSCC zUltrix_Const2Select0[] =
5938 "\\*fopen\\( char \\*";
5940 #define ULTRIX_CONST2_TEST_CT 1
5941 static tTestDesc aUltrix_Const2Tests[] = {
5942 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
5945 * Fix Command Arguments for Ultrix_Const2
5947 static const char* apzUltrix_Const2Patch[] = {
5949 "%1( const char *%3, const char *",
5950 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
5953 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5955 * Description of Ultrix_Const3 fix
5957 tSCC zUltrix_Const3Name[] =
5961 * File name selection pattern
5963 tSCC zUltrix_Const3List[] =
5966 * Machine/OS name selection pattern
5968 #define apzUltrix_Const3Machs (const char**)NULL
5971 * content selection pattern - do fix if pattern found
5973 tSCC zUltrix_Const3Select0[] =
5974 "fdopen\\( .*, char \\*";
5976 #define ULTRIX_CONST3_TEST_CT 1
5977 static tTestDesc aUltrix_Const3Tests[] = {
5978 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
5981 * Fix Command Arguments for Ultrix_Const3
5983 static const char* apzUltrix_Const3Patch[] = {
5986 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
5989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5991 * Description of Ultrix_Fix_Fixproto fix
5993 tSCC zUltrix_Fix_FixprotoName[] =
5994 "ultrix_fix_fixproto";
5997 * File name selection pattern
5999 tSCC zUltrix_Fix_FixprotoList[] =
6002 * Machine/OS name selection pattern
6004 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
6007 * content selection pattern - do fix if pattern found
6009 tSCC zUltrix_Fix_FixprotoSelect0[] =
6012 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
6013 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
6014 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
6017 * Fix Command Arguments for Ultrix_Fix_Fixproto
6019 static const char* apzUltrix_Fix_FixprotoPatch[] = {
6023 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
6026 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6028 * Description of Ultrix_Ifdef fix
6030 tSCC zUltrix_IfdefName[] =
6034 * File name selection pattern
6036 tSCC zUltrix_IfdefList[] =
6039 * Machine/OS name selection pattern
6041 #define apzUltrix_IfdefMachs (const char**)NULL
6044 * content selection pattern - do fix if pattern found
6046 tSCC zUltrix_IfdefSelect0[] =
6047 "^#ifdef KERNEL[ \t]+&&";
6049 #define ULTRIX_IFDEF_TEST_CT 1
6050 static tTestDesc aUltrix_IfdefTests[] = {
6051 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
6054 * Fix Command Arguments for Ultrix_Ifdef
6056 static const char* apzUltrix_IfdefPatch[] = {
6058 "#if defined(KERNEL) &&",
6061 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6063 * Description of Ultrix_Locale fix
6065 tSCC zUltrix_LocaleName[] =
6069 * File name selection pattern
6071 tSCC zUltrix_LocaleList[] =
6074 * Machine/OS name selection pattern
6076 #define apzUltrix_LocaleMachs (const char**)NULL
6079 * content selection pattern - do fix if pattern found
6081 tSCC zUltrix_LocaleSelect0[] =
6082 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
6084 #define ULTRIX_LOCALE_TEST_CT 1
6085 static tTestDesc aUltrix_LocaleTests[] = {
6086 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
6089 * Fix Command Arguments for Ultrix_Locale
6091 static const char* apzUltrix_LocalePatch[] = {
6095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6097 * Description of Ultrix_Math_Ifdef fix
6099 tSCC zUltrix_Math_IfdefName[] =
6100 "ultrix_math_ifdef";
6103 * File name selection pattern
6105 tSCC zUltrix_Math_IfdefList[] =
6106 "|sys/limits.h|float.h|math.h|";
6108 * Machine/OS name selection pattern
6110 #define apzUltrix_Math_IfdefMachs (const char**)NULL
6113 * content selection pattern - do fix if pattern found
6115 tSCC zUltrix_Math_IfdefSelect0[] =
6116 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
6118 #define ULTRIX_MATH_IFDEF_TEST_CT 1
6119 static tTestDesc aUltrix_Math_IfdefTests[] = {
6120 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
6123 * Fix Command Arguments for Ultrix_Math_Ifdef
6125 static const char* apzUltrix_Math_IfdefPatch[] = {
6130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6132 * Description of Ultrix_Nested_Ioctl fix
6134 tSCC zUltrix_Nested_IoctlName[] =
6135 "ultrix_nested_ioctl";
6138 * File name selection pattern
6140 tSCC zUltrix_Nested_IoctlList[] =
6143 * Machine/OS name selection pattern
6145 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
6148 * content selection pattern - do fix if pattern found
6150 tSCC zUltrix_Nested_IoctlSelect0[] =
6151 "^/\\* #define SIOCSCREEN";
6153 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
6154 static tTestDesc aUltrix_Nested_IoctlTests[] = {
6155 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
6158 * Fix Command Arguments for Ultrix_Nested_Ioctl
6160 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
6161 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
6164 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6166 * Description of Ultrix_Nested_Svc fix
6168 tSCC zUltrix_Nested_SvcName[] =
6169 "ultrix_nested_svc";
6172 * File name selection pattern
6174 tSCC zUltrix_Nested_SvcList[] =
6177 * Machine/OS name selection pattern
6179 #define apzUltrix_Nested_SvcMachs (const char**)NULL
6182 * content selection pattern - do fix if pattern found
6184 tSCC zUltrix_Nested_SvcSelect0[] =
6185 "^ \\*[ \t]*int protocol; */\\*";
6187 #define ULTRIX_NESTED_SVC_TEST_CT 1
6188 static tTestDesc aUltrix_Nested_SvcTests[] = {
6189 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
6192 * Fix Command Arguments for Ultrix_Nested_Svc
6194 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
6195 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
6198 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6200 * Description of Ultrix_Stat fix
6202 tSCC zUltrix_StatName[] =
6206 * File name selection pattern
6208 tSCC zUltrix_StatList[] =
6211 * Machine/OS name selection pattern
6213 #define apzUltrix_StatMachs (const char**)NULL
6216 * content selection pattern - do fix if pattern found
6218 tSCC zUltrix_StatSelect0[] =
6219 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
6221 #define ULTRIX_STAT_TEST_CT 1
6222 static tTestDesc aUltrix_StatTests[] = {
6223 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
6226 * Fix Command Arguments for Ultrix_Stat
6228 static const char* apzUltrix_StatPatch[] = { "sed",
6229 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
6231 /* macro to test for symbolic link */\\\n\
6232 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
6233 "-e", "/^[ \t]*fstat(),$/a\\\n\
6237 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6239 * Description of Ultrix_Static fix
6241 tSCC zUltrix_StaticName[] =
6245 * File name selection pattern
6247 tSCC zUltrix_StaticList[] =
6250 * Machine/OS name selection pattern
6252 #define apzUltrix_StaticMachs (const char**)NULL
6255 * content selection pattern - do fix if pattern found
6257 tSCC zUltrix_StaticSelect0[] =
6258 "#include \"r[34]_cpu";
6260 #define ULTRIX_STATIC_TEST_CT 1
6261 static tTestDesc aUltrix_StaticTests[] = {
6262 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
6265 * Fix Command Arguments for Ultrix_Static
6267 static const char* apzUltrix_StaticPatch[] = { "sed",
6268 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
6269 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
6270 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
6273 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6275 * Description of Ultrix_Stdlib fix
6277 tSCC zUltrix_StdlibName[] =
6281 * File name selection pattern
6283 tSCC zUltrix_StdlibList[] =
6286 * Machine/OS name selection pattern
6288 #define apzUltrix_StdlibMachs (const char**)NULL
6291 * content selection pattern - do fix if pattern found
6293 tSCC zUltrix_StdlibSelect0[] =
6294 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
6296 #define ULTRIX_STDLIB_TEST_CT 1
6297 static tTestDesc aUltrix_StdlibTests[] = {
6298 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
6301 * Fix Command Arguments for Ultrix_Stdlib
6303 static const char* apzUltrix_StdlibPatch[] = { "sed",
6304 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
6305 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
6306 void\t\tunsetenv( const char *__name );\\\n\
6307 int\t\tputenv( char *__s );\n",
6308 "-e", "/^char.*getenv();.*$/a\\\n\
6310 void\tunsetenv();\\\n\
6314 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6316 * Description of Ultrix_Strings fix
6318 tSCC zUltrix_StringsName[] =
6322 * File name selection pattern
6324 tSCC zUltrix_StringsList[] =
6327 * Machine/OS name selection pattern
6329 #define apzUltrix_StringsMachs (const char**)NULL
6332 * content selection pattern - do fix if pattern found
6334 tSCC zUltrix_StringsSelect0[] =
6335 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
6337 #define ULTRIX_STRINGS_TEST_CT 1
6338 static tTestDesc aUltrix_StringsTests[] = {
6339 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
6342 * Fix Command Arguments for Ultrix_Strings
6344 static const char* apzUltrix_StringsPatch[] = {
6348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6350 * Description of Ultrix_Strings2 fix
6352 tSCC zUltrix_Strings2Name[] =
6356 * File name selection pattern
6358 tSCC zUltrix_Strings2List[] =
6361 * Machine/OS name selection pattern
6363 #define apzUltrix_Strings2Machs (const char**)NULL
6366 * content selection pattern - do fix if pattern found
6368 tSCC zUltrix_Strings2Select0[] =
6369 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
6371 #define ULTRIX_STRINGS2_TEST_CT 1
6372 static tTestDesc aUltrix_Strings2Tests[] = {
6373 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
6376 * Fix Command Arguments for Ultrix_Strings2
6378 static const char* apzUltrix_Strings2Patch[] = { "sed",
6379 "-e", "/^.*strncmp( const .* );.*/a\\\n\
6382 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
6383 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
6384 "-e", "/^.*strncmp();.*/a\\\n\
6386 \tstrcasecmp(),\\\n\
6387 \tstrncasecmp();\n",
6390 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6392 * Description of Ultrix_Sys_Time fix
6394 tSCC zUltrix_Sys_TimeName[] =
6398 * File name selection pattern
6400 tSCC zUltrix_Sys_TimeList[] =
6403 * Machine/OS name selection pattern
6405 #define apzUltrix_Sys_TimeMachs (const char**)NULL
6408 * content selection pattern - do fix if pattern found
6410 tSCC zUltrix_Sys_TimeSelect0[] =
6411 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
6413 #define ULTRIX_SYS_TIME_TEST_CT 1
6414 static tTestDesc aUltrix_Sys_TimeTests[] = {
6415 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
6418 * Fix Command Arguments for Ultrix_Sys_Time
6420 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
6421 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
6423 extern int adjtime(struct timeval *, struct timeval *);\\\n\
6424 extern int getitimer(int, struct itimerval *);\\\n\
6425 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
6426 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
6427 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
6428 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
6429 extern int stime(const time_t *);\\\n\
6430 extern int utimes(const char *, const struct timeval[2]);\\\n\
6431 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
6432 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
6433 extern\tint adjtime();\\\n\
6434 extern\tint getitimer();\\\n\
6435 extern\tint setitimer();\\\n\
6436 extern\tint gettimeofday();\\\n\
6437 extern\tint settimeofday();\\\n\
6438 extern\tvoid profil();\\\n\
6439 extern\tint stime();\\\n\
6440 extern\tint utimes();\\\n\
6441 extern\tint select();\n",
6444 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6446 * Description of Ultrix_Unistd fix
6448 tSCC zUltrix_UnistdName[] =
6452 * File name selection pattern
6454 tSCC zUltrix_UnistdList[] =
6457 * Machine/OS name selection pattern
6459 #define apzUltrix_UnistdMachs (const char**)NULL
6462 * content selection pattern - do fix if pattern found
6464 tSCC zUltrix_UnistdSelect0[] =
6465 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
6467 #define ULTRIX_UNISTD_TEST_CT 1
6468 static tTestDesc aUltrix_UnistdTests[] = {
6469 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
6472 * Fix Command Arguments for Ultrix_Unistd
6474 static const char* apzUltrix_UnistdPatch[] = { "sed",
6475 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
6476 \tgetpagesize(),\n",
6477 "-e", "/^[ \t]*fork(),.*$/a\\\n\
6481 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6483 * Description of Unicosmk_Restrict fix
6485 tSCC zUnicosmk_RestrictName[] =
6486 "unicosmk_restrict";
6489 * File name selection pattern
6491 tSCC zUnicosmk_RestrictList[] =
6492 "|stdio.h|stdlib.h|wchar.h|";
6494 * Machine/OS name selection pattern
6496 tSCC* apzUnicosmk_RestrictMachs[] = {
6498 (const char*)NULL };
6501 * content selection pattern - do fix if pattern found
6503 tSCC zUnicosmk_RestrictSelect0[] =
6504 "(\\*[ \t]*)restrict([ \t]+)";
6506 #define UNICOSMK_RESTRICT_TEST_CT 1
6507 static tTestDesc aUnicosmk_RestrictTests[] = {
6508 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
6511 * Fix Command Arguments for Unicosmk_Restrict
6513 static const char* apzUnicosmk_RestrictPatch[] = {
6518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6520 * Description of Uw7_Byteorder_Fix fix
6522 tSCC zUw7_Byteorder_FixName[] =
6523 "uw7_byteorder_fix";
6526 * File name selection pattern
6528 tSCC zUw7_Byteorder_FixList[] =
6531 * Machine/OS name selection pattern
6533 tSCC* apzUw7_Byteorder_FixMachs[] = {
6537 "i?86-*-solaris2.[0-4]",
6538 "powerpcle-*-solaris2.[0-4]",
6539 "sparc-*-solaris2.[0-4]",
6540 (const char*)NULL };
6543 * content selection pattern - do fix if pattern found
6545 tSCC zUw7_Byteorder_FixSelect0[] =
6549 * perform the 'test' shell command - do fix on success
6551 tSCC zUw7_Byteorder_FixTest0[] =
6552 "-f sys/byteorder.h";
6554 #define UW7_BYTEORDER_FIX_TEST_CT 2
6555 static tTestDesc aUw7_Byteorder_FixTests[] = {
6556 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
6557 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
6560 * Fix Command Arguments for Uw7_Byteorder_Fix
6562 static const char* apzUw7_Byteorder_FixPatch[] = {
6565 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
6568 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6570 * Description of Va_I960_Macro fix
6572 tSCC zVa_I960_MacroName[] =
6576 * File name selection pattern
6578 tSCC zVa_I960_MacroList[] =
6579 "|arch/i960/archI960.h|";
6581 * Machine/OS name selection pattern
6583 #define apzVa_I960_MacroMachs (const char**)NULL
6586 * content selection pattern - do fix if pattern found
6588 tSCC zVa_I960_MacroSelect0[] =
6589 "__(vsiz|vali|vpad|alignof__)";
6591 #define VA_I960_MACRO_TEST_CT 1
6592 static tTestDesc aVa_I960_MacroTests[] = {
6593 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
6596 * Fix Command Arguments for Va_I960_Macro
6598 static const char* apzVa_I960_MacroPatch[] = {
6603 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6605 * Description of Void_Null fix
6607 tSCC zVoid_NullName[] =
6611 * File name selection pattern
6613 tSCC zVoid_NullList[] =
6614 "|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|";
6616 * Machine/OS name selection pattern
6618 #define apzVoid_NullMachs (const char**)NULL
6621 * content selection pattern - do fix if pattern found
6623 tSCC zVoid_NullSelect0[] =
6624 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
6627 * content bypass pattern - skip fix if pattern found
6629 tSCC zVoid_NullBypass0[] =
6632 #define VOID_NULL_TEST_CT 2
6633 static tTestDesc aVoid_NullTests[] = {
6634 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
6635 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
6638 * Fix Command Arguments for Void_Null
6640 static const char* apzVoid_NullPatch[] = {
6645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6647 * Description of Vxworks_Gcc_Problem fix
6649 tSCC zVxworks_Gcc_ProblemName[] =
6650 "vxworks_gcc_problem";
6653 * File name selection pattern
6655 tSCC zVxworks_Gcc_ProblemList[] =
6656 "|types/vxTypesBase.h|";
6658 * Machine/OS name selection pattern
6660 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
6663 * content selection pattern - do fix if pattern found
6665 tSCC zVxworks_Gcc_ProblemSelect0[] =
6666 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
6668 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
6669 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
6670 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
6673 * Fix Command Arguments for Vxworks_Gcc_Problem
6675 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
6676 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
6677 "-e", "/[ \t]size_t/i\\\n\
6678 #ifndef _GCC_SIZE_T\\\n\
6679 #define _GCC_SIZE_T\n",
6680 "-e", "/[ \t]size_t/a\\\n\
6682 "-e", "/[ \t]ptrdiff_t/i\\\n\
6683 #ifndef _GCC_PTRDIFF_T\\\n\
6684 #define _GCC_PTRDIFF_T\n",
6685 "-e", "/[ \t]ptrdiff_t/a\\\n\
6687 "-e", "/[ \t]wchar_t/i\\\n\
6688 #ifndef _GCC_WCHAR_T\\\n\
6689 #define _GCC_WCHAR_T\n",
6690 "-e", "/[ \t]wchar_t/a\\\n\
6694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6696 * Description of Vxworks_Needs_Vxtypes fix
6698 tSCC zVxworks_Needs_VxtypesName[] =
6699 "vxworks_needs_vxtypes";
6702 * File name selection pattern
6704 tSCC zVxworks_Needs_VxtypesList[] =
6707 * Machine/OS name selection pattern
6709 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
6712 * content selection pattern - do fix if pattern found
6714 tSCC zVxworks_Needs_VxtypesSelect0[] =
6715 "uint_t([ \t]+_clocks_per_sec)";
6717 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
6718 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
6719 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
6722 * Fix Command Arguments for Vxworks_Needs_Vxtypes
6724 static const char* apzVxworks_Needs_VxtypesPatch[] = {
6729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6731 * Description of Vxworks_Needs_Vxworks fix
6733 tSCC zVxworks_Needs_VxworksName[] =
6734 "vxworks_needs_vxworks";
6737 * File name selection pattern
6739 tSCC zVxworks_Needs_VxworksList[] =
6742 * Machine/OS name selection pattern
6744 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
6747 * content selection pattern - do fix if pattern found
6749 tSCC zVxworks_Needs_VxworksSelect0[] =
6750 "#[ \t]define[ \t]+__INCstath";
6753 * perform the 'test' shell command - do fix on success
6755 tSCC zVxworks_Needs_VxworksTest0[] =
6756 " -r types/vxTypesOld.h";
6757 tSCC zVxworks_Needs_VxworksTest1[] =
6758 " -n \"`egrep '#include' $file`\"";
6759 tSCC zVxworks_Needs_VxworksTest2[] =
6760 " -n \"`egrep ULONG $file`\"";
6762 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
6763 static tTestDesc aVxworks_Needs_VxworksTests[] = {
6764 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
6765 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
6766 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
6767 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
6770 * Fix Command Arguments for Vxworks_Needs_Vxworks
6772 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
6773 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
6774 #include <types/vxTypesOld.h>\n",
6777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6779 * Description of Vxworks_Time fix
6781 tSCC zVxworks_TimeName[] =
6785 * File name selection pattern
6787 tSCC zVxworks_TimeList[] =
6790 * Machine/OS name selection pattern
6792 #define apzVxworks_TimeMachs (const char**)NULL
6795 * content selection pattern - do fix if pattern found
6797 tSCC zVxworks_TimeSelect0[] =
6798 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
6801 * perform the 'test' shell command - do fix on success
6803 tSCC zVxworks_TimeTest0[] =
6806 #define VXWORKS_TIME_TEST_CT 2
6807 static tTestDesc aVxworks_TimeTests[] = {
6808 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
6809 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
6812 * Fix Command Arguments for Vxworks_Time
6814 static const char* apzVxworks_TimePatch[] = {
6816 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
6817 #ifdef __cplusplus\n\
6818 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
6820 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
6822 #define __gcc_VOIDFUNCPTR_defined\n\
6824 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
6827 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6829 * Description of Windiss_Math1 fix
6831 tSCC zWindiss_Math1Name[] =
6835 * File name selection pattern
6837 tSCC zWindiss_Math1List[] =
6840 * Machine/OS name selection pattern
6842 tSCC* apzWindiss_Math1Machs[] = {
6844 (const char*)NULL };
6845 #define WINDISS_MATH1_TEST_CT 0
6846 #define aWindiss_Math1Tests (tTestDesc*)NULL
6849 * Fix Command Arguments for Windiss_Math1
6851 static const char* apzWindiss_Math1Patch[] = { "sed",
6852 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
6855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6857 * Description of Windiss_Math2 fix
6859 tSCC zWindiss_Math2Name[] =
6863 * File name selection pattern
6865 tSCC zWindiss_Math2List[] =
6868 * Machine/OS name selection pattern
6870 tSCC* apzWindiss_Math2Machs[] = {
6872 (const char*)NULL };
6873 #define WINDISS_MATH2_TEST_CT 0
6874 #define aWindiss_Math2Tests (tTestDesc*)NULL
6877 * Fix Command Arguments for Windiss_Math2
6879 static const char* apzWindiss_Math2Patch[] = { "sed",
6880 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
6883 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6885 * Description of Windiss_Valist fix
6887 tSCC zWindiss_ValistName[] =
6891 * File name selection pattern
6893 #define zWindiss_ValistList (char*)NULL
6895 * Machine/OS name selection pattern
6897 tSCC* apzWindiss_ValistMachs[] = {
6899 (const char*)NULL };
6902 * content selection pattern - do fix if pattern found
6904 tSCC zWindiss_ValistSelect0[] =
6905 "(#include.*)diab/va_list.h";
6907 #define WINDISS_VALIST_TEST_CT 1
6908 static tTestDesc aWindiss_ValistTests[] = {
6909 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
6912 * Fix Command Arguments for Windiss_Valist
6914 static const char* apzWindiss_ValistPatch[] = { "sed",
6915 "-e", "s|diab/va_list.h|stdarg.h|",
6918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6920 * Description of X11_Class fix
6922 tSCC zX11_ClassName[] =
6926 * File name selection pattern
6928 tSCC zX11_ClassList[] =
6931 * Machine/OS name selection pattern
6933 #define apzX11_ClassMachs (const char**)NULL
6936 * content selection pattern - do fix if pattern found
6938 tSCC zX11_ClassSelect0[] =
6939 "^([ \t]*char \\*)class;(.*)";
6942 * content bypass pattern - skip fix if pattern found
6944 tSCC zX11_ClassBypass0[] =
6947 #define X11_CLASS_TEST_CT 2
6948 static tTestDesc aX11_ClassTests[] = {
6949 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
6950 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
6953 * Fix Command Arguments for X11_Class
6955 static const char* apzX11_ClassPatch[] = {
6957 "#ifdef __cplusplus\n\
6964 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6966 * Description of X11_Class_Usage fix
6968 tSCC zX11_Class_UsageName[] =
6972 * File name selection pattern
6974 tSCC zX11_Class_UsageList[] =
6975 "|Xm/BaseClassI.h|";
6977 * Machine/OS name selection pattern
6979 #define apzX11_Class_UsageMachs (const char**)NULL
6982 * content selection pattern - do fix if pattern found
6984 tSCC zX11_Class_UsageSelect0[] =
6988 * content bypass pattern - skip fix if pattern found
6990 tSCC zX11_Class_UsageBypass0[] =
6993 #define X11_CLASS_USAGE_TEST_CT 2
6994 static tTestDesc aX11_Class_UsageTests[] = {
6995 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
6996 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
6999 * Fix Command Arguments for X11_Class_Usage
7001 static const char* apzX11_Class_UsagePatch[] = {
7006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7008 * Description of X11_New fix
7010 tSCC zX11_NewName[] =
7014 * File name selection pattern
7016 tSCC zX11_NewList[] =
7019 * Machine/OS name selection pattern
7021 #define apzX11_NewMachs (const char**)NULL
7024 * content bypass pattern - skip fix if pattern found
7026 tSCC zX11_NewBypass0[] =
7029 #define X11_NEW_TEST_CT 1
7030 static tTestDesc aX11_NewTests[] = {
7031 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
7034 * Fix Command Arguments for X11_New
7036 static const char* apzX11_NewPatch[] = { "sed",
7037 "-e", "/Widget\told, new;/i\\\n\
7038 #ifdef __cplusplus\\\n\
7039 \tWidget\told, c_new;\\\n\
7041 "-e", "/Widget\told, new;/a\\\n\
7043 "-e", "s/Widget new,/Widget c_new,/g",
7046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7048 * Description of X11_Sprintf fix
7050 tSCC zX11_SprintfName[] =
7054 * File name selection pattern
7056 tSCC zX11_SprintfList[] =
7057 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
7059 * Machine/OS name selection pattern
7061 #define apzX11_SprintfMachs (const char**)NULL
7064 * content selection pattern - do fix if pattern found
7066 tSCC zX11_SprintfSelect0[] =
7067 "^extern char \\*\tsprintf\\(\\);$";
7069 #define X11_SPRINTF_TEST_CT 1
7070 static tTestDesc aX11_SprintfTests[] = {
7071 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
7074 * Fix Command Arguments for X11_Sprintf
7076 static const char* apzX11_SprintfPatch[] = {
7078 "#ifndef __STDC__\n\
7080 #endif /* !defined __STDC__ */",
7084 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7088 #define REGEX_COUNT 207
7089 #define MACH_LIST_SIZE_LIMIT 261
7090 #define FIX_COUNT 177
7093 * Enumerate the fixes
7096 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
7097 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
7098 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
7099 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
7100 AAB_SUN_MEMCPY_FIXIDX,
7101 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
7102 AAB_ULTRIX_LIMITS_FIXIDX,
7103 AAB_ULTRIX_MEMORY_FIXIDX,
7104 AAB_ULTRIX_STRING_FIXIDX,
7106 AIX_SYSMACHINE_FIXIDX,
7108 AIX_SYSWAIT_2_FIXIDX,
7109 AIX_VOLATILE_FIXIDX,
7110 ALPHA___ASSERT_FIXIDX,
7111 ALPHA___EXTERN_PREFIX_FIXIDX,
7112 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
7113 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
7114 ALPHA_ASSERT_FIXIDX,
7115 ALPHA_BAD_LVAL_FIXIDX,
7116 ALPHA_GETOPT_FIXIDX,
7117 ALPHA_PARENS_FIXIDX,
7118 ALPHA_PTHREAD_FIXIDX,
7119 ALPHA_PTHREAD_GCC_FIXIDX,
7120 ALPHA_PTHREAD_INIT_FIXIDX,
7123 AVOID_BOOL_DEFINE_FIXIDX,
7124 AVOID_BOOL_TYPE_FIXIDX,
7125 AVOID_WCHAR_T_TYPE_FIXIDX,
7126 BAD_STRUCT_TERM_FIXIDX,
7128 BROKEN_ASSERT_STDIO_FIXIDX,
7129 BROKEN_ASSERT_STDLIB_FIXIDX,
7131 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
7132 CTRL_QUOTES_DEF_FIXIDX,
7133 CTRL_QUOTES_USE_FIXIDX,
7135 DARWIN_GCC4_BREAKAGE_FIXIDX,
7136 DARWIN_PRIVATE_EXTERN_FIXIDX,
7137 DEC_INTERN_ASM_FIXIDX,
7138 DJGPP_WCHAR_H_FIXIDX,
7140 EXCEPTION_STRUCTURE_FIXIDX,
7141 FREEBSD_GCC3_BREAKAGE_FIXIDX,
7142 FREEBSD_GCC4_BREAKAGE_FIXIDX,
7146 HPUX10_CPP_POW_INLINE_FIXIDX,
7147 HPUX11_CPP_POW_INLINE_FIXIDX,
7148 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
7149 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
7150 HPUX10_STDIO_DECLARATIONS_FIXIDX,
7152 HPUX11_FABSF_FIXIDX,
7153 HPUX11_SIZE_T_FIXIDX,
7154 HPUX11_SNPRINTF_FIXIDX,
7155 HPUX11_UINT32_C_FIXIDX,
7156 HPUX11_VSNPRINTF_FIXIDX,
7157 HPUX8_BOGUS_INLINES_FIXIDX,
7158 HPUX_CTYPE_MACROS_FIXIDX,
7159 HPUX_LONG_DOUBLE_FIXIDX,
7160 HPUX_SYSTIME_FIXIDX,
7161 INT_ABORT_FREE_AND_EXIT_FIXIDX,
7162 IO_QUOTES_DEF_FIXIDX,
7163 IO_QUOTES_USE_FIXIDX,
7164 IP_MISSING_SEMI_FIXIDX,
7165 IRIX___RESTRICT_FIXIDX,
7166 IRIX___GENERIC1_FIXIDX,
7167 IRIX___GENERIC2_FIXIDX,
7168 IRIX_ASM_APOSTROPHE_FIXIDX,
7169 IRIX_LIMITS_CONST_FIXIDX,
7170 IRIX_SOCKLEN_T_FIXIDX,
7171 IRIX_STDIO_VA_LIST_FIXIDX,
7172 IRIX_WCSFTIME_FIXIDX,
7174 ISC_OMITS_WITH_STDC_FIXIDX,
7175 KANDR_CONCAT_FIXIDX,
7176 LIBC1_G_VA_LIST_FIXIDX,
7177 LIBC1_IFDEFD_MEMX_FIXIDX,
7178 LINUX_IA64_UCONTEXT_FIXIDX,
7179 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
7180 LYNXOS_MISSING_PUTENV_FIXIDX,
7181 MACHINE_ANSI_H_VA_LIST_FIXIDX,
7182 MACHINE_NAME_FIXIDX,
7183 MATH_EXCEPTION_FIXIDX,
7184 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
7185 NESTED_AUTH_DES_FIXIDX,
7186 NESTED_MOTOROLA_FIXIDX,
7187 NESTED_SYS_LIMITS_FIXIDX,
7188 NETBSD_EXTRA_SEMICOLON_FIXIDX,
7189 NEXT_MATH_PREFIX_FIXIDX,
7190 NEXT_TEMPLATE_FIXIDX,
7191 NEXT_VOLITILE_FIXIDX,
7192 NEXT_WAIT_UNION_FIXIDX,
7193 NODEENT_SYNTAX_FIXIDX,
7194 OBSTACK_LVALUE_CAST_FIXIDX,
7195 OSF_NAMESPACE_A_FIXIDX,
7196 OSF_NAMESPACE_C_FIXIDX,
7197 PTHREAD_PAGE_SIZE_FIXIDX,
7198 READ_RET_TYPE_FIXIDX,
7199 RPC_XDR_LVALUE_CAST_A_FIXIDX,
7200 RPC_XDR_LVALUE_CAST_B_FIXIDX,
7201 RS6000_DOUBLE_FIXIDX,
7202 RS6000_FCHMOD_FIXIDX,
7203 RS6000_PARAM_FIXIDX,
7206 SCO_STATIC_FUNC_FIXIDX,
7208 SOLARIS_MUTEX_INIT_1_FIXIDX,
7209 SOLARIS_MUTEX_INIT_2_FIXIDX,
7210 SOLARIS_SOCKET_FIXIDX,
7211 SOLARIS_STDIO_TAG_FIXIDX,
7212 SOLARIS_UNISTD_FIXIDX,
7213 SOLARIS_WIDEC_FIXIDX,
7215 STDIO_STDARG_H_FIXIDX,
7216 STDIO_VA_LIST_FIXIDX,
7217 STDIO_VA_LIST_CLIENTS_FIXIDX,
7218 STRICT_ANSI_NOT_FIXIDX,
7219 STRICT_ANSI_NOT_CTD_FIXIDX,
7220 STRICT_ANSI_ONLY_FIXIDX,
7222 STRUCT_SOCKADDR_FIXIDX,
7223 SUN_AUTH_PROTO_FIXIDX,
7224 SUN_BOGUS_IFDEF_FIXIDX,
7225 SUN_CATMACRO_FIXIDX,
7227 SUN_RUSERS_SEMI_FIXIDX,
7229 SUNOS_STRLEN_FIXIDX,
7230 SVR4_DISABLE_OPT_FIXIDX,
7234 SVR4_SIGHANDLER_TYPE_FIXIDX,
7235 SVR4_UNDECLARED_GETRNGE_FIXIDX,
7236 SYSV68_STRING_FIXIDX,
7237 SYSZ_STDLIB_FOR_SUN_FIXIDX,
7238 THREAD_KEYWORD_FIXIDX,
7239 TINFO_CPLUSPLUS_FIXIDX,
7240 ULTRIX_ATEXIT_PARAM_FIXIDX,
7241 ULTRIX_ATOF_PARAM_FIXIDX,
7242 ULTRIX_CONST_FIXIDX,
7243 ULTRIX_CONST2_FIXIDX,
7244 ULTRIX_CONST3_FIXIDX,
7245 ULTRIX_FIX_FIXPROTO_FIXIDX,
7246 ULTRIX_IFDEF_FIXIDX,
7247 ULTRIX_LOCALE_FIXIDX,
7248 ULTRIX_MATH_IFDEF_FIXIDX,
7249 ULTRIX_NESTED_IOCTL_FIXIDX,
7250 ULTRIX_NESTED_SVC_FIXIDX,
7252 ULTRIX_STATIC_FIXIDX,
7253 ULTRIX_STDLIB_FIXIDX,
7254 ULTRIX_STRINGS_FIXIDX,
7255 ULTRIX_STRINGS2_FIXIDX,
7256 ULTRIX_SYS_TIME_FIXIDX,
7257 ULTRIX_UNISTD_FIXIDX,
7258 UNICOSMK_RESTRICT_FIXIDX,
7259 UW7_BYTEORDER_FIX_FIXIDX,
7260 VA_I960_MACRO_FIXIDX,
7262 VXWORKS_GCC_PROBLEM_FIXIDX,
7263 VXWORKS_NEEDS_VXTYPES_FIXIDX,
7264 VXWORKS_NEEDS_VXWORKS_FIXIDX,
7265 VXWORKS_TIME_FIXIDX,
7266 WINDISS_MATH1_FIXIDX,
7267 WINDISS_MATH2_FIXIDX,
7268 WINDISS_VALIST_FIXIDX,
7270 X11_CLASS_USAGE_FIXIDX,
7275 tFixDesc fixDescList[ FIX_COUNT ] = {
7276 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
7277 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
7278 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7279 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
7281 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
7282 apzAab_Fd_Zero_Gnu_Types_HMachs,
7283 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7284 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
7286 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
7287 apzAab_Fd_Zero_Selectbits_HMachs,
7288 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7289 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
7291 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
7292 apzAab_Solaris_Sys_Varargs_HMachs,
7293 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7294 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
7296 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
7297 apzAab_Sun_MemcpyMachs,
7298 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7299 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
7301 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
7302 apzAab_Ultrix_Ansi_CompatMachs,
7303 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7304 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
7306 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
7307 apzAab_Ultrix_LimitsMachs,
7308 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7309 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
7311 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
7312 apzAab_Ultrix_MemoryMachs,
7313 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7314 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
7316 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
7317 apzAab_Ultrix_StringMachs,
7318 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7319 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
7321 { zAix_PthreadName, zAix_PthreadList,
7322 apzAix_PthreadMachs,
7323 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7324 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
7326 { zAix_SysmachineName, zAix_SysmachineList,
7327 apzAix_SysmachineMachs,
7328 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7329 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
7331 { zAix_SyswaitName, zAix_SyswaitList,
7332 apzAix_SyswaitMachs,
7333 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7334 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
7336 { zAix_Syswait_2Name, zAix_Syswait_2List,
7337 apzAix_Syswait_2Machs,
7338 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7339 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
7341 { zAix_VolatileName, zAix_VolatileList,
7342 apzAix_VolatileMachs,
7343 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7344 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
7346 { zAlpha___AssertName, zAlpha___AssertList,
7347 apzAlpha___AssertMachs,
7348 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7349 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
7351 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
7352 apzAlpha___Extern_PrefixMachs,
7353 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7354 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
7356 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
7357 apzAlpha___Extern_Prefix_StandardsMachs,
7358 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7359 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
7361 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
7362 apzAlpha___Extern_Prefix_Sys_StatMachs,
7363 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7364 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
7366 { zAlpha_AssertName, zAlpha_AssertList,
7367 apzAlpha_AssertMachs,
7368 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7369 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
7371 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
7372 apzAlpha_Bad_LvalMachs,
7373 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
7374 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
7376 { zAlpha_GetoptName, zAlpha_GetoptList,
7377 apzAlpha_GetoptMachs,
7378 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7379 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
7381 { zAlpha_ParensName, zAlpha_ParensList,
7382 apzAlpha_ParensMachs,
7383 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7384 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
7386 { zAlpha_PthreadName, zAlpha_PthreadList,
7387 apzAlpha_PthreadMachs,
7388 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7389 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
7391 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
7392 apzAlpha_Pthread_GccMachs,
7393 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7394 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
7396 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
7397 apzAlpha_Pthread_InitMachs,
7398 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
7399 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
7401 { zAlpha_SbrkName, zAlpha_SbrkList,
7403 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7404 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
7406 { zAlpha_WcharName, zAlpha_WcharList,
7407 apzAlpha_WcharMachs,
7408 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
7409 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
7411 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
7412 apzAvoid_Bool_DefineMachs,
7413 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7414 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
7416 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
7417 apzAvoid_Bool_TypeMachs,
7418 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7419 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
7421 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
7422 apzAvoid_Wchar_T_TypeMachs,
7423 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7424 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
7426 { zBad_Struct_TermName, zBad_Struct_TermList,
7427 apzBad_Struct_TermMachs,
7428 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7429 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
7431 { zBadquoteName, zBadquoteList,
7433 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7434 aBadquoteTests, apzBadquotePatch, 0 },
7436 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
7437 apzBroken_Assert_StdioMachs,
7438 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7439 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
7441 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
7442 apzBroken_Assert_StdlibMachs,
7443 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7444 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
7446 { zBroken_CabsName, zBroken_CabsList,
7447 apzBroken_CabsMachs,
7448 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7449 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
7451 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
7452 apzBsd_Stdio_Attrs_ConflictMachs,
7453 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7454 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
7456 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
7457 apzCtrl_Quotes_DefMachs,
7458 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7459 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
7461 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
7462 apzCtrl_Quotes_UseMachs,
7463 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7464 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
7466 { zCxx_UnreadyName, zCxx_UnreadyList,
7467 apzCxx_UnreadyMachs,
7468 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7469 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
7471 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
7472 apzDarwin_Gcc4_BreakageMachs,
7473 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7474 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
7476 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
7477 apzDarwin_Private_ExternMachs,
7478 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7479 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
7481 { zDec_Intern_AsmName, zDec_Intern_AsmList,
7482 apzDec_Intern_AsmMachs,
7483 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
7484 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
7486 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
7487 apzDjgpp_Wchar_HMachs,
7488 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7489 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
7491 { zEcd_CursorName, zEcd_CursorList,
7493 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7494 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
7496 { zException_StructureName, zException_StructureList,
7497 apzException_StructureMachs,
7498 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7499 aException_StructureTests, apzException_StructurePatch, 0 },
7501 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
7502 apzFreebsd_Gcc3_BreakageMachs,
7503 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7504 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
7506 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
7507 apzFreebsd_Gcc4_BreakageMachs,
7508 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7509 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
7511 { zGnu_TypesName, zGnu_TypesList,
7513 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
7514 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
7516 { zHp_InlineName, zHp_InlineList,
7518 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7519 aHp_InlineTests, apzHp_InlinePatch, 0 },
7521 { zHp_SysfileName, zHp_SysfileList,
7523 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7524 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
7526 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
7527 apzHpux10_Cpp_Pow_InlineMachs,
7528 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7529 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
7531 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
7532 apzHpux11_Cpp_Pow_InlineMachs,
7533 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7534 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
7536 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
7537 apzHpux10_Ctype_Declarations1Machs,
7538 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7539 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
7541 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
7542 apzHpux10_Ctype_Declarations2Machs,
7543 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7544 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
7546 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
7547 apzHpux10_Stdio_DeclarationsMachs,
7548 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7549 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
7551 { zHpux11_AbsName, zHpux11_AbsList,
7553 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7554 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
7556 { zHpux11_FabsfName, zHpux11_FabsfList,
7557 apzHpux11_FabsfMachs,
7558 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7559 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
7561 { zHpux11_Size_TName, zHpux11_Size_TList,
7562 apzHpux11_Size_TMachs,
7563 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7564 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
7566 { zHpux11_SnprintfName, zHpux11_SnprintfList,
7567 apzHpux11_SnprintfMachs,
7568 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7569 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
7571 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
7572 apzHpux11_Uint32_CMachs,
7573 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7574 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
7576 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
7577 apzHpux11_VsnprintfMachs,
7578 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7579 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
7581 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
7582 apzHpux8_Bogus_InlinesMachs,
7583 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
7584 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
7586 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
7587 apzHpux_Ctype_MacrosMachs,
7588 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7589 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
7591 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
7592 apzHpux_Long_DoubleMachs,
7593 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
7594 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
7596 { zHpux_SystimeName, zHpux_SystimeList,
7597 apzHpux_SystimeMachs,
7598 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7599 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
7601 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
7602 apzInt_Abort_Free_And_ExitMachs,
7603 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7604 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
7606 { zIo_Quotes_DefName, zIo_Quotes_DefList,
7607 apzIo_Quotes_DefMachs,
7608 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7609 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
7611 { zIo_Quotes_UseName, zIo_Quotes_UseList,
7612 apzIo_Quotes_UseMachs,
7613 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7614 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
7616 { zIp_Missing_SemiName, zIp_Missing_SemiList,
7617 apzIp_Missing_SemiMachs,
7618 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
7619 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
7621 { zIrix___RestrictName, zIrix___RestrictList,
7622 apzIrix___RestrictMachs,
7623 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7624 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
7626 { zIrix___Generic1Name, zIrix___Generic1List,
7627 apzIrix___Generic1Machs,
7628 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7629 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
7631 { zIrix___Generic2Name, zIrix___Generic2List,
7632 apzIrix___Generic2Machs,
7633 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7634 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
7636 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
7637 apzIrix_Asm_ApostropheMachs,
7638 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7639 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
7641 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
7642 apzIrix_Limits_ConstMachs,
7643 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7644 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
7646 { zIrix_Socklen_TName, zIrix_Socklen_TList,
7647 apzIrix_Socklen_TMachs,
7648 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7649 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
7651 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
7652 apzIrix_Stdio_Va_ListMachs,
7653 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7654 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
7656 { zIrix_WcsftimeName, zIrix_WcsftimeList,
7657 apzIrix_WcsftimeMachs,
7658 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7659 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
7661 { zIsc_FmodName, zIsc_FmodList,
7663 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7664 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
7666 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
7667 apzIsc_Omits_With_StdcMachs,
7668 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7669 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
7671 { zKandr_ConcatName, zKandr_ConcatList,
7672 apzKandr_ConcatMachs,
7673 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7674 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
7676 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
7677 apzLibc1_G_Va_ListMachs,
7678 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7679 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
7681 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
7682 apzLibc1_Ifdefd_MemxMachs,
7683 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7684 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
7686 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
7687 apzLinux_Ia64_UcontextMachs,
7688 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7689 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
7691 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
7692 apzLynxos_No_Warning_In_Sys_Time_HMachs,
7693 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7694 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
7696 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
7697 apzLynxos_Missing_PutenvMachs,
7698 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7699 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
7701 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
7702 apzMachine_Ansi_H_Va_ListMachs,
7703 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7704 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
7706 { zMachine_NameName, zMachine_NameList,
7707 apzMachine_NameMachs,
7708 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7709 aMachine_NameTests, apzMachine_NamePatch, 0 },
7711 { zMath_ExceptionName, zMath_ExceptionList,
7712 apzMath_ExceptionMachs,
7713 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7714 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
7716 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
7717 apzMath_Huge_Val_From_Dbl_MaxMachs,
7718 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
7719 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
7721 { zNested_Auth_DesName, zNested_Auth_DesList,
7722 apzNested_Auth_DesMachs,
7723 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7724 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
7726 { zNested_MotorolaName, zNested_MotorolaList,
7727 apzNested_MotorolaMachs,
7728 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
7729 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
7731 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
7732 apzNested_Sys_LimitsMachs,
7733 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
7734 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
7736 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
7737 apzNetbsd_Extra_SemicolonMachs,
7738 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7739 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
7741 { zNext_Math_PrefixName, zNext_Math_PrefixList,
7742 apzNext_Math_PrefixMachs,
7743 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7744 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
7746 { zNext_TemplateName, zNext_TemplateList,
7747 apzNext_TemplateMachs,
7748 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7749 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
7751 { zNext_VolitileName, zNext_VolitileList,
7752 apzNext_VolitileMachs,
7753 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7754 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
7756 { zNext_Wait_UnionName, zNext_Wait_UnionList,
7757 apzNext_Wait_UnionMachs,
7758 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7759 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
7761 { zNodeent_SyntaxName, zNodeent_SyntaxList,
7762 apzNodeent_SyntaxMachs,
7763 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7764 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
7766 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
7767 apzObstack_Lvalue_CastMachs,
7768 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7769 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
7771 { zOsf_Namespace_AName, zOsf_Namespace_AList,
7772 apzOsf_Namespace_AMachs,
7773 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7774 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
7776 { zOsf_Namespace_CName, zOsf_Namespace_CList,
7777 apzOsf_Namespace_CMachs,
7778 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7779 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
7781 { zPthread_Page_SizeName, zPthread_Page_SizeList,
7782 apzPthread_Page_SizeMachs,
7783 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7784 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
7786 { zRead_Ret_TypeName, zRead_Ret_TypeList,
7787 apzRead_Ret_TypeMachs,
7788 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7789 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
7791 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
7792 apzRpc_Xdr_Lvalue_Cast_AMachs,
7793 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7794 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
7796 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
7797 apzRpc_Xdr_Lvalue_Cast_BMachs,
7798 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7799 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
7801 { zRs6000_DoubleName, zRs6000_DoubleList,
7802 apzRs6000_DoubleMachs,
7803 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7804 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
7806 { zRs6000_FchmodName, zRs6000_FchmodList,
7807 apzRs6000_FchmodMachs,
7808 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7809 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
7811 { zRs6000_ParamName, zRs6000_ParamList,
7812 apzRs6000_ParamMachs,
7813 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7814 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
7816 { zSco_MathName, zSco_MathList,
7818 SCO_MATH_TEST_CT, FD_MACH_ONLY,
7819 aSco_MathTests, apzSco_MathPatch, 0 },
7821 { zSco_RegsetName, zSco_RegsetList,
7823 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7824 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
7826 { zSco_Static_FuncName, zSco_Static_FuncList,
7827 apzSco_Static_FuncMachs,
7828 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
7829 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
7831 { zSco_UtimeName, zSco_UtimeList,
7833 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7834 aSco_UtimeTests, apzSco_UtimePatch, 0 },
7836 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
7837 apzSolaris_Mutex_Init_1Machs,
7838 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
7839 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
7841 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
7842 apzSolaris_Mutex_Init_2Machs,
7843 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7844 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
7846 { zSolaris_SocketName, zSolaris_SocketList,
7847 apzSolaris_SocketMachs,
7848 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7849 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
7851 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
7852 apzSolaris_Stdio_TagMachs,
7853 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
7854 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
7856 { zSolaris_UnistdName, zSolaris_UnistdList,
7857 apzSolaris_UnistdMachs,
7858 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7859 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
7861 { zSolaris_WidecName, zSolaris_WidecList,
7862 apzSolaris_WidecMachs,
7863 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7864 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
7866 { zStatsswtchName, zStatsswtchList,
7868 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7869 aStatsswtchTests, apzStatsswtchPatch, 0 },
7871 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
7872 apzStdio_Stdarg_HMachs,
7873 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
7874 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
7876 { zStdio_Va_ListName, zStdio_Va_ListList,
7877 apzStdio_Va_ListMachs,
7878 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
7879 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
7881 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
7882 apzStdio_Va_List_ClientsMachs,
7883 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
7884 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
7886 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
7887 apzStrict_Ansi_NotMachs,
7888 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7889 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
7891 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
7892 apzStrict_Ansi_Not_CtdMachs,
7893 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7894 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
7896 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
7897 apzStrict_Ansi_OnlyMachs,
7898 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7899 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
7901 { zStruct_FileName, zStruct_FileList,
7902 apzStruct_FileMachs,
7903 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7904 aStruct_FileTests, apzStruct_FilePatch, 0 },
7906 { zStruct_SockaddrName, zStruct_SockaddrList,
7907 apzStruct_SockaddrMachs,
7908 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7909 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
7911 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
7912 apzSun_Auth_ProtoMachs,
7913 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7914 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
7916 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
7917 apzSun_Bogus_IfdefMachs,
7918 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7919 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
7921 { zSun_CatmacroName, zSun_CatmacroList,
7922 apzSun_CatmacroMachs,
7923 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7924 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
7926 { zSun_MallocName, zSun_MallocList,
7928 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
7929 aSun_MallocTests, apzSun_MallocPatch, 0 },
7931 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
7932 apzSun_Rusers_SemiMachs,
7933 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
7934 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
7936 { zSun_SignalName, zSun_SignalList,
7938 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7939 aSun_SignalTests, apzSun_SignalPatch, 0 },
7941 { zSunos_StrlenName, zSunos_StrlenList,
7942 apzSunos_StrlenMachs,
7943 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7944 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
7946 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
7947 apzSvr4_Disable_OptMachs,
7948 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
7949 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
7951 { zSvr4_GetcwdName, zSvr4_GetcwdList,
7952 apzSvr4_GetcwdMachs,
7953 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7954 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
7956 { zSvr4_KrnlName, zSvr4_KrnlList,
7958 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7959 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
7961 { zSvr4_ProfilName, zSvr4_ProfilList,
7962 apzSvr4_ProfilMachs,
7963 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7964 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
7966 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
7967 apzSvr4_Sighandler_TypeMachs,
7968 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7969 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
7971 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
7972 apzSvr4_Undeclared_GetrngeMachs,
7973 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7974 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
7976 { zSysv68_StringName, zSysv68_StringList,
7977 apzSysv68_StringMachs,
7978 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
7979 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
7981 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
7982 apzSysz_Stdlib_For_SunMachs,
7983 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7984 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
7986 { zThread_KeywordName, zThread_KeywordList,
7987 apzThread_KeywordMachs,
7988 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7989 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
7991 { zTinfo_CplusplusName, zTinfo_CplusplusList,
7992 apzTinfo_CplusplusMachs,
7993 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7994 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
7996 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
7997 apzUltrix_Atexit_ParamMachs,
7998 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7999 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
8001 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
8002 apzUltrix_Atof_ParamMachs,
8003 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8004 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
8006 { zUltrix_ConstName, zUltrix_ConstList,
8007 apzUltrix_ConstMachs,
8008 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8009 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
8011 { zUltrix_Const2Name, zUltrix_Const2List,
8012 apzUltrix_Const2Machs,
8013 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8014 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
8016 { zUltrix_Const3Name, zUltrix_Const3List,
8017 apzUltrix_Const3Machs,
8018 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8019 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
8021 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
8022 apzUltrix_Fix_FixprotoMachs,
8023 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8024 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
8026 { zUltrix_IfdefName, zUltrix_IfdefList,
8027 apzUltrix_IfdefMachs,
8028 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8029 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
8031 { zUltrix_LocaleName, zUltrix_LocaleList,
8032 apzUltrix_LocaleMachs,
8033 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8034 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
8036 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
8037 apzUltrix_Math_IfdefMachs,
8038 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8039 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
8041 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
8042 apzUltrix_Nested_IoctlMachs,
8043 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
8044 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
8046 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
8047 apzUltrix_Nested_SvcMachs,
8048 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
8049 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
8051 { zUltrix_StatName, zUltrix_StatList,
8052 apzUltrix_StatMachs,
8053 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
8054 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
8056 { zUltrix_StaticName, zUltrix_StaticList,
8057 apzUltrix_StaticMachs,
8058 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
8059 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
8061 { zUltrix_StdlibName, zUltrix_StdlibList,
8062 apzUltrix_StdlibMachs,
8063 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
8064 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
8066 { zUltrix_StringsName, zUltrix_StringsList,
8067 apzUltrix_StringsMachs,
8068 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8069 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
8071 { zUltrix_Strings2Name, zUltrix_Strings2List,
8072 apzUltrix_Strings2Machs,
8073 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
8074 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
8076 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
8077 apzUltrix_Sys_TimeMachs,
8078 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
8079 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
8081 { zUltrix_UnistdName, zUltrix_UnistdList,
8082 apzUltrix_UnistdMachs,
8083 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
8084 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
8086 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
8087 apzUnicosmk_RestrictMachs,
8088 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8089 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
8091 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
8092 apzUw7_Byteorder_FixMachs,
8093 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8094 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
8096 { zVa_I960_MacroName, zVa_I960_MacroList,
8097 apzVa_I960_MacroMachs,
8098 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8099 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
8101 { zVoid_NullName, zVoid_NullList,
8103 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8104 aVoid_NullTests, apzVoid_NullPatch, 0 },
8106 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
8107 apzVxworks_Gcc_ProblemMachs,
8108 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
8109 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
8111 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
8112 apzVxworks_Needs_VxtypesMachs,
8113 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8114 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
8116 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
8117 apzVxworks_Needs_VxworksMachs,
8118 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
8119 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
8121 { zVxworks_TimeName, zVxworks_TimeList,
8122 apzVxworks_TimeMachs,
8123 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8124 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
8126 { zWindiss_Math1Name, zWindiss_Math1List,
8127 apzWindiss_Math1Machs,
8128 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
8129 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
8131 { zWindiss_Math2Name, zWindiss_Math2List,
8132 apzWindiss_Math2Machs,
8133 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
8134 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
8136 { zWindiss_ValistName, zWindiss_ValistList,
8137 apzWindiss_ValistMachs,
8138 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
8139 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
8141 { zX11_ClassName, zX11_ClassList,
8143 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8144 aX11_ClassTests, apzX11_ClassPatch, 0 },
8146 { zX11_Class_UsageName, zX11_Class_UsageList,
8147 apzX11_Class_UsageMachs,
8148 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8149 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
8151 { zX11_NewName, zX11_NewList,
8153 X11_NEW_TEST_CT, FD_MACH_ONLY,
8154 aX11_NewTests, apzX11_NewPatch, 0 },
8156 { zX11_SprintfName, zX11_SprintfList,
8157 apzX11_SprintfMachs,
8158 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8159 aX11_SprintfTests, apzX11_SprintfPatch, 0 }