1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Thursday June 22, 2006 at 03:07:03 PM PDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT CVS-MERGE THIS FILE, EITHER Thu Jun 22 15:07:03 PDT 2006
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 196 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_Darwin7_9_Long_Double_Funcs fix
47 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
48 "AAB_darwin7_9_long_double_funcs";
51 * File name selection pattern
53 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
54 "|architecture/ppc/math.h|";
56 * Machine/OS name selection pattern
58 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
63 * content bypass pattern - skip fix if pattern found
65 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
68 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
69 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
70 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
73 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
75 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
76 "/* This file prototypes the long double functions available on Mac OS\n\
79 # undef __APPLE_CC__\n\
80 # define __APPLE_CC__ 1345\n\
81 # include_next <architecture/ppc/math.h>\n\
82 # undef __APPLE_CC__\n\
83 # define __APPLE_CC__ 1\n\
84 # ifndef __LIBMLDBL_COMPAT\n\
85 # ifdef __LONG_DOUBLE_128__\n\
86 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
88 # define __LIBMLDBL_COMPAT(sym)\n\
89 # endif /* __LONG_DOUBLE_128__ */\n\
90 # endif /* __LIBMLDBL_COMPAT */\n\
91 # ifdef __cplusplus\n\
94 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
95 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
96 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
97 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
98 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
99 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
100 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
101 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
102 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
103 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
104 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
105 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
106 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
107 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
108 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
109 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
110 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
111 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
112 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
113 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
114 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
115 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
116 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
117 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
118 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
119 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
120 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
121 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
122 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
123 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
124 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
125 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
126 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
127 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
128 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
129 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
130 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
131 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
132 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
133 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
134 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
135 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
136 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
137 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
138 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
139 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
140 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
141 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
142 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
143 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
144 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
145 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
146 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
147 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
148 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
149 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
150 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
151 # ifdef __cplusplus\n\
154 #endif /* __MATH__ */",
157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
159 * Description of Aab_Darwin7_9_Long_Double_Funcs_2 fix
161 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
162 "AAB_darwin7_9_long_double_funcs_2";
165 * File name selection pattern
167 tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
170 * Machine/OS name selection pattern
172 tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
177 * content selection pattern - do fix if pattern found
179 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
180 "#include[ \\t]+\\\"";
182 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
183 static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
184 { TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
187 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
189 static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
192 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
195 /* * * * * * * * * * * * * * * * * * * * * * * * * *
197 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
199 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
200 "AAB_fd_zero_asm_posix_types_h";
203 * File name selection pattern
205 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
206 "|asm/posix_types.h|";
208 * Machine/OS name selection pattern
210 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
211 "i[34567]86-*-linux*",
215 * content bypass pattern - skip fix if pattern found
217 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
220 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
221 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
222 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
225 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
227 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
228 "/* This file fixes a bug in the __FD_ZERO macro\n\
229 for older versions of the Linux kernel. */\n\
230 #ifndef _POSIX_TYPES_H_WRAPPER\n\
231 #include <features.h>\n\
232 #include_next <asm/posix_types.h>\n\n\
233 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
235 #define __FD_ZERO(fdsetp) \\\n\
237 int __d0, __d1; \\\n\
238 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
239 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
240 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
241 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
244 #define _POSIX_TYPES_H_WRAPPER\n\
245 #endif /* _POSIX_TYPES_H_WRAPPER */",
248 /* * * * * * * * * * * * * * * * * * * * * * * * * *
250 * Description of Aab_Fd_Zero_Gnu_Types_H fix
252 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
253 "AAB_fd_zero_gnu_types_h";
256 * File name selection pattern
258 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
261 * Machine/OS name selection pattern
263 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
264 "i[34567]86-*-linux*",
266 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
267 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
270 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
272 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
273 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
274 #ifndef _TYPES_H_WRAPPER\n\
275 #include <features.h>\n\
276 #include_next <gnu/types.h>\n\n\
277 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
279 # define __FD_ZERO(fdsetp) \\\n\
281 int __d0, __d1; \\\n\
282 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
283 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
284 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
285 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
288 #define _TYPES_H_WRAPPER\n\
289 #endif /* _TYPES_H_WRAPPER */",
292 /* * * * * * * * * * * * * * * * * * * * * * * * * *
294 * Description of Aab_Fd_Zero_Selectbits_H fix
296 tSCC zAab_Fd_Zero_Selectbits_HName[] =
297 "AAB_fd_zero_selectbits_h";
300 * File name selection pattern
302 tSCC zAab_Fd_Zero_Selectbits_HList[] =
305 * Machine/OS name selection pattern
307 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
308 "i[34567]86-*-linux*",
310 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
311 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
314 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
316 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
317 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
318 #ifndef _SELECTBITS_H_WRAPPER\n\
319 #include <features.h>\n\
320 #include_next <selectbits.h>\n\n\
321 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
322 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
323 && __GLIBC_MINOR__ == 0\n\
325 #define __FD_ZERO(fdsetp) \\\\\n\
327 int __d0, __d1; \\\\\n\
328 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
329 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
330 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
331 / sizeof (__fd_mask)), \\\\\n\
332 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
333 : \"memory\"); \\\\\n\
336 #define _SELECTBITS_H_WRAPPER\n\
337 #endif /* _SELECTBITS_H_WRAPPER */",
340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
342 * Description of Aab_Solaris_Sys_Varargs_H fix
344 tSCC zAab_Solaris_Sys_Varargs_HName[] =
345 "AAB_solaris_sys_varargs_h";
348 * File name selection pattern
350 tSCC zAab_Solaris_Sys_Varargs_HList[] =
353 * Machine/OS name selection pattern
355 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
358 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
359 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
362 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
364 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
366 #include <stdarg.h>\n\
368 #include <varargs.h>\n\
372 /* * * * * * * * * * * * * * * * * * * * * * * * * *
374 * Description of Aab_Sun_Memcpy fix
376 tSCC zAab_Sun_MemcpyName[] =
380 * File name selection pattern
382 tSCC zAab_Sun_MemcpyList[] =
385 * Machine/OS name selection pattern
387 #define apzAab_Sun_MemcpyMachs (const char**)NULL
390 * content selection pattern - do fix if pattern found
392 tSCC zAab_Sun_MemcpySelect0[] =
393 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
395 #define AAB_SUN_MEMCPY_TEST_CT 1
396 static tTestDesc aAab_Sun_MemcpyTests[] = {
397 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
400 * Fix Command Arguments for Aab_Sun_Memcpy
402 static const char* apzAab_Sun_MemcpyPatch[] = {
403 "/* This file was generated by fixincludes */\n\
404 #ifndef __memory_h__\n\
405 #define __memory_h__\n\n\
407 extern void *memccpy();\n\
408 extern void *memchr();\n\
409 extern void *memcpy();\n\
410 extern void *memset();\n\
412 extern char *memccpy();\n\
413 extern char *memchr();\n\
414 extern char *memcpy();\n\
415 extern char *memset();\n\
416 #endif /* __STDC__ */\n\n\
417 extern int memcmp();\n\n\
418 #endif /* __memory_h__ */\n\
422 * Completely replace <sys/varargs.h> with a file that includes gcc's\n\
423 * stdarg.h or varargs.h files as appropriate.\n\
427 hackname = AAB_svr4_no_varargs;\n\
428 files = sys/varargs.h;\n\
429 replace = \"/* This file was generated by fixincludes. */\\n\"\n\
430 \"#ifndef _SYS_VARARGS_H\\n\"\n\
431 \"#define _SYS_VARARGS_H\\n\\n\"\n\n\
432 \"#ifdef __STDC__\\n\"\n\
433 \"#include <stdarg.h>\\n\"\n\
435 \"#include <varargs.h>\\n\"\n\
436 \"#endif\\n\\n\"\n\n\
437 \"#endif /* _SYS_VARARGS_H */\\n\";\n\
441 * Completely replace <sys/byteorder.h> with a file that implements gcc's\n\
442 * optimized byteswapping. (The original probably implemented some\n\
443 * incompatible optimized byteswapping.)\n\
446 hackname = AAB_svr4_replace_byteorder;\n\
447 mach = \"*-*-sysv4*\";\n\
448 mach = \"i[34567]86-*-sysv5*\";\n\
449 mach = \"i[34567]86-*-sco3.2v5*\";\n\
450 mach = \"i[34567]86-*-udk*\";\n\
451 mach = \"i[34567]86-*-solaris2.[0-4]\";\n\
452 mach = \"powerpcle-*-solaris2.[0-4]\";\n\
453 mach = \"sparc-*-solaris2.[0-4]\";\n\
454 mach = \"i[34567]86-sequent-ptx*\";\n\
455 files = sys/byteorder.h;\n\
456 replace = <<- _EndOfHeader_\n\
457 #ifndef _SYS_BYTEORDER_H\n\
458 #define _SYS_BYTEORDER_H\n\n\
459 /* Functions to convert `short' and `long' quantities from host byte order\n\
460 to (internet) network byte order (i.e. big-endian).\n\n\
461 Written by Ron Guilmette (rfg@ncd.com).\n\n\
462 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
463 For big-endian machines these functions are essentially no-ops.\n\n\
464 For little-endian machines, we define the functions using specialized\n\
465 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
466 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
467 #error You lose! This file is only useful with GNU compilers.\n\
469 #ifndef __BYTE_ORDER__\n\
470 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
471 double underscores added at the front and back. */\n\
472 #define __LITTLE_ENDIAN__ 1234\n\
473 #define __BIG_ENDIAN__ 4321\n\
474 #define __PDP_ENDIAN__ 3412\n\
477 static __inline__ unsigned long htonl (unsigned long);\n\
478 static __inline__ unsigned short htons (unsigned int);\n\
479 static __inline__ unsigned long ntohl (unsigned long);\n\
480 static __inline__ unsigned short ntohs (unsigned int);\n\
481 #endif /* defined (__STDC__) */\n\n\
482 #if defined (__i386__)\n\n\
483 #ifndef __BYTE_ORDER__\n\
484 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
486 /* Convert a host long to a network long. */\n\n\
487 /* We must use a new-style function definition, so that this will also\n\
488 be valid for C++. */\n\
489 static __inline__ unsigned long\n\
490 htonl (unsigned long __arg)\n\
492 register unsigned long __result;\n\n\
493 __asm__ (\"xchg%B0 %b0,%h0\n\
495 xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
498 /* Convert a host short to a network short. */\n\n\
499 static __inline__ unsigned short\n\
500 htons (unsigned int __arg)\n\
502 register unsigned short __result;\n\n\
503 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
506 #elif (defined (__ns32k__) || defined (__vax__) || defined (__arm__))\n\n\
507 #ifndef __BYTE_ORDER__\n\
508 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
510 /* For other little-endian machines, using C code is just as efficient as\n\
511 using assembly code. */\n\n\
512 /* Convert a host long to a network long. */\n\n\
513 static __inline__ unsigned long\n\
514 htonl (unsigned long __arg)\n\
516 register unsigned long __result;\n\n\
517 __result = (__arg >> 24) & 0x000000ff;\n\
518 __result |= (__arg >> 8) & 0x0000ff00;\n\
519 __result |= (__arg << 8) & 0x00ff0000;\n\
520 __result |= (__arg << 24) & 0xff000000;\n\
523 /* Convert a host short to a network short. */\n\n\
524 static __inline__ unsigned short\n\
525 htons (unsigned int __arg)\n\
527 register unsigned short __result;\n\n\
528 __result = (__arg << 8) & 0xff00;\n\
529 __result |= (__arg >> 8) & 0x00ff;\n\
532 #else /* must be a big-endian machine */\n\n\
533 #ifndef __BYTE_ORDER__\n\
534 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
536 /* Convert a host long to a network long. */\n\n\
537 static __inline__ unsigned long\n\
538 htonl (unsigned long __arg)\n\
542 /* Convert a host short to a network short. */\n\n\
543 static __inline__ unsigned short\n\
544 htons (unsigned int __arg)\n\
548 #endif /* big-endian */\n\n\
549 /* Convert a network long to a host long. */\n\n\
550 static __inline__ unsigned long\n\
551 ntohl (unsigned long __arg)\n\
553 return htonl (__arg);\n\
555 /* Convert a network short to a host short. */\n\n\
556 static __inline__ unsigned short\n\
557 ntohs (unsigned int __arg)\n\
559 return htons (__arg);\n\
564 /* * * * * * * * * * * * * * * * * * * * * * * * * *
566 * Description of Aab_Ultrix_Ansi_Compat fix
568 tSCC zAab_Ultrix_Ansi_CompatName[] =
569 "AAB_ultrix_ansi_compat";
572 * File name selection pattern
574 tSCC zAab_Ultrix_Ansi_CompatList[] =
577 * Machine/OS name selection pattern
579 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
582 * content selection pattern - do fix if pattern found
584 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
587 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
588 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
589 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
592 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
594 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
595 "/* This file intentionally left blank. */\n",
598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
600 * Description of Aab_Ultrix_Limits fix
602 tSCC zAab_Ultrix_LimitsName[] =
606 * File name selection pattern
608 tSCC zAab_Ultrix_LimitsList[] =
611 * Machine/OS name selection pattern
613 tSCC* apzAab_Ultrix_LimitsMachs[] = {
616 #define AAB_ULTRIX_LIMITS_TEST_CT 0
617 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
620 * Fix Command Arguments for Aab_Ultrix_Limits
622 static const char* apzAab_Ultrix_LimitsPatch[] = {
623 "#ifndef _LIMITS_INCLUDED\n\
624 #define _LIMITS_INCLUDED\n\
625 #include <sys/limits.h>\n\
626 #endif /* _LIMITS_INCLUDED */",
629 /* * * * * * * * * * * * * * * * * * * * * * * * * *
631 * Description of Aab_Ultrix_Memory fix
633 tSCC zAab_Ultrix_MemoryName[] =
637 * File name selection pattern
639 tSCC zAab_Ultrix_MemoryList[] =
642 * Machine/OS name selection pattern
644 tSCC* apzAab_Ultrix_MemoryMachs[] = {
647 #define AAB_ULTRIX_MEMORY_TEST_CT 0
648 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
651 * Fix Command Arguments for Aab_Ultrix_Memory
653 static const char* apzAab_Ultrix_MemoryPatch[] = {
654 "#ifndef _MEMORY_INCLUDED\n\
655 #define _MEMORY_INCLUDED\n\
656 #include <strings.h>\n\
657 #endif /* _MEMORY_INCLUDED */",
660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
662 * Description of Aab_Ultrix_String fix
664 tSCC zAab_Ultrix_StringName[] =
668 * File name selection pattern
670 tSCC zAab_Ultrix_StringList[] =
673 * Machine/OS name selection pattern
675 tSCC* apzAab_Ultrix_StringMachs[] = {
678 #define AAB_ULTRIX_STRING_TEST_CT 0
679 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
682 * Fix Command Arguments for Aab_Ultrix_String
684 static const char* apzAab_Ultrix_StringPatch[] = {
685 "#ifndef _STRING_INCLUDED\n\
686 #define _STRING_INCLUDED\n\
687 #include <strings.h>\n\
688 #endif /* _STRING_INCLUDED */",
691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
693 * Description of Aix_Pthread fix
695 tSCC zAix_PthreadName[] =
699 * File name selection pattern
701 tSCC zAix_PthreadList[] =
704 * Machine/OS name selection pattern
706 #define apzAix_PthreadMachs (const char**)NULL
709 * content selection pattern - do fix if pattern found
711 tSCC zAix_PthreadSelect0[] =
712 "(#define [A-Za-z_0-9]+)(\\\\\n\
716 #define AIX_PTHREAD_TEST_CT 1
717 static tTestDesc aAix_PthreadTests[] = {
718 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
721 * Fix Command Arguments for Aix_Pthread
723 static const char* apzAix_PthreadPatch[] = {
728 /* * * * * * * * * * * * * * * * * * * * * * * * * *
730 * Description of Aix_Sysmachine fix
732 tSCC zAix_SysmachineName[] =
736 * File name selection pattern
738 tSCC zAix_SysmachineList[] =
741 * Machine/OS name selection pattern
743 #define apzAix_SysmachineMachs (const char**)NULL
746 * content selection pattern - do fix if pattern found
748 tSCC zAix_SysmachineSelect0[] =
751 #define AIX_SYSMACHINE_TEST_CT 1
752 static tTestDesc aAix_SysmachineTests[] = {
753 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
756 * Fix Command Arguments for Aix_Sysmachine
758 static const char* apzAix_SysmachinePatch[] = {
763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
765 * Description of Aix_Syswait fix
767 tSCC zAix_SyswaitName[] =
771 * File name selection pattern
773 tSCC zAix_SyswaitList[] =
776 * Machine/OS name selection pattern
778 #define apzAix_SyswaitMachs (const char**)NULL
781 * content selection pattern - do fix if pattern found
783 tSCC zAix_SyswaitSelect0[] =
784 "^extern pid_t wait3\\(\\);\n";
785 tSCC zAix_SyswaitSelect1[] =
788 #define AIX_SYSWAIT_TEST_CT 2
789 static tTestDesc aAix_SyswaitTests[] = {
790 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
791 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
794 * Fix Command Arguments for Aix_Syswait
796 static const char* apzAix_SyswaitPatch[] = {
802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
804 * Description of Aix_Syswait_2 fix
806 tSCC zAix_Syswait_2Name[] =
810 * File name selection pattern
812 tSCC zAix_Syswait_2List[] =
815 * Machine/OS name selection pattern
817 #define apzAix_Syswait_2Machs (const char**)NULL
820 * content selection pattern - do fix if pattern found
822 tSCC zAix_Syswait_2Select0[] =
823 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
825 #define AIX_SYSWAIT_2_TEST_CT 1
826 static tTestDesc aAix_Syswait_2Tests[] = {
827 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
830 * Fix Command Arguments for Aix_Syswait_2
832 static const char* apzAix_Syswait_2Patch[] = {
837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
839 * Description of Aix_Volatile fix
841 tSCC zAix_VolatileName[] =
845 * File name selection pattern
847 tSCC zAix_VolatileList[] =
850 * Machine/OS name selection pattern
852 #define apzAix_VolatileMachs (const char**)NULL
855 * content selection pattern - do fix if pattern found
857 tSCC zAix_VolatileSelect0[] =
858 "typedef volatile int sig_atomic_t";
860 #define AIX_VOLATILE_TEST_CT 1
861 static tTestDesc aAix_VolatileTests[] = {
862 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
865 * Fix Command Arguments for Aix_Volatile
867 static const char* apzAix_VolatilePatch[] = {
869 "typedef int sig_atomic_t",
872 /* * * * * * * * * * * * * * * * * * * * * * * * * *
874 * Description of Alpha___Assert fix
876 tSCC zAlpha___AssertName[] =
880 * File name selection pattern
882 tSCC zAlpha___AssertList[] =
885 * Machine/OS name selection pattern
887 #define apzAlpha___AssertMachs (const char**)NULL
890 * content selection pattern - do fix if pattern found
892 tSCC zAlpha___AssertSelect0[] =
893 "__assert\\(char \\*, char \\*, int\\)";
895 #define ALPHA___ASSERT_TEST_CT 1
896 static tTestDesc aAlpha___AssertTests[] = {
897 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
900 * Fix Command Arguments for Alpha___Assert
902 static const char* apzAlpha___AssertPatch[] = {
904 "__assert(const char *, const char *, int)",
907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
909 * Description of Alpha___Extern_Prefix fix
911 tSCC zAlpha___Extern_PrefixName[] =
912 "alpha___extern_prefix";
915 * File name selection pattern
917 #define zAlpha___Extern_PrefixList (char*)NULL
919 * Machine/OS name selection pattern
921 tSCC* apzAlpha___Extern_PrefixMachs[] = {
926 * content selection pattern - do fix if pattern found
928 tSCC zAlpha___Extern_PrefixSelect0[] =
929 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
930 (#[ \t]*pragma[ \t]*extern_prefix.*)";
932 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
933 static tTestDesc aAlpha___Extern_PrefixTests[] = {
934 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
937 * Fix Command Arguments for Alpha___Extern_Prefix
939 static const char* apzAlpha___Extern_PrefixPatch[] = {
941 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
945 /* * * * * * * * * * * * * * * * * * * * * * * * * *
947 * Description of Alpha___Extern_Prefix_Standards fix
949 tSCC zAlpha___Extern_Prefix_StandardsName[] =
950 "alpha___extern_prefix_standards";
953 * File name selection pattern
955 tSCC zAlpha___Extern_Prefix_StandardsList[] =
958 * Machine/OS name selection pattern
960 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
965 * content selection pattern - do fix if pattern found
967 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
968 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
970 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
971 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
972 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
975 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
977 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
979 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
982 /* * * * * * * * * * * * * * * * * * * * * * * * * *
984 * Description of Alpha___Extern_Prefix_Sys_Stat fix
986 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
987 "alpha___extern_prefix_sys_stat";
990 * File name selection pattern
992 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
993 "|sys/stat.h|sys/mount.h|";
995 * Machine/OS name selection pattern
997 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
1002 * content selection pattern - do fix if pattern found
1004 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
1005 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
1007 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
1008 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
1009 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
1012 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
1014 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
1016 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
1019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1021 * Description of Alpha_Assert fix
1023 tSCC zAlpha_AssertName[] =
1027 * File name selection pattern
1029 tSCC zAlpha_AssertList[] =
1032 * Machine/OS name selection pattern
1034 #define apzAlpha_AssertMachs (const char**)NULL
1037 * content selection pattern - do fix if pattern found
1039 tSCC zAlpha_AssertSelect0[] =
1040 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1042 #define ALPHA_ASSERT_TEST_CT 1
1043 static tTestDesc aAlpha_AssertTests[] = {
1044 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1047 * Fix Command Arguments for Alpha_Assert
1049 static const char* apzAlpha_AssertPatch[] = {
1054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1056 * Description of Alpha_Bad_Lval fix
1058 tSCC zAlpha_Bad_LvalName[] =
1062 * File name selection pattern
1064 #define zAlpha_Bad_LvalList (char*)NULL
1066 * Machine/OS name selection pattern
1068 tSCC* apzAlpha_Bad_LvalMachs[] = {
1070 (const char*)NULL };
1073 * content selection pattern - do fix if pattern found
1075 tSCC zAlpha_Bad_LvalSelect0[] =
1076 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1078 #define ALPHA_BAD_LVAL_TEST_CT 1
1079 static tTestDesc aAlpha_Bad_LvalTests[] = {
1080 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
1083 * Fix Command Arguments for Alpha_Bad_Lval
1085 static const char* apzAlpha_Bad_LvalPatch[] = { "sed",
1086 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1089 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1091 * Description of Alpha_Getopt fix
1093 tSCC zAlpha_GetoptName[] =
1097 * File name selection pattern
1099 tSCC zAlpha_GetoptList[] =
1100 "|stdio.h|stdlib.h|";
1102 * Machine/OS name selection pattern
1104 #define apzAlpha_GetoptMachs (const char**)NULL
1107 * content selection pattern - do fix if pattern found
1109 tSCC zAlpha_GetoptSelect0[] =
1110 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1112 #define ALPHA_GETOPT_TEST_CT 1
1113 static tTestDesc aAlpha_GetoptTests[] = {
1114 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1117 * Fix Command Arguments for Alpha_Getopt
1119 static const char* apzAlpha_GetoptPatch[] = {
1121 "getopt(int, char *const[], const char *)",
1124 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1126 * Description of Alpha_Parens fix
1128 tSCC zAlpha_ParensName[] =
1132 * File name selection pattern
1134 tSCC zAlpha_ParensList[] =
1137 * Machine/OS name selection pattern
1139 #define apzAlpha_ParensMachs (const char**)NULL
1142 * content selection pattern - do fix if pattern found
1144 tSCC zAlpha_ParensSelect0[] =
1145 "#ifndef\\(__mips64\\)";
1147 #define ALPHA_PARENS_TEST_CT 1
1148 static tTestDesc aAlpha_ParensTests[] = {
1149 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1152 * Fix Command Arguments for Alpha_Parens
1154 static const char* apzAlpha_ParensPatch[] = {
1159 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1161 * Description of Alpha_Pthread fix
1163 tSCC zAlpha_PthreadName[] =
1167 * File name selection pattern
1169 tSCC zAlpha_PthreadList[] =
1172 * Machine/OS name selection pattern
1174 tSCC* apzAlpha_PthreadMachs[] = {
1176 (const char*)NULL };
1179 * content selection pattern - do fix if pattern found
1181 tSCC zAlpha_PthreadSelect0[] =
1182 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
1183 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
1185 #define ALPHA_PTHREAD_TEST_CT 1
1186 static tTestDesc aAlpha_PthreadTests[] = {
1187 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
1190 * Fix Command Arguments for Alpha_Pthread
1192 static const char* apzAlpha_PthreadPatch[] = {
1194 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
1198 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1200 * Description of Alpha_Pthread_Gcc fix
1202 tSCC zAlpha_Pthread_GccName[] =
1203 "alpha_pthread_gcc";
1206 * File name selection pattern
1208 tSCC zAlpha_Pthread_GccList[] =
1211 * Machine/OS name selection pattern
1213 tSCC* apzAlpha_Pthread_GccMachs[] = {
1215 (const char*)NULL };
1218 * content selection pattern - do fix if pattern found
1220 tSCC zAlpha_Pthread_GccSelect0[] =
1222 # error <pthread.h>: unrecognized compiler.";
1224 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1225 static tTestDesc aAlpha_Pthread_GccTests[] = {
1226 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1229 * Fix Command Arguments for Alpha_Pthread_Gcc
1231 static const char* apzAlpha_Pthread_GccPatch[] = {
1233 "#elif defined (__GNUC__)\n\
1234 # define _PTHREAD_ENV_GCC\n\
1238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1240 * Description of Alpha_Pthread_Init fix
1242 tSCC zAlpha_Pthread_InitName[] =
1243 "alpha_pthread_init";
1246 * File name selection pattern
1248 tSCC zAlpha_Pthread_InitList[] =
1251 * Machine/OS name selection pattern
1253 tSCC* apzAlpha_Pthread_InitMachs[] = {
1255 (const char*)NULL };
1258 * content selection pattern - do fix if pattern found
1260 tSCC zAlpha_Pthread_InitSelect0[] =
1261 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1263 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1264 static tTestDesc aAlpha_Pthread_InitTests[] = {
1265 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1268 * Fix Command Arguments for Alpha_Pthread_Init
1270 static const char* apzAlpha_Pthread_InitPatch[] = { "sed",
1271 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1272 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1273 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1274 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1275 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1276 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1281 * Description of Alpha_Sbrk fix
1283 tSCC zAlpha_SbrkName[] =
1287 * File name selection pattern
1289 tSCC zAlpha_SbrkList[] =
1292 * Machine/OS name selection pattern
1294 #define apzAlpha_SbrkMachs (const char**)NULL
1297 * content selection pattern - do fix if pattern found
1299 tSCC zAlpha_SbrkSelect0[] =
1300 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1302 #define ALPHA_SBRK_TEST_CT 1
1303 static tTestDesc aAlpha_SbrkTests[] = {
1304 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1307 * Fix Command Arguments for Alpha_Sbrk
1309 static const char* apzAlpha_SbrkPatch[] = {
1314 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1316 * Description of Alpha_Wchar fix
1318 tSCC zAlpha_WcharName[] =
1322 * File name selection pattern
1324 tSCC zAlpha_WcharList[] =
1327 * Machine/OS name selection pattern
1329 tSCC* apzAlpha_WcharMachs[] = {
1331 (const char*)NULL };
1334 * content selection pattern - do fix if pattern found
1336 tSCC zAlpha_WcharSelect0[] =
1337 "#define wcstok wcstok_r";
1339 #define ALPHA_WCHAR_TEST_CT 1
1340 static tTestDesc aAlpha_WcharTests[] = {
1341 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1344 * Fix Command Arguments for Alpha_Wchar
1346 static const char* apzAlpha_WcharPatch[] = { "sed",
1347 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1348 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1351 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1353 * Description of Avoid_Bool_Define fix
1355 tSCC zAvoid_Bool_DefineName[] =
1356 "avoid_bool_define";
1359 * File name selection pattern
1361 tSCC zAvoid_Bool_DefineList[] =
1362 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1364 * Machine/OS name selection pattern
1366 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1369 * content selection pattern - do fix if pattern found
1371 tSCC zAvoid_Bool_DefineSelect0[] =
1372 "#[ \t]*define[ \t]+bool[ \t]";
1375 * content bypass pattern - skip fix if pattern found
1377 tSCC zAvoid_Bool_DefineBypass0[] =
1380 #define AVOID_BOOL_DEFINE_TEST_CT 2
1381 static tTestDesc aAvoid_Bool_DefineTests[] = {
1382 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1383 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1386 * Fix Command Arguments for Avoid_Bool_Define
1388 static const char* apzAvoid_Bool_DefinePatch[] = {
1390 "#ifndef __cplusplus\n\
1393 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1396 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1398 * Description of Avoid_Bool_Type fix
1400 tSCC zAvoid_Bool_TypeName[] =
1404 * File name selection pattern
1406 tSCC zAvoid_Bool_TypeList[] =
1407 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1409 * Machine/OS name selection pattern
1411 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1414 * content selection pattern - do fix if pattern found
1416 tSCC zAvoid_Bool_TypeSelect0[] =
1417 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1420 * content bypass pattern - skip fix if pattern found
1422 tSCC zAvoid_Bool_TypeBypass0[] =
1425 #define AVOID_BOOL_TYPE_TEST_CT 2
1426 static tTestDesc aAvoid_Bool_TypeTests[] = {
1427 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1428 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1431 * Fix Command Arguments for Avoid_Bool_Type
1433 static const char* apzAvoid_Bool_TypePatch[] = {
1435 "#ifndef __cplusplus\n\
1440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1442 * Description of Avoid_Wchar_T_Type fix
1444 tSCC zAvoid_Wchar_T_TypeName[] =
1445 "avoid_wchar_t_type";
1448 * File name selection pattern
1450 #define zAvoid_Wchar_T_TypeList (char*)NULL
1452 * Machine/OS name selection pattern
1454 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1457 * content selection pattern - do fix if pattern found
1459 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1460 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1463 * content bypass pattern - skip fix if pattern found
1465 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1467 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1469 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1470 "XFree86: xc/lib/X11/Xlib\\.h";
1472 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1473 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1474 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1475 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1476 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1477 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1480 * Fix Command Arguments for Avoid_Wchar_T_Type
1482 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1484 "#ifndef __cplusplus\n\
1489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1491 * Description of Bad_Struct_Term fix
1493 tSCC zBad_Struct_TermName[] =
1497 * File name selection pattern
1499 tSCC zBad_Struct_TermList[] =
1502 * Machine/OS name selection pattern
1504 #define apzBad_Struct_TermMachs (const char**)NULL
1507 * content selection pattern - do fix if pattern found
1509 tSCC zBad_Struct_TermSelect0[] =
1510 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1512 #define BAD_STRUCT_TERM_TEST_CT 1
1513 static tTestDesc aBad_Struct_TermTests[] = {
1514 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1517 * Fix Command Arguments for Bad_Struct_Term
1519 static const char* apzBad_Struct_TermPatch[] = {
1524 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1526 * Description of Badquote fix
1528 tSCC zBadquoteName[] =
1532 * File name selection pattern
1534 tSCC zBadquoteList[] =
1535 "|sundev/vuid_event.h|";
1537 * Machine/OS name selection pattern
1539 #define apzBadquoteMachs (const char**)NULL
1542 * content selection pattern - do fix if pattern found
1544 tSCC zBadquoteSelect0[] =
1547 #define BADQUOTE_TEST_CT 1
1548 static tTestDesc aBadquoteTests[] = {
1549 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1552 * Fix Command Arguments for Badquote
1554 static const char* apzBadquotePatch[] = {
1559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1561 * Description of Broken_Assert_Stdio fix
1563 tSCC zBroken_Assert_StdioName[] =
1564 "broken_assert_stdio";
1567 * File name selection pattern
1569 tSCC zBroken_Assert_StdioList[] =
1572 * Machine/OS name selection pattern
1574 #define apzBroken_Assert_StdioMachs (const char**)NULL
1577 * content selection pattern - do fix if pattern found
1579 tSCC zBroken_Assert_StdioSelect0[] =
1583 * content bypass pattern - skip fix if pattern found
1585 tSCC zBroken_Assert_StdioBypass0[] =
1586 "include.*stdio\\.h";
1588 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1589 static tTestDesc aBroken_Assert_StdioTests[] = {
1590 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1591 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1594 * Fix Command Arguments for Broken_Assert_Stdio
1596 static const char* apzBroken_Assert_StdioPatch[] = {
1598 "#include <stdio.h>\n",
1601 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1603 * Description of Broken_Assert_Stdlib fix
1605 tSCC zBroken_Assert_StdlibName[] =
1606 "broken_assert_stdlib";
1609 * File name selection pattern
1611 tSCC zBroken_Assert_StdlibList[] =
1614 * Machine/OS name selection pattern
1616 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1619 * content selection pattern - do fix if pattern found
1621 tSCC zBroken_Assert_StdlibSelect0[] =
1622 "exit *\\(|abort *\\(";
1625 * content bypass pattern - skip fix if pattern found
1627 tSCC zBroken_Assert_StdlibBypass0[] =
1628 "include.*stdlib\\.h";
1630 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1631 static tTestDesc aBroken_Assert_StdlibTests[] = {
1632 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1633 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1636 * Fix Command Arguments for Broken_Assert_Stdlib
1638 static const char* apzBroken_Assert_StdlibPatch[] = {
1640 "#ifdef __cplusplus\n\
1641 #include <stdlib.h>\n\
1645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1647 * Description of Broken_Cabs fix
1649 tSCC zBroken_CabsName[] =
1653 * File name selection pattern
1655 tSCC zBroken_CabsList[] =
1656 "|math.h|architecture/ppc/math.h|architecture/i386/math.h|";
1658 * Machine/OS name selection pattern
1660 #define apzBroken_CabsMachs (const char**)NULL
1663 * content selection pattern - do fix if pattern found
1665 tSCC zBroken_CabsSelect0[] =
1666 "^extern[ \t]+double[ \t]+cabs";
1668 #define BROKEN_CABS_TEST_CT 1
1669 static tTestDesc aBroken_CabsTests[] = {
1670 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1673 * Fix Command Arguments for Broken_Cabs
1675 static const char* apzBroken_CabsPatch[] = {
1678 "^extern[ \t]+double[ \t]+cabs[ \t]*\\([^\\)]*\\);",
1681 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1683 * Description of Broken_Nan fix
1685 tSCC zBroken_NanName[] =
1689 * File name selection pattern
1691 tSCC zBroken_NanList[] =
1692 "|architecture/ppc/math.h|architecture/i386/math.h|";
1694 * Machine/OS name selection pattern
1696 #define apzBroken_NanMachs (const char**)NULL
1699 * content selection pattern - do fix if pattern found
1701 tSCC zBroken_NanSelect0[] =
1702 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1705 * content bypass pattern - skip fix if pattern found
1707 tSCC zBroken_NanBypass0[] =
1710 #define BROKEN_NAN_TEST_CT 2
1711 static tTestDesc aBroken_NanTests[] = {
1712 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1713 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1716 * Fix Command Arguments for Broken_Nan
1718 static const char* apzBroken_NanPatch[] = {
1723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1725 * Description of Bsd_Stdio_Attrs_Conflict fix
1727 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1728 "bsd_stdio_attrs_conflict";
1731 * File name selection pattern
1733 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1736 * Machine/OS name selection pattern
1738 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1741 (const char*)NULL };
1744 * content selection pattern - do fix if pattern found
1746 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1747 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1749 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1750 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1751 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1754 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1756 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1758 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1759 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1760 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1765 * Description of Ctrl_Quotes_Def fix
1767 tSCC zCtrl_Quotes_DefName[] =
1771 * File name selection pattern
1773 #define zCtrl_Quotes_DefList (char*)NULL
1775 * Machine/OS name selection pattern
1777 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1780 * content selection pattern - do fix if pattern found
1782 tSCC zCtrl_Quotes_DefSelect0[] =
1783 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1785 #define CTRL_QUOTES_DEF_TEST_CT 1
1786 static tTestDesc aCtrl_Quotes_DefTests[] = {
1787 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1790 * Fix Command Arguments for Ctrl_Quotes_Def
1792 static const char* apzCtrl_Quotes_DefPatch[] = {
1797 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1799 * Description of Ctrl_Quotes_Use fix
1801 tSCC zCtrl_Quotes_UseName[] =
1805 * File name selection pattern
1807 #define zCtrl_Quotes_UseList (char*)NULL
1809 * Machine/OS name selection pattern
1811 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1814 * content selection pattern - do fix if pattern found
1816 tSCC zCtrl_Quotes_UseSelect0[] =
1817 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1819 #define CTRL_QUOTES_USE_TEST_CT 1
1820 static tTestDesc aCtrl_Quotes_UseTests[] = {
1821 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1824 * Fix Command Arguments for Ctrl_Quotes_Use
1826 static const char* apzCtrl_Quotes_UsePatch[] = {
1831 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1833 * Description of Cxx_Unready fix
1835 tSCC zCxx_UnreadyName[] =
1839 * File name selection pattern
1841 tSCC zCxx_UnreadyList[] =
1842 "|sys/mman.h|rpc/types.h|";
1844 * Machine/OS name selection pattern
1846 #define apzCxx_UnreadyMachs (const char**)NULL
1849 * content selection pattern - do fix if pattern found
1851 tSCC zCxx_UnreadySelect0[] =
1855 * content bypass pattern - skip fix if pattern found
1857 tSCC zCxx_UnreadyBypass0[] =
1858 "\"C\"|__BEGIN_DECLS";
1860 #define CXX_UNREADY_TEST_CT 2
1861 static tTestDesc aCxx_UnreadyTests[] = {
1862 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1863 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1866 * Fix Command Arguments for Cxx_Unready
1868 static const char* apzCxx_UnreadyPatch[] = {
1870 "#ifdef __cplusplus\n\
1873 "#ifdef __cplusplus\n\
1878 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1880 * Description of Darwin_Gcc4_Breakage fix
1882 tSCC zDarwin_Gcc4_BreakageName[] =
1883 "darwin_gcc4_breakage";
1886 * File name selection pattern
1888 tSCC zDarwin_Gcc4_BreakageList[] =
1889 "|AvailabilityMacros.h|";
1891 * Machine/OS name selection pattern
1893 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1895 (const char*)NULL };
1898 * content selection pattern - do fix if pattern found
1900 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1901 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1903 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1904 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1905 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1908 * Fix Command Arguments for Darwin_Gcc4_Breakage
1910 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1912 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1917 * Description of Darwin_Private_Extern fix
1919 tSCC zDarwin_Private_ExternName[] =
1920 "darwin_private_extern";
1923 * File name selection pattern
1925 tSCC zDarwin_Private_ExternList[] =
1928 * Machine/OS name selection pattern
1930 tSCC* apzDarwin_Private_ExternMachs[] = {
1932 (const char*)NULL };
1935 * content selection pattern - do fix if pattern found
1937 tSCC zDarwin_Private_ExternSelect0[] =
1938 "__private_extern__ [a-z_]+ _dyld_";
1940 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1941 static tTestDesc aDarwin_Private_ExternTests[] = {
1942 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1945 * Fix Command Arguments for Darwin_Private_Extern
1947 static const char* apzDarwin_Private_ExternPatch[] = {
1950 "__private_extern__",
1953 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1955 * Description of Dec_Intern_Asm fix
1957 tSCC zDec_Intern_AsmName[] =
1961 * File name selection pattern
1963 tSCC zDec_Intern_AsmList[] =
1966 * Machine/OS name selection pattern
1968 #define apzDec_Intern_AsmMachs (const char**)NULL
1969 #define DEC_INTERN_ASM_TEST_CT 0
1970 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1973 * Fix Command Arguments for Dec_Intern_Asm
1975 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1976 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1978 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1982 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1984 * Description of Djgpp_Wchar_H fix
1986 tSCC zDjgpp_Wchar_HName[] =
1990 * File name selection pattern
1992 #define zDjgpp_Wchar_HList (char*)NULL
1994 * Machine/OS name selection pattern
1996 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1999 * content selection pattern - do fix if pattern found
2001 tSCC zDjgpp_Wchar_HSelect0[] =
2005 * content bypass pattern - skip fix if pattern found
2007 tSCC zDjgpp_Wchar_HBypass0[] =
2010 #define DJGPP_WCHAR_H_TEST_CT 2
2011 static tTestDesc aDjgpp_Wchar_HTests[] = {
2012 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2013 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2016 * Fix Command Arguments for Djgpp_Wchar_H
2018 static const char* apzDjgpp_Wchar_HPatch[] = {
2021 #include <sys/djtypes.h>",
2022 "#include <stddef.h>",
2025 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2027 * Description of Ecd_Cursor fix
2029 tSCC zEcd_CursorName[] =
2033 * File name selection pattern
2035 tSCC zEcd_CursorList[] =
2036 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
2038 * Machine/OS name selection pattern
2040 #define apzEcd_CursorMachs (const char**)NULL
2043 * content selection pattern - do fix if pattern found
2045 tSCC zEcd_CursorSelect0[] =
2048 #define ECD_CURSOR_TEST_CT 1
2049 static tTestDesc aEcd_CursorTests[] = {
2050 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2053 * Fix Command Arguments for Ecd_Cursor
2055 static const char* apzEcd_CursorPatch[] = {
2060 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2062 * Description of Exception_Structure fix
2064 tSCC zException_StructureName[] =
2065 "exception_structure";
2068 * File name selection pattern
2070 tSCC zException_StructureList[] =
2073 * Machine/OS name selection pattern
2075 #define apzException_StructureMachs (const char**)NULL
2078 * content selection pattern - do fix if pattern found
2080 tSCC zException_StructureSelect0[] =
2084 * content bypass pattern - skip fix if pattern found
2086 tSCC zException_StructureBypass0[] =
2087 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
2089 #define EXCEPTION_STRUCTURE_TEST_CT 2
2090 static tTestDesc aException_StructureTests[] = {
2091 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
2092 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
2095 * Fix Command Arguments for Exception_Structure
2097 static const char* apzException_StructurePatch[] = {
2099 "struct exception;\n",
2102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2104 * Description of Freebsd_Gcc3_Breakage fix
2106 tSCC zFreebsd_Gcc3_BreakageName[] =
2107 "freebsd_gcc3_breakage";
2110 * File name selection pattern
2112 tSCC zFreebsd_Gcc3_BreakageList[] =
2115 * Machine/OS name selection pattern
2117 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2119 (const char*)NULL };
2122 * content selection pattern - do fix if pattern found
2124 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2125 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2128 * content bypass pattern - skip fix if pattern found
2130 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2131 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2133 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2134 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2135 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2136 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2139 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2141 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2143 "%0 || __GNUC__ >= 3",
2146 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2148 * Description of Freebsd_Gcc4_Breakage fix
2150 tSCC zFreebsd_Gcc4_BreakageName[] =
2151 "freebsd_gcc4_breakage";
2154 * File name selection pattern
2156 tSCC zFreebsd_Gcc4_BreakageList[] =
2159 * Machine/OS name selection pattern
2161 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2163 (const char*)NULL };
2166 * content selection pattern - do fix if pattern found
2168 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2169 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2171 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2172 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2173 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2176 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2178 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2180 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2183 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2185 * Description of Gnu_Types fix
2187 tSCC zGnu_TypesName[] =
2191 * File name selection pattern
2193 tSCC zGnu_TypesList[] =
2194 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
2196 * Machine/OS name selection pattern
2198 tSCC* apzGnu_TypesMachs[] = {
2199 "*-*-solaris2.1[0-9]*",
2200 (const char*)NULL };
2203 * content selection pattern - do fix if pattern found
2205 tSCC zGnu_TypesSelect0[] =
2206 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2209 * content bypass pattern - skip fix if pattern found
2211 tSCC zGnu_TypesBypass0[] =
2212 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2214 #define GNU_TYPES_TEST_CT 2
2215 static tTestDesc aGnu_TypesTests[] = {
2216 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2217 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2220 * Fix Command Arguments for Gnu_Types
2222 static const char* apzGnu_TypesPatch[] = {
2226 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2228 * Description of Hp_Inline fix
2230 tSCC zHp_InlineName[] =
2234 * File name selection pattern
2236 tSCC zHp_InlineList[] =
2237 "|sys/spinlock.h|machine/machparam.h|";
2239 * Machine/OS name selection pattern
2241 #define apzHp_InlineMachs (const char**)NULL
2244 * content selection pattern - do fix if pattern found
2246 tSCC zHp_InlineSelect0[] =
2247 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2249 #define HP_INLINE_TEST_CT 1
2250 static tTestDesc aHp_InlineTests[] = {
2251 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2254 * Fix Command Arguments for Hp_Inline
2256 static const char* apzHp_InlinePatch[] = {
2259 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2262 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2264 * Description of Hp_Sysfile fix
2266 tSCC zHp_SysfileName[] =
2270 * File name selection pattern
2272 tSCC zHp_SysfileList[] =
2275 * Machine/OS name selection pattern
2277 #define apzHp_SysfileMachs (const char**)NULL
2280 * content selection pattern - do fix if pattern found
2282 tSCC zHp_SysfileSelect0[] =
2285 #define HP_SYSFILE_TEST_CT 1
2286 static tTestDesc aHp_SysfileTests[] = {
2287 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2290 * Fix Command Arguments for Hp_Sysfile
2292 static const char* apzHp_SysfilePatch[] = {
2294 "(struct file *, ...)",
2298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2300 * Description of Hpux10_Cpp_Pow_Inline fix
2302 tSCC zHpux10_Cpp_Pow_InlineName[] =
2303 "hpux10_cpp_pow_inline";
2306 * File name selection pattern
2308 tSCC zHpux10_Cpp_Pow_InlineList[] =
2309 "|fixinc-test-limits.h|math.h|";
2311 * Machine/OS name selection pattern
2313 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2316 * content selection pattern - do fix if pattern found
2318 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2319 "^# +ifdef +__cplusplus\n\
2321 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2322 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2324 +extern +\"C\" +\\{\n\
2328 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2329 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2330 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2333 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2335 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2342 * Description of Hpux11_Cpp_Pow_Inline fix
2344 tSCC zHpux11_Cpp_Pow_InlineName[] =
2345 "hpux11_cpp_pow_inline";
2348 * File name selection pattern
2350 tSCC zHpux11_Cpp_Pow_InlineList[] =
2353 * Machine/OS name selection pattern
2355 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2358 * content selection pattern - do fix if pattern found
2360 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2361 " +inline double pow\\(double d,int expon\\) \\{\n\
2362 +return pow\\(d, \\(double\\)expon\\);\n\
2365 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2366 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2367 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2370 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2372 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2377 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2379 * Description of Hpux10_Ctype_Declarations1 fix
2381 tSCC zHpux10_Ctype_Declarations1Name[] =
2382 "hpux10_ctype_declarations1";
2385 * File name selection pattern
2387 tSCC zHpux10_Ctype_Declarations1List[] =
2390 * Machine/OS name selection pattern
2392 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2395 * content selection pattern - do fix if pattern found
2397 tSCC zHpux10_Ctype_Declarations1Select0[] =
2398 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2401 * content bypass pattern - skip fix if pattern found
2403 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2404 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2406 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2407 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2408 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2409 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2412 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2414 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2416 "#ifdef _PROTOTYPES\n\
2417 extern int __tolower(int);\n\
2418 extern int __toupper(int);\n\
2419 #else /* NOT _PROTOTYPES */\n\
2420 extern int __tolower();\n\
2421 extern int __toupper();\n\
2422 #endif /* _PROTOTYPES */\n\n\
2426 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2428 * Description of Hpux10_Ctype_Declarations2 fix
2430 tSCC zHpux10_Ctype_Declarations2Name[] =
2431 "hpux10_ctype_declarations2";
2434 * File name selection pattern
2436 tSCC zHpux10_Ctype_Declarations2List[] =
2439 * Machine/OS name selection pattern
2441 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2444 * content selection pattern - do fix if pattern found
2446 tSCC zHpux10_Ctype_Declarations2Select0[] =
2447 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2450 * content bypass pattern - skip fix if pattern found
2452 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2453 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2455 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2456 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2457 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2458 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2461 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2463 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2466 #ifdef _PROTOTYPES\n\
2467 extern int _isalnum(int);\n\
2468 extern int _isalpha(int);\n\
2469 extern int _iscntrl(int);\n\
2470 extern int _isdigit(int);\n\
2471 extern int _isgraph(int);\n\
2472 extern int _islower(int);\n\
2473 extern int _isprint(int);\n\
2474 extern int _ispunct(int);\n\
2475 extern int _isspace(int);\n\
2476 extern int _isupper(int);\n\
2477 extern int _isxdigit(int);\n\
2478 # else /* not _PROTOTYPES */\n\
2479 extern int _isalnum();\n\
2480 extern int _isalpha();\n\
2481 extern int _iscntrl();\n\
2482 extern int _isdigit();\n\
2483 extern int _isgraph();\n\
2484 extern int _islower();\n\
2485 extern int _isprint();\n\
2486 extern int _ispunct();\n\
2487 extern int _isspace();\n\
2488 extern int _isupper();\n\
2489 extern int _isxdigit();\n\
2490 #endif /* _PROTOTYPES */\n",
2493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2495 * Description of Hpux10_Stdio_Declarations fix
2497 tSCC zHpux10_Stdio_DeclarationsName[] =
2498 "hpux10_stdio_declarations";
2501 * File name selection pattern
2503 tSCC zHpux10_Stdio_DeclarationsList[] =
2506 * Machine/OS name selection pattern
2508 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2511 * content selection pattern - do fix if pattern found
2513 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2514 "^#[ \t]*define _iob[ \t]*__iob";
2517 * content bypass pattern - skip fix if pattern found
2519 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2520 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2522 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2523 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2524 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2525 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2528 * Fix Command Arguments for Hpux10_Stdio_Declarations
2530 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2533 # if defined(__STDC__) || defined(__cplusplus)\n\
2534 extern int snprintf(char *, size_t, const char *, ...);\n\
2535 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2536 # else /* not __STDC__) || __cplusplus */\n\
2537 extern int snprintf();\n\
2538 extern int vsnprintf();\n\
2539 # endif /* __STDC__) || __cplusplus */\n",
2542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2544 * Description of Hpux11_Abs fix
2546 tSCC zHpux11_AbsName[] =
2550 * File name selection pattern
2552 tSCC zHpux11_AbsList[] =
2555 * Machine/OS name selection pattern
2557 tSCC* apzHpux11_AbsMachs[] = {
2559 (const char*)NULL };
2562 * content selection pattern - do fix if pattern found
2564 tSCC zHpux11_AbsSelect0[] =
2565 "ifndef _MATH_INCLUDED";
2567 #define HPUX11_ABS_TEST_CT 1
2568 static tTestDesc aHpux11_AbsTests[] = {
2569 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2572 * Fix Command Arguments for Hpux11_Abs
2574 static const char* apzHpux11_AbsPatch[] = {
2576 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2579 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2581 * Description of Hpux11_Fabsf fix
2583 tSCC zHpux11_FabsfName[] =
2587 * File name selection pattern
2589 tSCC zHpux11_FabsfList[] =
2592 * Machine/OS name selection pattern
2594 #define apzHpux11_FabsfMachs (const char**)NULL
2597 * content selection pattern - do fix if pattern found
2599 tSCC zHpux11_FabsfSelect0[] =
2600 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2603 * content bypass pattern - skip fix if pattern found
2605 tSCC zHpux11_FabsfBypass0[] =
2608 #define HPUX11_FABSF_TEST_CT 2
2609 static tTestDesc aHpux11_FabsfTests[] = {
2610 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2611 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2614 * Fix Command Arguments for Hpux11_Fabsf
2616 static const char* apzHpux11_FabsfPatch[] = {
2618 "#ifndef __cplusplus\n\
2623 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2625 * Description of Hpux11_Size_T fix
2627 tSCC zHpux11_Size_TName[] =
2631 * File name selection pattern
2633 #define zHpux11_Size_TList (char*)NULL
2635 * Machine/OS name selection pattern
2637 tSCC* apzHpux11_Size_TMachs[] = {
2639 (const char*)NULL };
2642 * content selection pattern - do fix if pattern found
2644 tSCC zHpux11_Size_TSelect0[] =
2647 #define HPUX11_SIZE_T_TEST_CT 1
2648 static tTestDesc aHpux11_Size_TTests[] = {
2649 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2652 * Fix Command Arguments for Hpux11_Size_T
2654 static const char* apzHpux11_Size_TPatch[] = {
2659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2661 * Description of Hpux11_Snprintf fix
2663 tSCC zHpux11_SnprintfName[] =
2667 * File name selection pattern
2669 tSCC zHpux11_SnprintfList[] =
2672 * Machine/OS name selection pattern
2674 #define apzHpux11_SnprintfMachs (const char**)NULL
2677 * content selection pattern - do fix if pattern found
2679 tSCC zHpux11_SnprintfSelect0[] =
2680 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2682 #define HPUX11_SNPRINTF_TEST_CT 1
2683 static tTestDesc aHpux11_SnprintfTests[] = {
2684 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2687 * Fix Command Arguments for Hpux11_Snprintf
2689 static const char* apzHpux11_SnprintfPatch[] = {
2694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2696 * Description of Hpux11_Uint32_C fix
2698 tSCC zHpux11_Uint32_CName[] =
2702 * File name selection pattern
2704 tSCC zHpux11_Uint32_CList[] =
2707 * Machine/OS name selection pattern
2709 #define apzHpux11_Uint32_CMachs (const char**)NULL
2712 * content selection pattern - do fix if pattern found
2714 tSCC zHpux11_Uint32_CSelect0[] =
2715 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2717 #define HPUX11_UINT32_C_TEST_CT 1
2718 static tTestDesc aHpux11_Uint32_CTests[] = {
2719 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2722 * Fix Command Arguments for Hpux11_Uint32_C
2724 static const char* apzHpux11_Uint32_CPatch[] = {
2726 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2731 * Description of Hpux11_Vsnprintf fix
2733 tSCC zHpux11_VsnprintfName[] =
2737 * File name selection pattern
2739 tSCC zHpux11_VsnprintfList[] =
2742 * Machine/OS name selection pattern
2744 #define apzHpux11_VsnprintfMachs (const char**)NULL
2747 * content selection pattern - do fix if pattern found
2749 tSCC zHpux11_VsnprintfSelect0[] =
2750 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2752 #define HPUX11_VSNPRINTF_TEST_CT 1
2753 static tTestDesc aHpux11_VsnprintfTests[] = {
2754 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2757 * Fix Command Arguments for Hpux11_Vsnprintf
2759 static const char* apzHpux11_VsnprintfPatch[] = {
2764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2766 * Description of Hpux8_Bogus_Inlines fix
2768 tSCC zHpux8_Bogus_InlinesName[] =
2769 "hpux8_bogus_inlines";
2772 * File name selection pattern
2774 tSCC zHpux8_Bogus_InlinesList[] =
2777 * Machine/OS name selection pattern
2779 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2782 * content selection pattern - do fix if pattern found
2784 tSCC zHpux8_Bogus_InlinesSelect0[] =
2788 * content bypass pattern - skip fix if pattern found
2790 tSCC zHpux8_Bogus_InlinesBypass0[] =
2793 #define HPUX8_BOGUS_INLINES_TEST_CT 2
2794 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2795 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
2796 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2799 * Fix Command Arguments for Hpux8_Bogus_Inlines
2801 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2802 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2803 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2804 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2805 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2808 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2810 * Description of Hpux_Ctype_Macros fix
2812 tSCC zHpux_Ctype_MacrosName[] =
2813 "hpux_ctype_macros";
2816 * File name selection pattern
2818 tSCC zHpux_Ctype_MacrosList[] =
2821 * Machine/OS name selection pattern
2823 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
2826 * content selection pattern - do fix if pattern found
2828 tSCC zHpux_Ctype_MacrosSelect0[] =
2829 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
2831 #define HPUX_CTYPE_MACROS_TEST_CT 1
2832 static tTestDesc aHpux_Ctype_MacrosTests[] = {
2833 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
2836 * Fix Command Arguments for Hpux_Ctype_Macros
2838 static const char* apzHpux_Ctype_MacrosPatch[] = {
2843 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2845 * Description of Hpux_Htonl fix
2847 tSCC zHpux_HtonlName[] =
2851 * File name selection pattern
2853 tSCC zHpux_HtonlList[] =
2856 * Machine/OS name selection pattern
2858 #define apzHpux_HtonlMachs (const char**)NULL
2861 * content selection pattern - do fix if pattern found
2863 tSCC zHpux_HtonlSelect0[] =
2864 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
2866 \\* Macros for number representation conversion\\.\n\
2870 #define HPUX_HTONL_TEST_CT 1
2871 static tTestDesc aHpux_HtonlTests[] = {
2872 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
2875 * Fix Command Arguments for Hpux_Htonl
2877 static const char* apzHpux_HtonlPatch[] = {
2883 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2885 * Description of Hpux_Long_Double fix
2887 tSCC zHpux_Long_DoubleName[] =
2891 * File name selection pattern
2893 tSCC zHpux_Long_DoubleList[] =
2896 * Machine/OS name selection pattern
2898 #define apzHpux_Long_DoubleMachs (const char**)NULL
2901 * content selection pattern - do fix if pattern found
2903 tSCC zHpux_Long_DoubleSelect0[] =
2904 "extern[ \t]long_double[ \t]strtold";
2907 * content bypass pattern - skip fix if pattern found
2909 tSCC zHpux_Long_DoubleBypass0[] =
2912 #define HPUX_LONG_DOUBLE_TEST_CT 2
2913 static tTestDesc aHpux_Long_DoubleTests[] = {
2914 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
2915 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
2918 * Fix Command Arguments for Hpux_Long_Double
2920 static const char* apzHpux_Long_DoublePatch[] = { "sed",
2921 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
2922 "-e", "s/long_double/long double/g",
2925 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2927 * Description of Hpux_Systime fix
2929 tSCC zHpux_SystimeName[] =
2933 * File name selection pattern
2935 tSCC zHpux_SystimeList[] =
2938 * Machine/OS name selection pattern
2940 #define apzHpux_SystimeMachs (const char**)NULL
2943 * content selection pattern - do fix if pattern found
2945 tSCC zHpux_SystimeSelect0[] =
2946 "^extern struct sigevent;";
2948 #define HPUX_SYSTIME_TEST_CT 1
2949 static tTestDesc aHpux_SystimeTests[] = {
2950 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2953 * Fix Command Arguments for Hpux_Systime
2955 static const char* apzHpux_SystimePatch[] = {
2960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2962 * Description of Hpux_Spu_Info fix
2964 tSCC zHpux_Spu_InfoName[] =
2968 * File name selection pattern
2970 tSCC zHpux_Spu_InfoList[] =
2971 "|ia64/sys/getppdp.h|";
2973 * Machine/OS name selection pattern
2975 tSCC* apzHpux_Spu_InfoMachs[] = {
2977 (const char*)NULL };
2980 * content selection pattern - do fix if pattern found
2982 tSCC zHpux_Spu_InfoSelect0[] =
2983 "^.*extern.*spu_info.*";
2985 #define HPUX_SPU_INFO_TEST_CT 1
2986 static tTestDesc aHpux_Spu_InfoTests[] = {
2987 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
2990 * Fix Command Arguments for Hpux_Spu_Info
2992 static const char* apzHpux_Spu_InfoPatch[] = {
2999 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3001 * Description of Hpux_Extern_Errno fix
3003 tSCC zHpux_Extern_ErrnoName[] =
3004 "hpux_extern_errno";
3007 * File name selection pattern
3009 tSCC zHpux_Extern_ErrnoList[] =
3012 * Machine/OS name selection pattern
3014 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3016 "*-hp-hpux11.[0-2]*",
3017 (const char*)NULL };
3020 * content selection pattern - do fix if pattern found
3022 tSCC zHpux_Extern_ErrnoSelect0[] =
3023 "^[ \t]*extern int errno;$";
3025 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3026 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3027 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3030 * Fix Command Arguments for Hpux_Extern_Errno
3032 static const char* apzHpux_Extern_ErrnoPatch[] = {
3034 "#ifdef __cplusplus\n\
3038 #ifdef __cplusplus\n\
3043 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3045 * Description of Huge_Val_Hex fix
3047 tSCC zHuge_Val_HexName[] =
3051 * File name selection pattern
3053 tSCC zHuge_Val_HexList[] =
3054 "|bits/huge_val.h|";
3056 * Machine/OS name selection pattern
3058 #define apzHuge_Val_HexMachs (const char**)NULL
3061 * content selection pattern - do fix if pattern found
3063 tSCC zHuge_Val_HexSelect0[] =
3064 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
3067 * content bypass pattern - skip fix if pattern found
3069 tSCC zHuge_Val_HexBypass0[] =
3070 "__builtin_huge_val";
3072 #define HUGE_VAL_HEX_TEST_CT 2
3073 static tTestDesc aHuge_Val_HexTests[] = {
3074 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
3075 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
3078 * Fix Command Arguments for Huge_Val_Hex
3080 static const char* apzHuge_Val_HexPatch[] = {
3082 "#define HUGE_VAL (__builtin_huge_val())\n",
3085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3087 * Description of Huge_Valf_Hex fix
3089 tSCC zHuge_Valf_HexName[] =
3093 * File name selection pattern
3095 tSCC zHuge_Valf_HexList[] =
3096 "|bits/huge_val.h|";
3098 * Machine/OS name selection pattern
3100 #define apzHuge_Valf_HexMachs (const char**)NULL
3103 * content selection pattern - do fix if pattern found
3105 tSCC zHuge_Valf_HexSelect0[] =
3106 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
3109 * content bypass pattern - skip fix if pattern found
3111 tSCC zHuge_Valf_HexBypass0[] =
3112 "__builtin_huge_valf";
3114 #define HUGE_VALF_HEX_TEST_CT 2
3115 static tTestDesc aHuge_Valf_HexTests[] = {
3116 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
3117 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
3120 * Fix Command Arguments for Huge_Valf_Hex
3122 static const char* apzHuge_Valf_HexPatch[] = {
3124 "#define HUGE_VALF (__builtin_huge_valf())\n",
3127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3129 * Description of Huge_Vall_Hex fix
3131 tSCC zHuge_Vall_HexName[] =
3135 * File name selection pattern
3137 tSCC zHuge_Vall_HexList[] =
3138 "|bits/huge_val.h|";
3140 * Machine/OS name selection pattern
3142 #define apzHuge_Vall_HexMachs (const char**)NULL
3145 * content selection pattern - do fix if pattern found
3147 tSCC zHuge_Vall_HexSelect0[] =
3148 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
3151 * content bypass pattern - skip fix if pattern found
3153 tSCC zHuge_Vall_HexBypass0[] =
3154 "__builtin_huge_vall";
3156 #define HUGE_VALL_HEX_TEST_CT 2
3157 static tTestDesc aHuge_Vall_HexTests[] = {
3158 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
3159 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
3162 * Fix Command Arguments for Huge_Vall_Hex
3164 static const char* apzHuge_Vall_HexPatch[] = {
3166 "#define HUGE_VALL (__builtin_huge_vall())\n",
3169 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3171 * Description of Int_Abort_Free_And_Exit fix
3173 tSCC zInt_Abort_Free_And_ExitName[] =
3174 "int_abort_free_and_exit";
3177 * File name selection pattern
3179 tSCC zInt_Abort_Free_And_ExitList[] =
3182 * Machine/OS name selection pattern
3184 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
3187 * content selection pattern - do fix if pattern found
3189 tSCC zInt_Abort_Free_And_ExitSelect0[] =
3190 "int[ \t]+(abort|free|exit)[ \t]*\\(";
3193 * content bypass pattern - skip fix if pattern found
3195 tSCC zInt_Abort_Free_And_ExitBypass0[] =
3196 "_CLASSIC_ANSI_TYPES";
3198 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
3199 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
3200 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
3201 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
3204 * Fix Command Arguments for Int_Abort_Free_And_Exit
3206 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
3211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3213 * Description of Io_Quotes_Def fix
3215 tSCC zIo_Quotes_DefName[] =
3219 * File name selection pattern
3221 #define zIo_Quotes_DefList (char*)NULL
3223 * Machine/OS name selection pattern
3225 #define apzIo_Quotes_DefMachs (const char**)NULL
3228 * content selection pattern - do fix if pattern found
3230 tSCC zIo_Quotes_DefSelect0[] =
3231 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
3233 #define IO_QUOTES_DEF_TEST_CT 1
3234 static tTestDesc aIo_Quotes_DefTests[] = {
3235 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
3238 * Fix Command Arguments for Io_Quotes_Def
3240 static const char* apzIo_Quotes_DefPatch[] = {
3245 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3247 * Description of Io_Quotes_Use fix
3249 tSCC zIo_Quotes_UseName[] =
3253 * File name selection pattern
3255 #define zIo_Quotes_UseList (char*)NULL
3257 * Machine/OS name selection pattern
3259 #define apzIo_Quotes_UseMachs (const char**)NULL
3262 * content selection pattern - do fix if pattern found
3264 tSCC zIo_Quotes_UseSelect0[] =
3265 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
3267 #define IO_QUOTES_USE_TEST_CT 1
3268 static tTestDesc aIo_Quotes_UseTests[] = {
3269 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
3272 * Fix Command Arguments for Io_Quotes_Use
3274 static const char* apzIo_Quotes_UsePatch[] = {
3279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3281 * Description of Ip_Missing_Semi fix
3283 tSCC zIp_Missing_SemiName[] =
3287 * File name selection pattern
3289 tSCC zIp_Missing_SemiList[] =
3292 * Machine/OS name selection pattern
3294 #define apzIp_Missing_SemiMachs (const char**)NULL
3297 * content selection pattern - do fix if pattern found
3299 tSCC zIp_Missing_SemiSelect0[] =
3302 #define IP_MISSING_SEMI_TEST_CT 1
3303 static tTestDesc aIp_Missing_SemiTests[] = {
3304 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
3307 * Fix Command Arguments for Ip_Missing_Semi
3309 static const char* apzIp_Missing_SemiPatch[] = { "sed",
3310 "-e", "/^struct/,/^};/s/}$/};/",
3313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3315 * Description of Irix___Restrict fix
3317 tSCC zIrix___RestrictName[] =
3321 * File name selection pattern
3323 tSCC zIrix___RestrictList[] =
3324 "|internal/sgimacros.h|";
3326 * Machine/OS name selection pattern
3328 tSCC* apzIrix___RestrictMachs[] = {
3330 (const char*)NULL };
3333 * content selection pattern - do fix if pattern found
3335 tSCC zIrix___RestrictSelect0[] =
3337 )(#[ \t]*define __restrict restrict)";
3339 #define IRIX___RESTRICT_TEST_CT 1
3340 static tTestDesc aIrix___RestrictTests[] = {
3341 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
3344 * Fix Command Arguments for Irix___Restrict
3346 static const char* apzIrix___RestrictPatch[] = {
3348 "%1# ifndef __cplusplus\n\
3353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3355 * Description of Irix___Generic1 fix
3357 tSCC zIrix___Generic1Name[] =
3361 * File name selection pattern
3363 tSCC zIrix___Generic1List[] =
3364 "|internal/math_core.h|";
3366 * Machine/OS name selection pattern
3368 tSCC* apzIrix___Generic1Machs[] = {
3370 (const char*)NULL };
3373 * content selection pattern - do fix if pattern found
3375 tSCC zIrix___Generic1Select0[] =
3376 "#define ([a-z]+)\\(x\\) *__generic.*";
3378 #define IRIX___GENERIC1_TEST_CT 1
3379 static tTestDesc aIrix___Generic1Tests[] = {
3380 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
3383 * Fix Command Arguments for Irix___Generic1
3385 static const char* apzIrix___Generic1Patch[] = {
3387 "extern int %1(double);\n\
3388 extern int %1f(float);\n\
3389 extern int %1l(long double);\n\
3390 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
3391 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
3395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3397 * Description of Irix___Generic2 fix
3399 tSCC zIrix___Generic2Name[] =
3403 * File name selection pattern
3405 tSCC zIrix___Generic2List[] =
3406 "|internal/math_core.h|";
3408 * Machine/OS name selection pattern
3410 tSCC* apzIrix___Generic2Machs[] = {
3412 (const char*)NULL };
3415 * content selection pattern - do fix if pattern found
3417 tSCC zIrix___Generic2Select0[] =
3418 "#define ([a-z]+)\\(x,y\\) *__generic.*";
3420 #define IRIX___GENERIC2_TEST_CT 1
3421 static tTestDesc aIrix___Generic2Tests[] = {
3422 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
3425 * Fix Command Arguments for Irix___Generic2
3427 static const char* apzIrix___Generic2Patch[] = {
3429 "#define %1(x,y) \\\n\
3430 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
3431 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
3435 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3437 * Description of Irix_Asm_Apostrophe fix
3439 tSCC zIrix_Asm_ApostropheName[] =
3440 "irix_asm_apostrophe";
3443 * File name selection pattern
3445 tSCC zIrix_Asm_ApostropheList[] =
3448 * Machine/OS name selection pattern
3450 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3453 * content selection pattern - do fix if pattern found
3455 tSCC zIrix_Asm_ApostropheSelect0[] =
3456 "^[ \t]*#.*[Ww]e're";
3458 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3459 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3460 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3463 * Fix Command Arguments for Irix_Asm_Apostrophe
3465 static const char* apzIrix_Asm_ApostrophePatch[] = {
3468 "^([ \t]*#.*[Ww]e)'re",
3471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3473 * Description of Irix_Limits_Const fix
3475 tSCC zIrix_Limits_ConstName[] =
3476 "irix_limits_const";
3479 * File name selection pattern
3481 tSCC zIrix_Limits_ConstList[] =
3482 "|fixinc-test-limits.h|limits.h|";
3484 * Machine/OS name selection pattern
3486 #define apzIrix_Limits_ConstMachs (const char**)NULL
3489 * content selection pattern - do fix if pattern found
3491 tSCC zIrix_Limits_ConstSelect0[] =
3494 #define IRIX_LIMITS_CONST_TEST_CT 1
3495 static tTestDesc aIrix_Limits_ConstTests[] = {
3496 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3499 * Fix Command Arguments for Irix_Limits_Const
3501 static const char* apzIrix_Limits_ConstPatch[] = {
3506 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3508 * Description of Irix_Socklen_T fix
3510 tSCC zIrix_Socklen_TName[] =
3514 * File name selection pattern
3516 tSCC zIrix_Socklen_TList[] =
3519 * Machine/OS name selection pattern
3521 tSCC* apzIrix_Socklen_TMachs[] = {
3523 (const char*)NULL };
3526 * content selection pattern - do fix if pattern found
3528 tSCC zIrix_Socklen_TSelect0[] =
3529 "(#define _SOCKLEN_T\n\
3530 )(typedef u_int32_t socklen_t;)";
3532 #define IRIX_SOCKLEN_T_TEST_CT 1
3533 static tTestDesc aIrix_Socklen_TTests[] = {
3534 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3537 * Fix Command Arguments for Irix_Socklen_T
3539 static const char* apzIrix_Socklen_TPatch[] = {
3541 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3542 typedef int socklen_t;\n\
3545 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3550 * Description of Irix_Stdio_Va_List fix
3552 tSCC zIrix_Stdio_Va_ListName[] =
3553 "irix_stdio_va_list";
3556 * File name selection pattern
3558 tSCC zIrix_Stdio_Va_ListList[] =
3559 "|stdio.h|internal/stdio_core.h|";
3561 * Machine/OS name selection pattern
3563 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3566 * content selection pattern - do fix if pattern found
3568 tSCC zIrix_Stdio_Va_ListSelect0[] =
3569 "/\\* va_list \\*/ char \\*";
3571 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3572 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3573 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3576 * Fix Command Arguments for Irix_Stdio_Va_List
3578 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3583 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3585 * Description of Irix_Wcsftime fix
3587 tSCC zIrix_WcsftimeName[] =
3591 * File name selection pattern
3593 tSCC zIrix_WcsftimeList[] =
3594 "|internal/wchar_core.h|";
3596 * Machine/OS name selection pattern
3598 tSCC* apzIrix_WcsftimeMachs[] = {
3600 (const char*)NULL };
3603 * content selection pattern - do fix if pattern found
3605 tSCC zIrix_WcsftimeSelect0[] =
3607 (extern size_t[ \t]+wcsftime.*const char *.*)";
3609 #define IRIX_WCSFTIME_TEST_CT 1
3610 static tTestDesc aIrix_WcsftimeTests[] = {
3611 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
3614 * Fix Command Arguments for Irix_Wcsftime
3616 static const char* apzIrix_WcsftimePatch[] = {
3618 "#if _NO_XOPEN5 && !defined(__c99)\n\
3622 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3624 * Description of Isc_Fmod fix
3626 tSCC zIsc_FmodName[] =
3630 * File name selection pattern
3632 tSCC zIsc_FmodList[] =
3635 * Machine/OS name selection pattern
3637 #define apzIsc_FmodMachs (const char**)NULL
3640 * content selection pattern - do fix if pattern found
3642 tSCC zIsc_FmodSelect0[] =
3645 #define ISC_FMOD_TEST_CT 1
3646 static tTestDesc aIsc_FmodTests[] = {
3647 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
3650 * Fix Command Arguments for Isc_Fmod
3652 static const char* apzIsc_FmodPatch[] = {
3654 "fmod(double, double)",
3657 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3659 * Description of Isc_Omits_With_Stdc fix
3661 tSCC zIsc_Omits_With_StdcName[] =
3662 "isc_omits_with_stdc";
3665 * File name selection pattern
3667 tSCC zIsc_Omits_With_StdcList[] =
3668 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
3670 * Machine/OS name selection pattern
3672 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
3675 * content selection pattern - do fix if pattern found
3677 tSCC zIsc_Omits_With_StdcSelect0[] =
3678 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
3680 #define ISC_OMITS_WITH_STDC_TEST_CT 1
3681 static tTestDesc aIsc_Omits_With_StdcTests[] = {
3682 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
3685 * Fix Command Arguments for Isc_Omits_With_Stdc
3687 static const char* apzIsc_Omits_With_StdcPatch[] = {
3689 "!defined(_POSIX_SOURCE)",
3692 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3694 * Description of Kandr_Concat fix
3696 tSCC zKandr_ConcatName[] =
3700 * File name selection pattern
3702 tSCC zKandr_ConcatList[] =
3703 "|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|";
3705 * Machine/OS name selection pattern
3707 #define apzKandr_ConcatMachs (const char**)NULL
3710 * content selection pattern - do fix if pattern found
3712 tSCC zKandr_ConcatSelect0[] =
3715 #define KANDR_CONCAT_TEST_CT 1
3716 static tTestDesc aKandr_ConcatTests[] = {
3717 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
3720 * Fix Command Arguments for Kandr_Concat
3722 static const char* apzKandr_ConcatPatch[] = {
3727 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3729 * Description of Libc1_G_Va_List fix
3731 tSCC zLibc1_G_Va_ListName[] =
3735 * File name selection pattern
3737 tSCC zLibc1_G_Va_ListList[] =
3740 * Machine/OS name selection pattern
3742 tSCC* apzLibc1_G_Va_ListMachs[] = {
3744 (const char*)NULL };
3747 * content selection pattern - do fix if pattern found
3749 tSCC zLibc1_G_Va_ListSelect0[] =
3750 "typedef void \\* _G_va_list;";
3752 #define LIBC1_G_VA_LIST_TEST_CT 1
3753 static tTestDesc aLibc1_G_Va_ListTests[] = {
3754 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
3757 * Fix Command Arguments for Libc1_G_Va_List
3759 static const char* apzLibc1_G_Va_ListPatch[] = {
3761 "typedef __builtin_va_list _G_va_list;",
3764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3766 * Description of Libc1_Ifdefd_Memx fix
3768 tSCC zLibc1_Ifdefd_MemxName[] =
3769 "libc1_ifdefd_memx";
3772 * File name selection pattern
3774 tSCC zLibc1_Ifdefd_MemxList[] =
3775 "|testing.h|string.h|";
3777 * Machine/OS name selection pattern
3779 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
3782 * content selection pattern - do fix if pattern found
3784 tSCC zLibc1_Ifdefd_MemxSelect0[] =
3785 "' is a built-in function for gcc 2\\.x\\. \\*/";
3788 * content bypass pattern - skip fix if pattern found
3790 tSCC zLibc1_Ifdefd_MemxBypass0[] =
3793 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
3794 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
3795 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
3796 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
3799 * Fix Command Arguments for Libc1_Ifdefd_Memx
3801 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
3804 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
3805 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
3807 extern [a-z_]+ mem.*(\n\
3812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3814 * Description of Linux_Ia64_Ucontext fix
3816 tSCC zLinux_Ia64_UcontextName[] =
3817 "linux_ia64_ucontext";
3820 * File name selection pattern
3822 tSCC zLinux_Ia64_UcontextList[] =
3825 * Machine/OS name selection pattern
3827 tSCC* apzLinux_Ia64_UcontextMachs[] = {
3829 (const char*)NULL };
3832 * content selection pattern - do fix if pattern found
3834 tSCC zLinux_Ia64_UcontextSelect0[] =
3835 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
3837 #define LINUX_IA64_UCONTEXT_TEST_CT 1
3838 static tTestDesc aLinux_Ia64_UcontextTests[] = {
3839 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
3842 * Fix Command Arguments for Linux_Ia64_Ucontext
3844 static const char* apzLinux_Ia64_UcontextPatch[] = {
3846 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
3849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3851 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
3853 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
3854 "lynxos_no_warning_in_sys_time_h";
3857 * File name selection pattern
3859 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
3862 * Machine/OS name selection pattern
3864 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
3867 * content selection pattern - do fix if pattern found
3869 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
3870 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
3872 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
3873 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
3874 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
3877 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
3879 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
3884 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3886 * Description of Lynxos_Missing_Putenv fix
3888 tSCC zLynxos_Missing_PutenvName[] =
3889 "lynxos_missing_putenv";
3892 * File name selection pattern
3894 tSCC zLynxos_Missing_PutenvList[] =
3897 * Machine/OS name selection pattern
3899 tSCC* apzLynxos_Missing_PutenvMachs[] = {
3901 (const char*)NULL };
3904 * content selection pattern - do fix if pattern found
3906 tSCC zLynxos_Missing_PutenvSelect0[] =
3907 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
3910 * content bypass pattern - skip fix if pattern found
3912 tSCC zLynxos_Missing_PutenvBypass0[] =
3915 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
3916 static tTestDesc aLynxos_Missing_PutenvTests[] = {
3917 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
3918 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
3921 * Fix Command Arguments for Lynxos_Missing_Putenv
3923 static const char* apzLynxos_Missing_PutenvPatch[] = {
3926 extern int putenv\t\t\t\t_AP((char *));",
3927 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
3930 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3932 * Description of Machine_Ansi_H_Va_List fix
3934 tSCC zMachine_Ansi_H_Va_ListName[] =
3935 "machine_ansi_h_va_list";
3938 * File name selection pattern
3940 #define zMachine_Ansi_H_Va_ListList (char*)NULL
3942 * Machine/OS name selection pattern
3944 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
3947 * content selection pattern - do fix if pattern found
3949 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
3950 "define[ \t]+_BSD_VA_LIST_[ \t]";
3953 * content bypass pattern - skip fix if pattern found
3955 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
3956 "__builtin_va_list";
3958 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
3959 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
3960 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
3961 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
3964 * Fix Command Arguments for Machine_Ansi_H_Va_List
3966 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
3968 "%1__builtin_va_list",
3969 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
3972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3974 * Description of Machine_Name fix
3976 tSCC zMachine_NameName[] =
3980 * File name selection pattern
3982 #define zMachine_NameList (char*)NULL
3984 * Machine/OS name selection pattern
3986 #define apzMachine_NameMachs (const char**)NULL
3989 * perform the C function call test
3991 tSCC zMachine_NameFTst0[] = "machine_name";
3993 #define MACHINE_NAME_TEST_CT 1
3994 static tTestDesc aMachine_NameTests[] = {
3995 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
3998 * Fix Command Arguments for Machine_Name
4000 static const char* apzMachine_NamePatch[] = {
4004 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4006 * Description of Math_Exception fix
4008 tSCC zMath_ExceptionName[] =
4012 * File name selection pattern
4014 tSCC zMath_ExceptionList[] =
4017 * Machine/OS name selection pattern
4019 #define apzMath_ExceptionMachs (const char**)NULL
4022 * content selection pattern - do fix if pattern found
4024 tSCC zMath_ExceptionSelect0[] =
4028 * content bypass pattern - skip fix if pattern found
4030 tSCC zMath_ExceptionBypass0[] =
4031 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4033 #define MATH_EXCEPTION_TEST_CT 2
4034 static tTestDesc aMath_ExceptionTests[] = {
4035 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4036 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4039 * Fix Command Arguments for Math_Exception
4041 static const char* apzMath_ExceptionPatch[] = {
4043 "#ifdef __cplusplus\n\
4044 #define exception __math_exception\n\
4046 "#ifdef __cplusplus\n\
4051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4053 * Description of Math_Huge_Val_From_Dbl_Max fix
4055 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4056 "math_huge_val_from_dbl_max";
4059 * File name selection pattern
4061 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4064 * Machine/OS name selection pattern
4066 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4069 * content selection pattern - do fix if pattern found
4071 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4072 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4075 * content bypass pattern - skip fix if pattern found
4077 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4078 "define[ \t]+DBL_MAX";
4080 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4081 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4082 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4083 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4086 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4088 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4089 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4090 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4091 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4096 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4098 * Description of Nested_Auth_Des fix
4100 tSCC zNested_Auth_DesName[] =
4104 * File name selection pattern
4106 tSCC zNested_Auth_DesList[] =
4109 * Machine/OS name selection pattern
4111 #define apzNested_Auth_DesMachs (const char**)NULL
4114 * content selection pattern - do fix if pattern found
4116 tSCC zNested_Auth_DesSelect0[] =
4117 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4119 #define NESTED_AUTH_DES_TEST_CT 1
4120 static tTestDesc aNested_Auth_DesTests[] = {
4121 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4124 * Fix Command Arguments for Nested_Auth_Des
4126 static const char* apzNested_Auth_DesPatch[] = {
4131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4133 * Description of Nested_Motorola fix
4135 tSCC zNested_MotorolaName[] =
4139 * File name selection pattern
4141 tSCC zNested_MotorolaList[] =
4142 "|sys/limits.h|limits.h|";
4144 * Machine/OS name selection pattern
4146 tSCC* apzNested_MotorolaMachs[] = {
4147 "m68k-motorola-sysv*",
4148 (const char*)NULL };
4151 * content selection pattern - do fix if pattern found
4153 tSCC zNested_MotorolaSelect0[] =
4154 "max # bytes atomic in write|error value returned by Math lib";
4156 #define NESTED_MOTOROLA_TEST_CT 1
4157 static tTestDesc aNested_MotorolaTests[] = {
4158 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
4161 * Fix Command Arguments for Nested_Motorola
4163 static const char* apzNested_MotorolaPatch[] = { "sed",
4164 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
4165 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
4168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4170 * Description of Nested_Sys_Limits fix
4172 tSCC zNested_Sys_LimitsName[] =
4173 "nested_sys_limits";
4176 * File name selection pattern
4178 tSCC zNested_Sys_LimitsList[] =
4181 * Machine/OS name selection pattern
4183 #define apzNested_Sys_LimitsMachs (const char**)NULL
4186 * content selection pattern - do fix if pattern found
4188 tSCC zNested_Sys_LimitsSelect0[] =
4191 #define NESTED_SYS_LIMITS_TEST_CT 1
4192 static tTestDesc aNested_Sys_LimitsTests[] = {
4193 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
4196 * Fix Command Arguments for Nested_Sys_Limits
4198 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
4199 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
4200 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
4203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4205 * Description of Netbsd_Extra_Semicolon fix
4207 tSCC zNetbsd_Extra_SemicolonName[] =
4208 "netbsd_extra_semicolon";
4211 * File name selection pattern
4213 tSCC zNetbsd_Extra_SemicolonList[] =
4216 * Machine/OS name selection pattern
4218 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4220 (const char*)NULL };
4223 * content selection pattern - do fix if pattern found
4225 tSCC zNetbsd_Extra_SemicolonSelect0[] =
4226 "#define[ \t]*__END_DECLS[ \t]*};";
4228 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
4229 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
4230 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
4233 * Fix Command Arguments for Netbsd_Extra_Semicolon
4235 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
4237 "#define __END_DECLS }",
4240 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4242 * Description of Next_Math_Prefix fix
4244 tSCC zNext_Math_PrefixName[] =
4248 * File name selection pattern
4250 tSCC zNext_Math_PrefixList[] =
4253 * Machine/OS name selection pattern
4255 #define apzNext_Math_PrefixMachs (const char**)NULL
4258 * content selection pattern - do fix if pattern found
4260 tSCC zNext_Math_PrefixSelect0[] =
4261 "^extern[ \t]+double[ \t]+__const__[ \t]";
4263 #define NEXT_MATH_PREFIX_TEST_CT 1
4264 static tTestDesc aNext_Math_PrefixTests[] = {
4265 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
4268 * Fix Command Arguments for Next_Math_Prefix
4270 static const char* apzNext_Math_PrefixPatch[] = {
4272 "extern double %1(",
4273 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
4276 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4278 * Description of Next_Template fix
4280 tSCC zNext_TemplateName[] =
4284 * File name selection pattern
4286 tSCC zNext_TemplateList[] =
4289 * Machine/OS name selection pattern
4291 #define apzNext_TemplateMachs (const char**)NULL
4294 * content selection pattern - do fix if pattern found
4296 tSCC zNext_TemplateSelect0[] =
4299 #define NEXT_TEMPLATE_TEST_CT 1
4300 static tTestDesc aNext_TemplateTests[] = {
4301 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
4304 * Fix Command Arguments for Next_Template
4306 static const char* apzNext_TemplatePatch[] = {
4309 "\\(([^)]*)[ \t]template\\)",
4312 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4314 * Description of Next_Volitile fix
4316 tSCC zNext_VolitileName[] =
4320 * File name selection pattern
4322 tSCC zNext_VolitileList[] =
4325 * Machine/OS name selection pattern
4327 #define apzNext_VolitileMachs (const char**)NULL
4330 * content selection pattern - do fix if pattern found
4332 tSCC zNext_VolitileSelect0[] =
4333 "^extern[ \t]+volatile[ \t]+void[ \t]";
4335 #define NEXT_VOLITILE_TEST_CT 1
4336 static tTestDesc aNext_VolitileTests[] = {
4337 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
4340 * Fix Command Arguments for Next_Volitile
4342 static const char* apzNext_VolitilePatch[] = {
4345 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
4348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4350 * Description of Next_Wait_Union fix
4352 tSCC zNext_Wait_UnionName[] =
4356 * File name selection pattern
4358 tSCC zNext_Wait_UnionList[] =
4361 * Machine/OS name selection pattern
4363 #define apzNext_Wait_UnionMachs (const char**)NULL
4366 * content selection pattern - do fix if pattern found
4368 tSCC zNext_Wait_UnionSelect0[] =
4369 "wait\\(union wait";
4371 #define NEXT_WAIT_UNION_TEST_CT 1
4372 static tTestDesc aNext_Wait_UnionTests[] = {
4373 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
4376 * Fix Command Arguments for Next_Wait_Union
4378 static const char* apzNext_Wait_UnionPatch[] = {
4383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4385 * Description of Nodeent_Syntax fix
4387 tSCC zNodeent_SyntaxName[] =
4391 * File name selection pattern
4393 tSCC zNodeent_SyntaxList[] =
4394 "|netdnet/dnetdb.h|";
4396 * Machine/OS name selection pattern
4398 #define apzNodeent_SyntaxMachs (const char**)NULL
4401 * content selection pattern - do fix if pattern found
4403 tSCC zNodeent_SyntaxSelect0[] =
4404 "char[ \t]*\\*na_addr[ \t]*$";
4406 #define NODEENT_SYNTAX_TEST_CT 1
4407 static tTestDesc aNodeent_SyntaxTests[] = {
4408 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
4411 * Fix Command Arguments for Nodeent_Syntax
4413 static const char* apzNodeent_SyntaxPatch[] = {
4418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4420 * Description of Obstack_Lvalue_Cast fix
4422 tSCC zObstack_Lvalue_CastName[] =
4423 "obstack_lvalue_cast";
4426 * File name selection pattern
4428 tSCC zObstack_Lvalue_CastList[] =
4431 * Machine/OS name selection pattern
4433 #define apzObstack_Lvalue_CastMachs (const char**)NULL
4436 * content selection pattern - do fix if pattern found
4438 tSCC zObstack_Lvalue_CastSelect0[] =
4439 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
4441 #define OBSTACK_LVALUE_CAST_TEST_CT 1
4442 static tTestDesc aObstack_Lvalue_CastTests[] = {
4443 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
4446 * Fix Command Arguments for Obstack_Lvalue_Cast
4448 static const char* apzObstack_Lvalue_CastPatch[] = {
4450 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
4453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4455 * Description of Osf_Namespace_A fix
4457 tSCC zOsf_Namespace_AName[] =
4461 * File name selection pattern
4463 tSCC zOsf_Namespace_AList[] =
4464 "|reg_types.h|sys/lc_core.h|";
4466 * Machine/OS name selection pattern
4468 #define apzOsf_Namespace_AMachs (const char**)NULL
4471 * perform the 'test' shell command - do fix on success
4473 tSCC zOsf_Namespace_ATest0[] =
4475 tSCC zOsf_Namespace_ATest1[] =
4476 " -r sys/lc_core.h";
4477 tSCC zOsf_Namespace_ATest2[] =
4478 " -n \"`grep '} regex_t;' reg_types.h`\"";
4479 tSCC zOsf_Namespace_ATest3[] =
4480 " -z \"`grep __regex_t regex.h`\"";
4482 #define OSF_NAMESPACE_A_TEST_CT 4
4483 static tTestDesc aOsf_Namespace_ATests[] = {
4484 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4485 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4486 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4487 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4490 * Fix Command Arguments for Osf_Namespace_A
4492 static const char* apzOsf_Namespace_APatch[] = {
4495 "reg(ex|off|match)_t",
4498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4500 * Description of Osf_Namespace_C fix
4502 tSCC zOsf_Namespace_CName[] =
4506 * File name selection pattern
4508 tSCC zOsf_Namespace_CList[] =
4511 * Machine/OS name selection pattern
4513 #define apzOsf_Namespace_CMachs (const char**)NULL
4516 * content selection pattern - do fix if pattern found
4518 tSCC zOsf_Namespace_CSelect0[] =
4519 "#include <reg_types.h>.*";
4522 * perform the 'test' shell command - do fix on success
4524 tSCC zOsf_Namespace_CTest0[] =
4526 tSCC zOsf_Namespace_CTest1[] =
4527 " -r sys/lc_core.h";
4528 tSCC zOsf_Namespace_CTest2[] =
4529 " -n \"`grep '} regex_t;' reg_types.h`\"";
4530 tSCC zOsf_Namespace_CTest3[] =
4531 " -z \"`grep __regex_t regex.h`\"";
4533 #define OSF_NAMESPACE_C_TEST_CT 5
4534 static tTestDesc aOsf_Namespace_CTests[] = {
4535 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
4536 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
4537 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
4538 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
4539 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
4542 * Fix Command Arguments for Osf_Namespace_C
4544 static const char* apzOsf_Namespace_CPatch[] = {
4547 typedef __regex_t\tregex_t;\n\
4548 typedef __regoff_t\tregoff_t;\n\
4549 typedef __regmatch_t\tregmatch_t;",
4552 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4554 * Description of Pthread_Page_Size fix
4556 tSCC zPthread_Page_SizeName[] =
4557 "pthread_page_size";
4560 * File name selection pattern
4562 tSCC zPthread_Page_SizeList[] =
4565 * Machine/OS name selection pattern
4567 #define apzPthread_Page_SizeMachs (const char**)NULL
4570 * content selection pattern - do fix if pattern found
4572 tSCC zPthread_Page_SizeSelect0[] =
4575 #define PTHREAD_PAGE_SIZE_TEST_CT 1
4576 static tTestDesc aPthread_Page_SizeTests[] = {
4577 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
4580 * Fix Command Arguments for Pthread_Page_Size
4582 static const char* apzPthread_Page_SizePatch[] = {
4587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4589 * Description of Pthread_Incomplete_Struct_Argument fix
4591 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
4592 "pthread_incomplete_struct_argument";
4595 * File name selection pattern
4597 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
4600 * Machine/OS name selection pattern
4602 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
4605 * content selection pattern - do fix if pattern found
4607 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
4608 "struct __jmp_buf_tag";
4610 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
4611 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
4612 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
4615 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
4617 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
4620 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
4623 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4625 * Description of Read_Ret_Type fix
4627 tSCC zRead_Ret_TypeName[] =
4631 * File name selection pattern
4633 tSCC zRead_Ret_TypeList[] =
4636 * Machine/OS name selection pattern
4638 #define apzRead_Ret_TypeMachs (const char**)NULL
4641 * content selection pattern - do fix if pattern found
4643 tSCC zRead_Ret_TypeSelect0[] =
4644 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
4646 #define READ_RET_TYPE_TEST_CT 1
4647 static tTestDesc aRead_Ret_TypeTests[] = {
4648 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
4651 * Fix Command Arguments for Read_Ret_Type
4653 static const char* apzRead_Ret_TypePatch[] = {
4655 "extern unsigned int fread(), fwrite();\n\
4657 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
4660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4662 * Description of Rpc_Xdr_Lvalue_Cast_A fix
4664 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
4665 "rpc_xdr_lvalue_cast_a";
4668 * File name selection pattern
4670 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
4673 * Machine/OS name selection pattern
4675 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
4678 * content selection pattern - do fix if pattern found
4680 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
4681 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
4684 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
4685 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
4686 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
4689 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
4691 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
4693 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
4696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4698 * Description of Rpc_Xdr_Lvalue_Cast_B fix
4700 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
4701 "rpc_xdr_lvalue_cast_b";
4704 * File name selection pattern
4706 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
4709 * Machine/OS name selection pattern
4711 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
4714 * content selection pattern - do fix if pattern found
4716 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
4717 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
4720 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
4721 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
4722 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
4725 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
4727 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
4729 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
4732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4734 * Description of Rs6000_Double fix
4736 tSCC zRs6000_DoubleName[] =
4740 * File name selection pattern
4742 tSCC zRs6000_DoubleList[] =
4745 * Machine/OS name selection pattern
4747 #define apzRs6000_DoubleMachs (const char**)NULL
4750 * content selection pattern - do fix if pattern found
4752 tSCC zRs6000_DoubleSelect0[] =
4753 "[^a-zA-Z_]class\\(";
4755 #define RS6000_DOUBLE_TEST_CT 1
4756 static tTestDesc aRs6000_DoubleTests[] = {
4757 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
4760 * Fix Command Arguments for Rs6000_Double
4762 static const char* apzRs6000_DoublePatch[] = {
4764 "#ifndef __cplusplus\n\
4767 "^.*[^a-zA-Z_]class\\(.*",
4770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4772 * Description of Rs6000_Fchmod fix
4774 tSCC zRs6000_FchmodName[] =
4778 * File name selection pattern
4780 tSCC zRs6000_FchmodList[] =
4783 * Machine/OS name selection pattern
4785 #define apzRs6000_FchmodMachs (const char**)NULL
4788 * content selection pattern - do fix if pattern found
4790 tSCC zRs6000_FchmodSelect0[] =
4791 "fchmod\\(char \\*";
4793 #define RS6000_FCHMOD_TEST_CT 1
4794 static tTestDesc aRs6000_FchmodTests[] = {
4795 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
4798 * Fix Command Arguments for Rs6000_Fchmod
4800 static const char* apzRs6000_FchmodPatch[] = {
4805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4807 * Description of Rs6000_Param fix
4809 tSCC zRs6000_ParamName[] =
4813 * File name selection pattern
4815 tSCC zRs6000_ParamList[] =
4816 "|stdio.h|unistd.h|";
4818 * Machine/OS name selection pattern
4820 #define apzRs6000_ParamMachs (const char**)NULL
4823 * content selection pattern - do fix if pattern found
4825 tSCC zRs6000_ParamSelect0[] =
4826 "rename\\(const char \\*old, const char \\*new\\)";
4828 #define RS6000_PARAM_TEST_CT 1
4829 static tTestDesc aRs6000_ParamTests[] = {
4830 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
4833 * Fix Command Arguments for Rs6000_Param
4835 static const char* apzRs6000_ParamPatch[] = {
4837 "rename(const char *_old, const char *_new)",
4840 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4842 * Description of Sco_Math fix
4844 tSCC zSco_MathName[] =
4848 * File name selection pattern
4850 tSCC zSco_MathList[] =
4851 "|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|";
4853 * Machine/OS name selection pattern
4855 #define apzSco_MathMachs (const char**)NULL
4858 * content selection pattern - do fix if pattern found
4860 tSCC zSco_MathSelect0[] =
4861 "inline double abs";
4864 * content bypass pattern - skip fix if pattern found
4866 tSCC zSco_MathBypass0[] =
4869 #define SCO_MATH_TEST_CT 2
4870 static tTestDesc aSco_MathTests[] = {
4871 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
4872 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
4875 * Fix Command Arguments for Sco_Math
4877 static const char* apzSco_MathPatch[] = { "sed",
4878 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
4879 #ifndef __GNUC__\n",
4880 "-e", "/.*__builtin_generic/a\\\n\
4882 #define __fp_class(a) \\\\\\\n\
4883 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
4884 __fpclassifyl(a), \\\\\\\n\
4885 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
4886 __fpclassifyf(a),__fpclassify(a)))\\\n\
4888 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
4889 #ifndef __GNUC__\n",
4890 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
4891 #endif /* ! __GNUC__ */",
4894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4896 * Description of Sco_Regset fix
4898 tSCC zSco_RegsetName[] =
4902 * File name selection pattern
4904 tSCC zSco_RegsetList[] =
4907 * Machine/OS name selection pattern
4909 tSCC* apzSco_RegsetMachs[] = {
4911 (const char*)NULL };
4914 * content selection pattern - do fix if pattern found
4916 tSCC zSco_RegsetSelect0[] =
4917 "(struct[ \t]+.*)fpstate";
4919 #define SCO_REGSET_TEST_CT 1
4920 static tTestDesc aSco_RegsetTests[] = {
4921 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
4924 * Fix Command Arguments for Sco_Regset
4926 static const char* apzSco_RegsetPatch[] = {
4931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4933 * Description of Sco_Static_Func fix
4935 tSCC zSco_Static_FuncName[] =
4939 * File name selection pattern
4941 tSCC zSco_Static_FuncList[] =
4944 * Machine/OS name selection pattern
4946 tSCC* apzSco_Static_FuncMachs[] = {
4948 (const char*)NULL };
4951 * content selection pattern - do fix if pattern found
4953 tSCC zSco_Static_FuncSelect0[] =
4956 #define SCO_STATIC_FUNC_TEST_CT 1
4957 static tTestDesc aSco_Static_FuncTests[] = {
4958 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
4961 * Fix Command Arguments for Sco_Static_Func
4963 static const char* apzSco_Static_FuncPatch[] = { "sed",
4964 "-e", "/^static int/i\\\n\
4965 #if __cplusplus\\\n\
4967 #endif /* __cplusplus */",
4969 #if __cplusplus\\\n\
4971 #endif /* __cplusplus */",
4974 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4976 * Description of Sco_Utime fix
4978 tSCC zSco_UtimeName[] =
4982 * File name selection pattern
4984 tSCC zSco_UtimeList[] =
4987 * Machine/OS name selection pattern
4989 tSCC* apzSco_UtimeMachs[] = {
4991 (const char*)NULL };
4994 * content selection pattern - do fix if pattern found
4996 tSCC zSco_UtimeSelect0[] =
4997 "\\(const char \\*, struct utimbuf \\*\\);";
4999 #define SCO_UTIME_TEST_CT 1
5000 static tTestDesc aSco_UtimeTests[] = {
5001 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
5004 * Fix Command Arguments for Sco_Utime
5006 static const char* apzSco_UtimePatch[] = {
5008 "(const char *, const struct utimbuf *);",
5011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5013 * Description of Solaris_Math_1 fix
5015 tSCC zSolaris_Math_1Name[] =
5019 * File name selection pattern
5021 tSCC zSolaris_Math_1List[] =
5024 * Machine/OS name selection pattern
5026 #define apzSolaris_Math_1Machs (const char**)NULL
5029 * content selection pattern - do fix if pattern found
5031 tSCC zSolaris_Math_1Select0[] =
5032 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5035 * content bypass pattern - skip fix if pattern found
5037 tSCC zSolaris_Math_1Bypass0[] =
5040 #define SOLARIS_MATH_1_TEST_CT 2
5041 static tTestDesc aSolaris_Math_1Tests[] = {
5042 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
5043 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
5046 * Fix Command Arguments for Solaris_Math_1
5048 static const char* apzSolaris_Math_1Patch[] = {
5050 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
5051 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
5054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5056 * Description of Solaris_Math_2 fix
5058 tSCC zSolaris_Math_2Name[] =
5062 * File name selection pattern
5064 tSCC zSolaris_Math_2List[] =
5067 * Machine/OS name selection pattern
5069 #define apzSolaris_Math_2Machs (const char**)NULL
5072 * content selection pattern - do fix if pattern found
5074 tSCC zSolaris_Math_2Select0[] =
5075 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5078 * content bypass pattern - skip fix if pattern found
5080 tSCC zSolaris_Math_2Bypass0[] =
5083 #define SOLARIS_MATH_2_TEST_CT 2
5084 static tTestDesc aSolaris_Math_2Tests[] = {
5085 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
5086 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
5089 * Fix Command Arguments for Solaris_Math_2
5091 static const char* apzSolaris_Math_2Patch[] = {
5093 "#define\tINFINITY\t(__builtin_inff())",
5094 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
5097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5099 * Description of Solaris_Math_3 fix
5101 tSCC zSolaris_Math_3Name[] =
5105 * File name selection pattern
5107 tSCC zSolaris_Math_3List[] =
5110 * Machine/OS name selection pattern
5112 #define apzSolaris_Math_3Machs (const char**)NULL
5115 * content selection pattern - do fix if pattern found
5117 tSCC zSolaris_Math_3Select0[] =
5118 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5121 * content bypass pattern - skip fix if pattern found
5123 tSCC zSolaris_Math_3Bypass0[] =
5126 #define SOLARIS_MATH_3_TEST_CT 2
5127 static tTestDesc aSolaris_Math_3Tests[] = {
5128 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
5129 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
5132 * Fix Command Arguments for Solaris_Math_3
5134 static const char* apzSolaris_Math_3Patch[] = {
5136 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
5137 "^#define[ \t]+NAN[ \t]+__builtin_nan",
5140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5142 * Description of Solaris_Math_4 fix
5144 tSCC zSolaris_Math_4Name[] =
5148 * File name selection pattern
5150 tSCC zSolaris_Math_4List[] =
5153 * Machine/OS name selection pattern
5155 #define apzSolaris_Math_4Machs (const char**)NULL
5158 * content selection pattern - do fix if pattern found
5160 tSCC zSolaris_Math_4Select0[] =
5161 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5164 * content bypass pattern - skip fix if pattern found
5166 tSCC zSolaris_Math_4Bypass0[] =
5169 #define SOLARIS_MATH_4_TEST_CT 2
5170 static tTestDesc aSolaris_Math_4Tests[] = {
5171 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
5172 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
5175 * Fix Command Arguments for Solaris_Math_4
5177 static const char* apzSolaris_Math_4Patch[] = {
5179 "#define\tfpclassify(x) \\\n\
5180 __extension__ ({ __typeof(x) __x_fp = (x); \\\n\
5181 \t\t isnan(__x_fp) \\\n\
5183 \t\t : isinf(__x_fp) \\\n\
5184 \t\t ? FP_INFINITE \\\n\
5185 \t\t : isnormal(__x_fp) \\\n\
5186 \t\t\t ? FP_NORMAL \\\n\
5187 \t\t\t : __x_fp == 0.0 \\\n\
5188 \t\t\t ? FP_ZERO \\\n\
5189 \t\t\t : FP_SUBNORMAL; })",
5190 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
5193 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5195 * Description of Solaris_Math_5 fix
5197 tSCC zSolaris_Math_5Name[] =
5201 * File name selection pattern
5203 tSCC zSolaris_Math_5List[] =
5206 * Machine/OS name selection pattern
5208 #define apzSolaris_Math_5Machs (const char**)NULL
5211 * content selection pattern - do fix if pattern found
5213 tSCC zSolaris_Math_5Select0[] =
5214 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5217 * content bypass pattern - skip fix if pattern found
5219 tSCC zSolaris_Math_5Bypass0[] =
5222 #define SOLARIS_MATH_5_TEST_CT 2
5223 static tTestDesc aSolaris_Math_5Tests[] = {
5224 { TT_NEGREP, zSolaris_Math_5Bypass0, (regex_t*)NULL },
5225 { TT_EGREP, zSolaris_Math_5Select0, (regex_t*)NULL }, };
5228 * Fix Command Arguments for Solaris_Math_5
5230 static const char* apzSolaris_Math_5Patch[] = {
5232 "#define\tisfinite(x) \\\n\
5233 __extension__ ({ __typeof (x) __x_f = (x); \\\n\
5234 \t\t __builtin_expect(!isnan(__x_f - __x_f), 1); })",
5235 "^#define[ \t]+isfinite\\(x\\)[ \t]+__builtin_isfinite\\(x\\)",
5238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5240 * Description of Solaris_Math_6 fix
5242 tSCC zSolaris_Math_6Name[] =
5246 * File name selection pattern
5248 tSCC zSolaris_Math_6List[] =
5251 * Machine/OS name selection pattern
5253 #define apzSolaris_Math_6Machs (const char**)NULL
5256 * content selection pattern - do fix if pattern found
5258 tSCC zSolaris_Math_6Select0[] =
5259 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5262 * content bypass pattern - skip fix if pattern found
5264 tSCC zSolaris_Math_6Bypass0[] =
5267 #define SOLARIS_MATH_6_TEST_CT 2
5268 static tTestDesc aSolaris_Math_6Tests[] = {
5269 { TT_NEGREP, zSolaris_Math_6Bypass0, (regex_t*)NULL },
5270 { TT_EGREP, zSolaris_Math_6Select0, (regex_t*)NULL }, };
5273 * Fix Command Arguments for Solaris_Math_6
5275 static const char* apzSolaris_Math_6Patch[] = {
5277 "#define\tisinf(x) \\\n\
5278 __extension__ ({ __typeof (x) __x_i = (x); \\\n\
5279 \t\t __builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); })",
5280 "^#define[ \t]+isinf\\(x\\)[ \t]+__builtin_isinf\\(x\\)",
5283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5285 * Description of Solaris_Math_7 fix
5287 tSCC zSolaris_Math_7Name[] =
5291 * File name selection pattern
5293 tSCC zSolaris_Math_7List[] =
5296 * Machine/OS name selection pattern
5298 #define apzSolaris_Math_7Machs (const char**)NULL
5301 * content selection pattern - do fix if pattern found
5303 tSCC zSolaris_Math_7Select0[] =
5304 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5307 * content bypass pattern - skip fix if pattern found
5309 tSCC zSolaris_Math_7Bypass0[] =
5312 #define SOLARIS_MATH_7_TEST_CT 2
5313 static tTestDesc aSolaris_Math_7Tests[] = {
5314 { TT_NEGREP, zSolaris_Math_7Bypass0, (regex_t*)NULL },
5315 { TT_EGREP, zSolaris_Math_7Select0, (regex_t*)NULL }, };
5318 * Fix Command Arguments for Solaris_Math_7
5320 static const char* apzSolaris_Math_7Patch[] = {
5322 "#define\tisnormal(x) \\\n\
5323 __extension__ ({ __typeof(x) __x_n = (x); \\\n\
5324 \t\t if (__x_n < 0.0) __x_n = -__x_n; \\\n\
5325 \t\t __builtin_expect(isfinite(__x_n) \\\n\
5326 \t\t\t\t && (sizeof(__x_n) == sizeof(float) \\\n\
5327 \t\t\t\t\t ? __x_n >= __FLT_MIN__ \\\n\
5328 \t\t\t\t\t : sizeof(__x_n) == sizeof(long double) \\\n\
5329 \t\t\t\t\t ? __x_n >= __LDBL_MIN__ \\\n\
5330 \t\t\t\t\t : __x_n >= __DBL_MIN__), 1); })",
5331 "^#define[ \t]+isnormal\\(x\\)[ \t]+__builtin_isnormal\\(x\\)",
5334 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5336 * Description of Solaris_Math_8 fix
5338 tSCC zSolaris_Math_8Name[] =
5342 * File name selection pattern
5344 tSCC zSolaris_Math_8List[] =
5347 * Machine/OS name selection pattern
5349 #define apzSolaris_Math_8Machs (const char**)NULL
5352 * content selection pattern - do fix if pattern found
5354 tSCC zSolaris_Math_8Select0[] =
5355 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5358 * content bypass pattern - skip fix if pattern found
5360 tSCC zSolaris_Math_8Bypass0[] =
5363 #define SOLARIS_MATH_8_TEST_CT 2
5364 static tTestDesc aSolaris_Math_8Tests[] = {
5365 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
5366 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
5369 * Fix Command Arguments for Solaris_Math_8
5371 static const char* apzSolaris_Math_8Patch[] = {
5373 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
5374 \t\t\t ? __builtin_signbitf(x) \\\n\
5375 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
5376 \t\t\t ? __builtin_signbitl(x) \\\n\
5377 \t\t\t : __builtin_signbit(x))",
5378 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
5381 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5383 * Description of Solaris_Math_9 fix
5385 tSCC zSolaris_Math_9Name[] =
5389 * File name selection pattern
5391 tSCC zSolaris_Math_9List[] =
5394 * Machine/OS name selection pattern
5396 #define apzSolaris_Math_9Machs (const char**)NULL
5399 * content selection pattern - do fix if pattern found
5401 tSCC zSolaris_Math_9Select0[] =
5402 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5405 * content bypass pattern - skip fix if pattern found
5407 tSCC zSolaris_Math_9Bypass0[] =
5410 #define SOLARIS_MATH_9_TEST_CT 2
5411 static tTestDesc aSolaris_Math_9Tests[] = {
5412 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
5413 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
5416 * Fix Command Arguments for Solaris_Math_9
5418 static const char* apzSolaris_Math_9Patch[] = {
5420 "#define\t%1(x, y)%2__builtin_%1(x, y)",
5421 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
5424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5426 * Description of Solaris_Mutex_Init_1 fix
5428 tSCC zSolaris_Mutex_Init_1Name[] =
5429 "solaris_mutex_init_1";
5432 * File name selection pattern
5434 tSCC zSolaris_Mutex_Init_1List[] =
5437 * Machine/OS name selection pattern
5439 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
5442 * content selection pattern - do fix if pattern found
5444 tSCC zSolaris_Mutex_Init_1Select0[] =
5445 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
5447 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
5448 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
5449 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
5452 * Fix Command Arguments for Solaris_Mutex_Init_1
5454 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
5455 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
5456 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
5459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5461 * Description of Solaris_Mutex_Init_2 fix
5463 tSCC zSolaris_Mutex_Init_2Name[] =
5464 "solaris_mutex_init_2";
5467 * File name selection pattern
5469 tSCC zSolaris_Mutex_Init_2List[] =
5472 * Machine/OS name selection pattern
5474 #define apzSolaris_Mutex_Init_2Machs (const char**)NULL
5477 * content selection pattern - do fix if pattern found
5479 tSCC zSolaris_Mutex_Init_2Select0[] =
5480 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5482 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
5483 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
5484 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
5487 * Fix Command Arguments for Solaris_Mutex_Init_2
5489 static const char* apzSolaris_Mutex_Init_2Patch[] = {
5491 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5496 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*),[ \t]*0\\}(|[ \t].*)$",
5499 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5501 * Description of Solaris_Socket fix
5503 tSCC zSolaris_SocketName[] =
5507 * File name selection pattern
5509 tSCC zSolaris_SocketList[] =
5512 * Machine/OS name selection pattern
5514 #define apzSolaris_SocketMachs (const char**)NULL
5517 * content selection pattern - do fix if pattern found
5519 tSCC zSolaris_SocketSelect0[] =
5520 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
5522 #define SOLARIS_SOCKET_TEST_CT 1
5523 static tTestDesc aSolaris_SocketTests[] = {
5524 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
5527 * Fix Command Arguments for Solaris_Socket
5529 static const char* apzSolaris_SocketPatch[] = {
5531 "extern int %1(int, %2void *, int, int);",
5532 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
5535 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5537 * Description of Solaris_Stdio_Tag fix
5539 tSCC zSolaris_Stdio_TagName[] =
5540 "solaris_stdio_tag";
5543 * File name selection pattern
5545 tSCC zSolaris_Stdio_TagList[] =
5548 * Machine/OS name selection pattern
5550 #define apzSolaris_Stdio_TagMachs (const char**)NULL
5553 * content selection pattern - do fix if pattern found
5555 tSCC zSolaris_Stdio_TagSelect0[] =
5556 "__cplusplus < 54321L";
5559 * content bypass pattern - skip fix if pattern found
5561 tSCC zSolaris_Stdio_TagBypass0[] =
5564 #define SOLARIS_STDIO_TAG_TEST_CT 2
5565 static tTestDesc aSolaris_Stdio_TagTests[] = {
5566 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
5567 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
5570 * Fix Command Arguments for Solaris_Stdio_Tag
5572 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
5573 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
5576 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5578 * Description of Solaris_Unistd fix
5580 tSCC zSolaris_UnistdName[] =
5584 * File name selection pattern
5586 tSCC zSolaris_UnistdList[] =
5589 * Machine/OS name selection pattern
5591 #define apzSolaris_UnistdMachs (const char**)NULL
5594 * content selection pattern - do fix if pattern found
5596 tSCC zSolaris_UnistdSelect0[] =
5597 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
5600 * content bypass pattern - skip fix if pattern found
5602 tSCC zSolaris_UnistdBypass0[] =
5605 #define SOLARIS_UNISTD_TEST_CT 2
5606 static tTestDesc aSolaris_UnistdTests[] = {
5607 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
5608 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
5611 * Fix Command Arguments for Solaris_Unistd
5613 static const char* apzSolaris_UnistdPatch[] = {
5615 "extern int getpagesize();\n\
5617 "^extern (pid_t|int) getpgid\\(.*\\);",
5620 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5622 * Description of Solaris_Widec fix
5624 tSCC zSolaris_WidecName[] =
5628 * File name selection pattern
5630 tSCC zSolaris_WidecList[] =
5633 * Machine/OS name selection pattern
5635 tSCC* apzSolaris_WidecMachs[] = {
5636 "*-*-solaris2.[0-5]",
5637 "*-*-solaris2.[0-5].*",
5638 (const char*)NULL };
5641 * content selection pattern - do fix if pattern found
5643 tSCC zSolaris_WidecSelect0[] =
5647 * content bypass pattern - skip fix if pattern found
5649 tSCC zSolaris_WidecBypass0[] =
5650 "include.*wchar\\.h";
5652 #define SOLARIS_WIDEC_TEST_CT 2
5653 static tTestDesc aSolaris_WidecTests[] = {
5654 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
5655 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
5658 * Fix Command Arguments for Solaris_Widec
5660 static const char* apzSolaris_WidecPatch[] = {
5663 #include <wchar.h>",
5666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5668 * Description of Statsswtch fix
5670 tSCC zStatsswtchName[] =
5674 * File name selection pattern
5676 tSCC zStatsswtchList[] =
5679 * Machine/OS name selection pattern
5681 #define apzStatsswtchMachs (const char**)NULL
5684 * content selection pattern - do fix if pattern found
5686 tSCC zStatsswtchSelect0[] =
5689 #define STATSSWTCH_TEST_CT 1
5690 static tTestDesc aStatsswtchTests[] = {
5691 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
5694 * Fix Command Arguments for Statsswtch
5696 static const char* apzStatsswtchPatch[] = {
5701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5703 * Description of Stdio_Stdarg_H fix
5705 tSCC zStdio_Stdarg_HName[] =
5709 * File name selection pattern
5711 tSCC zStdio_Stdarg_HList[] =
5714 * Machine/OS name selection pattern
5716 tSCC* apzStdio_Stdarg_HMachs[] = {
5717 "*-*-solaris2.1[0-9]*",
5718 (const char*)NULL };
5721 * content bypass pattern - skip fix if pattern found
5723 tSCC zStdio_Stdarg_HBypass0[] =
5724 "include.*(stdarg.h|machine/ansi.h)";
5726 #define STDIO_STDARG_H_TEST_CT 1
5727 static tTestDesc aStdio_Stdarg_HTests[] = {
5728 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
5731 * Fix Command Arguments for Stdio_Stdarg_H
5733 static const char* apzStdio_Stdarg_HPatch[] = {
5735 "#define __need___va_list\n\
5736 #include <stdarg.h>\n",
5739 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5741 * Description of Stdio_Va_List fix
5743 tSCC zStdio_Va_ListName[] =
5747 * File name selection pattern
5749 tSCC zStdio_Va_ListList[] =
5750 "|stdio.h|internal/stdio_core.h|internal/wchar_core.h|";
5752 * Machine/OS name selection pattern
5754 tSCC* apzStdio_Va_ListMachs[] = {
5755 "*-*-solaris2.1[0-9]*",
5756 (const char*)NULL };
5759 * content bypass pattern - skip fix if pattern found
5761 tSCC zStdio_Va_ListBypass0[] =
5762 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
5764 #define STDIO_VA_LIST_TEST_CT 1
5765 static tTestDesc aStdio_Va_ListTests[] = {
5766 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
5769 * Fix Command Arguments for Stdio_Va_List
5771 static const char* apzStdio_Va_ListPatch[] = { "sed",
5772 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
5773 s@(va_list)&@(__gnuc_va_list)\\&@\n\
5774 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
5775 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
5776 s@ va_list@ __not_va_list__@\n\
5777 s@\\*va_list@*__not_va_list__@\n\
5778 s@ __va_list)@ __gnuc_va_list)@\n\
5779 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
5780 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
5781 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
5782 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
5783 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
5784 s@VA_LIST@DUMMY_VA_LIST@\n\
5785 s@_Va_LIST@_VA_LIST@",
5788 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5790 * Description of Stdio_Va_List_Clients fix
5792 tSCC zStdio_Va_List_ClientsName[] =
5793 "stdio_va_list_clients";
5796 * File name selection pattern
5798 tSCC zStdio_Va_List_ClientsList[] =
5799 "|com_err.h|cps.h|curses.h|krb5.h|lc_core.h|pfmt.h|wchar.h|curses_colr/curses.h|";
5801 * Machine/OS name selection pattern
5803 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
5806 * content bypass pattern - skip fix if pattern found
5808 tSCC zStdio_Va_List_ClientsBypass0[] =
5809 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
5810 tSCC zStdio_Va_List_ClientsBypass1[] =
5811 "include <stdarg\\.h>|#ifdef va_start";
5813 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
5814 static tTestDesc aStdio_Va_List_ClientsTests[] = {
5815 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
5816 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
5819 * Fix Command Arguments for Stdio_Va_List_Clients
5821 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
5822 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
5823 s@(va_list)&@(__gnuc_va_list)\\&@\n\
5824 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
5825 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
5826 s@ va_list@ __not_va_list__@\n\
5827 s@\\*va_list@*__not_va_list__@\n\
5828 s@ __va_list)@ __gnuc_va_list)@\n\
5829 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
5830 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
5831 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
5832 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
5833 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
5834 s@VA_LIST@DUMMY_VA_LIST@\n\
5835 s@_Va_LIST@_VA_LIST@",
5838 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5840 * Description of Strict_Ansi_Not fix
5842 tSCC zStrict_Ansi_NotName[] =
5846 * File name selection pattern
5848 #define zStrict_Ansi_NotList (char*)NULL
5850 * Machine/OS name selection pattern
5852 #define apzStrict_Ansi_NotMachs (const char**)NULL
5855 * content selection pattern - do fix if pattern found
5857 tSCC zStrict_Ansi_NotSelect0[] =
5858 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
5861 * content bypass pattern - skip fix if pattern found
5863 tSCC zStrict_Ansi_NotBypass0[] =
5864 "GNU and MIPS C compilers define __STDC__ differently";
5865 tSCC zStrict_Ansi_NotBypass1[] =
5866 "__SCO_VERSION__.*__STDC__ != 1";
5869 * perform the C function call test
5871 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
5873 #define STRICT_ANSI_NOT_TEST_CT 4
5874 static tTestDesc aStrict_Ansi_NotTests[] = {
5875 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
5876 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
5877 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
5878 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
5881 * Fix Command Arguments for Strict_Ansi_Not
5883 static const char* apzStrict_Ansi_NotPatch[] = {
5885 "%1 !defined(__STRICT_ANSI__)",
5888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5890 * Description of Strict_Ansi_Not_Ctd fix
5892 tSCC zStrict_Ansi_Not_CtdName[] =
5893 "strict_ansi_not_ctd";
5896 * File name selection pattern
5898 tSCC zStrict_Ansi_Not_CtdList[] =
5899 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
5901 * Machine/OS name selection pattern
5903 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
5906 * content selection pattern - do fix if pattern found
5908 tSCC zStrict_Ansi_Not_CtdSelect0[] =
5909 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
5912 * perform the C function call test
5914 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
5916 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
5917 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
5918 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
5919 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
5922 * Fix Command Arguments for Strict_Ansi_Not_Ctd
5924 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
5926 "%1 !defined(__STRICT_ANSI__)",
5929 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5931 * Description of Strict_Ansi_Only fix
5933 tSCC zStrict_Ansi_OnlyName[] =
5937 * File name selection pattern
5939 #define zStrict_Ansi_OnlyList (char*)NULL
5941 * Machine/OS name selection pattern
5943 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
5946 * content selection pattern - do fix if pattern found
5948 tSCC zStrict_Ansi_OnlySelect0[] =
5949 "^([ \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)";
5952 * perform the C function call test
5954 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
5956 #define STRICT_ANSI_ONLY_TEST_CT 2
5957 static tTestDesc aStrict_Ansi_OnlyTests[] = {
5958 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
5959 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
5962 * Fix Command Arguments for Strict_Ansi_Only
5964 static const char* apzStrict_Ansi_OnlyPatch[] = {
5966 "%1 defined(__STRICT_ANSI__)",
5969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5971 * Description of Struct_File fix
5973 tSCC zStruct_FileName[] =
5977 * File name selection pattern
5979 tSCC zStruct_FileList[] =
5982 * Machine/OS name selection pattern
5984 #define apzStruct_FileMachs (const char**)NULL
5987 * content selection pattern - do fix if pattern found
5989 tSCC zStruct_FileSelect0[] =
5990 "^.*xdrstdio_create.*struct __file_s";
5992 #define STRUCT_FILE_TEST_CT 1
5993 static tTestDesc aStruct_FileTests[] = {
5994 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
5997 * Fix Command Arguments for Struct_File
5999 static const char* apzStruct_FilePatch[] = {
6001 "struct __file_s;\n\
6005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6007 * Description of Struct_Sockaddr fix
6009 tSCC zStruct_SockaddrName[] =
6013 * File name selection pattern
6015 tSCC zStruct_SockaddrList[] =
6018 * Machine/OS name selection pattern
6020 #define apzStruct_SockaddrMachs (const char**)NULL
6023 * content selection pattern - do fix if pattern found
6025 tSCC zStruct_SockaddrSelect0[] =
6026 "^.*authdes_create.*struct sockaddr[^_]";
6029 * content bypass pattern - skip fix if pattern found
6031 tSCC zStruct_SockaddrBypass0[] =
6033 tSCC zStruct_SockaddrBypass1[] =
6034 "struct sockaddr;\n";
6036 #define STRUCT_SOCKADDR_TEST_CT 3
6037 static tTestDesc aStruct_SockaddrTests[] = {
6038 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
6039 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
6040 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
6043 * Fix Command Arguments for Struct_Sockaddr
6045 static const char* apzStruct_SockaddrPatch[] = {
6047 "struct sockaddr;\n\
6051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6053 * Description of Sun_Auth_Proto fix
6055 tSCC zSun_Auth_ProtoName[] =
6059 * File name selection pattern
6061 tSCC zSun_Auth_ProtoList[] =
6062 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
6064 * Machine/OS name selection pattern
6066 #define apzSun_Auth_ProtoMachs (const char**)NULL
6069 * content selection pattern - do fix if pattern found
6071 tSCC zSun_Auth_ProtoSelect0[] =
6072 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
6075 * content bypass pattern - skip fix if pattern found
6077 tSCC zSun_Auth_ProtoBypass0[] =
6080 #define SUN_AUTH_PROTO_TEST_CT 2
6081 static tTestDesc aSun_Auth_ProtoTests[] = {
6082 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
6083 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
6086 * Fix Command Arguments for Sun_Auth_Proto
6088 static const char* apzSun_Auth_ProtoPatch[] = {
6090 "#ifdef __cplusplus\n\
6095 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
6098 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6100 * Description of Sun_Bogus_Ifdef fix
6102 tSCC zSun_Bogus_IfdefName[] =
6106 * File name selection pattern
6108 tSCC zSun_Bogus_IfdefList[] =
6109 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
6111 * Machine/OS name selection pattern
6113 #define apzSun_Bogus_IfdefMachs (const char**)NULL
6116 * content selection pattern - do fix if pattern found
6118 tSCC zSun_Bogus_IfdefSelect0[] =
6119 "#ifdef(.*\\|\\|.*)";
6121 #define SUN_BOGUS_IFDEF_TEST_CT 1
6122 static tTestDesc aSun_Bogus_IfdefTests[] = {
6123 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
6126 * Fix Command Arguments for Sun_Bogus_Ifdef
6128 static const char* apzSun_Bogus_IfdefPatch[] = {
6133 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6135 * Description of Sun_Catmacro fix
6137 tSCC zSun_CatmacroName[] =
6141 * File name selection pattern
6143 tSCC zSun_CatmacroList[] =
6144 "|pixrect/memvar.h|";
6146 * Machine/OS name selection pattern
6148 #define apzSun_CatmacroMachs (const char**)NULL
6151 * content selection pattern - do fix if pattern found
6153 tSCC zSun_CatmacroSelect0[] =
6154 "^#define[ \t]+CAT\\(a,b\\).*";
6156 #define SUN_CATMACRO_TEST_CT 1
6157 static tTestDesc aSun_CatmacroTests[] = {
6158 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
6161 * Fix Command Arguments for Sun_Catmacro
6163 static const char* apzSun_CatmacroPatch[] = {
6166 # define CAT(a,b) a##b\n\
6172 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6174 * Description of Sun_Malloc fix
6176 tSCC zSun_MallocName[] =
6180 * File name selection pattern
6182 tSCC zSun_MallocList[] =
6185 * Machine/OS name selection pattern
6187 #define apzSun_MallocMachs (const char**)NULL
6190 * content bypass pattern - skip fix if pattern found
6192 tSCC zSun_MallocBypass0[] =
6193 "_CLASSIC_ANSI_TYPES";
6195 #define SUN_MALLOC_TEST_CT 1
6196 static tTestDesc aSun_MallocTests[] = {
6197 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
6200 * Fix Command Arguments for Sun_Malloc
6202 static const char* apzSun_MallocPatch[] = { "sed",
6203 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
6204 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
6205 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
6206 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
6207 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
6210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6212 * Description of Sun_Rusers_Semi fix
6214 tSCC zSun_Rusers_SemiName[] =
6218 * File name selection pattern
6220 tSCC zSun_Rusers_SemiList[] =
6221 "|rpcsvc/rusers.h|";
6223 * Machine/OS name selection pattern
6225 #define apzSun_Rusers_SemiMachs (const char**)NULL
6228 * content selection pattern - do fix if pattern found
6230 tSCC zSun_Rusers_SemiSelect0[] =
6233 #define SUN_RUSERS_SEMI_TEST_CT 1
6234 static tTestDesc aSun_Rusers_SemiTests[] = {
6235 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
6238 * Fix Command Arguments for Sun_Rusers_Semi
6240 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
6241 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
6244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6246 * Description of Sun_Signal fix
6248 tSCC zSun_SignalName[] =
6252 * File name selection pattern
6254 tSCC zSun_SignalList[] =
6255 "|sys/signal.h|signal.h|";
6257 * Machine/OS name selection pattern
6259 #define apzSun_SignalMachs (const char**)NULL
6262 * content selection pattern - do fix if pattern found
6264 tSCC zSun_SignalSelect0[] =
6265 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
6267 #define SUN_SIGNAL_TEST_CT 1
6268 static tTestDesc aSun_SignalTests[] = {
6269 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
6272 * Fix Command Arguments for Sun_Signal
6274 static const char* apzSun_SignalPatch[] = {
6276 "#ifdef __cplusplus\n\
6277 void\t(*signal(...))(...);\n\
6283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6285 * Description of Sunos_Strlen fix
6287 tSCC zSunos_StrlenName[] =
6291 * File name selection pattern
6293 tSCC zSunos_StrlenList[] =
6296 * Machine/OS name selection pattern
6298 #define apzSunos_StrlenMachs (const char**)NULL
6301 * content selection pattern - do fix if pattern found
6303 tSCC zSunos_StrlenSelect0[] =
6304 "int[ \t]*strlen\\(\\);(.*)";
6306 #define SUNOS_STRLEN_TEST_CT 1
6307 static tTestDesc aSunos_StrlenTests[] = {
6308 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
6311 * Fix Command Arguments for Sunos_Strlen
6313 static const char* apzSunos_StrlenPatch[] = {
6315 "__SIZE_TYPE__ strlen();%1",
6318 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6320 * Description of Svr4_Disable_Opt fix
6322 tSCC zSvr4_Disable_OptName[] =
6326 * File name selection pattern
6328 tSCC zSvr4_Disable_OptList[] =
6331 * Machine/OS name selection pattern
6333 #define apzSvr4_Disable_OptMachs (const char**)NULL
6336 * content selection pattern - do fix if pattern found
6338 tSCC zSvr4_Disable_OptSelect0[] =
6339 "#define.*__std_hdr_";
6341 #define SVR4_DISABLE_OPT_TEST_CT 1
6342 static tTestDesc aSvr4_Disable_OptTests[] = {
6343 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
6346 * Fix Command Arguments for Svr4_Disable_Opt
6348 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
6349 "-e", "/#define.*__std_hdr_/d",
6352 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6354 * Description of Svr4_Getcwd fix
6356 tSCC zSvr4_GetcwdName[] =
6360 * File name selection pattern
6362 tSCC zSvr4_GetcwdList[] =
6363 "|stdlib.h|unistd.h|prototypes.h|";
6365 * Machine/OS name selection pattern
6367 #define apzSvr4_GetcwdMachs (const char**)NULL
6370 * content selection pattern - do fix if pattern found
6372 tSCC zSvr4_GetcwdSelect0[] =
6373 "getcwd\\(char \\*, int\\)";
6375 #define SVR4_GETCWD_TEST_CT 1
6376 static tTestDesc aSvr4_GetcwdTests[] = {
6377 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
6380 * Fix Command Arguments for Svr4_Getcwd
6382 static const char* apzSvr4_GetcwdPatch[] = {
6384 "getcwd(char *, size_t)",
6387 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6389 * Description of Svr4_Krnl fix
6391 tSCC zSvr4_KrnlName[] =
6395 * File name selection pattern
6397 tSCC zSvr4_KrnlList[] =
6398 "|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|";
6400 * Machine/OS name selection pattern
6402 tSCC* apzSvr4_KrnlMachs[] = {
6404 "i?86-sequent-ptx*",
6405 (const char*)NULL };
6408 * content bypass pattern - skip fix if pattern found
6410 tSCC zSvr4_KrnlBypass0[] =
6413 #define SVR4_KRNL_TEST_CT 1
6414 static tTestDesc aSvr4_KrnlTests[] = {
6415 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
6418 * Fix Command Arguments for Svr4_Krnl
6420 static const char* apzSvr4_KrnlPatch[] = {
6423 "#endif /* _KERNEL */\n",
6426 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6428 * Description of Svr4_Profil fix
6430 tSCC zSvr4_ProfilName[] =
6434 * File name selection pattern
6436 tSCC zSvr4_ProfilList[] =
6437 "|stdlib.h|unistd.h|";
6439 * Machine/OS name selection pattern
6441 #define apzSvr4_ProfilMachs (const char**)NULL
6444 * content selection pattern - do fix if pattern found
6446 tSCC zSvr4_ProfilSelect0[] =
6447 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
6450 * content bypass pattern - skip fix if pattern found
6452 tSCC zSvr4_ProfilBypass0[] =
6455 #define SVR4_PROFIL_TEST_CT 2
6456 static tTestDesc aSvr4_ProfilTests[] = {
6457 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
6458 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
6461 * Fix Command Arguments for Svr4_Profil
6463 static const char* apzSvr4_ProfilPatch[] = {
6465 "profil(unsigned short *, size_t, int, unsigned int)",
6468 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6470 * Description of Svr4_Sighandler_Type fix
6472 tSCC zSvr4_Sighandler_TypeName[] =
6473 "svr4_sighandler_type";
6476 * File name selection pattern
6478 tSCC zSvr4_Sighandler_TypeList[] =
6481 * Machine/OS name selection pattern
6483 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
6486 * content selection pattern - do fix if pattern found
6488 tSCC zSvr4_Sighandler_TypeSelect0[] =
6489 "void *\\(\\*\\)\\(\\)";
6491 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
6492 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
6493 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
6496 * Fix Command Arguments for Svr4_Sighandler_Type
6498 static const char* apzSvr4_Sighandler_TypePatch[] = {
6503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6505 * Description of Svr4_Undeclared_Getrnge fix
6507 tSCC zSvr4_Undeclared_GetrngeName[] =
6508 "svr4_undeclared_getrnge";
6511 * File name selection pattern
6513 tSCC zSvr4_Undeclared_GetrngeList[] =
6516 * Machine/OS name selection pattern
6518 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
6521 * content selection pattern - do fix if pattern found
6523 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
6527 * content bypass pattern - skip fix if pattern found
6529 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
6530 "static void getrnge";
6532 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
6533 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
6534 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
6535 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
6538 * Fix Command Arguments for Svr4_Undeclared_Getrnge
6540 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
6543 static int getrnge ();",
6544 "^static int[ \t]+size;",
6547 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6549 * Description of Sysv68_String fix
6551 tSCC zSysv68_StringName[] =
6555 * File name selection pattern
6557 tSCC zSysv68_StringList[] =
6558 "|testing.h|string.h|";
6560 * Machine/OS name selection pattern
6562 #define apzSysv68_StringMachs (const char**)NULL
6565 * content bypass pattern - skip fix if pattern found
6567 tSCC zSysv68_StringBypass0[] =
6568 "_CLASSIC_ANSI_TYPES";
6570 #define SYSV68_STRING_TEST_CT 1
6571 static tTestDesc aSysv68_StringTests[] = {
6572 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
6575 * Fix Command Arguments for Sysv68_String
6577 static const char* apzSysv68_StringPatch[] = { "sed",
6578 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
6579 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
6580 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
6581 "-e", "/^extern char$/N",
6582 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
6583 "-e", "/^extern int$/N",
6584 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
6585 "-e", "/^\tstrncmp(),$/N",
6586 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
6587 extern unsigned int\\\n\
6591 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6593 * Description of Sysz_Stdlib_For_Sun fix
6595 tSCC zSysz_Stdlib_For_SunName[] =
6596 "sysz_stdlib_for_sun";
6599 * File name selection pattern
6601 tSCC zSysz_Stdlib_For_SunList[] =
6604 * Machine/OS name selection pattern
6606 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
6609 * content selection pattern - do fix if pattern found
6611 tSCC zSysz_Stdlib_For_SunSelect0[] =
6612 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
6615 * content bypass pattern - skip fix if pattern found
6617 tSCC zSysz_Stdlib_For_SunBypass0[] =
6618 "_CLASSIC_ANSI_TYPES";
6620 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
6621 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
6622 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
6623 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
6626 * Fix Command Arguments for Sysz_Stdlib_For_Sun
6628 static const char* apzSysz_Stdlib_For_SunPatch[] = {
6633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6635 * Description of Thread_Keyword fix
6637 tSCC zThread_KeywordName[] =
6641 * File name selection pattern
6643 tSCC zThread_KeywordList[] =
6644 "|pthread.h|bits/sigthread.h|";
6646 * Machine/OS name selection pattern
6648 #define apzThread_KeywordMachs (const char**)NULL
6651 * content selection pattern - do fix if pattern found
6653 tSCC zThread_KeywordSelect0[] =
6654 "([* ])__thread([,)])";
6656 #define THREAD_KEYWORD_TEST_CT 1
6657 static tTestDesc aThread_KeywordTests[] = {
6658 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
6661 * Fix Command Arguments for Thread_Keyword
6663 static const char* apzThread_KeywordPatch[] = {
6668 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6670 * Description of Tinfo_Cplusplus fix
6672 tSCC zTinfo_CplusplusName[] =
6676 * File name selection pattern
6678 tSCC zTinfo_CplusplusList[] =
6681 * Machine/OS name selection pattern
6683 #define apzTinfo_CplusplusMachs (const char**)NULL
6686 * content selection pattern - do fix if pattern found
6688 tSCC zTinfo_CplusplusSelect0[] =
6691 #define TINFO_CPLUSPLUS_TEST_CT 1
6692 static tTestDesc aTinfo_CplusplusTests[] = {
6693 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
6696 * Fix Command Arguments for Tinfo_Cplusplus
6698 static const char* apzTinfo_CplusplusPatch[] = {
6703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6705 * Description of Ultrix_Atexit_Param fix
6707 tSCC zUltrix_Atexit_ParamName[] =
6708 "ultrix_atexit_param";
6711 * File name selection pattern
6713 tSCC zUltrix_Atexit_ParamList[] =
6716 * Machine/OS name selection pattern
6718 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
6721 * content selection pattern - do fix if pattern found
6723 tSCC zUltrix_Atexit_ParamSelect0[] =
6724 "atexit\\(.*\\(\\)";
6726 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
6727 static tTestDesc aUltrix_Atexit_ParamTests[] = {
6728 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
6731 * Fix Command Arguments for Ultrix_Atexit_Param
6733 static const char* apzUltrix_Atexit_ParamPatch[] = {
6735 "atexit( void (*__func)( void )",
6738 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6740 * Description of Ultrix_Atof_Param fix
6742 tSCC zUltrix_Atof_ParamName[] =
6743 "ultrix_atof_param";
6746 * File name selection pattern
6748 tSCC zUltrix_Atof_ParamList[] =
6751 * Machine/OS name selection pattern
6753 #define apzUltrix_Atof_ParamMachs (const char**)NULL
6756 * content selection pattern - do fix if pattern found
6758 tSCC zUltrix_Atof_ParamSelect0[] =
6759 "atof\\([ \t]*char";
6761 #define ULTRIX_ATOF_PARAM_TEST_CT 1
6762 static tTestDesc aUltrix_Atof_ParamTests[] = {
6763 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
6766 * Fix Command Arguments for Ultrix_Atof_Param
6768 static const char* apzUltrix_Atof_ParamPatch[] = {
6773 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6775 * Description of Ultrix_Const fix
6777 tSCC zUltrix_ConstName[] =
6781 * File name selection pattern
6783 tSCC zUltrix_ConstList[] =
6786 * Machine/OS name selection pattern
6788 #define apzUltrix_ConstMachs (const char**)NULL
6791 * content selection pattern - do fix if pattern found
6793 tSCC zUltrix_ConstSelect0[] =
6794 "perror\\( char \\*";
6796 #define ULTRIX_CONST_TEST_CT 1
6797 static tTestDesc aUltrix_ConstTests[] = {
6798 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
6801 * Fix Command Arguments for Ultrix_Const
6803 static const char* apzUltrix_ConstPatch[] = {
6806 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
6809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6811 * Description of Ultrix_Const2 fix
6813 tSCC zUltrix_Const2Name[] =
6817 * File name selection pattern
6819 tSCC zUltrix_Const2List[] =
6822 * Machine/OS name selection pattern
6824 #define apzUltrix_Const2Machs (const char**)NULL
6827 * content selection pattern - do fix if pattern found
6829 tSCC zUltrix_Const2Select0[] =
6830 "\\*fopen\\( char \\*";
6832 #define ULTRIX_CONST2_TEST_CT 1
6833 static tTestDesc aUltrix_Const2Tests[] = {
6834 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
6837 * Fix Command Arguments for Ultrix_Const2
6839 static const char* apzUltrix_Const2Patch[] = {
6841 "%1( const char *%3, const char *",
6842 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
6845 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6847 * Description of Ultrix_Const3 fix
6849 tSCC zUltrix_Const3Name[] =
6853 * File name selection pattern
6855 tSCC zUltrix_Const3List[] =
6858 * Machine/OS name selection pattern
6860 #define apzUltrix_Const3Machs (const char**)NULL
6863 * content selection pattern - do fix if pattern found
6865 tSCC zUltrix_Const3Select0[] =
6866 "fdopen\\( .*, char \\*";
6868 #define ULTRIX_CONST3_TEST_CT 1
6869 static tTestDesc aUltrix_Const3Tests[] = {
6870 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
6873 * Fix Command Arguments for Ultrix_Const3
6875 static const char* apzUltrix_Const3Patch[] = {
6878 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
6881 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6883 * Description of Ultrix_Fix_Fixproto fix
6885 tSCC zUltrix_Fix_FixprotoName[] =
6886 "ultrix_fix_fixproto";
6889 * File name selection pattern
6891 tSCC zUltrix_Fix_FixprotoList[] =
6894 * Machine/OS name selection pattern
6896 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
6899 * content selection pattern - do fix if pattern found
6901 tSCC zUltrix_Fix_FixprotoSelect0[] =
6904 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
6905 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
6906 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
6909 * Fix Command Arguments for Ultrix_Fix_Fixproto
6911 static const char* apzUltrix_Fix_FixprotoPatch[] = {
6915 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
6918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6920 * Description of Ultrix_Ifdef fix
6922 tSCC zUltrix_IfdefName[] =
6926 * File name selection pattern
6928 tSCC zUltrix_IfdefList[] =
6931 * Machine/OS name selection pattern
6933 #define apzUltrix_IfdefMachs (const char**)NULL
6936 * content selection pattern - do fix if pattern found
6938 tSCC zUltrix_IfdefSelect0[] =
6939 "^#ifdef KERNEL[ \t]+&&";
6941 #define ULTRIX_IFDEF_TEST_CT 1
6942 static tTestDesc aUltrix_IfdefTests[] = {
6943 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
6946 * Fix Command Arguments for Ultrix_Ifdef
6948 static const char* apzUltrix_IfdefPatch[] = {
6950 "#if defined(KERNEL) &&",
6953 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6955 * Description of Ultrix_Locale fix
6957 tSCC zUltrix_LocaleName[] =
6961 * File name selection pattern
6963 tSCC zUltrix_LocaleList[] =
6966 * Machine/OS name selection pattern
6968 #define apzUltrix_LocaleMachs (const char**)NULL
6971 * content selection pattern - do fix if pattern found
6973 tSCC zUltrix_LocaleSelect0[] =
6974 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
6976 #define ULTRIX_LOCALE_TEST_CT 1
6977 static tTestDesc aUltrix_LocaleTests[] = {
6978 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
6981 * Fix Command Arguments for Ultrix_Locale
6983 static const char* apzUltrix_LocalePatch[] = {
6987 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6989 * Description of Ultrix_Math_Ifdef fix
6991 tSCC zUltrix_Math_IfdefName[] =
6992 "ultrix_math_ifdef";
6995 * File name selection pattern
6997 tSCC zUltrix_Math_IfdefList[] =
6998 "|sys/limits.h|float.h|math.h|";
7000 * Machine/OS name selection pattern
7002 #define apzUltrix_Math_IfdefMachs (const char**)NULL
7005 * content selection pattern - do fix if pattern found
7007 tSCC zUltrix_Math_IfdefSelect0[] =
7008 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
7010 #define ULTRIX_MATH_IFDEF_TEST_CT 1
7011 static tTestDesc aUltrix_Math_IfdefTests[] = {
7012 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
7015 * Fix Command Arguments for Ultrix_Math_Ifdef
7017 static const char* apzUltrix_Math_IfdefPatch[] = {
7022 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7024 * Description of Ultrix_Nested_Ioctl fix
7026 tSCC zUltrix_Nested_IoctlName[] =
7027 "ultrix_nested_ioctl";
7030 * File name selection pattern
7032 tSCC zUltrix_Nested_IoctlList[] =
7035 * Machine/OS name selection pattern
7037 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
7040 * content selection pattern - do fix if pattern found
7042 tSCC zUltrix_Nested_IoctlSelect0[] =
7043 "^/\\* #define SIOCSCREEN";
7045 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
7046 static tTestDesc aUltrix_Nested_IoctlTests[] = {
7047 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
7050 * Fix Command Arguments for Ultrix_Nested_Ioctl
7052 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
7053 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
7056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7058 * Description of Ultrix_Nested_Svc fix
7060 tSCC zUltrix_Nested_SvcName[] =
7061 "ultrix_nested_svc";
7064 * File name selection pattern
7066 tSCC zUltrix_Nested_SvcList[] =
7069 * Machine/OS name selection pattern
7071 #define apzUltrix_Nested_SvcMachs (const char**)NULL
7074 * content selection pattern - do fix if pattern found
7076 tSCC zUltrix_Nested_SvcSelect0[] =
7077 "^ \\*[ \t]*int protocol; */\\*";
7079 #define ULTRIX_NESTED_SVC_TEST_CT 1
7080 static tTestDesc aUltrix_Nested_SvcTests[] = {
7081 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
7084 * Fix Command Arguments for Ultrix_Nested_Svc
7086 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
7087 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
7090 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7092 * Description of Ultrix_Stat fix
7094 tSCC zUltrix_StatName[] =
7098 * File name selection pattern
7100 tSCC zUltrix_StatList[] =
7103 * Machine/OS name selection pattern
7105 #define apzUltrix_StatMachs (const char**)NULL
7108 * content selection pattern - do fix if pattern found
7110 tSCC zUltrix_StatSelect0[] =
7111 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
7113 #define ULTRIX_STAT_TEST_CT 1
7114 static tTestDesc aUltrix_StatTests[] = {
7115 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
7118 * Fix Command Arguments for Ultrix_Stat
7120 static const char* apzUltrix_StatPatch[] = { "sed",
7121 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
7123 /* macro to test for symbolic link */\\\n\
7124 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
7125 "-e", "/^[ \t]*fstat(),$/a\\\n\
7129 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7131 * Description of Ultrix_Static fix
7133 tSCC zUltrix_StaticName[] =
7137 * File name selection pattern
7139 tSCC zUltrix_StaticList[] =
7142 * Machine/OS name selection pattern
7144 #define apzUltrix_StaticMachs (const char**)NULL
7147 * content selection pattern - do fix if pattern found
7149 tSCC zUltrix_StaticSelect0[] =
7150 "#include \"r[34]_cpu";
7152 #define ULTRIX_STATIC_TEST_CT 1
7153 static tTestDesc aUltrix_StaticTests[] = {
7154 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
7157 * Fix Command Arguments for Ultrix_Static
7159 static const char* apzUltrix_StaticPatch[] = { "sed",
7160 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
7161 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
7162 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
7165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7167 * Description of Ultrix_Stdlib fix
7169 tSCC zUltrix_StdlibName[] =
7173 * File name selection pattern
7175 tSCC zUltrix_StdlibList[] =
7178 * Machine/OS name selection pattern
7180 #define apzUltrix_StdlibMachs (const char**)NULL
7183 * content selection pattern - do fix if pattern found
7185 tSCC zUltrix_StdlibSelect0[] =
7186 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
7188 #define ULTRIX_STDLIB_TEST_CT 1
7189 static tTestDesc aUltrix_StdlibTests[] = {
7190 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
7193 * Fix Command Arguments for Ultrix_Stdlib
7195 static const char* apzUltrix_StdlibPatch[] = { "sed",
7196 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
7197 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
7198 void\t\tunsetenv( const char *__name );\\\n\
7199 int\t\tputenv( char *__s );\n",
7200 "-e", "/^char.*getenv();.*$/a\\\n\
7202 void\tunsetenv();\\\n\
7206 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7208 * Description of Ultrix_Strings fix
7210 tSCC zUltrix_StringsName[] =
7214 * File name selection pattern
7216 tSCC zUltrix_StringsList[] =
7219 * Machine/OS name selection pattern
7221 #define apzUltrix_StringsMachs (const char**)NULL
7224 * content selection pattern - do fix if pattern found
7226 tSCC zUltrix_StringsSelect0[] =
7227 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7229 #define ULTRIX_STRINGS_TEST_CT 1
7230 static tTestDesc aUltrix_StringsTests[] = {
7231 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
7234 * Fix Command Arguments for Ultrix_Strings
7236 static const char* apzUltrix_StringsPatch[] = {
7240 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7242 * Description of Ultrix_Strings2 fix
7244 tSCC zUltrix_Strings2Name[] =
7248 * File name selection pattern
7250 tSCC zUltrix_Strings2List[] =
7253 * Machine/OS name selection pattern
7255 #define apzUltrix_Strings2Machs (const char**)NULL
7258 * content selection pattern - do fix if pattern found
7260 tSCC zUltrix_Strings2Select0[] =
7261 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7263 #define ULTRIX_STRINGS2_TEST_CT 1
7264 static tTestDesc aUltrix_Strings2Tests[] = {
7265 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
7268 * Fix Command Arguments for Ultrix_Strings2
7270 static const char* apzUltrix_Strings2Patch[] = { "sed",
7271 "-e", "/^.*strncmp( const .* );.*/a\\\n\
7274 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
7275 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
7276 "-e", "/^.*strncmp();.*/a\\\n\
7278 \tstrcasecmp(),\\\n\
7279 \tstrncasecmp();\n",
7282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7284 * Description of Ultrix_Sys_Time fix
7286 tSCC zUltrix_Sys_TimeName[] =
7290 * File name selection pattern
7292 tSCC zUltrix_Sys_TimeList[] =
7295 * Machine/OS name selection pattern
7297 #define apzUltrix_Sys_TimeMachs (const char**)NULL
7300 * content selection pattern - do fix if pattern found
7302 tSCC zUltrix_Sys_TimeSelect0[] =
7303 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
7305 #define ULTRIX_SYS_TIME_TEST_CT 1
7306 static tTestDesc aUltrix_Sys_TimeTests[] = {
7307 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
7310 * Fix Command Arguments for Ultrix_Sys_Time
7312 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
7313 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
7315 extern int adjtime(struct timeval *, struct timeval *);\\\n\
7316 extern int getitimer(int, struct itimerval *);\\\n\
7317 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
7318 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
7319 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
7320 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
7321 extern int stime(const time_t *);\\\n\
7322 extern int utimes(const char *, const struct timeval[2]);\\\n\
7323 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
7324 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
7325 extern\tint adjtime();\\\n\
7326 extern\tint getitimer();\\\n\
7327 extern\tint setitimer();\\\n\
7328 extern\tint gettimeofday();\\\n\
7329 extern\tint settimeofday();\\\n\
7330 extern\tvoid profil();\\\n\
7331 extern\tint stime();\\\n\
7332 extern\tint utimes();\\\n\
7333 extern\tint select();\n",
7336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7338 * Description of Ultrix_Unistd fix
7340 tSCC zUltrix_UnistdName[] =
7344 * File name selection pattern
7346 tSCC zUltrix_UnistdList[] =
7349 * Machine/OS name selection pattern
7351 #define apzUltrix_UnistdMachs (const char**)NULL
7354 * content selection pattern - do fix if pattern found
7356 tSCC zUltrix_UnistdSelect0[] =
7357 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
7359 #define ULTRIX_UNISTD_TEST_CT 1
7360 static tTestDesc aUltrix_UnistdTests[] = {
7361 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
7364 * Fix Command Arguments for Ultrix_Unistd
7366 static const char* apzUltrix_UnistdPatch[] = { "sed",
7367 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
7368 \tgetpagesize(),\n",
7369 "-e", "/^[ \t]*fork(),.*$/a\\\n\
7373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7375 * Description of Unicosmk_Restrict fix
7377 tSCC zUnicosmk_RestrictName[] =
7378 "unicosmk_restrict";
7381 * File name selection pattern
7383 tSCC zUnicosmk_RestrictList[] =
7384 "|stdio.h|stdlib.h|wchar.h|";
7386 * Machine/OS name selection pattern
7388 tSCC* apzUnicosmk_RestrictMachs[] = {
7390 (const char*)NULL };
7393 * content selection pattern - do fix if pattern found
7395 tSCC zUnicosmk_RestrictSelect0[] =
7396 "(\\*[ \t]*)restrict([ \t]+)";
7398 #define UNICOSMK_RESTRICT_TEST_CT 1
7399 static tTestDesc aUnicosmk_RestrictTests[] = {
7400 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
7403 * Fix Command Arguments for Unicosmk_Restrict
7405 static const char* apzUnicosmk_RestrictPatch[] = {
7410 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7412 * Description of Uw7_Byteorder_Fix fix
7414 tSCC zUw7_Byteorder_FixName[] =
7415 "uw7_byteorder_fix";
7418 * File name selection pattern
7420 tSCC zUw7_Byteorder_FixList[] =
7423 * Machine/OS name selection pattern
7425 tSCC* apzUw7_Byteorder_FixMachs[] = {
7429 "i?86-*-solaris2.[0-4]",
7430 "powerpcle-*-solaris2.[0-4]",
7431 "sparc-*-solaris2.[0-4]",
7432 (const char*)NULL };
7435 * content selection pattern - do fix if pattern found
7437 tSCC zUw7_Byteorder_FixSelect0[] =
7441 * perform the 'test' shell command - do fix on success
7443 tSCC zUw7_Byteorder_FixTest0[] =
7444 "-f sys/byteorder.h";
7446 #define UW7_BYTEORDER_FIX_TEST_CT 2
7447 static tTestDesc aUw7_Byteorder_FixTests[] = {
7448 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
7449 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
7452 * Fix Command Arguments for Uw7_Byteorder_Fix
7454 static const char* apzUw7_Byteorder_FixPatch[] = {
7457 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
7460 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7462 * Description of Va_I960_Macro fix
7464 tSCC zVa_I960_MacroName[] =
7468 * File name selection pattern
7470 tSCC zVa_I960_MacroList[] =
7471 "|arch/i960/archI960.h|";
7473 * Machine/OS name selection pattern
7475 #define apzVa_I960_MacroMachs (const char**)NULL
7478 * content selection pattern - do fix if pattern found
7480 tSCC zVa_I960_MacroSelect0[] =
7481 "__(vsiz|vali|vpad|alignof__)";
7483 #define VA_I960_MACRO_TEST_CT 1
7484 static tTestDesc aVa_I960_MacroTests[] = {
7485 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
7488 * Fix Command Arguments for Va_I960_Macro
7490 static const char* apzVa_I960_MacroPatch[] = {
7495 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7497 * Description of Void_Null fix
7499 tSCC zVoid_NullName[] =
7503 * File name selection pattern
7505 tSCC zVoid_NullList[] =
7506 "|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|";
7508 * Machine/OS name selection pattern
7510 #define apzVoid_NullMachs (const char**)NULL
7513 * content selection pattern - do fix if pattern found
7515 tSCC zVoid_NullSelect0[] =
7516 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
7519 * content bypass pattern - skip fix if pattern found
7521 tSCC zVoid_NullBypass0[] =
7524 #define VOID_NULL_TEST_CT 2
7525 static tTestDesc aVoid_NullTests[] = {
7526 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
7527 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
7530 * Fix Command Arguments for Void_Null
7532 static const char* apzVoid_NullPatch[] = {
7537 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7539 * Description of Vxworks_Gcc_Problem fix
7541 tSCC zVxworks_Gcc_ProblemName[] =
7542 "vxworks_gcc_problem";
7545 * File name selection pattern
7547 tSCC zVxworks_Gcc_ProblemList[] =
7548 "|types/vxTypesBase.h|";
7550 * Machine/OS name selection pattern
7552 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
7555 * content selection pattern - do fix if pattern found
7557 tSCC zVxworks_Gcc_ProblemSelect0[] =
7558 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
7560 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
7561 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
7562 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
7565 * Fix Command Arguments for Vxworks_Gcc_Problem
7567 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
7568 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
7569 "-e", "/[ \t]size_t/i\\\n\
7570 #ifndef _GCC_SIZE_T\\\n\
7571 #define _GCC_SIZE_T\n",
7572 "-e", "/[ \t]size_t/a\\\n\
7574 "-e", "/[ \t]ptrdiff_t/i\\\n\
7575 #ifndef _GCC_PTRDIFF_T\\\n\
7576 #define _GCC_PTRDIFF_T\n",
7577 "-e", "/[ \t]ptrdiff_t/a\\\n\
7579 "-e", "/[ \t]wchar_t/i\\\n\
7580 #ifndef _GCC_WCHAR_T\\\n\
7581 #define _GCC_WCHAR_T\n",
7582 "-e", "/[ \t]wchar_t/a\\\n\
7586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7588 * Description of Vxworks_Needs_Vxtypes fix
7590 tSCC zVxworks_Needs_VxtypesName[] =
7591 "vxworks_needs_vxtypes";
7594 * File name selection pattern
7596 tSCC zVxworks_Needs_VxtypesList[] =
7599 * Machine/OS name selection pattern
7601 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
7604 * content selection pattern - do fix if pattern found
7606 tSCC zVxworks_Needs_VxtypesSelect0[] =
7607 "uint_t([ \t]+_clocks_per_sec)";
7609 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
7610 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
7611 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
7614 * Fix Command Arguments for Vxworks_Needs_Vxtypes
7616 static const char* apzVxworks_Needs_VxtypesPatch[] = {
7621 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7623 * Description of Vxworks_Needs_Vxworks fix
7625 tSCC zVxworks_Needs_VxworksName[] =
7626 "vxworks_needs_vxworks";
7629 * File name selection pattern
7631 tSCC zVxworks_Needs_VxworksList[] =
7634 * Machine/OS name selection pattern
7636 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
7639 * content selection pattern - do fix if pattern found
7641 tSCC zVxworks_Needs_VxworksSelect0[] =
7642 "#[ \t]define[ \t]+__INCstath";
7645 * perform the 'test' shell command - do fix on success
7647 tSCC zVxworks_Needs_VxworksTest0[] =
7648 " -r types/vxTypesOld.h";
7649 tSCC zVxworks_Needs_VxworksTest1[] =
7650 " -n \"`egrep '#include' $file`\"";
7651 tSCC zVxworks_Needs_VxworksTest2[] =
7652 " -n \"`egrep ULONG $file`\"";
7654 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
7655 static tTestDesc aVxworks_Needs_VxworksTests[] = {
7656 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
7657 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
7658 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
7659 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
7662 * Fix Command Arguments for Vxworks_Needs_Vxworks
7664 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
7665 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
7666 #include <types/vxTypesOld.h>\n",
7669 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7671 * Description of Vxworks_Time fix
7673 tSCC zVxworks_TimeName[] =
7677 * File name selection pattern
7679 tSCC zVxworks_TimeList[] =
7682 * Machine/OS name selection pattern
7684 #define apzVxworks_TimeMachs (const char**)NULL
7687 * content selection pattern - do fix if pattern found
7689 tSCC zVxworks_TimeSelect0[] =
7690 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
7693 * perform the 'test' shell command - do fix on success
7695 tSCC zVxworks_TimeTest0[] =
7698 #define VXWORKS_TIME_TEST_CT 2
7699 static tTestDesc aVxworks_TimeTests[] = {
7700 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
7701 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
7704 * Fix Command Arguments for Vxworks_Time
7706 static const char* apzVxworks_TimePatch[] = {
7708 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
7709 #ifdef __cplusplus\n\
7710 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
7712 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
7714 #define __gcc_VOIDFUNCPTR_defined\n\
7716 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
7719 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7721 * Description of Windiss_Math1 fix
7723 tSCC zWindiss_Math1Name[] =
7727 * File name selection pattern
7729 tSCC zWindiss_Math1List[] =
7732 * Machine/OS name selection pattern
7734 tSCC* apzWindiss_Math1Machs[] = {
7736 (const char*)NULL };
7737 #define WINDISS_MATH1_TEST_CT 0
7738 #define aWindiss_Math1Tests (tTestDesc*)NULL
7741 * Fix Command Arguments for Windiss_Math1
7743 static const char* apzWindiss_Math1Patch[] = { "sed",
7744 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
7747 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7749 * Description of Windiss_Math2 fix
7751 tSCC zWindiss_Math2Name[] =
7755 * File name selection pattern
7757 tSCC zWindiss_Math2List[] =
7760 * Machine/OS name selection pattern
7762 tSCC* apzWindiss_Math2Machs[] = {
7764 (const char*)NULL };
7765 #define WINDISS_MATH2_TEST_CT 0
7766 #define aWindiss_Math2Tests (tTestDesc*)NULL
7769 * Fix Command Arguments for Windiss_Math2
7771 static const char* apzWindiss_Math2Patch[] = { "sed",
7772 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
7775 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7777 * Description of Windiss_Valist fix
7779 tSCC zWindiss_ValistName[] =
7783 * File name selection pattern
7785 #define zWindiss_ValistList (char*)NULL
7787 * Machine/OS name selection pattern
7789 tSCC* apzWindiss_ValistMachs[] = {
7791 (const char*)NULL };
7794 * content selection pattern - do fix if pattern found
7796 tSCC zWindiss_ValistSelect0[] =
7797 "(#include.*)diab/va_list.h";
7799 #define WINDISS_VALIST_TEST_CT 1
7800 static tTestDesc aWindiss_ValistTests[] = {
7801 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
7804 * Fix Command Arguments for Windiss_Valist
7806 static const char* apzWindiss_ValistPatch[] = { "sed",
7807 "-e", "s|diab/va_list.h|stdarg.h|",
7810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7812 * Description of X11_Class fix
7814 tSCC zX11_ClassName[] =
7818 * File name selection pattern
7820 tSCC zX11_ClassList[] =
7823 * Machine/OS name selection pattern
7825 #define apzX11_ClassMachs (const char**)NULL
7828 * content selection pattern - do fix if pattern found
7830 tSCC zX11_ClassSelect0[] =
7831 "^([ \t]*char \\*)class;(.*)";
7834 * content bypass pattern - skip fix if pattern found
7836 tSCC zX11_ClassBypass0[] =
7839 #define X11_CLASS_TEST_CT 2
7840 static tTestDesc aX11_ClassTests[] = {
7841 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
7842 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
7845 * Fix Command Arguments for X11_Class
7847 static const char* apzX11_ClassPatch[] = {
7849 "#ifdef __cplusplus\n\
7856 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7858 * Description of X11_Class_Usage fix
7860 tSCC zX11_Class_UsageName[] =
7864 * File name selection pattern
7866 tSCC zX11_Class_UsageList[] =
7867 "|Xm/BaseClassI.h|";
7869 * Machine/OS name selection pattern
7871 #define apzX11_Class_UsageMachs (const char**)NULL
7874 * content selection pattern - do fix if pattern found
7876 tSCC zX11_Class_UsageSelect0[] =
7880 * content bypass pattern - skip fix if pattern found
7882 tSCC zX11_Class_UsageBypass0[] =
7885 #define X11_CLASS_USAGE_TEST_CT 2
7886 static tTestDesc aX11_Class_UsageTests[] = {
7887 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
7888 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
7891 * Fix Command Arguments for X11_Class_Usage
7893 static const char* apzX11_Class_UsagePatch[] = {
7898 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7900 * Description of X11_New fix
7902 tSCC zX11_NewName[] =
7906 * File name selection pattern
7908 tSCC zX11_NewList[] =
7911 * Machine/OS name selection pattern
7913 #define apzX11_NewMachs (const char**)NULL
7916 * content bypass pattern - skip fix if pattern found
7918 tSCC zX11_NewBypass0[] =
7921 #define X11_NEW_TEST_CT 1
7922 static tTestDesc aX11_NewTests[] = {
7923 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
7926 * Fix Command Arguments for X11_New
7928 static const char* apzX11_NewPatch[] = { "sed",
7929 "-e", "/Widget\told, new;/i\\\n\
7930 #ifdef __cplusplus\\\n\
7931 \tWidget\told, c_new;\\\n\
7933 "-e", "/Widget\told, new;/a\\\n\
7935 "-e", "s/Widget new,/Widget c_new,/g",
7938 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7940 * Description of X11_Sprintf fix
7942 tSCC zX11_SprintfName[] =
7946 * File name selection pattern
7948 tSCC zX11_SprintfList[] =
7949 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
7951 * Machine/OS name selection pattern
7953 #define apzX11_SprintfMachs (const char**)NULL
7956 * content selection pattern - do fix if pattern found
7958 tSCC zX11_SprintfSelect0[] =
7959 "^extern char \\*\tsprintf\\(\\);$";
7961 #define X11_SPRINTF_TEST_CT 1
7962 static tTestDesc aX11_SprintfTests[] = {
7963 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
7966 * Fix Command Arguments for X11_Sprintf
7968 static const char* apzX11_SprintfPatch[] = {
7970 "#ifndef __STDC__\n\
7972 #endif /* !defined __STDC__ */",
7976 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7980 #define REGEX_COUNT 239
7981 #define MACH_LIST_SIZE_LIMIT 261
7982 #define FIX_COUNT 196
7985 * Enumerate the fixes
7988 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
7989 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
7990 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
7991 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
7992 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
7993 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
7994 AAB_SUN_MEMCPY_FIXIDX,
7995 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
7996 AAB_ULTRIX_LIMITS_FIXIDX,
7997 AAB_ULTRIX_MEMORY_FIXIDX,
7998 AAB_ULTRIX_STRING_FIXIDX,
8000 AIX_SYSMACHINE_FIXIDX,
8002 AIX_SYSWAIT_2_FIXIDX,
8003 AIX_VOLATILE_FIXIDX,
8004 ALPHA___ASSERT_FIXIDX,
8005 ALPHA___EXTERN_PREFIX_FIXIDX,
8006 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
8007 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
8008 ALPHA_ASSERT_FIXIDX,
8009 ALPHA_BAD_LVAL_FIXIDX,
8010 ALPHA_GETOPT_FIXIDX,
8011 ALPHA_PARENS_FIXIDX,
8012 ALPHA_PTHREAD_FIXIDX,
8013 ALPHA_PTHREAD_GCC_FIXIDX,
8014 ALPHA_PTHREAD_INIT_FIXIDX,
8017 AVOID_BOOL_DEFINE_FIXIDX,
8018 AVOID_BOOL_TYPE_FIXIDX,
8019 AVOID_WCHAR_T_TYPE_FIXIDX,
8020 BAD_STRUCT_TERM_FIXIDX,
8022 BROKEN_ASSERT_STDIO_FIXIDX,
8023 BROKEN_ASSERT_STDLIB_FIXIDX,
8026 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8027 CTRL_QUOTES_DEF_FIXIDX,
8028 CTRL_QUOTES_USE_FIXIDX,
8030 DARWIN_GCC4_BREAKAGE_FIXIDX,
8031 DARWIN_PRIVATE_EXTERN_FIXIDX,
8032 DEC_INTERN_ASM_FIXIDX,
8033 DJGPP_WCHAR_H_FIXIDX,
8035 EXCEPTION_STRUCTURE_FIXIDX,
8036 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8037 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8041 HPUX10_CPP_POW_INLINE_FIXIDX,
8042 HPUX11_CPP_POW_INLINE_FIXIDX,
8043 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8044 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8045 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8047 HPUX11_FABSF_FIXIDX,
8048 HPUX11_SIZE_T_FIXIDX,
8049 HPUX11_SNPRINTF_FIXIDX,
8050 HPUX11_UINT32_C_FIXIDX,
8051 HPUX11_VSNPRINTF_FIXIDX,
8052 HPUX8_BOGUS_INLINES_FIXIDX,
8053 HPUX_CTYPE_MACROS_FIXIDX,
8055 HPUX_LONG_DOUBLE_FIXIDX,
8056 HPUX_SYSTIME_FIXIDX,
8057 HPUX_SPU_INFO_FIXIDX,
8058 HPUX_EXTERN_ERRNO_FIXIDX,
8059 HUGE_VAL_HEX_FIXIDX,
8060 HUGE_VALF_HEX_FIXIDX,
8061 HUGE_VALL_HEX_FIXIDX,
8062 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8063 IO_QUOTES_DEF_FIXIDX,
8064 IO_QUOTES_USE_FIXIDX,
8065 IP_MISSING_SEMI_FIXIDX,
8066 IRIX___RESTRICT_FIXIDX,
8067 IRIX___GENERIC1_FIXIDX,
8068 IRIX___GENERIC2_FIXIDX,
8069 IRIX_ASM_APOSTROPHE_FIXIDX,
8070 IRIX_LIMITS_CONST_FIXIDX,
8071 IRIX_SOCKLEN_T_FIXIDX,
8072 IRIX_STDIO_VA_LIST_FIXIDX,
8073 IRIX_WCSFTIME_FIXIDX,
8075 ISC_OMITS_WITH_STDC_FIXIDX,
8076 KANDR_CONCAT_FIXIDX,
8077 LIBC1_G_VA_LIST_FIXIDX,
8078 LIBC1_IFDEFD_MEMX_FIXIDX,
8079 LINUX_IA64_UCONTEXT_FIXIDX,
8080 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8081 LYNXOS_MISSING_PUTENV_FIXIDX,
8082 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8083 MACHINE_NAME_FIXIDX,
8084 MATH_EXCEPTION_FIXIDX,
8085 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8086 NESTED_AUTH_DES_FIXIDX,
8087 NESTED_MOTOROLA_FIXIDX,
8088 NESTED_SYS_LIMITS_FIXIDX,
8089 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8090 NEXT_MATH_PREFIX_FIXIDX,
8091 NEXT_TEMPLATE_FIXIDX,
8092 NEXT_VOLITILE_FIXIDX,
8093 NEXT_WAIT_UNION_FIXIDX,
8094 NODEENT_SYNTAX_FIXIDX,
8095 OBSTACK_LVALUE_CAST_FIXIDX,
8096 OSF_NAMESPACE_A_FIXIDX,
8097 OSF_NAMESPACE_C_FIXIDX,
8098 PTHREAD_PAGE_SIZE_FIXIDX,
8099 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8100 READ_RET_TYPE_FIXIDX,
8101 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8102 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8103 RS6000_DOUBLE_FIXIDX,
8104 RS6000_FCHMOD_FIXIDX,
8105 RS6000_PARAM_FIXIDX,
8108 SCO_STATIC_FUNC_FIXIDX,
8110 SOLARIS_MATH_1_FIXIDX,
8111 SOLARIS_MATH_2_FIXIDX,
8112 SOLARIS_MATH_3_FIXIDX,
8113 SOLARIS_MATH_4_FIXIDX,
8114 SOLARIS_MATH_5_FIXIDX,
8115 SOLARIS_MATH_6_FIXIDX,
8116 SOLARIS_MATH_7_FIXIDX,
8117 SOLARIS_MATH_8_FIXIDX,
8118 SOLARIS_MATH_9_FIXIDX,
8119 SOLARIS_MUTEX_INIT_1_FIXIDX,
8120 SOLARIS_MUTEX_INIT_2_FIXIDX,
8121 SOLARIS_SOCKET_FIXIDX,
8122 SOLARIS_STDIO_TAG_FIXIDX,
8123 SOLARIS_UNISTD_FIXIDX,
8124 SOLARIS_WIDEC_FIXIDX,
8126 STDIO_STDARG_H_FIXIDX,
8127 STDIO_VA_LIST_FIXIDX,
8128 STDIO_VA_LIST_CLIENTS_FIXIDX,
8129 STRICT_ANSI_NOT_FIXIDX,
8130 STRICT_ANSI_NOT_CTD_FIXIDX,
8131 STRICT_ANSI_ONLY_FIXIDX,
8133 STRUCT_SOCKADDR_FIXIDX,
8134 SUN_AUTH_PROTO_FIXIDX,
8135 SUN_BOGUS_IFDEF_FIXIDX,
8136 SUN_CATMACRO_FIXIDX,
8138 SUN_RUSERS_SEMI_FIXIDX,
8140 SUNOS_STRLEN_FIXIDX,
8141 SVR4_DISABLE_OPT_FIXIDX,
8145 SVR4_SIGHANDLER_TYPE_FIXIDX,
8146 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8147 SYSV68_STRING_FIXIDX,
8148 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8149 THREAD_KEYWORD_FIXIDX,
8150 TINFO_CPLUSPLUS_FIXIDX,
8151 ULTRIX_ATEXIT_PARAM_FIXIDX,
8152 ULTRIX_ATOF_PARAM_FIXIDX,
8153 ULTRIX_CONST_FIXIDX,
8154 ULTRIX_CONST2_FIXIDX,
8155 ULTRIX_CONST3_FIXIDX,
8156 ULTRIX_FIX_FIXPROTO_FIXIDX,
8157 ULTRIX_IFDEF_FIXIDX,
8158 ULTRIX_LOCALE_FIXIDX,
8159 ULTRIX_MATH_IFDEF_FIXIDX,
8160 ULTRIX_NESTED_IOCTL_FIXIDX,
8161 ULTRIX_NESTED_SVC_FIXIDX,
8163 ULTRIX_STATIC_FIXIDX,
8164 ULTRIX_STDLIB_FIXIDX,
8165 ULTRIX_STRINGS_FIXIDX,
8166 ULTRIX_STRINGS2_FIXIDX,
8167 ULTRIX_SYS_TIME_FIXIDX,
8168 ULTRIX_UNISTD_FIXIDX,
8169 UNICOSMK_RESTRICT_FIXIDX,
8170 UW7_BYTEORDER_FIX_FIXIDX,
8171 VA_I960_MACRO_FIXIDX,
8173 VXWORKS_GCC_PROBLEM_FIXIDX,
8174 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8175 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8176 VXWORKS_TIME_FIXIDX,
8177 WINDISS_MATH1_FIXIDX,
8178 WINDISS_MATH2_FIXIDX,
8179 WINDISS_VALIST_FIXIDX,
8181 X11_CLASS_USAGE_FIXIDX,
8186 tFixDesc fixDescList[ FIX_COUNT ] = {
8187 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8188 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8189 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8190 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8192 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8193 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8194 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8195 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8197 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8198 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8199 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8200 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8202 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8203 apzAab_Fd_Zero_Gnu_Types_HMachs,
8204 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8205 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8207 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8208 apzAab_Fd_Zero_Selectbits_HMachs,
8209 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8210 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8212 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8213 apzAab_Solaris_Sys_Varargs_HMachs,
8214 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8215 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8217 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8218 apzAab_Sun_MemcpyMachs,
8219 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8220 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8222 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
8223 apzAab_Ultrix_Ansi_CompatMachs,
8224 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8225 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
8227 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
8228 apzAab_Ultrix_LimitsMachs,
8229 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8230 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
8232 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
8233 apzAab_Ultrix_MemoryMachs,
8234 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8235 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
8237 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
8238 apzAab_Ultrix_StringMachs,
8239 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8240 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
8242 { zAix_PthreadName, zAix_PthreadList,
8243 apzAix_PthreadMachs,
8244 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8245 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8247 { zAix_SysmachineName, zAix_SysmachineList,
8248 apzAix_SysmachineMachs,
8249 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8250 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8252 { zAix_SyswaitName, zAix_SyswaitList,
8253 apzAix_SyswaitMachs,
8254 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8255 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
8257 { zAix_Syswait_2Name, zAix_Syswait_2List,
8258 apzAix_Syswait_2Machs,
8259 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8260 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8262 { zAix_VolatileName, zAix_VolatileList,
8263 apzAix_VolatileMachs,
8264 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8265 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8267 { zAlpha___AssertName, zAlpha___AssertList,
8268 apzAlpha___AssertMachs,
8269 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8270 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8272 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8273 apzAlpha___Extern_PrefixMachs,
8274 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8275 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8277 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8278 apzAlpha___Extern_Prefix_StandardsMachs,
8279 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8280 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8282 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8283 apzAlpha___Extern_Prefix_Sys_StatMachs,
8284 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8285 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8287 { zAlpha_AssertName, zAlpha_AssertList,
8288 apzAlpha_AssertMachs,
8289 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8290 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8292 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8293 apzAlpha_Bad_LvalMachs,
8294 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8295 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8297 { zAlpha_GetoptName, zAlpha_GetoptList,
8298 apzAlpha_GetoptMachs,
8299 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8300 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8302 { zAlpha_ParensName, zAlpha_ParensList,
8303 apzAlpha_ParensMachs,
8304 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8305 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8307 { zAlpha_PthreadName, zAlpha_PthreadList,
8308 apzAlpha_PthreadMachs,
8309 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8310 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8312 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8313 apzAlpha_Pthread_GccMachs,
8314 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8315 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8317 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8318 apzAlpha_Pthread_InitMachs,
8319 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8320 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8322 { zAlpha_SbrkName, zAlpha_SbrkList,
8324 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8325 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8327 { zAlpha_WcharName, zAlpha_WcharList,
8328 apzAlpha_WcharMachs,
8329 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8330 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8332 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8333 apzAvoid_Bool_DefineMachs,
8334 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8335 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8337 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8338 apzAvoid_Bool_TypeMachs,
8339 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8340 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
8342 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
8343 apzAvoid_Wchar_T_TypeMachs,
8344 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8345 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
8347 { zBad_Struct_TermName, zBad_Struct_TermList,
8348 apzBad_Struct_TermMachs,
8349 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8350 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
8352 { zBadquoteName, zBadquoteList,
8354 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8355 aBadquoteTests, apzBadquotePatch, 0 },
8357 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
8358 apzBroken_Assert_StdioMachs,
8359 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8360 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
8362 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
8363 apzBroken_Assert_StdlibMachs,
8364 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8365 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
8367 { zBroken_CabsName, zBroken_CabsList,
8368 apzBroken_CabsMachs,
8369 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8370 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
8372 { zBroken_NanName, zBroken_NanList,
8374 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8375 aBroken_NanTests, apzBroken_NanPatch, 0 },
8377 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
8378 apzBsd_Stdio_Attrs_ConflictMachs,
8379 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8380 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
8382 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
8383 apzCtrl_Quotes_DefMachs,
8384 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8385 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
8387 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
8388 apzCtrl_Quotes_UseMachs,
8389 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8390 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
8392 { zCxx_UnreadyName, zCxx_UnreadyList,
8393 apzCxx_UnreadyMachs,
8394 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8395 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
8397 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
8398 apzDarwin_Gcc4_BreakageMachs,
8399 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8400 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
8402 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
8403 apzDarwin_Private_ExternMachs,
8404 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8405 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
8407 { zDec_Intern_AsmName, zDec_Intern_AsmList,
8408 apzDec_Intern_AsmMachs,
8409 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
8410 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
8412 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
8413 apzDjgpp_Wchar_HMachs,
8414 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8415 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
8417 { zEcd_CursorName, zEcd_CursorList,
8419 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8420 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
8422 { zException_StructureName, zException_StructureList,
8423 apzException_StructureMachs,
8424 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8425 aException_StructureTests, apzException_StructurePatch, 0 },
8427 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
8428 apzFreebsd_Gcc3_BreakageMachs,
8429 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8430 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
8432 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
8433 apzFreebsd_Gcc4_BreakageMachs,
8434 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8435 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
8437 { zGnu_TypesName, zGnu_TypesList,
8439 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8440 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
8442 { zHp_InlineName, zHp_InlineList,
8444 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8445 aHp_InlineTests, apzHp_InlinePatch, 0 },
8447 { zHp_SysfileName, zHp_SysfileList,
8449 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8450 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
8452 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
8453 apzHpux10_Cpp_Pow_InlineMachs,
8454 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8455 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
8457 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
8458 apzHpux11_Cpp_Pow_InlineMachs,
8459 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8460 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
8462 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
8463 apzHpux10_Ctype_Declarations1Machs,
8464 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8465 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
8467 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
8468 apzHpux10_Ctype_Declarations2Machs,
8469 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8470 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
8472 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
8473 apzHpux10_Stdio_DeclarationsMachs,
8474 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8475 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
8477 { zHpux11_AbsName, zHpux11_AbsList,
8479 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8480 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
8482 { zHpux11_FabsfName, zHpux11_FabsfList,
8483 apzHpux11_FabsfMachs,
8484 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8485 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
8487 { zHpux11_Size_TName, zHpux11_Size_TList,
8488 apzHpux11_Size_TMachs,
8489 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8490 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
8492 { zHpux11_SnprintfName, zHpux11_SnprintfList,
8493 apzHpux11_SnprintfMachs,
8494 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8495 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
8497 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
8498 apzHpux11_Uint32_CMachs,
8499 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8500 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
8502 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
8503 apzHpux11_VsnprintfMachs,
8504 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8505 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
8507 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
8508 apzHpux8_Bogus_InlinesMachs,
8509 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
8510 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
8512 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
8513 apzHpux_Ctype_MacrosMachs,
8514 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8515 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
8517 { zHpux_HtonlName, zHpux_HtonlList,
8519 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8520 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
8522 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
8523 apzHpux_Long_DoubleMachs,
8524 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
8525 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
8527 { zHpux_SystimeName, zHpux_SystimeList,
8528 apzHpux_SystimeMachs,
8529 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8530 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
8532 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
8533 apzHpux_Spu_InfoMachs,
8534 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8535 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
8537 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
8538 apzHpux_Extern_ErrnoMachs,
8539 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8540 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
8542 { zHuge_Val_HexName, zHuge_Val_HexList,
8543 apzHuge_Val_HexMachs,
8544 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8545 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
8547 { zHuge_Valf_HexName, zHuge_Valf_HexList,
8548 apzHuge_Valf_HexMachs,
8549 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8550 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
8552 { zHuge_Vall_HexName, zHuge_Vall_HexList,
8553 apzHuge_Vall_HexMachs,
8554 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8555 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
8557 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
8558 apzInt_Abort_Free_And_ExitMachs,
8559 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8560 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
8562 { zIo_Quotes_DefName, zIo_Quotes_DefList,
8563 apzIo_Quotes_DefMachs,
8564 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8565 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
8567 { zIo_Quotes_UseName, zIo_Quotes_UseList,
8568 apzIo_Quotes_UseMachs,
8569 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8570 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
8572 { zIp_Missing_SemiName, zIp_Missing_SemiList,
8573 apzIp_Missing_SemiMachs,
8574 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
8575 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
8577 { zIrix___RestrictName, zIrix___RestrictList,
8578 apzIrix___RestrictMachs,
8579 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8580 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
8582 { zIrix___Generic1Name, zIrix___Generic1List,
8583 apzIrix___Generic1Machs,
8584 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8585 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
8587 { zIrix___Generic2Name, zIrix___Generic2List,
8588 apzIrix___Generic2Machs,
8589 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8590 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
8592 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
8593 apzIrix_Asm_ApostropheMachs,
8594 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8595 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
8597 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
8598 apzIrix_Limits_ConstMachs,
8599 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8600 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
8602 { zIrix_Socklen_TName, zIrix_Socklen_TList,
8603 apzIrix_Socklen_TMachs,
8604 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8605 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
8607 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
8608 apzIrix_Stdio_Va_ListMachs,
8609 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8610 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
8612 { zIrix_WcsftimeName, zIrix_WcsftimeList,
8613 apzIrix_WcsftimeMachs,
8614 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8615 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
8617 { zIsc_FmodName, zIsc_FmodList,
8619 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8620 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
8622 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
8623 apzIsc_Omits_With_StdcMachs,
8624 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8625 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
8627 { zKandr_ConcatName, zKandr_ConcatList,
8628 apzKandr_ConcatMachs,
8629 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8630 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
8632 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
8633 apzLibc1_G_Va_ListMachs,
8634 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8635 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
8637 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
8638 apzLibc1_Ifdefd_MemxMachs,
8639 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8640 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
8642 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
8643 apzLinux_Ia64_UcontextMachs,
8644 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8645 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
8647 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
8648 apzLynxos_No_Warning_In_Sys_Time_HMachs,
8649 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8650 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
8652 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
8653 apzLynxos_Missing_PutenvMachs,
8654 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8655 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
8657 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
8658 apzMachine_Ansi_H_Va_ListMachs,
8659 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8660 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
8662 { zMachine_NameName, zMachine_NameList,
8663 apzMachine_NameMachs,
8664 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8665 aMachine_NameTests, apzMachine_NamePatch, 0 },
8667 { zMath_ExceptionName, zMath_ExceptionList,
8668 apzMath_ExceptionMachs,
8669 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8670 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
8672 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
8673 apzMath_Huge_Val_From_Dbl_MaxMachs,
8674 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
8675 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
8677 { zNested_Auth_DesName, zNested_Auth_DesList,
8678 apzNested_Auth_DesMachs,
8679 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8680 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
8682 { zNested_MotorolaName, zNested_MotorolaList,
8683 apzNested_MotorolaMachs,
8684 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
8685 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
8687 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
8688 apzNested_Sys_LimitsMachs,
8689 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
8690 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
8692 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
8693 apzNetbsd_Extra_SemicolonMachs,
8694 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8695 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
8697 { zNext_Math_PrefixName, zNext_Math_PrefixList,
8698 apzNext_Math_PrefixMachs,
8699 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8700 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
8702 { zNext_TemplateName, zNext_TemplateList,
8703 apzNext_TemplateMachs,
8704 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8705 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
8707 { zNext_VolitileName, zNext_VolitileList,
8708 apzNext_VolitileMachs,
8709 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8710 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
8712 { zNext_Wait_UnionName, zNext_Wait_UnionList,
8713 apzNext_Wait_UnionMachs,
8714 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8715 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
8717 { zNodeent_SyntaxName, zNodeent_SyntaxList,
8718 apzNodeent_SyntaxMachs,
8719 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8720 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
8722 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
8723 apzObstack_Lvalue_CastMachs,
8724 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8725 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
8727 { zOsf_Namespace_AName, zOsf_Namespace_AList,
8728 apzOsf_Namespace_AMachs,
8729 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8730 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
8732 { zOsf_Namespace_CName, zOsf_Namespace_CList,
8733 apzOsf_Namespace_CMachs,
8734 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8735 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
8737 { zPthread_Page_SizeName, zPthread_Page_SizeList,
8738 apzPthread_Page_SizeMachs,
8739 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8740 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
8742 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
8743 apzPthread_Incomplete_Struct_ArgumentMachs,
8744 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8745 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
8747 { zRead_Ret_TypeName, zRead_Ret_TypeList,
8748 apzRead_Ret_TypeMachs,
8749 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8750 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
8752 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
8753 apzRpc_Xdr_Lvalue_Cast_AMachs,
8754 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8755 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
8757 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
8758 apzRpc_Xdr_Lvalue_Cast_BMachs,
8759 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8760 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
8762 { zRs6000_DoubleName, zRs6000_DoubleList,
8763 apzRs6000_DoubleMachs,
8764 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8765 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
8767 { zRs6000_FchmodName, zRs6000_FchmodList,
8768 apzRs6000_FchmodMachs,
8769 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8770 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
8772 { zRs6000_ParamName, zRs6000_ParamList,
8773 apzRs6000_ParamMachs,
8774 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8775 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
8777 { zSco_MathName, zSco_MathList,
8779 SCO_MATH_TEST_CT, FD_MACH_ONLY,
8780 aSco_MathTests, apzSco_MathPatch, 0 },
8782 { zSco_RegsetName, zSco_RegsetList,
8784 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8785 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
8787 { zSco_Static_FuncName, zSco_Static_FuncList,
8788 apzSco_Static_FuncMachs,
8789 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
8790 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
8792 { zSco_UtimeName, zSco_UtimeList,
8794 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8795 aSco_UtimeTests, apzSco_UtimePatch, 0 },
8797 { zSolaris_Math_1Name, zSolaris_Math_1List,
8798 apzSolaris_Math_1Machs,
8799 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8800 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
8802 { zSolaris_Math_2Name, zSolaris_Math_2List,
8803 apzSolaris_Math_2Machs,
8804 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8805 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
8807 { zSolaris_Math_3Name, zSolaris_Math_3List,
8808 apzSolaris_Math_3Machs,
8809 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8810 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
8812 { zSolaris_Math_4Name, zSolaris_Math_4List,
8813 apzSolaris_Math_4Machs,
8814 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8815 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
8817 { zSolaris_Math_5Name, zSolaris_Math_5List,
8818 apzSolaris_Math_5Machs,
8819 SOLARIS_MATH_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8820 aSolaris_Math_5Tests, apzSolaris_Math_5Patch, 0 },
8822 { zSolaris_Math_6Name, zSolaris_Math_6List,
8823 apzSolaris_Math_6Machs,
8824 SOLARIS_MATH_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8825 aSolaris_Math_6Tests, apzSolaris_Math_6Patch, 0 },
8827 { zSolaris_Math_7Name, zSolaris_Math_7List,
8828 apzSolaris_Math_7Machs,
8829 SOLARIS_MATH_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8830 aSolaris_Math_7Tests, apzSolaris_Math_7Patch, 0 },
8832 { zSolaris_Math_8Name, zSolaris_Math_8List,
8833 apzSolaris_Math_8Machs,
8834 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8835 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
8837 { zSolaris_Math_9Name, zSolaris_Math_9List,
8838 apzSolaris_Math_9Machs,
8839 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8840 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
8842 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
8843 apzSolaris_Mutex_Init_1Machs,
8844 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
8845 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
8847 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
8848 apzSolaris_Mutex_Init_2Machs,
8849 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8850 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
8852 { zSolaris_SocketName, zSolaris_SocketList,
8853 apzSolaris_SocketMachs,
8854 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8855 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
8857 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
8858 apzSolaris_Stdio_TagMachs,
8859 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
8860 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
8862 { zSolaris_UnistdName, zSolaris_UnistdList,
8863 apzSolaris_UnistdMachs,
8864 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8865 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
8867 { zSolaris_WidecName, zSolaris_WidecList,
8868 apzSolaris_WidecMachs,
8869 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8870 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
8872 { zStatsswtchName, zStatsswtchList,
8874 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8875 aStatsswtchTests, apzStatsswtchPatch, 0 },
8877 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
8878 apzStdio_Stdarg_HMachs,
8879 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8880 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
8882 { zStdio_Va_ListName, zStdio_Va_ListList,
8883 apzStdio_Va_ListMachs,
8884 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
8885 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
8887 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
8888 apzStdio_Va_List_ClientsMachs,
8889 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
8890 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
8892 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
8893 apzStrict_Ansi_NotMachs,
8894 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8895 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
8897 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
8898 apzStrict_Ansi_Not_CtdMachs,
8899 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8900 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
8902 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
8903 apzStrict_Ansi_OnlyMachs,
8904 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8905 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
8907 { zStruct_FileName, zStruct_FileList,
8908 apzStruct_FileMachs,
8909 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8910 aStruct_FileTests, apzStruct_FilePatch, 0 },
8912 { zStruct_SockaddrName, zStruct_SockaddrList,
8913 apzStruct_SockaddrMachs,
8914 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8915 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
8917 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
8918 apzSun_Auth_ProtoMachs,
8919 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8920 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
8922 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
8923 apzSun_Bogus_IfdefMachs,
8924 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8925 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
8927 { zSun_CatmacroName, zSun_CatmacroList,
8928 apzSun_CatmacroMachs,
8929 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8930 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
8932 { zSun_MallocName, zSun_MallocList,
8934 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
8935 aSun_MallocTests, apzSun_MallocPatch, 0 },
8937 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
8938 apzSun_Rusers_SemiMachs,
8939 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
8940 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
8942 { zSun_SignalName, zSun_SignalList,
8944 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8945 aSun_SignalTests, apzSun_SignalPatch, 0 },
8947 { zSunos_StrlenName, zSunos_StrlenList,
8948 apzSunos_StrlenMachs,
8949 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8950 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
8952 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
8953 apzSvr4_Disable_OptMachs,
8954 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
8955 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
8957 { zSvr4_GetcwdName, zSvr4_GetcwdList,
8958 apzSvr4_GetcwdMachs,
8959 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8960 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
8962 { zSvr4_KrnlName, zSvr4_KrnlList,
8964 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8965 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
8967 { zSvr4_ProfilName, zSvr4_ProfilList,
8968 apzSvr4_ProfilMachs,
8969 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8970 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
8972 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
8973 apzSvr4_Sighandler_TypeMachs,
8974 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8975 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
8977 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
8978 apzSvr4_Undeclared_GetrngeMachs,
8979 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8980 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
8982 { zSysv68_StringName, zSysv68_StringList,
8983 apzSysv68_StringMachs,
8984 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
8985 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
8987 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
8988 apzSysz_Stdlib_For_SunMachs,
8989 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8990 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
8992 { zThread_KeywordName, zThread_KeywordList,
8993 apzThread_KeywordMachs,
8994 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8995 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
8997 { zTinfo_CplusplusName, zTinfo_CplusplusList,
8998 apzTinfo_CplusplusMachs,
8999 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9000 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9002 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
9003 apzUltrix_Atexit_ParamMachs,
9004 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9005 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
9007 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
9008 apzUltrix_Atof_ParamMachs,
9009 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9010 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
9012 { zUltrix_ConstName, zUltrix_ConstList,
9013 apzUltrix_ConstMachs,
9014 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9015 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9017 { zUltrix_Const2Name, zUltrix_Const2List,
9018 apzUltrix_Const2Machs,
9019 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9020 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9022 { zUltrix_Const3Name, zUltrix_Const3List,
9023 apzUltrix_Const3Machs,
9024 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9025 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
9027 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
9028 apzUltrix_Fix_FixprotoMachs,
9029 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9030 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
9032 { zUltrix_IfdefName, zUltrix_IfdefList,
9033 apzUltrix_IfdefMachs,
9034 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9035 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
9037 { zUltrix_LocaleName, zUltrix_LocaleList,
9038 apzUltrix_LocaleMachs,
9039 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9040 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
9042 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
9043 apzUltrix_Math_IfdefMachs,
9044 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9045 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
9047 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
9048 apzUltrix_Nested_IoctlMachs,
9049 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
9050 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
9052 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
9053 apzUltrix_Nested_SvcMachs,
9054 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
9055 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
9057 { zUltrix_StatName, zUltrix_StatList,
9058 apzUltrix_StatMachs,
9059 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
9060 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
9062 { zUltrix_StaticName, zUltrix_StaticList,
9063 apzUltrix_StaticMachs,
9064 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
9065 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
9067 { zUltrix_StdlibName, zUltrix_StdlibList,
9068 apzUltrix_StdlibMachs,
9069 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
9070 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
9072 { zUltrix_StringsName, zUltrix_StringsList,
9073 apzUltrix_StringsMachs,
9074 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9075 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
9077 { zUltrix_Strings2Name, zUltrix_Strings2List,
9078 apzUltrix_Strings2Machs,
9079 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
9080 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
9082 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
9083 apzUltrix_Sys_TimeMachs,
9084 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
9085 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
9087 { zUltrix_UnistdName, zUltrix_UnistdList,
9088 apzUltrix_UnistdMachs,
9089 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
9090 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
9092 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
9093 apzUnicosmk_RestrictMachs,
9094 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9095 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
9097 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
9098 apzUw7_Byteorder_FixMachs,
9099 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9100 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
9102 { zVa_I960_MacroName, zVa_I960_MacroList,
9103 apzVa_I960_MacroMachs,
9104 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9105 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9107 { zVoid_NullName, zVoid_NullList,
9109 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9110 aVoid_NullTests, apzVoid_NullPatch, 0 },
9112 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
9113 apzVxworks_Gcc_ProblemMachs,
9114 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
9115 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
9117 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
9118 apzVxworks_Needs_VxtypesMachs,
9119 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9120 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
9122 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
9123 apzVxworks_Needs_VxworksMachs,
9124 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
9125 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
9127 { zVxworks_TimeName, zVxworks_TimeList,
9128 apzVxworks_TimeMachs,
9129 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9130 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
9132 { zWindiss_Math1Name, zWindiss_Math1List,
9133 apzWindiss_Math1Machs,
9134 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
9135 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
9137 { zWindiss_Math2Name, zWindiss_Math2List,
9138 apzWindiss_Math2Machs,
9139 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
9140 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
9142 { zWindiss_ValistName, zWindiss_ValistList,
9143 apzWindiss_ValistMachs,
9144 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
9145 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
9147 { zX11_ClassName, zX11_ClassList,
9149 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9150 aX11_ClassTests, apzX11_ClassPatch, 0 },
9152 { zX11_Class_UsageName, zX11_Class_UsageList,
9153 apzX11_Class_UsageMachs,
9154 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9155 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9157 { zX11_NewName, zX11_NewList,
9159 X11_NEW_TEST_CT, FD_MACH_ONLY,
9160 aX11_NewTests, apzX11_NewPatch, 0 },
9162 { zX11_SprintfName, zX11_SprintfList,
9163 apzX11_SprintfMachs,
9164 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9165 aX11_SprintfTests, apzX11_SprintfPatch, 0 }