1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Wednesday March 21, 2007 at 05:39:23 PM CET
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Wed Mar 21 17:39:23 CET 2007
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 208 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 of the License, or (at your option)
32 * inclhack is distributed in the hope that it will be useful,
33 * but WITHOUT ANY WARRANTY; without even the implied warranty of
34 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
35 * See the GNU General Public License for more details.
37 * You should have received a copy of the GNU General Public License
38 * along with inclhack. If not, write to:
39 * The Free Software Foundation, Inc.,
40 * 51 Franklin Street, Fifth Floor
41 * Boston, MA 02110-1301, USA.
44 /* * * * * * * * * * * * * * * * * * * * * * * * * *
46 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
48 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
49 "AAB_darwin7_9_long_double_funcs";
52 * File name selection pattern
54 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
55 "architecture/ppc/math.h\0";
57 * Machine/OS name selection pattern
59 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
64 * content bypass pattern - skip fix if pattern found
66 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
69 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
70 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
71 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
74 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
76 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
77 "/* This file prototypes the long double functions available on Mac OS\n\
80 # undef __APPLE_CC__\n\
81 # define __APPLE_CC__ 1345\n\
82 # include_next <architecture/ppc/math.h>\n\
83 # undef __APPLE_CC__\n\
84 # define __APPLE_CC__ 1\n\
85 # ifndef __LIBMLDBL_COMPAT\n\
86 # ifdef __LONG_DOUBLE_128__\n\
87 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
89 # define __LIBMLDBL_COMPAT(sym)\n\
90 # endif /* __LONG_DOUBLE_128__ */\n\
91 # endif /* __LIBMLDBL_COMPAT */\n\
92 # ifdef __cplusplus\n\
95 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
96 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
97 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
98 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
99 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
100 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
101 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
102 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
103 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
104 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
105 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
106 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
107 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
108 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
109 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
110 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
111 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
112 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
113 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
114 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
115 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
116 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
117 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
118 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
119 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
120 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
121 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
122 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
123 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
124 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
125 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
126 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
127 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
128 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
129 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
130 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
131 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
132 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
133 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
134 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
135 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
136 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
137 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
138 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
139 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
140 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
141 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
142 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
143 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
144 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
145 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
146 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
147 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
148 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
149 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
150 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
151 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
152 # ifdef __cplusplus\n\
155 #endif /* __MATH__ */",
158 /* * * * * * * * * * * * * * * * * * * * * * * * * *
160 * Description of Aab_Darwin7_9_Long_Double_Funcs_2 fix
162 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
163 "AAB_darwin7_9_long_double_funcs_2";
166 * File name selection pattern
168 tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
171 * Machine/OS name selection pattern
173 tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
178 * content selection pattern - do fix if pattern found
180 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
181 "#include[ \\t]+\\\"";
183 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
184 static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
185 { TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
188 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
190 static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
193 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
196 /* * * * * * * * * * * * * * * * * * * * * * * * * *
198 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
200 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
201 "AAB_fd_zero_asm_posix_types_h";
204 * File name selection pattern
206 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
207 "asm/posix_types.h\0";
209 * Machine/OS name selection pattern
211 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
212 "i[34567]86-*-linux*",
216 * content bypass pattern - skip fix if pattern found
218 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
220 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
223 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 2
224 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
225 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
226 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL }, };
229 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
231 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
232 "/* This file fixes a bug in the __FD_ZERO macro\n\
233 for older versions of the Linux kernel. */\n\
234 #ifndef _POSIX_TYPES_H_WRAPPER\n\
235 #include <features.h>\n\
236 #include_next <asm/posix_types.h>\n\n\
237 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
239 #define __FD_ZERO(fdsetp) \\\n\
241 int __d0, __d1; \\\n\
242 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
243 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
244 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
245 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
248 #define _POSIX_TYPES_H_WRAPPER\n\
249 #endif /* _POSIX_TYPES_H_WRAPPER */",
252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
254 * Description of Aab_Fd_Zero_Gnu_Types_H fix
256 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
257 "AAB_fd_zero_gnu_types_h";
260 * File name selection pattern
262 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
265 * Machine/OS name selection pattern
267 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
268 "i[34567]86-*-linux*",
270 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
271 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
274 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
276 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
277 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
278 #ifndef _TYPES_H_WRAPPER\n\
279 #include <features.h>\n\
280 #include_next <gnu/types.h>\n\n\
281 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
283 # define __FD_ZERO(fdsetp) \\\n\
285 int __d0, __d1; \\\n\
286 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
287 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
288 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
289 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
292 #define _TYPES_H_WRAPPER\n\
293 #endif /* _TYPES_H_WRAPPER */",
296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
298 * Description of Aab_Fd_Zero_Selectbits_H fix
300 tSCC zAab_Fd_Zero_Selectbits_HName[] =
301 "AAB_fd_zero_selectbits_h";
304 * File name selection pattern
306 tSCC zAab_Fd_Zero_Selectbits_HList[] =
309 * Machine/OS name selection pattern
311 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
312 "i[34567]86-*-linux*",
314 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
315 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
318 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
320 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
321 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
322 #ifndef _SELECTBITS_H_WRAPPER\n\
323 #include <features.h>\n\
324 #include_next <selectbits.h>\n\n\
325 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
326 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
327 && __GLIBC_MINOR__ == 0\n\
329 #define __FD_ZERO(fdsetp) \\\\\n\
331 int __d0, __d1; \\\\\n\
332 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
333 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
334 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
335 / sizeof (__fd_mask)), \\\\\n\
336 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
337 : \"memory\"); \\\\\n\
340 #define _SELECTBITS_H_WRAPPER\n\
341 #endif /* _SELECTBITS_H_WRAPPER */",
344 /* * * * * * * * * * * * * * * * * * * * * * * * * *
346 * Description of Aab_Solaris_Sys_Varargs_H fix
348 tSCC zAab_Solaris_Sys_Varargs_HName[] =
349 "AAB_solaris_sys_varargs_h";
352 * File name selection pattern
354 tSCC zAab_Solaris_Sys_Varargs_HList[] =
357 * Machine/OS name selection pattern
359 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
362 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
363 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
366 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
368 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
370 #include <stdarg.h>\n\
372 #include <varargs.h>\n\
376 /* * * * * * * * * * * * * * * * * * * * * * * * * *
378 * Description of Aab_Sun_Memcpy fix
380 tSCC zAab_Sun_MemcpyName[] =
384 * File name selection pattern
386 tSCC zAab_Sun_MemcpyList[] =
389 * Machine/OS name selection pattern
391 #define apzAab_Sun_MemcpyMachs (const char**)NULL
394 * content selection pattern - do fix if pattern found
396 tSCC zAab_Sun_MemcpySelect0[] =
397 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
399 #define AAB_SUN_MEMCPY_TEST_CT 1
400 static tTestDesc aAab_Sun_MemcpyTests[] = {
401 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
404 * Fix Command Arguments for Aab_Sun_Memcpy
406 static const char* apzAab_Sun_MemcpyPatch[] = {
407 "/* This file was generated by fixincludes */\n\
408 #ifndef __memory_h__\n\
409 #define __memory_h__\n\n\
411 extern void *memccpy();\n\
412 extern void *memchr();\n\
413 extern void *memcpy();\n\
414 extern void *memset();\n\
416 extern char *memccpy();\n\
417 extern char *memchr();\n\
418 extern char *memcpy();\n\
419 extern char *memset();\n\
420 #endif /* __STDC__ */\n\n\
421 extern int memcmp();\n\n\
422 #endif /* __memory_h__ */\n\
426 * Completely replace <sys/varargs.h> with a file that includes gcc's\n\
427 * stdarg.h or varargs.h files as appropriate.\n\
431 hackname = AAB_svr4_no_varargs;\n\
432 files = sys/varargs.h;\n\
433 replace = \"/* This file was generated by fixincludes. */\\n\"\n\
434 \"#ifndef _SYS_VARARGS_H\\n\"\n\
435 \"#define _SYS_VARARGS_H\\n\\n\"\n\n\
436 \"#ifdef __STDC__\\n\"\n\
437 \"#include <stdarg.h>\\n\"\n\
439 \"#include <varargs.h>\\n\"\n\
440 \"#endif\\n\\n\"\n\n\
441 \"#endif /* _SYS_VARARGS_H */\\n\";\n\
445 * Completely replace <sys/byteorder.h> with a file that implements gcc's\n\
446 * optimized byteswapping. (The original probably implemented some\n\
447 * incompatible optimized byteswapping.)\n\
450 hackname = AAB_svr4_replace_byteorder;\n\
451 mach = \"*-*-sysv4*\";\n\
452 mach = \"i[34567]86-*-sysv5*\";\n\
453 mach = \"i[34567]86-*-sco3.2v5*\";\n\
454 mach = \"i[34567]86-*-udk*\";\n\
455 mach = \"i[34567]86-*-solaris2.[0-4]\";\n\
456 mach = \"powerpcle-*-solaris2.[0-4]\";\n\
457 mach = \"sparc-*-solaris2.[0-4]\";\n\
458 mach = \"i[34567]86-sequent-ptx*\";\n\
459 files = sys/byteorder.h;\n\
460 replace = <<- _EndOfHeader_\n\
461 #ifndef _SYS_BYTEORDER_H\n\
462 #define _SYS_BYTEORDER_H\n\n\
463 /* Functions to convert `short' and `long' quantities from host byte order\n\
464 to (internet) network byte order (i.e. big-endian).\n\n\
465 Written by Ron Guilmette (rfg@ncd.com).\n\n\
466 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
467 For big-endian machines these functions are essentially no-ops.\n\n\
468 For little-endian machines, we define the functions using specialized\n\
469 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
470 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
471 #error You lose! This file is only useful with GNU compilers.\n\
473 #ifndef __BYTE_ORDER__\n\
474 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
475 double underscores added at the front and back. */\n\
476 #define __LITTLE_ENDIAN__ 1234\n\
477 #define __BIG_ENDIAN__ 4321\n\
478 #define __PDP_ENDIAN__ 3412\n\
481 static __inline__ unsigned long htonl (unsigned long);\n\
482 static __inline__ unsigned short htons (unsigned int);\n\
483 static __inline__ unsigned long ntohl (unsigned long);\n\
484 static __inline__ unsigned short ntohs (unsigned int);\n\
485 #endif /* defined (__STDC__) */\n\n\
486 #if defined (__i386__)\n\n\
487 #ifndef __BYTE_ORDER__\n\
488 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
490 /* Convert a host long to a network long. */\n\n\
491 /* We must use a new-style function definition, so that this will also\n\
492 be valid for C++. */\n\
493 static __inline__ unsigned long\n\
494 htonl (unsigned long __arg)\n\
496 register unsigned long __result;\n\n\
497 __asm__ (\"xchg%B0 %b0,%h0\n\
499 xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
502 /* Convert a host short to a network short. */\n\n\
503 static __inline__ unsigned short\n\
504 htons (unsigned int __arg)\n\
506 register unsigned short __result;\n\n\
507 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
510 #elif (defined (__ns32k__) || defined (__vax__) || defined (__arm__))\n\n\
511 #ifndef __BYTE_ORDER__\n\
512 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
514 /* For other little-endian machines, using C code is just as efficient as\n\
515 using assembly code. */\n\n\
516 /* Convert a host long to a network long. */\n\n\
517 static __inline__ unsigned long\n\
518 htonl (unsigned long __arg)\n\
520 register unsigned long __result;\n\n\
521 __result = (__arg >> 24) & 0x000000ff;\n\
522 __result |= (__arg >> 8) & 0x0000ff00;\n\
523 __result |= (__arg << 8) & 0x00ff0000;\n\
524 __result |= (__arg << 24) & 0xff000000;\n\
527 /* Convert a host short to a network short. */\n\n\
528 static __inline__ unsigned short\n\
529 htons (unsigned int __arg)\n\
531 register unsigned short __result;\n\n\
532 __result = (__arg << 8) & 0xff00;\n\
533 __result |= (__arg >> 8) & 0x00ff;\n\
536 #else /* must be a big-endian machine */\n\n\
537 #ifndef __BYTE_ORDER__\n\
538 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
540 /* Convert a host long to a network long. */\n\n\
541 static __inline__ unsigned long\n\
542 htonl (unsigned long __arg)\n\
546 /* Convert a host short to a network short. */\n\n\
547 static __inline__ unsigned short\n\
548 htons (unsigned int __arg)\n\
552 #endif /* big-endian */\n\n\
553 /* Convert a network long to a host long. */\n\n\
554 static __inline__ unsigned long\n\
555 ntohl (unsigned long __arg)\n\
557 return htonl (__arg);\n\
559 /* Convert a network short to a host short. */\n\n\
560 static __inline__ unsigned short\n\
561 ntohs (unsigned int __arg)\n\
563 return htons (__arg);\n\
568 /* * * * * * * * * * * * * * * * * * * * * * * * * *
570 * Description of Aab_Ultrix_Ansi_Compat fix
572 tSCC zAab_Ultrix_Ansi_CompatName[] =
573 "AAB_ultrix_ansi_compat";
576 * File name selection pattern
578 tSCC zAab_Ultrix_Ansi_CompatList[] =
581 * Machine/OS name selection pattern
583 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
586 * content selection pattern - do fix if pattern found
588 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
591 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
592 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
593 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
596 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
598 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
599 "/* This file intentionally left blank. */\n",
602 /* * * * * * * * * * * * * * * * * * * * * * * * * *
604 * Description of Aab_Ultrix_Limits fix
606 tSCC zAab_Ultrix_LimitsName[] =
610 * File name selection pattern
612 tSCC zAab_Ultrix_LimitsList[] =
615 * Machine/OS name selection pattern
617 tSCC* apzAab_Ultrix_LimitsMachs[] = {
620 #define AAB_ULTRIX_LIMITS_TEST_CT 0
621 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
624 * Fix Command Arguments for Aab_Ultrix_Limits
626 static const char* apzAab_Ultrix_LimitsPatch[] = {
627 "#ifndef _LIMITS_INCLUDED\n\
628 #define _LIMITS_INCLUDED\n\
629 #include <sys/limits.h>\n\
630 #endif /* _LIMITS_INCLUDED */",
633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
635 * Description of Aab_Ultrix_Memory fix
637 tSCC zAab_Ultrix_MemoryName[] =
641 * File name selection pattern
643 tSCC zAab_Ultrix_MemoryList[] =
646 * Machine/OS name selection pattern
648 tSCC* apzAab_Ultrix_MemoryMachs[] = {
651 #define AAB_ULTRIX_MEMORY_TEST_CT 0
652 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
655 * Fix Command Arguments for Aab_Ultrix_Memory
657 static const char* apzAab_Ultrix_MemoryPatch[] = {
658 "#ifndef _MEMORY_INCLUDED\n\
659 #define _MEMORY_INCLUDED\n\
660 #include <strings.h>\n\
661 #endif /* _MEMORY_INCLUDED */",
664 /* * * * * * * * * * * * * * * * * * * * * * * * * *
666 * Description of Aab_Ultrix_String fix
668 tSCC zAab_Ultrix_StringName[] =
672 * File name selection pattern
674 tSCC zAab_Ultrix_StringList[] =
677 * Machine/OS name selection pattern
679 tSCC* apzAab_Ultrix_StringMachs[] = {
682 #define AAB_ULTRIX_STRING_TEST_CT 0
683 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
686 * Fix Command Arguments for Aab_Ultrix_String
688 static const char* apzAab_Ultrix_StringPatch[] = {
689 "#ifndef _STRING_INCLUDED\n\
690 #define _STRING_INCLUDED\n\
691 #include <strings.h>\n\
692 #endif /* _STRING_INCLUDED */",
695 /* * * * * * * * * * * * * * * * * * * * * * * * * *
697 * Description of Aix_Pthread fix
699 tSCC zAix_PthreadName[] =
703 * File name selection pattern
705 tSCC zAix_PthreadList[] =
708 * Machine/OS name selection pattern
710 #define apzAix_PthreadMachs (const char**)NULL
713 * content selection pattern - do fix if pattern found
715 tSCC zAix_PthreadSelect0[] =
716 "(#define [A-Za-z_0-9]+)(\\\\\n\
720 #define AIX_PTHREAD_TEST_CT 1
721 static tTestDesc aAix_PthreadTests[] = {
722 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
725 * Fix Command Arguments for Aix_Pthread
727 static const char* apzAix_PthreadPatch[] = {
732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
734 * Description of Aix_Sysmachine fix
736 tSCC zAix_SysmachineName[] =
740 * File name selection pattern
742 tSCC zAix_SysmachineList[] =
745 * Machine/OS name selection pattern
747 #define apzAix_SysmachineMachs (const char**)NULL
750 * content selection pattern - do fix if pattern found
752 tSCC zAix_SysmachineSelect0[] =
755 #define AIX_SYSMACHINE_TEST_CT 1
756 static tTestDesc aAix_SysmachineTests[] = {
757 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
760 * Fix Command Arguments for Aix_Sysmachine
762 static const char* apzAix_SysmachinePatch[] = {
767 /* * * * * * * * * * * * * * * * * * * * * * * * * *
769 * Description of Aix_Syswait fix
771 tSCC zAix_SyswaitName[] =
775 * File name selection pattern
777 tSCC zAix_SyswaitList[] =
780 * Machine/OS name selection pattern
782 #define apzAix_SyswaitMachs (const char**)NULL
785 * content selection pattern - do fix if pattern found
787 tSCC zAix_SyswaitSelect0[] =
788 "^extern pid_t wait3\\(\\);\n";
789 tSCC zAix_SyswaitSelect1[] =
792 #define AIX_SYSWAIT_TEST_CT 2
793 static tTestDesc aAix_SyswaitTests[] = {
794 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
795 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
798 * Fix Command Arguments for Aix_Syswait
800 static const char* apzAix_SyswaitPatch[] = {
806 /* * * * * * * * * * * * * * * * * * * * * * * * * *
808 * Description of Aix_Syswait_2 fix
810 tSCC zAix_Syswait_2Name[] =
814 * File name selection pattern
816 tSCC zAix_Syswait_2List[] =
819 * Machine/OS name selection pattern
821 #define apzAix_Syswait_2Machs (const char**)NULL
824 * content selection pattern - do fix if pattern found
826 tSCC zAix_Syswait_2Select0[] =
827 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
829 #define AIX_SYSWAIT_2_TEST_CT 1
830 static tTestDesc aAix_Syswait_2Tests[] = {
831 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
834 * Fix Command Arguments for Aix_Syswait_2
836 static const char* apzAix_Syswait_2Patch[] = {
841 /* * * * * * * * * * * * * * * * * * * * * * * * * *
843 * Description of Aix_Volatile fix
845 tSCC zAix_VolatileName[] =
849 * File name selection pattern
851 tSCC zAix_VolatileList[] =
854 * Machine/OS name selection pattern
856 #define apzAix_VolatileMachs (const char**)NULL
859 * content selection pattern - do fix if pattern found
861 tSCC zAix_VolatileSelect0[] =
862 "typedef volatile int sig_atomic_t";
864 #define AIX_VOLATILE_TEST_CT 1
865 static tTestDesc aAix_VolatileTests[] = {
866 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
869 * Fix Command Arguments for Aix_Volatile
871 static const char* apzAix_VolatilePatch[] = {
873 "typedef int sig_atomic_t",
876 /* * * * * * * * * * * * * * * * * * * * * * * * * *
878 * Description of Alpha___Assert fix
880 tSCC zAlpha___AssertName[] =
884 * File name selection pattern
886 tSCC zAlpha___AssertList[] =
889 * Machine/OS name selection pattern
891 #define apzAlpha___AssertMachs (const char**)NULL
894 * content selection pattern - do fix if pattern found
896 tSCC zAlpha___AssertSelect0[] =
897 "__assert\\(char \\*, char \\*, int\\)";
899 #define ALPHA___ASSERT_TEST_CT 1
900 static tTestDesc aAlpha___AssertTests[] = {
901 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
904 * Fix Command Arguments for Alpha___Assert
906 static const char* apzAlpha___AssertPatch[] = {
908 "__assert(const char *, const char *, int)",
911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
913 * Description of Alpha___Extern_Prefix fix
915 tSCC zAlpha___Extern_PrefixName[] =
916 "alpha___extern_prefix";
919 * File name selection pattern
921 #define zAlpha___Extern_PrefixList (char*)NULL
923 * Machine/OS name selection pattern
925 tSCC* apzAlpha___Extern_PrefixMachs[] = {
930 * content selection pattern - do fix if pattern found
932 tSCC zAlpha___Extern_PrefixSelect0[] =
933 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
934 (#[ \t]*pragma[ \t]*extern_prefix.*)";
936 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
937 static tTestDesc aAlpha___Extern_PrefixTests[] = {
938 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
941 * Fix Command Arguments for Alpha___Extern_Prefix
943 static const char* apzAlpha___Extern_PrefixPatch[] = {
945 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
951 * Description of Alpha___Extern_Prefix_Standards fix
953 tSCC zAlpha___Extern_Prefix_StandardsName[] =
954 "alpha___extern_prefix_standards";
957 * File name selection pattern
959 tSCC zAlpha___Extern_Prefix_StandardsList[] =
962 * Machine/OS name selection pattern
964 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
969 * content selection pattern - do fix if pattern found
971 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
972 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
974 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
975 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
976 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
979 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
981 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
983 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
988 * Description of Alpha___Extern_Prefix_Sys_Stat fix
990 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
991 "alpha___extern_prefix_sys_stat";
994 * File name selection pattern
996 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
997 "sys/stat.h\0sys/mount.h\0";
999 * Machine/OS name selection pattern
1001 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
1003 (const char*)NULL };
1006 * content selection pattern - do fix if pattern found
1008 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
1009 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
1011 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
1012 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
1013 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
1016 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
1018 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
1020 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
1023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1025 * Description of Alpha_Assert fix
1027 tSCC zAlpha_AssertName[] =
1031 * File name selection pattern
1033 tSCC zAlpha_AssertList[] =
1036 * Machine/OS name selection pattern
1038 #define apzAlpha_AssertMachs (const char**)NULL
1041 * content selection pattern - do fix if pattern found
1043 tSCC zAlpha_AssertSelect0[] =
1044 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1046 #define ALPHA_ASSERT_TEST_CT 1
1047 static tTestDesc aAlpha_AssertTests[] = {
1048 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1051 * Fix Command Arguments for Alpha_Assert
1053 static const char* apzAlpha_AssertPatch[] = {
1058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1060 * Description of Alpha_Bad_Lval fix
1062 tSCC zAlpha_Bad_LvalName[] =
1066 * File name selection pattern
1068 #define zAlpha_Bad_LvalList (char*)NULL
1070 * Machine/OS name selection pattern
1072 tSCC* apzAlpha_Bad_LvalMachs[] = {
1074 (const char*)NULL };
1077 * content selection pattern - do fix if pattern found
1079 tSCC zAlpha_Bad_LvalSelect0[] =
1080 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1082 #define ALPHA_BAD_LVAL_TEST_CT 1
1083 static tTestDesc aAlpha_Bad_LvalTests[] = {
1084 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
1087 * Fix Command Arguments for Alpha_Bad_Lval
1089 static const char* apzAlpha_Bad_LvalPatch[] = { "sed",
1090 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1095 * Description of Alpha_Getopt fix
1097 tSCC zAlpha_GetoptName[] =
1101 * File name selection pattern
1103 tSCC zAlpha_GetoptList[] =
1104 "stdio.h\0stdlib.h\0";
1106 * Machine/OS name selection pattern
1108 #define apzAlpha_GetoptMachs (const char**)NULL
1111 * content selection pattern - do fix if pattern found
1113 tSCC zAlpha_GetoptSelect0[] =
1114 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1116 #define ALPHA_GETOPT_TEST_CT 1
1117 static tTestDesc aAlpha_GetoptTests[] = {
1118 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1121 * Fix Command Arguments for Alpha_Getopt
1123 static const char* apzAlpha_GetoptPatch[] = {
1125 "getopt(int, char *const[], const char *)",
1128 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1130 * Description of Alpha_Parens fix
1132 tSCC zAlpha_ParensName[] =
1136 * File name selection pattern
1138 tSCC zAlpha_ParensList[] =
1141 * Machine/OS name selection pattern
1143 #define apzAlpha_ParensMachs (const char**)NULL
1146 * content selection pattern - do fix if pattern found
1148 tSCC zAlpha_ParensSelect0[] =
1149 "#ifndef\\(__mips64\\)";
1151 #define ALPHA_PARENS_TEST_CT 1
1152 static tTestDesc aAlpha_ParensTests[] = {
1153 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1156 * Fix Command Arguments for Alpha_Parens
1158 static const char* apzAlpha_ParensPatch[] = {
1163 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1165 * Description of Alpha_Pthread fix
1167 tSCC zAlpha_PthreadName[] =
1171 * File name selection pattern
1173 tSCC zAlpha_PthreadList[] =
1176 * Machine/OS name selection pattern
1178 tSCC* apzAlpha_PthreadMachs[] = {
1180 (const char*)NULL };
1183 * content selection pattern - do fix if pattern found
1185 tSCC zAlpha_PthreadSelect0[] =
1186 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
1187 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
1189 #define ALPHA_PTHREAD_TEST_CT 1
1190 static tTestDesc aAlpha_PthreadTests[] = {
1191 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
1194 * Fix Command Arguments for Alpha_Pthread
1196 static const char* apzAlpha_PthreadPatch[] = {
1198 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
1202 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1204 * Description of Alpha_Pthread_Gcc fix
1206 tSCC zAlpha_Pthread_GccName[] =
1207 "alpha_pthread_gcc";
1210 * File name selection pattern
1212 tSCC zAlpha_Pthread_GccList[] =
1215 * Machine/OS name selection pattern
1217 tSCC* apzAlpha_Pthread_GccMachs[] = {
1219 (const char*)NULL };
1222 * content selection pattern - do fix if pattern found
1224 tSCC zAlpha_Pthread_GccSelect0[] =
1226 # error <pthread.h>: unrecognized compiler.";
1228 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1229 static tTestDesc aAlpha_Pthread_GccTests[] = {
1230 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1233 * Fix Command Arguments for Alpha_Pthread_Gcc
1235 static const char* apzAlpha_Pthread_GccPatch[] = {
1237 "#elif defined (__GNUC__)\n\
1238 # define _PTHREAD_ENV_GCC\n\
1242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1244 * Description of Alpha_Pthread_Init fix
1246 tSCC zAlpha_Pthread_InitName[] =
1247 "alpha_pthread_init";
1250 * File name selection pattern
1252 tSCC zAlpha_Pthread_InitList[] =
1255 * Machine/OS name selection pattern
1257 tSCC* apzAlpha_Pthread_InitMachs[] = {
1259 (const char*)NULL };
1262 * content selection pattern - do fix if pattern found
1264 tSCC zAlpha_Pthread_InitSelect0[] =
1265 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1267 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1268 static tTestDesc aAlpha_Pthread_InitTests[] = {
1269 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1272 * Fix Command Arguments for Alpha_Pthread_Init
1274 static const char* apzAlpha_Pthread_InitPatch[] = { "sed",
1275 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1276 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1277 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1278 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1279 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1280 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1285 * Description of Alpha_Sbrk fix
1287 tSCC zAlpha_SbrkName[] =
1291 * File name selection pattern
1293 tSCC zAlpha_SbrkList[] =
1296 * Machine/OS name selection pattern
1298 #define apzAlpha_SbrkMachs (const char**)NULL
1301 * content selection pattern - do fix if pattern found
1303 tSCC zAlpha_SbrkSelect0[] =
1304 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1306 #define ALPHA_SBRK_TEST_CT 1
1307 static tTestDesc aAlpha_SbrkTests[] = {
1308 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1311 * Fix Command Arguments for Alpha_Sbrk
1313 static const char* apzAlpha_SbrkPatch[] = {
1318 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1320 * Description of Alpha_Wchar fix
1322 tSCC zAlpha_WcharName[] =
1326 * File name selection pattern
1328 tSCC zAlpha_WcharList[] =
1331 * Machine/OS name selection pattern
1333 tSCC* apzAlpha_WcharMachs[] = {
1335 (const char*)NULL };
1338 * content selection pattern - do fix if pattern found
1340 tSCC zAlpha_WcharSelect0[] =
1341 "#define wcstok wcstok_r";
1343 #define ALPHA_WCHAR_TEST_CT 1
1344 static tTestDesc aAlpha_WcharTests[] = {
1345 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1348 * Fix Command Arguments for Alpha_Wchar
1350 static const char* apzAlpha_WcharPatch[] = { "sed",
1351 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1352 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1357 * Description of Avoid_Bool_Define fix
1359 tSCC zAvoid_Bool_DefineName[] =
1360 "avoid_bool_define";
1363 * File name selection pattern
1365 tSCC zAvoid_Bool_DefineList[] =
1366 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1368 * Machine/OS name selection pattern
1370 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1373 * content selection pattern - do fix if pattern found
1375 tSCC zAvoid_Bool_DefineSelect0[] =
1376 "#[ \t]*define[ \t]+bool[ \t]";
1379 * content bypass pattern - skip fix if pattern found
1381 tSCC zAvoid_Bool_DefineBypass0[] =
1384 #define AVOID_BOOL_DEFINE_TEST_CT 2
1385 static tTestDesc aAvoid_Bool_DefineTests[] = {
1386 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1387 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1390 * Fix Command Arguments for Avoid_Bool_Define
1392 static const char* apzAvoid_Bool_DefinePatch[] = {
1394 "#ifndef __cplusplus\n\
1397 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1400 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1402 * Description of Avoid_Bool_Type fix
1404 tSCC zAvoid_Bool_TypeName[] =
1408 * File name selection pattern
1410 tSCC zAvoid_Bool_TypeList[] =
1411 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1413 * Machine/OS name selection pattern
1415 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1418 * content selection pattern - do fix if pattern found
1420 tSCC zAvoid_Bool_TypeSelect0[] =
1421 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1424 * content bypass pattern - skip fix if pattern found
1426 tSCC zAvoid_Bool_TypeBypass0[] =
1429 #define AVOID_BOOL_TYPE_TEST_CT 2
1430 static tTestDesc aAvoid_Bool_TypeTests[] = {
1431 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1432 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1435 * Fix Command Arguments for Avoid_Bool_Type
1437 static const char* apzAvoid_Bool_TypePatch[] = {
1439 "#ifndef __cplusplus\n\
1444 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1446 * Description of Avoid_Wchar_T_Type fix
1448 tSCC zAvoid_Wchar_T_TypeName[] =
1449 "avoid_wchar_t_type";
1452 * File name selection pattern
1454 #define zAvoid_Wchar_T_TypeList (char*)NULL
1456 * Machine/OS name selection pattern
1458 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1461 * content selection pattern - do fix if pattern found
1463 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1464 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1467 * content bypass pattern - skip fix if pattern found
1469 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1471 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1473 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1474 "XFree86: xc/lib/X11/Xlib\\.h";
1476 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1477 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1478 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1479 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1480 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1481 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1484 * Fix Command Arguments for Avoid_Wchar_T_Type
1486 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1488 "#ifndef __cplusplus\n\
1493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1495 * Description of Bad_Struct_Term fix
1497 tSCC zBad_Struct_TermName[] =
1501 * File name selection pattern
1503 tSCC zBad_Struct_TermList[] =
1506 * Machine/OS name selection pattern
1508 #define apzBad_Struct_TermMachs (const char**)NULL
1511 * content selection pattern - do fix if pattern found
1513 tSCC zBad_Struct_TermSelect0[] =
1514 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1516 #define BAD_STRUCT_TERM_TEST_CT 1
1517 static tTestDesc aBad_Struct_TermTests[] = {
1518 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1521 * Fix Command Arguments for Bad_Struct_Term
1523 static const char* apzBad_Struct_TermPatch[] = {
1528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1530 * Description of Badquote fix
1532 tSCC zBadquoteName[] =
1536 * File name selection pattern
1538 tSCC zBadquoteList[] =
1539 "sundev/vuid_event.h\0";
1541 * Machine/OS name selection pattern
1543 #define apzBadquoteMachs (const char**)NULL
1546 * content selection pattern - do fix if pattern found
1548 tSCC zBadquoteSelect0[] =
1551 #define BADQUOTE_TEST_CT 1
1552 static tTestDesc aBadquoteTests[] = {
1553 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1556 * Fix Command Arguments for Badquote
1558 static const char* apzBadquotePatch[] = {
1563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1565 * Description of Broken_Assert_Stdio fix
1567 tSCC zBroken_Assert_StdioName[] =
1568 "broken_assert_stdio";
1571 * File name selection pattern
1573 tSCC zBroken_Assert_StdioList[] =
1576 * Machine/OS name selection pattern
1578 #define apzBroken_Assert_StdioMachs (const char**)NULL
1581 * content selection pattern - do fix if pattern found
1583 tSCC zBroken_Assert_StdioSelect0[] =
1587 * content bypass pattern - skip fix if pattern found
1589 tSCC zBroken_Assert_StdioBypass0[] =
1590 "include.*stdio\\.h";
1592 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1593 static tTestDesc aBroken_Assert_StdioTests[] = {
1594 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1595 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1598 * Fix Command Arguments for Broken_Assert_Stdio
1600 static const char* apzBroken_Assert_StdioPatch[] = {
1602 "#include <stdio.h>\n",
1605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1607 * Description of Broken_Assert_Stdlib fix
1609 tSCC zBroken_Assert_StdlibName[] =
1610 "broken_assert_stdlib";
1613 * File name selection pattern
1615 tSCC zBroken_Assert_StdlibList[] =
1618 * Machine/OS name selection pattern
1620 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1623 * content selection pattern - do fix if pattern found
1625 tSCC zBroken_Assert_StdlibSelect0[] =
1626 "exit *\\(|abort *\\(";
1629 * content bypass pattern - skip fix if pattern found
1631 tSCC zBroken_Assert_StdlibBypass0[] =
1632 "include.*stdlib\\.h";
1634 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1635 static tTestDesc aBroken_Assert_StdlibTests[] = {
1636 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1637 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1640 * Fix Command Arguments for Broken_Assert_Stdlib
1642 static const char* apzBroken_Assert_StdlibPatch[] = {
1644 "#ifdef __cplusplus\n\
1645 #include <stdlib.h>\n\
1649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1651 * Description of Broken_Cabs fix
1653 tSCC zBroken_CabsName[] =
1657 * File name selection pattern
1659 tSCC zBroken_CabsList[] =
1660 "math.h\0architecture/*/math.h\0";
1662 * Machine/OS name selection pattern
1664 #define apzBroken_CabsMachs (const char**)NULL
1667 * content selection pattern - do fix if pattern found
1669 tSCC zBroken_CabsSelect0[] =
1670 "^extern[ \t]+double[ \t]+cabs";
1672 #define BROKEN_CABS_TEST_CT 1
1673 static tTestDesc aBroken_CabsTests[] = {
1674 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1677 * Fix Command Arguments for Broken_Cabs
1679 static const char* apzBroken_CabsPatch[] = { "sed",
1680 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1681 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1686 * Description of Broken_Nan fix
1688 tSCC zBroken_NanName[] =
1692 * File name selection pattern
1694 tSCC zBroken_NanList[] =
1695 "architecture/ppc/math.h\0architecture/*/math.h\0";
1697 * Machine/OS name selection pattern
1699 #define apzBroken_NanMachs (const char**)NULL
1702 * content selection pattern - do fix if pattern found
1704 tSCC zBroken_NanSelect0[] =
1705 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1708 * content bypass pattern - skip fix if pattern found
1710 tSCC zBroken_NanBypass0[] =
1713 #define BROKEN_NAN_TEST_CT 2
1714 static tTestDesc aBroken_NanTests[] = {
1715 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1716 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1719 * Fix Command Arguments for Broken_Nan
1721 static const char* apzBroken_NanPatch[] = {
1726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1728 * Description of Bsd_Stdio_Attrs_Conflict fix
1730 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1731 "bsd_stdio_attrs_conflict";
1734 * File name selection pattern
1736 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1739 * Machine/OS name selection pattern
1741 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1744 (const char*)NULL };
1747 * content selection pattern - do fix if pattern found
1749 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1750 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1752 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1753 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1754 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1757 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1759 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1761 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1762 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1763 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1768 * Description of Ctrl_Quotes_Def fix
1770 tSCC zCtrl_Quotes_DefName[] =
1774 * File name selection pattern
1776 #define zCtrl_Quotes_DefList (char*)NULL
1778 * Machine/OS name selection pattern
1780 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1783 * content selection pattern - do fix if pattern found
1785 tSCC zCtrl_Quotes_DefSelect0[] =
1786 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1788 #define CTRL_QUOTES_DEF_TEST_CT 1
1789 static tTestDesc aCtrl_Quotes_DefTests[] = {
1790 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1793 * Fix Command Arguments for Ctrl_Quotes_Def
1795 static const char* apzCtrl_Quotes_DefPatch[] = {
1800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1802 * Description of Ctrl_Quotes_Use fix
1804 tSCC zCtrl_Quotes_UseName[] =
1808 * File name selection pattern
1810 #define zCtrl_Quotes_UseList (char*)NULL
1812 * Machine/OS name selection pattern
1814 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1817 * content selection pattern - do fix if pattern found
1819 tSCC zCtrl_Quotes_UseSelect0[] =
1820 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1822 #define CTRL_QUOTES_USE_TEST_CT 1
1823 static tTestDesc aCtrl_Quotes_UseTests[] = {
1824 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1827 * Fix Command Arguments for Ctrl_Quotes_Use
1829 static const char* apzCtrl_Quotes_UsePatch[] = {
1834 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1836 * Description of Cxx_Unready fix
1838 tSCC zCxx_UnreadyName[] =
1842 * File name selection pattern
1844 tSCC zCxx_UnreadyList[] =
1845 "sys/mman.h\0rpc/types.h\0";
1847 * Machine/OS name selection pattern
1849 #define apzCxx_UnreadyMachs (const char**)NULL
1852 * content selection pattern - do fix if pattern found
1854 tSCC zCxx_UnreadySelect0[] =
1858 * content bypass pattern - skip fix if pattern found
1860 tSCC zCxx_UnreadyBypass0[] =
1861 "\"C\"|__BEGIN_DECLS";
1863 #define CXX_UNREADY_TEST_CT 2
1864 static tTestDesc aCxx_UnreadyTests[] = {
1865 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1866 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1869 * Fix Command Arguments for Cxx_Unready
1871 static const char* apzCxx_UnreadyPatch[] = {
1873 "#ifdef __cplusplus\n\
1876 "#ifdef __cplusplus\n\
1881 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1883 * Description of Darwin_Gcc4_Breakage fix
1885 tSCC zDarwin_Gcc4_BreakageName[] =
1886 "darwin_gcc4_breakage";
1889 * File name selection pattern
1891 tSCC zDarwin_Gcc4_BreakageList[] =
1892 "AvailabilityMacros.h\0";
1894 * Machine/OS name selection pattern
1896 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1898 (const char*)NULL };
1901 * content selection pattern - do fix if pattern found
1903 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1904 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1906 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1907 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1908 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1911 * Fix Command Arguments for Darwin_Gcc4_Breakage
1913 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1915 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1920 * Description of Darwin_Private_Extern fix
1922 tSCC zDarwin_Private_ExternName[] =
1923 "darwin_private_extern";
1926 * File name selection pattern
1928 tSCC zDarwin_Private_ExternList[] =
1931 * Machine/OS name selection pattern
1933 tSCC* apzDarwin_Private_ExternMachs[] = {
1935 (const char*)NULL };
1938 * content selection pattern - do fix if pattern found
1940 tSCC zDarwin_Private_ExternSelect0[] =
1941 "__private_extern__ [a-z_]+ _dyld_";
1943 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1944 static tTestDesc aDarwin_Private_ExternTests[] = {
1945 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1948 * Fix Command Arguments for Darwin_Private_Extern
1950 static const char* apzDarwin_Private_ExternPatch[] = {
1953 "__private_extern__",
1956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1958 * Description of Dec_Intern_Asm fix
1960 tSCC zDec_Intern_AsmName[] =
1964 * File name selection pattern
1966 tSCC zDec_Intern_AsmList[] =
1969 * Machine/OS name selection pattern
1971 #define apzDec_Intern_AsmMachs (const char**)NULL
1972 #define DEC_INTERN_ASM_TEST_CT 0
1973 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1976 * Fix Command Arguments for Dec_Intern_Asm
1978 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1979 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1981 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1985 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1987 * Description of Djgpp_Wchar_H fix
1989 tSCC zDjgpp_Wchar_HName[] =
1993 * File name selection pattern
1995 #define zDjgpp_Wchar_HList (char*)NULL
1997 * Machine/OS name selection pattern
1999 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2002 * content selection pattern - do fix if pattern found
2004 tSCC zDjgpp_Wchar_HSelect0[] =
2008 * content bypass pattern - skip fix if pattern found
2010 tSCC zDjgpp_Wchar_HBypass0[] =
2013 #define DJGPP_WCHAR_H_TEST_CT 2
2014 static tTestDesc aDjgpp_Wchar_HTests[] = {
2015 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2016 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2019 * Fix Command Arguments for Djgpp_Wchar_H
2021 static const char* apzDjgpp_Wchar_HPatch[] = {
2024 #include <sys/djtypes.h>",
2025 "#include <stddef.h>",
2028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2030 * Description of Ecd_Cursor fix
2032 tSCC zEcd_CursorName[] =
2036 * File name selection pattern
2038 tSCC zEcd_CursorList[] =
2039 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2041 * Machine/OS name selection pattern
2043 #define apzEcd_CursorMachs (const char**)NULL
2046 * content selection pattern - do fix if pattern found
2048 tSCC zEcd_CursorSelect0[] =
2051 #define ECD_CURSOR_TEST_CT 1
2052 static tTestDesc aEcd_CursorTests[] = {
2053 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2056 * Fix Command Arguments for Ecd_Cursor
2058 static const char* apzEcd_CursorPatch[] = {
2063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2065 * Description of Exception_Structure fix
2067 tSCC zException_StructureName[] =
2068 "exception_structure";
2071 * File name selection pattern
2073 tSCC zException_StructureList[] =
2076 * Machine/OS name selection pattern
2078 #define apzException_StructureMachs (const char**)NULL
2081 * content selection pattern - do fix if pattern found
2083 tSCC zException_StructureSelect0[] =
2087 * content bypass pattern - skip fix if pattern found
2089 tSCC zException_StructureBypass0[] =
2090 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
2092 #define EXCEPTION_STRUCTURE_TEST_CT 2
2093 static tTestDesc aException_StructureTests[] = {
2094 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
2095 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
2098 * Fix Command Arguments for Exception_Structure
2100 static const char* apzException_StructurePatch[] = {
2102 "struct exception;\n",
2105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2107 * Description of Freebsd_Gcc3_Breakage fix
2109 tSCC zFreebsd_Gcc3_BreakageName[] =
2110 "freebsd_gcc3_breakage";
2113 * File name selection pattern
2115 tSCC zFreebsd_Gcc3_BreakageList[] =
2118 * Machine/OS name selection pattern
2120 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2122 (const char*)NULL };
2125 * content selection pattern - do fix if pattern found
2127 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2128 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2131 * content bypass pattern - skip fix if pattern found
2133 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2134 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2136 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2137 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2138 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2139 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2142 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2144 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2146 "%0 || __GNUC__ >= 3",
2149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2151 * Description of Freebsd_Gcc4_Breakage fix
2153 tSCC zFreebsd_Gcc4_BreakageName[] =
2154 "freebsd_gcc4_breakage";
2157 * File name selection pattern
2159 tSCC zFreebsd_Gcc4_BreakageList[] =
2162 * Machine/OS name selection pattern
2164 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2166 (const char*)NULL };
2169 * content selection pattern - do fix if pattern found
2171 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2172 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2174 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2175 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2176 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2179 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2181 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2183 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2186 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2188 * Description of Glibc_C99_Inline_1 fix
2190 tSCC zGlibc_C99_Inline_1Name[] =
2191 "glibc_c99_inline_1";
2194 * File name selection pattern
2196 tSCC zGlibc_C99_Inline_1List[] =
2197 "features.h\0*/features.h\0";
2199 * Machine/OS name selection pattern
2201 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2204 * content selection pattern - do fix if pattern found
2206 tSCC zGlibc_C99_Inline_1Select0[] =
2207 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2209 #define GLIBC_C99_INLINE_1_TEST_CT 1
2210 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2211 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2214 * Fix Command Arguments for Glibc_C99_Inline_1
2216 static const char* apzGlibc_C99_Inline_1Patch[] = {
2218 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2223 * Description of Glibc_C99_Inline_2 fix
2225 tSCC zGlibc_C99_Inline_2Name[] =
2226 "glibc_c99_inline_2";
2229 * File name selection pattern
2231 tSCC zGlibc_C99_Inline_2List[] =
2232 "sys/stat.h\0*/sys/stat.h\0";
2234 * Machine/OS name selection pattern
2236 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2239 * content selection pattern - do fix if pattern found
2241 tSCC zGlibc_C99_Inline_2Select0[] =
2242 "extern __inline__ int";
2244 #define GLIBC_C99_INLINE_2_TEST_CT 1
2245 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2246 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2249 * Fix Command Arguments for Glibc_C99_Inline_2
2251 static const char* apzGlibc_C99_Inline_2Patch[] = { "sed",
2252 "-e", "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2255 __inline__ int \\1/",
2256 "-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2259 __inline__ int __REDIRECT\\1 (\\2/",
2260 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
2266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2268 * Description of Glibc_C99_Inline_3 fix
2270 tSCC zGlibc_C99_Inline_3Name[] =
2271 "glibc_c99_inline_3";
2274 * File name selection pattern
2276 tSCC zGlibc_C99_Inline_3List[] =
2277 "bits/string2.h\0*/bits/string2.h\0";
2279 * Machine/OS name selection pattern
2281 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2284 * content selection pattern - do fix if pattern found
2286 tSCC zGlibc_C99_Inline_3Select0[] =
2290 * content bypass pattern - skip fix if pattern found
2292 tSCC zGlibc_C99_Inline_3Bypass0[] =
2295 #define GLIBC_C99_INLINE_3_TEST_CT 2
2296 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2297 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
2298 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
2301 * Fix Command Arguments for Glibc_C99_Inline_3
2303 static const char* apzGlibc_C99_Inline_3Patch[] = {
2305 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
2306 "^# ifdef __cplusplus$",
2309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2311 * Description of Glibc_C99_Inline_4 fix
2313 tSCC zGlibc_C99_Inline_4Name[] =
2314 "glibc_c99_inline_4";
2317 * File name selection pattern
2319 tSCC zGlibc_C99_Inline_4List[] =
2320 "sys/sysmacros.h\0*/sys/sysmacros.h\0";
2322 * Machine/OS name selection pattern
2324 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2327 * content selection pattern - do fix if pattern found
2329 tSCC zGlibc_C99_Inline_4Select0[] =
2333 * content bypass pattern - skip fix if pattern found
2335 tSCC zGlibc_C99_Inline_4Bypass0[] =
2338 #define GLIBC_C99_INLINE_4_TEST_CT 2
2339 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2340 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
2341 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
2344 * Fix Command Arguments for Glibc_C99_Inline_4
2346 static const char* apzGlibc_C99_Inline_4Patch[] = {
2349 #ifdef __GNUC_GNU_INLINE__\n\
2355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2357 * Description of Glibc_Mutex_Init fix
2359 tSCC zGlibc_Mutex_InitName[] =
2363 * File name selection pattern
2365 tSCC zGlibc_Mutex_InitList[] =
2368 * Machine/OS name selection pattern
2370 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2373 * content selection pattern - do fix if pattern found
2375 tSCC zGlibc_Mutex_InitSelect0[] =
2376 "\\{ *\\{ *0, *\\} *\\}";
2378 #define GLIBC_MUTEX_INIT_TEST_CT 1
2379 static tTestDesc aGlibc_Mutex_InitTests[] = {
2380 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2383 * Fix Command Arguments for Glibc_Mutex_Init
2385 static const char* apzGlibc_Mutex_InitPatch[] = { "sed",
2386 "-e", "/define[ \t]\\+PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/,+1s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/",
2387 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2388 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2389 "-e", "/define[ \t]\\+PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\/N;s/^[ \t]*#[ \t]*\\(define[ \t]\\+PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\\\)\\n[ \t]*{ { 0, } }/# if __WORDSIZE == 64\\n# \\1\\n { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\n# else\\n# \\1\\n { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\n# endif/",
2390 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2391 "-e", "/define[ \t]\\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2394 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2396 * Description of Gnu_Types fix
2398 tSCC zGnu_TypesName[] =
2402 * File name selection pattern
2404 tSCC zGnu_TypesList[] =
2405 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2407 * Machine/OS name selection pattern
2409 tSCC* apzGnu_TypesMachs[] = {
2410 "*-*-solaris2.1[0-9]*",
2411 (const char*)NULL };
2414 * content selection pattern - do fix if pattern found
2416 tSCC zGnu_TypesSelect0[] =
2417 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2420 * content bypass pattern - skip fix if pattern found
2422 tSCC zGnu_TypesBypass0[] =
2423 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2425 #define GNU_TYPES_TEST_CT 2
2426 static tTestDesc aGnu_TypesTests[] = {
2427 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2428 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2431 * Fix Command Arguments for Gnu_Types
2433 static const char* apzGnu_TypesPatch[] = {
2437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2439 * Description of Hp_Inline fix
2441 tSCC zHp_InlineName[] =
2445 * File name selection pattern
2447 tSCC zHp_InlineList[] =
2448 "sys/spinlock.h\0machine/machparam.h\0";
2450 * Machine/OS name selection pattern
2452 #define apzHp_InlineMachs (const char**)NULL
2455 * content selection pattern - do fix if pattern found
2457 tSCC zHp_InlineSelect0[] =
2458 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2460 #define HP_INLINE_TEST_CT 1
2461 static tTestDesc aHp_InlineTests[] = {
2462 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2465 * Fix Command Arguments for Hp_Inline
2467 static const char* apzHp_InlinePatch[] = {
2470 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2475 * Description of Hp_Sysfile fix
2477 tSCC zHp_SysfileName[] =
2481 * File name selection pattern
2483 tSCC zHp_SysfileList[] =
2486 * Machine/OS name selection pattern
2488 #define apzHp_SysfileMachs (const char**)NULL
2491 * content selection pattern - do fix if pattern found
2493 tSCC zHp_SysfileSelect0[] =
2496 #define HP_SYSFILE_TEST_CT 1
2497 static tTestDesc aHp_SysfileTests[] = {
2498 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2501 * Fix Command Arguments for Hp_Sysfile
2503 static const char* apzHp_SysfilePatch[] = {
2505 "(struct file *, ...)",
2509 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2511 * Description of Hpux10_Cpp_Pow_Inline fix
2513 tSCC zHpux10_Cpp_Pow_InlineName[] =
2514 "hpux10_cpp_pow_inline";
2517 * File name selection pattern
2519 tSCC zHpux10_Cpp_Pow_InlineList[] =
2520 "fixinc-test-limits.h\0math.h\0";
2522 * Machine/OS name selection pattern
2524 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2527 * content selection pattern - do fix if pattern found
2529 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2530 "^# +ifdef +__cplusplus\n\
2532 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2533 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2535 +extern +\"C\" +\\{\n\
2539 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2540 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2541 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2544 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2546 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2551 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2553 * Description of Hpux11_Cpp_Pow_Inline fix
2555 tSCC zHpux11_Cpp_Pow_InlineName[] =
2556 "hpux11_cpp_pow_inline";
2559 * File name selection pattern
2561 tSCC zHpux11_Cpp_Pow_InlineList[] =
2564 * Machine/OS name selection pattern
2566 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2569 * content selection pattern - do fix if pattern found
2571 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2572 " +inline double pow\\(double d,int expon\\) \\{\n\
2573 +return pow\\(d, \\(double\\)expon\\);\n\
2576 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2577 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2578 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2581 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2583 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2588 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2590 * Description of Hpux10_Ctype_Declarations1 fix
2592 tSCC zHpux10_Ctype_Declarations1Name[] =
2593 "hpux10_ctype_declarations1";
2596 * File name selection pattern
2598 tSCC zHpux10_Ctype_Declarations1List[] =
2601 * Machine/OS name selection pattern
2603 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2606 * content selection pattern - do fix if pattern found
2608 tSCC zHpux10_Ctype_Declarations1Select0[] =
2609 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2612 * content bypass pattern - skip fix if pattern found
2614 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2615 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2617 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2618 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2619 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2620 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2623 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2625 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2627 "#ifdef _PROTOTYPES\n\
2628 extern int __tolower(int);\n\
2629 extern int __toupper(int);\n\
2630 #else /* NOT _PROTOTYPES */\n\
2631 extern int __tolower();\n\
2632 extern int __toupper();\n\
2633 #endif /* _PROTOTYPES */\n\n\
2637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2639 * Description of Hpux10_Ctype_Declarations2 fix
2641 tSCC zHpux10_Ctype_Declarations2Name[] =
2642 "hpux10_ctype_declarations2";
2645 * File name selection pattern
2647 tSCC zHpux10_Ctype_Declarations2List[] =
2650 * Machine/OS name selection pattern
2652 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2655 * content selection pattern - do fix if pattern found
2657 tSCC zHpux10_Ctype_Declarations2Select0[] =
2658 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2661 * content bypass pattern - skip fix if pattern found
2663 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2664 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2666 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2667 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2668 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2669 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2672 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2674 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2677 #ifdef _PROTOTYPES\n\
2678 extern int _isalnum(int);\n\
2679 extern int _isalpha(int);\n\
2680 extern int _iscntrl(int);\n\
2681 extern int _isdigit(int);\n\
2682 extern int _isgraph(int);\n\
2683 extern int _islower(int);\n\
2684 extern int _isprint(int);\n\
2685 extern int _ispunct(int);\n\
2686 extern int _isspace(int);\n\
2687 extern int _isupper(int);\n\
2688 extern int _isxdigit(int);\n\
2689 # else /* not _PROTOTYPES */\n\
2690 extern int _isalnum();\n\
2691 extern int _isalpha();\n\
2692 extern int _iscntrl();\n\
2693 extern int _isdigit();\n\
2694 extern int _isgraph();\n\
2695 extern int _islower();\n\
2696 extern int _isprint();\n\
2697 extern int _ispunct();\n\
2698 extern int _isspace();\n\
2699 extern int _isupper();\n\
2700 extern int _isxdigit();\n\
2701 #endif /* _PROTOTYPES */\n",
2704 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2706 * Description of Hpux10_Stdio_Declarations fix
2708 tSCC zHpux10_Stdio_DeclarationsName[] =
2709 "hpux10_stdio_declarations";
2712 * File name selection pattern
2714 tSCC zHpux10_Stdio_DeclarationsList[] =
2717 * Machine/OS name selection pattern
2719 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2722 * content selection pattern - do fix if pattern found
2724 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2725 "^#[ \t]*define _iob[ \t]*__iob";
2728 * content bypass pattern - skip fix if pattern found
2730 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2731 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2733 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2734 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2735 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2736 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2739 * Fix Command Arguments for Hpux10_Stdio_Declarations
2741 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2744 # if defined(__STDC__) || defined(__cplusplus)\n\
2745 extern int snprintf(char *, size_t, const char *, ...);\n\
2746 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2747 # else /* not __STDC__) || __cplusplus */\n\
2748 extern int snprintf();\n\
2749 extern int vsnprintf();\n\
2750 # endif /* __STDC__) || __cplusplus */\n",
2753 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2755 * Description of Hpux11_Abs fix
2757 tSCC zHpux11_AbsName[] =
2761 * File name selection pattern
2763 tSCC zHpux11_AbsList[] =
2766 * Machine/OS name selection pattern
2768 tSCC* apzHpux11_AbsMachs[] = {
2770 (const char*)NULL };
2773 * content selection pattern - do fix if pattern found
2775 tSCC zHpux11_AbsSelect0[] =
2776 "ifndef _MATH_INCLUDED";
2778 #define HPUX11_ABS_TEST_CT 1
2779 static tTestDesc aHpux11_AbsTests[] = {
2780 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2783 * Fix Command Arguments for Hpux11_Abs
2785 static const char* apzHpux11_AbsPatch[] = {
2787 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2792 * Description of Hpux11_Fabsf fix
2794 tSCC zHpux11_FabsfName[] =
2798 * File name selection pattern
2800 tSCC zHpux11_FabsfList[] =
2803 * Machine/OS name selection pattern
2805 #define apzHpux11_FabsfMachs (const char**)NULL
2808 * content selection pattern - do fix if pattern found
2810 tSCC zHpux11_FabsfSelect0[] =
2811 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2814 * content bypass pattern - skip fix if pattern found
2816 tSCC zHpux11_FabsfBypass0[] =
2819 #define HPUX11_FABSF_TEST_CT 2
2820 static tTestDesc aHpux11_FabsfTests[] = {
2821 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2822 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2825 * Fix Command Arguments for Hpux11_Fabsf
2827 static const char* apzHpux11_FabsfPatch[] = {
2829 "#ifndef __cplusplus\n\
2834 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2836 * Description of Hpux11_Size_T fix
2838 tSCC zHpux11_Size_TName[] =
2842 * File name selection pattern
2844 #define zHpux11_Size_TList (char*)NULL
2846 * Machine/OS name selection pattern
2848 tSCC* apzHpux11_Size_TMachs[] = {
2850 (const char*)NULL };
2853 * content selection pattern - do fix if pattern found
2855 tSCC zHpux11_Size_TSelect0[] =
2858 #define HPUX11_SIZE_T_TEST_CT 1
2859 static tTestDesc aHpux11_Size_TTests[] = {
2860 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2863 * Fix Command Arguments for Hpux11_Size_T
2865 static const char* apzHpux11_Size_TPatch[] = {
2870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2872 * Description of Hpux11_Snprintf fix
2874 tSCC zHpux11_SnprintfName[] =
2878 * File name selection pattern
2880 tSCC zHpux11_SnprintfList[] =
2883 * Machine/OS name selection pattern
2885 #define apzHpux11_SnprintfMachs (const char**)NULL
2888 * content selection pattern - do fix if pattern found
2890 tSCC zHpux11_SnprintfSelect0[] =
2891 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2893 #define HPUX11_SNPRINTF_TEST_CT 1
2894 static tTestDesc aHpux11_SnprintfTests[] = {
2895 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2898 * Fix Command Arguments for Hpux11_Snprintf
2900 static const char* apzHpux11_SnprintfPatch[] = {
2905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2907 * Description of Hpux11_Uint32_C fix
2909 tSCC zHpux11_Uint32_CName[] =
2913 * File name selection pattern
2915 tSCC zHpux11_Uint32_CList[] =
2918 * Machine/OS name selection pattern
2920 #define apzHpux11_Uint32_CMachs (const char**)NULL
2923 * content selection pattern - do fix if pattern found
2925 tSCC zHpux11_Uint32_CSelect0[] =
2926 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2928 #define HPUX11_UINT32_C_TEST_CT 1
2929 static tTestDesc aHpux11_Uint32_CTests[] = {
2930 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2933 * Fix Command Arguments for Hpux11_Uint32_C
2935 static const char* apzHpux11_Uint32_CPatch[] = {
2937 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2942 * Description of Hpux11_Vsnprintf fix
2944 tSCC zHpux11_VsnprintfName[] =
2948 * File name selection pattern
2950 tSCC zHpux11_VsnprintfList[] =
2953 * Machine/OS name selection pattern
2955 #define apzHpux11_VsnprintfMachs (const char**)NULL
2958 * content selection pattern - do fix if pattern found
2960 tSCC zHpux11_VsnprintfSelect0[] =
2961 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2963 #define HPUX11_VSNPRINTF_TEST_CT 1
2964 static tTestDesc aHpux11_VsnprintfTests[] = {
2965 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2968 * Fix Command Arguments for Hpux11_Vsnprintf
2970 static const char* apzHpux11_VsnprintfPatch[] = {
2975 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2977 * Description of Hpux8_Bogus_Inlines fix
2979 tSCC zHpux8_Bogus_InlinesName[] =
2980 "hpux8_bogus_inlines";
2983 * File name selection pattern
2985 tSCC zHpux8_Bogus_InlinesList[] =
2988 * Machine/OS name selection pattern
2990 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2993 * content selection pattern - do fix if pattern found
2995 tSCC zHpux8_Bogus_InlinesSelect0[] =
2999 * content bypass pattern - skip fix if pattern found
3001 tSCC zHpux8_Bogus_InlinesBypass0[] =
3004 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3005 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3006 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3007 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3010 * Fix Command Arguments for Hpux8_Bogus_Inlines
3012 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
3013 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3014 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3015 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3016 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3021 * Description of Hpux_Ctype_Macros fix
3023 tSCC zHpux_Ctype_MacrosName[] =
3024 "hpux_ctype_macros";
3027 * File name selection pattern
3029 tSCC zHpux_Ctype_MacrosList[] =
3032 * Machine/OS name selection pattern
3034 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3037 * content selection pattern - do fix if pattern found
3039 tSCC zHpux_Ctype_MacrosSelect0[] =
3040 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3042 #define HPUX_CTYPE_MACROS_TEST_CT 1
3043 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3044 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3047 * Fix Command Arguments for Hpux_Ctype_Macros
3049 static const char* apzHpux_Ctype_MacrosPatch[] = {
3054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3056 * Description of Hpux_Htonl fix
3058 tSCC zHpux_HtonlName[] =
3062 * File name selection pattern
3064 tSCC zHpux_HtonlList[] =
3067 * Machine/OS name selection pattern
3069 #define apzHpux_HtonlMachs (const char**)NULL
3072 * content selection pattern - do fix if pattern found
3074 tSCC zHpux_HtonlSelect0[] =
3075 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
3077 \\* Macros for number representation conversion\\.\n\
3081 #define HPUX_HTONL_TEST_CT 1
3082 static tTestDesc aHpux_HtonlTests[] = {
3083 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3086 * Fix Command Arguments for Hpux_Htonl
3088 static const char* apzHpux_HtonlPatch[] = {
3094 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3096 * Description of Hpux_Long_Double fix
3098 tSCC zHpux_Long_DoubleName[] =
3102 * File name selection pattern
3104 tSCC zHpux_Long_DoubleList[] =
3107 * Machine/OS name selection pattern
3109 #define apzHpux_Long_DoubleMachs (const char**)NULL
3112 * content selection pattern - do fix if pattern found
3114 tSCC zHpux_Long_DoubleSelect0[] =
3115 "extern[ \t]long_double[ \t]strtold";
3118 * content bypass pattern - skip fix if pattern found
3120 tSCC zHpux_Long_DoubleBypass0[] =
3123 #define HPUX_LONG_DOUBLE_TEST_CT 2
3124 static tTestDesc aHpux_Long_DoubleTests[] = {
3125 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3126 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3129 * Fix Command Arguments for Hpux_Long_Double
3131 static const char* apzHpux_Long_DoublePatch[] = { "sed",
3132 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3133 "-e", "s/long_double/long double/g",
3136 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3138 * Description of Hpux_Systime fix
3140 tSCC zHpux_SystimeName[] =
3144 * File name selection pattern
3146 tSCC zHpux_SystimeList[] =
3149 * Machine/OS name selection pattern
3151 #define apzHpux_SystimeMachs (const char**)NULL
3154 * content selection pattern - do fix if pattern found
3156 tSCC zHpux_SystimeSelect0[] =
3157 "^extern struct sigevent;";
3159 #define HPUX_SYSTIME_TEST_CT 1
3160 static tTestDesc aHpux_SystimeTests[] = {
3161 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3164 * Fix Command Arguments for Hpux_Systime
3166 static const char* apzHpux_SystimePatch[] = {
3171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3173 * Description of Hpux_Spu_Info fix
3175 tSCC zHpux_Spu_InfoName[] =
3179 * File name selection pattern
3181 tSCC zHpux_Spu_InfoList[] =
3182 "ia64/sys/getppdp.h\0";
3184 * Machine/OS name selection pattern
3186 tSCC* apzHpux_Spu_InfoMachs[] = {
3188 (const char*)NULL };
3191 * content selection pattern - do fix if pattern found
3193 tSCC zHpux_Spu_InfoSelect0[] =
3194 "^.*extern.*spu_info.*";
3196 #define HPUX_SPU_INFO_TEST_CT 1
3197 static tTestDesc aHpux_Spu_InfoTests[] = {
3198 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3201 * Fix Command Arguments for Hpux_Spu_Info
3203 static const char* apzHpux_Spu_InfoPatch[] = {
3210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3212 * Description of Hpux11_Extern_Sendfile fix
3214 tSCC zHpux11_Extern_SendfileName[] =
3215 "hpux11_extern_sendfile";
3218 * File name selection pattern
3220 tSCC zHpux11_Extern_SendfileList[] =
3223 * Machine/OS name selection pattern
3225 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3226 "*-hp-hpux11.[12]*",
3227 (const char*)NULL };
3230 * content selection pattern - do fix if pattern found
3232 tSCC zHpux11_Extern_SendfileSelect0[] =
3233 "^[ \t]*extern sbsize_t sendfile.*\n\
3236 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3237 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3238 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3241 * Fix Command Arguments for Hpux11_Extern_Sendfile
3243 static const char* apzHpux11_Extern_SendfilePatch[] = {
3245 "#ifndef _APP32_64BIT_OFF_T\n\
3249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3251 * Description of Hpux11_Extern_Sendpath fix
3253 tSCC zHpux11_Extern_SendpathName[] =
3254 "hpux11_extern_sendpath";
3257 * File name selection pattern
3259 tSCC zHpux11_Extern_SendpathList[] =
3262 * Machine/OS name selection pattern
3264 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3265 "*-hp-hpux11.[12]*",
3266 (const char*)NULL };
3269 * content selection pattern - do fix if pattern found
3271 tSCC zHpux11_Extern_SendpathSelect0[] =
3272 "^[ \t]*extern sbsize_t sendpath.*\n\
3275 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3276 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3277 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3280 * Fix Command Arguments for Hpux11_Extern_Sendpath
3282 static const char* apzHpux11_Extern_SendpathPatch[] = {
3284 "#ifndef _APP32_64BIT_OFF_T\n\
3288 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3290 * Description of Hpux_Extern_Errno fix
3292 tSCC zHpux_Extern_ErrnoName[] =
3293 "hpux_extern_errno";
3296 * File name selection pattern
3298 tSCC zHpux_Extern_ErrnoList[] =
3301 * Machine/OS name selection pattern
3303 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3305 "*-hp-hpux11.[0-2]*",
3306 (const char*)NULL };
3309 * content selection pattern - do fix if pattern found
3311 tSCC zHpux_Extern_ErrnoSelect0[] =
3312 "^[ \t]*extern int errno;$";
3314 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3315 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3316 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3319 * Fix Command Arguments for Hpux_Extern_Errno
3321 static const char* apzHpux_Extern_ErrnoPatch[] = {
3323 "#ifdef __cplusplus\n\
3327 #ifdef __cplusplus\n\
3332 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3334 * Description of Hpux_Pthread_Initializers fix
3336 tSCC zHpux_Pthread_InitializersName[] =
3337 "hpux_pthread_initializers";
3340 * File name selection pattern
3342 tSCC zHpux_Pthread_InitializersList[] =
3345 * Machine/OS name selection pattern
3347 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3348 "*-hp-hpux11.[0-3]*",
3349 (const char*)NULL };
3350 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3351 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3354 * Fix Command Arguments for Hpux_Pthread_Initializers
3356 static const char* apzHpux_Pthread_InitializersPatch[] = { "sed",
3357 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3358 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3359 "-e", "/^[ \t]*0$/d",
3360 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3361 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3362 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3363 "-e", "s@^[ \t]*__LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@\t{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3364 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3365 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3366 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3367 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3368 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3369 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3372 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3374 * Description of Huge_Val_Hex fix
3376 tSCC zHuge_Val_HexName[] =
3380 * File name selection pattern
3382 tSCC zHuge_Val_HexList[] =
3383 "bits/huge_val.h\0";
3385 * Machine/OS name selection pattern
3387 #define apzHuge_Val_HexMachs (const char**)NULL
3390 * content selection pattern - do fix if pattern found
3392 tSCC zHuge_Val_HexSelect0[] =
3393 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
3396 * content bypass pattern - skip fix if pattern found
3398 tSCC zHuge_Val_HexBypass0[] =
3399 "__builtin_huge_val";
3401 #define HUGE_VAL_HEX_TEST_CT 2
3402 static tTestDesc aHuge_Val_HexTests[] = {
3403 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
3404 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
3407 * Fix Command Arguments for Huge_Val_Hex
3409 static const char* apzHuge_Val_HexPatch[] = {
3411 "#define HUGE_VAL (__builtin_huge_val())\n",
3414 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3416 * Description of Huge_Valf_Hex fix
3418 tSCC zHuge_Valf_HexName[] =
3422 * File name selection pattern
3424 tSCC zHuge_Valf_HexList[] =
3425 "bits/huge_val.h\0";
3427 * Machine/OS name selection pattern
3429 #define apzHuge_Valf_HexMachs (const char**)NULL
3432 * content selection pattern - do fix if pattern found
3434 tSCC zHuge_Valf_HexSelect0[] =
3435 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
3438 * content bypass pattern - skip fix if pattern found
3440 tSCC zHuge_Valf_HexBypass0[] =
3441 "__builtin_huge_valf";
3443 #define HUGE_VALF_HEX_TEST_CT 2
3444 static tTestDesc aHuge_Valf_HexTests[] = {
3445 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
3446 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
3449 * Fix Command Arguments for Huge_Valf_Hex
3451 static const char* apzHuge_Valf_HexPatch[] = {
3453 "#define HUGE_VALF (__builtin_huge_valf())\n",
3456 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3458 * Description of Huge_Vall_Hex fix
3460 tSCC zHuge_Vall_HexName[] =
3464 * File name selection pattern
3466 tSCC zHuge_Vall_HexList[] =
3467 "bits/huge_val.h\0";
3469 * Machine/OS name selection pattern
3471 #define apzHuge_Vall_HexMachs (const char**)NULL
3474 * content selection pattern - do fix if pattern found
3476 tSCC zHuge_Vall_HexSelect0[] =
3477 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
3480 * content bypass pattern - skip fix if pattern found
3482 tSCC zHuge_Vall_HexBypass0[] =
3483 "__builtin_huge_vall";
3485 #define HUGE_VALL_HEX_TEST_CT 2
3486 static tTestDesc aHuge_Vall_HexTests[] = {
3487 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
3488 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
3491 * Fix Command Arguments for Huge_Vall_Hex
3493 static const char* apzHuge_Vall_HexPatch[] = {
3495 "#define HUGE_VALL (__builtin_huge_vall())\n",
3498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3500 * Description of Int_Abort_Free_And_Exit fix
3502 tSCC zInt_Abort_Free_And_ExitName[] =
3503 "int_abort_free_and_exit";
3506 * File name selection pattern
3508 tSCC zInt_Abort_Free_And_ExitList[] =
3511 * Machine/OS name selection pattern
3513 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
3516 * content selection pattern - do fix if pattern found
3518 tSCC zInt_Abort_Free_And_ExitSelect0[] =
3519 "int[ \t]+(abort|free|exit)[ \t]*\\(";
3522 * content bypass pattern - skip fix if pattern found
3524 tSCC zInt_Abort_Free_And_ExitBypass0[] =
3525 "_CLASSIC_ANSI_TYPES";
3527 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
3528 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
3529 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
3530 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
3533 * Fix Command Arguments for Int_Abort_Free_And_Exit
3535 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
3540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3542 * Description of Io_Quotes_Def fix
3544 tSCC zIo_Quotes_DefName[] =
3548 * File name selection pattern
3550 #define zIo_Quotes_DefList (char*)NULL
3552 * Machine/OS name selection pattern
3554 #define apzIo_Quotes_DefMachs (const char**)NULL
3557 * content selection pattern - do fix if pattern found
3559 tSCC zIo_Quotes_DefSelect0[] =
3560 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
3562 #define IO_QUOTES_DEF_TEST_CT 1
3563 static tTestDesc aIo_Quotes_DefTests[] = {
3564 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
3567 * Fix Command Arguments for Io_Quotes_Def
3569 static const char* apzIo_Quotes_DefPatch[] = {
3574 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3576 * Description of Io_Quotes_Use fix
3578 tSCC zIo_Quotes_UseName[] =
3582 * File name selection pattern
3584 #define zIo_Quotes_UseList (char*)NULL
3586 * Machine/OS name selection pattern
3588 #define apzIo_Quotes_UseMachs (const char**)NULL
3591 * content selection pattern - do fix if pattern found
3593 tSCC zIo_Quotes_UseSelect0[] =
3594 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
3596 #define IO_QUOTES_USE_TEST_CT 1
3597 static tTestDesc aIo_Quotes_UseTests[] = {
3598 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
3601 * Fix Command Arguments for Io_Quotes_Use
3603 static const char* apzIo_Quotes_UsePatch[] = {
3608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3610 * Description of Ip_Missing_Semi fix
3612 tSCC zIp_Missing_SemiName[] =
3616 * File name selection pattern
3618 tSCC zIp_Missing_SemiList[] =
3621 * Machine/OS name selection pattern
3623 #define apzIp_Missing_SemiMachs (const char**)NULL
3626 * content selection pattern - do fix if pattern found
3628 tSCC zIp_Missing_SemiSelect0[] =
3631 #define IP_MISSING_SEMI_TEST_CT 1
3632 static tTestDesc aIp_Missing_SemiTests[] = {
3633 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
3636 * Fix Command Arguments for Ip_Missing_Semi
3638 static const char* apzIp_Missing_SemiPatch[] = { "sed",
3639 "-e", "/^struct/,/^};/s/}$/};/",
3642 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3644 * Description of Irix___Restrict fix
3646 tSCC zIrix___RestrictName[] =
3650 * File name selection pattern
3652 tSCC zIrix___RestrictList[] =
3653 "internal/sgimacros.h\0";
3655 * Machine/OS name selection pattern
3657 tSCC* apzIrix___RestrictMachs[] = {
3659 (const char*)NULL };
3662 * content selection pattern - do fix if pattern found
3664 tSCC zIrix___RestrictSelect0[] =
3666 )(#[ \t]*define __restrict restrict)";
3668 #define IRIX___RESTRICT_TEST_CT 1
3669 static tTestDesc aIrix___RestrictTests[] = {
3670 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
3673 * Fix Command Arguments for Irix___Restrict
3675 static const char* apzIrix___RestrictPatch[] = {
3677 "%1# ifndef __cplusplus\n\
3682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3684 * Description of Irix___Generic1 fix
3686 tSCC zIrix___Generic1Name[] =
3690 * File name selection pattern
3692 tSCC zIrix___Generic1List[] =
3693 "internal/math_core.h\0";
3695 * Machine/OS name selection pattern
3697 tSCC* apzIrix___Generic1Machs[] = {
3699 (const char*)NULL };
3702 * content selection pattern - do fix if pattern found
3704 tSCC zIrix___Generic1Select0[] =
3705 "#define ([a-z]+)\\(x\\) *__generic.*";
3707 #define IRIX___GENERIC1_TEST_CT 1
3708 static tTestDesc aIrix___Generic1Tests[] = {
3709 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
3712 * Fix Command Arguments for Irix___Generic1
3714 static const char* apzIrix___Generic1Patch[] = {
3716 "extern int %1(double);\n\
3717 extern int %1f(float);\n\
3718 extern int %1l(long double);\n\
3719 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
3720 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
3724 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3726 * Description of Irix___Generic2 fix
3728 tSCC zIrix___Generic2Name[] =
3732 * File name selection pattern
3734 tSCC zIrix___Generic2List[] =
3735 "internal/math_core.h\0";
3737 * Machine/OS name selection pattern
3739 tSCC* apzIrix___Generic2Machs[] = {
3741 (const char*)NULL };
3744 * content selection pattern - do fix if pattern found
3746 tSCC zIrix___Generic2Select0[] =
3747 "#define ([a-z]+)\\(x,y\\) *__generic.*";
3749 #define IRIX___GENERIC2_TEST_CT 1
3750 static tTestDesc aIrix___Generic2Tests[] = {
3751 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
3754 * Fix Command Arguments for Irix___Generic2
3756 static const char* apzIrix___Generic2Patch[] = {
3758 "#define %1(x,y) \\\n\
3759 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
3760 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
3764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3766 * Description of Irix_Asm_Apostrophe fix
3768 tSCC zIrix_Asm_ApostropheName[] =
3769 "irix_asm_apostrophe";
3772 * File name selection pattern
3774 tSCC zIrix_Asm_ApostropheList[] =
3777 * Machine/OS name selection pattern
3779 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3782 * content selection pattern - do fix if pattern found
3784 tSCC zIrix_Asm_ApostropheSelect0[] =
3785 "^[ \t]*#.*[Ww]e're";
3787 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3788 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3789 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3792 * Fix Command Arguments for Irix_Asm_Apostrophe
3794 static const char* apzIrix_Asm_ApostrophePatch[] = {
3797 "^([ \t]*#.*[Ww]e)'re",
3800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3802 * Description of Irix_Limits_Const fix
3804 tSCC zIrix_Limits_ConstName[] =
3805 "irix_limits_const";
3808 * File name selection pattern
3810 tSCC zIrix_Limits_ConstList[] =
3811 "fixinc-test-limits.h\0limits.h\0";
3813 * Machine/OS name selection pattern
3815 #define apzIrix_Limits_ConstMachs (const char**)NULL
3818 * content selection pattern - do fix if pattern found
3820 tSCC zIrix_Limits_ConstSelect0[] =
3823 #define IRIX_LIMITS_CONST_TEST_CT 1
3824 static tTestDesc aIrix_Limits_ConstTests[] = {
3825 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3828 * Fix Command Arguments for Irix_Limits_Const
3830 static const char* apzIrix_Limits_ConstPatch[] = {
3835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3837 * Description of Irix_Socklen_T fix
3839 tSCC zIrix_Socklen_TName[] =
3843 * File name selection pattern
3845 tSCC zIrix_Socklen_TList[] =
3848 * Machine/OS name selection pattern
3850 tSCC* apzIrix_Socklen_TMachs[] = {
3852 (const char*)NULL };
3855 * content selection pattern - do fix if pattern found
3857 tSCC zIrix_Socklen_TSelect0[] =
3858 "(#define _SOCKLEN_T\n\
3859 )(typedef u_int32_t socklen_t;)";
3861 #define IRIX_SOCKLEN_T_TEST_CT 1
3862 static tTestDesc aIrix_Socklen_TTests[] = {
3863 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3866 * Fix Command Arguments for Irix_Socklen_T
3868 static const char* apzIrix_Socklen_TPatch[] = {
3870 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3871 typedef int socklen_t;\n\
3874 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3879 * Description of Irix_Stdio_Va_List fix
3881 tSCC zIrix_Stdio_Va_ListName[] =
3882 "irix_stdio_va_list";
3885 * File name selection pattern
3887 tSCC zIrix_Stdio_Va_ListList[] =
3888 "stdio.h\0internal/stdio_core.h\0";
3890 * Machine/OS name selection pattern
3892 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3895 * content selection pattern - do fix if pattern found
3897 tSCC zIrix_Stdio_Va_ListSelect0[] =
3898 "/\\* va_list \\*/ char \\*";
3900 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3901 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3902 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3905 * Fix Command Arguments for Irix_Stdio_Va_List
3907 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3912 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3914 * Description of Irix_Wcsftime fix
3916 tSCC zIrix_WcsftimeName[] =
3920 * File name selection pattern
3922 tSCC zIrix_WcsftimeList[] =
3923 "internal/wchar_core.h\0";
3925 * Machine/OS name selection pattern
3927 tSCC* apzIrix_WcsftimeMachs[] = {
3929 (const char*)NULL };
3932 * content selection pattern - do fix if pattern found
3934 tSCC zIrix_WcsftimeSelect0[] =
3936 (extern size_t[ \t]+wcsftime.*const char *.*)";
3938 #define IRIX_WCSFTIME_TEST_CT 1
3939 static tTestDesc aIrix_WcsftimeTests[] = {
3940 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
3943 * Fix Command Arguments for Irix_Wcsftime
3945 static const char* apzIrix_WcsftimePatch[] = {
3947 "#if _NO_XOPEN5 && !defined(__c99)\n\
3951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3953 * Description of Isc_Fmod fix
3955 tSCC zIsc_FmodName[] =
3959 * File name selection pattern
3961 tSCC zIsc_FmodList[] =
3964 * Machine/OS name selection pattern
3966 #define apzIsc_FmodMachs (const char**)NULL
3969 * content selection pattern - do fix if pattern found
3971 tSCC zIsc_FmodSelect0[] =
3974 #define ISC_FMOD_TEST_CT 1
3975 static tTestDesc aIsc_FmodTests[] = {
3976 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
3979 * Fix Command Arguments for Isc_Fmod
3981 static const char* apzIsc_FmodPatch[] = {
3983 "fmod(double, double)",
3986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3988 * Description of Isc_Omits_With_Stdc fix
3990 tSCC zIsc_Omits_With_StdcName[] =
3991 "isc_omits_with_stdc";
3994 * File name selection pattern
3996 tSCC zIsc_Omits_With_StdcList[] =
3997 "stdio.h\0math.h\0ctype.h\0sys/limits.h\0sys/fcntl.h\0sys/dirent.h\0";
3999 * Machine/OS name selection pattern
4001 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
4004 * content selection pattern - do fix if pattern found
4006 tSCC zIsc_Omits_With_StdcSelect0[] =
4007 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
4009 #define ISC_OMITS_WITH_STDC_TEST_CT 1
4010 static tTestDesc aIsc_Omits_With_StdcTests[] = {
4011 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
4014 * Fix Command Arguments for Isc_Omits_With_Stdc
4016 static const char* apzIsc_Omits_With_StdcPatch[] = {
4018 "!defined(_POSIX_SOURCE)",
4021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4023 * Description of Kandr_Concat fix
4025 tSCC zKandr_ConcatName[] =
4029 * File name selection pattern
4031 tSCC zKandr_ConcatList[] =
4032 "sparc/asm_linkage.h\0sun*/asm_linkage.h\0arm/as_support.h\0arm/mc_type.h\0arm/xcb.h\0dev/chardefmac.h\0dev/ps_irq.h\0dev/screen.h\0dev/scsi.h\0sys/tty.h\0Xm.acorn/XmP.h\0bsd43/bsd43_.h\0";
4034 * Machine/OS name selection pattern
4036 #define apzKandr_ConcatMachs (const char**)NULL
4039 * content selection pattern - do fix if pattern found
4041 tSCC zKandr_ConcatSelect0[] =
4044 #define KANDR_CONCAT_TEST_CT 1
4045 static tTestDesc aKandr_ConcatTests[] = {
4046 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4049 * Fix Command Arguments for Kandr_Concat
4051 static const char* apzKandr_ConcatPatch[] = {
4056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4058 * Description of Libc1_G_Va_List fix
4060 tSCC zLibc1_G_Va_ListName[] =
4064 * File name selection pattern
4066 tSCC zLibc1_G_Va_ListList[] =
4069 * Machine/OS name selection pattern
4071 tSCC* apzLibc1_G_Va_ListMachs[] = {
4073 (const char*)NULL };
4076 * content selection pattern - do fix if pattern found
4078 tSCC zLibc1_G_Va_ListSelect0[] =
4079 "typedef void \\* _G_va_list;";
4081 #define LIBC1_G_VA_LIST_TEST_CT 1
4082 static tTestDesc aLibc1_G_Va_ListTests[] = {
4083 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
4086 * Fix Command Arguments for Libc1_G_Va_List
4088 static const char* apzLibc1_G_Va_ListPatch[] = {
4090 "typedef __builtin_va_list _G_va_list;",
4093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4095 * Description of Libc1_Ifdefd_Memx fix
4097 tSCC zLibc1_Ifdefd_MemxName[] =
4098 "libc1_ifdefd_memx";
4101 * File name selection pattern
4103 tSCC zLibc1_Ifdefd_MemxList[] =
4104 "testing.h\0string.h\0";
4106 * Machine/OS name selection pattern
4108 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
4111 * content selection pattern - do fix if pattern found
4113 tSCC zLibc1_Ifdefd_MemxSelect0[] =
4114 "' is a built-in function for gcc 2\\.x\\. \\*/";
4117 * content bypass pattern - skip fix if pattern found
4119 tSCC zLibc1_Ifdefd_MemxBypass0[] =
4122 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
4123 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
4124 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
4125 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
4128 * Fix Command Arguments for Libc1_Ifdefd_Memx
4130 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
4133 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
4134 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
4136 extern [a-z_]+ mem.*(\n\
4141 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4143 * Description of Linux_Ia64_Ucontext fix
4145 tSCC zLinux_Ia64_UcontextName[] =
4146 "linux_ia64_ucontext";
4149 * File name selection pattern
4151 tSCC zLinux_Ia64_UcontextList[] =
4154 * Machine/OS name selection pattern
4156 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4158 (const char*)NULL };
4161 * content selection pattern - do fix if pattern found
4163 tSCC zLinux_Ia64_UcontextSelect0[] =
4164 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4166 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4167 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4168 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4171 * Fix Command Arguments for Linux_Ia64_Ucontext
4173 static const char* apzLinux_Ia64_UcontextPatch[] = {
4175 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4180 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4182 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4183 "lynxos_no_warning_in_sys_time_h";
4186 * File name selection pattern
4188 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4191 * Machine/OS name selection pattern
4193 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4196 * content selection pattern - do fix if pattern found
4198 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4199 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4201 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4202 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4203 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4206 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4208 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4213 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4215 * Description of Lynxos_Missing_Putenv fix
4217 tSCC zLynxos_Missing_PutenvName[] =
4218 "lynxos_missing_putenv";
4221 * File name selection pattern
4223 tSCC zLynxos_Missing_PutenvList[] =
4226 * Machine/OS name selection pattern
4228 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4230 (const char*)NULL };
4233 * content selection pattern - do fix if pattern found
4235 tSCC zLynxos_Missing_PutenvSelect0[] =
4236 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4239 * content bypass pattern - skip fix if pattern found
4241 tSCC zLynxos_Missing_PutenvBypass0[] =
4244 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4245 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4246 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4247 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4250 * Fix Command Arguments for Lynxos_Missing_Putenv
4252 static const char* apzLynxos_Missing_PutenvPatch[] = {
4255 extern int putenv\t\t\t\t_AP((char *));",
4256 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4259 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4261 * Description of Machine_Ansi_H_Va_List fix
4263 tSCC zMachine_Ansi_H_Va_ListName[] =
4264 "machine_ansi_h_va_list";
4267 * File name selection pattern
4269 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4271 * Machine/OS name selection pattern
4273 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4276 * content selection pattern - do fix if pattern found
4278 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4279 "define[ \t]+_BSD_VA_LIST_[ \t]";
4282 * content bypass pattern - skip fix if pattern found
4284 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4285 "__builtin_va_list";
4287 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4288 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4289 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4290 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4293 * Fix Command Arguments for Machine_Ansi_H_Va_List
4295 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4297 "%1__builtin_va_list",
4298 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4303 * Description of Machine_Name fix
4305 tSCC zMachine_NameName[] =
4309 * File name selection pattern
4311 #define zMachine_NameList (char*)NULL
4313 * Machine/OS name selection pattern
4315 #define apzMachine_NameMachs (const char**)NULL
4318 * perform the C function call test
4320 tSCC zMachine_NameFTst0[] = "machine_name";
4322 #define MACHINE_NAME_TEST_CT 1
4323 static tTestDesc aMachine_NameTests[] = {
4324 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4327 * Fix Command Arguments for Machine_Name
4329 static const char* apzMachine_NamePatch[] = {
4333 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4335 * Description of Math_Exception fix
4337 tSCC zMath_ExceptionName[] =
4341 * File name selection pattern
4343 tSCC zMath_ExceptionList[] =
4346 * Machine/OS name selection pattern
4348 #define apzMath_ExceptionMachs (const char**)NULL
4351 * content selection pattern - do fix if pattern found
4353 tSCC zMath_ExceptionSelect0[] =
4357 * content bypass pattern - skip fix if pattern found
4359 tSCC zMath_ExceptionBypass0[] =
4360 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4362 #define MATH_EXCEPTION_TEST_CT 2
4363 static tTestDesc aMath_ExceptionTests[] = {
4364 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4365 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4368 * Fix Command Arguments for Math_Exception
4370 static const char* apzMath_ExceptionPatch[] = {
4372 "#ifdef __cplusplus\n\
4373 #define exception __math_exception\n\
4375 "#ifdef __cplusplus\n\
4380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4382 * Description of Math_Huge_Val_From_Dbl_Max fix
4384 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4385 "math_huge_val_from_dbl_max";
4388 * File name selection pattern
4390 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4393 * Machine/OS name selection pattern
4395 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4398 * content selection pattern - do fix if pattern found
4400 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4401 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4404 * content bypass pattern - skip fix if pattern found
4406 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4407 "define[ \t]+DBL_MAX";
4409 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4410 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4411 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4412 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4415 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4417 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4418 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4419 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4420 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4425 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4427 * Description of Nested_Auth_Des fix
4429 tSCC zNested_Auth_DesName[] =
4433 * File name selection pattern
4435 tSCC zNested_Auth_DesList[] =
4438 * Machine/OS name selection pattern
4440 #define apzNested_Auth_DesMachs (const char**)NULL
4443 * content selection pattern - do fix if pattern found
4445 tSCC zNested_Auth_DesSelect0[] =
4446 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4448 #define NESTED_AUTH_DES_TEST_CT 1
4449 static tTestDesc aNested_Auth_DesTests[] = {
4450 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4453 * Fix Command Arguments for Nested_Auth_Des
4455 static const char* apzNested_Auth_DesPatch[] = {
4460 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4462 * Description of Nested_Motorola fix
4464 tSCC zNested_MotorolaName[] =
4468 * File name selection pattern
4470 tSCC zNested_MotorolaList[] =
4471 "sys/limits.h\0limits.h\0";
4473 * Machine/OS name selection pattern
4475 tSCC* apzNested_MotorolaMachs[] = {
4476 "m68k-motorola-sysv*",
4477 (const char*)NULL };
4480 * content selection pattern - do fix if pattern found
4482 tSCC zNested_MotorolaSelect0[] =
4483 "max # bytes atomic in write|error value returned by Math lib";
4485 #define NESTED_MOTOROLA_TEST_CT 1
4486 static tTestDesc aNested_MotorolaTests[] = {
4487 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
4490 * Fix Command Arguments for Nested_Motorola
4492 static const char* apzNested_MotorolaPatch[] = { "sed",
4493 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
4494 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
4497 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4499 * Description of Nested_Sys_Limits fix
4501 tSCC zNested_Sys_LimitsName[] =
4502 "nested_sys_limits";
4505 * File name selection pattern
4507 tSCC zNested_Sys_LimitsList[] =
4510 * Machine/OS name selection pattern
4512 #define apzNested_Sys_LimitsMachs (const char**)NULL
4515 * content selection pattern - do fix if pattern found
4517 tSCC zNested_Sys_LimitsSelect0[] =
4520 #define NESTED_SYS_LIMITS_TEST_CT 1
4521 static tTestDesc aNested_Sys_LimitsTests[] = {
4522 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
4525 * Fix Command Arguments for Nested_Sys_Limits
4527 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
4528 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
4529 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
4532 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4534 * Description of Netbsd_C99_Inline_1 fix
4536 tSCC zNetbsd_C99_Inline_1Name[] =
4537 "netbsd_c99_inline_1";
4540 * File name selection pattern
4542 tSCC zNetbsd_C99_Inline_1List[] =
4545 * Machine/OS name selection pattern
4547 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
4549 (const char*)NULL };
4552 * content selection pattern - do fix if pattern found
4554 tSCC zNetbsd_C99_Inline_1Select0[] =
4555 "extern __inline int";
4557 #define NETBSD_C99_INLINE_1_TEST_CT 1
4558 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
4559 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
4562 * Fix Command Arguments for Netbsd_C99_Inline_1
4564 static const char* apzNetbsd_C99_Inline_1Patch[] = {
4567 #ifdef __GNUC_STDC_INLINE__\n\
4568 __attribute__((__gnu_inline__))\n\
4573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4575 * Description of Netbsd_Extra_Semicolon fix
4577 tSCC zNetbsd_Extra_SemicolonName[] =
4578 "netbsd_extra_semicolon";
4581 * File name selection pattern
4583 tSCC zNetbsd_Extra_SemicolonList[] =
4586 * Machine/OS name selection pattern
4588 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4590 (const char*)NULL };
4593 * content selection pattern - do fix if pattern found
4595 tSCC zNetbsd_Extra_SemicolonSelect0[] =
4596 "#define[ \t]*__END_DECLS[ \t]*};";
4598 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
4599 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
4600 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
4603 * Fix Command Arguments for Netbsd_Extra_Semicolon
4605 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
4607 "#define __END_DECLS }",
4610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4612 * Description of Next_Math_Prefix fix
4614 tSCC zNext_Math_PrefixName[] =
4618 * File name selection pattern
4620 tSCC zNext_Math_PrefixList[] =
4623 * Machine/OS name selection pattern
4625 #define apzNext_Math_PrefixMachs (const char**)NULL
4628 * content selection pattern - do fix if pattern found
4630 tSCC zNext_Math_PrefixSelect0[] =
4631 "^extern[ \t]+double[ \t]+__const__[ \t]";
4633 #define NEXT_MATH_PREFIX_TEST_CT 1
4634 static tTestDesc aNext_Math_PrefixTests[] = {
4635 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
4638 * Fix Command Arguments for Next_Math_Prefix
4640 static const char* apzNext_Math_PrefixPatch[] = {
4642 "extern double %1(",
4643 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
4646 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4648 * Description of Next_Template fix
4650 tSCC zNext_TemplateName[] =
4654 * File name selection pattern
4656 tSCC zNext_TemplateList[] =
4659 * Machine/OS name selection pattern
4661 #define apzNext_TemplateMachs (const char**)NULL
4664 * content selection pattern - do fix if pattern found
4666 tSCC zNext_TemplateSelect0[] =
4669 #define NEXT_TEMPLATE_TEST_CT 1
4670 static tTestDesc aNext_TemplateTests[] = {
4671 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
4674 * Fix Command Arguments for Next_Template
4676 static const char* apzNext_TemplatePatch[] = {
4679 "\\(([^)]*)[ \t]template\\)",
4682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4684 * Description of Next_Volitile fix
4686 tSCC zNext_VolitileName[] =
4690 * File name selection pattern
4692 tSCC zNext_VolitileList[] =
4695 * Machine/OS name selection pattern
4697 #define apzNext_VolitileMachs (const char**)NULL
4700 * content selection pattern - do fix if pattern found
4702 tSCC zNext_VolitileSelect0[] =
4703 "^extern[ \t]+volatile[ \t]+void[ \t]";
4705 #define NEXT_VOLITILE_TEST_CT 1
4706 static tTestDesc aNext_VolitileTests[] = {
4707 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
4710 * Fix Command Arguments for Next_Volitile
4712 static const char* apzNext_VolitilePatch[] = {
4715 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
4718 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4720 * Description of Next_Wait_Union fix
4722 tSCC zNext_Wait_UnionName[] =
4726 * File name selection pattern
4728 tSCC zNext_Wait_UnionList[] =
4731 * Machine/OS name selection pattern
4733 #define apzNext_Wait_UnionMachs (const char**)NULL
4736 * content selection pattern - do fix if pattern found
4738 tSCC zNext_Wait_UnionSelect0[] =
4739 "wait\\(union wait";
4741 #define NEXT_WAIT_UNION_TEST_CT 1
4742 static tTestDesc aNext_Wait_UnionTests[] = {
4743 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
4746 * Fix Command Arguments for Next_Wait_Union
4748 static const char* apzNext_Wait_UnionPatch[] = {
4753 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4755 * Description of Nodeent_Syntax fix
4757 tSCC zNodeent_SyntaxName[] =
4761 * File name selection pattern
4763 tSCC zNodeent_SyntaxList[] =
4764 "netdnet/dnetdb.h\0";
4766 * Machine/OS name selection pattern
4768 #define apzNodeent_SyntaxMachs (const char**)NULL
4771 * content selection pattern - do fix if pattern found
4773 tSCC zNodeent_SyntaxSelect0[] =
4774 "char[ \t]*\\*na_addr[ \t]*$";
4776 #define NODEENT_SYNTAX_TEST_CT 1
4777 static tTestDesc aNodeent_SyntaxTests[] = {
4778 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
4781 * Fix Command Arguments for Nodeent_Syntax
4783 static const char* apzNodeent_SyntaxPatch[] = {
4788 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4790 * Description of Obstack_Lvalue_Cast fix
4792 tSCC zObstack_Lvalue_CastName[] =
4793 "obstack_lvalue_cast";
4796 * File name selection pattern
4798 tSCC zObstack_Lvalue_CastList[] =
4801 * Machine/OS name selection pattern
4803 #define apzObstack_Lvalue_CastMachs (const char**)NULL
4806 * content selection pattern - do fix if pattern found
4808 tSCC zObstack_Lvalue_CastSelect0[] =
4809 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
4811 #define OBSTACK_LVALUE_CAST_TEST_CT 1
4812 static tTestDesc aObstack_Lvalue_CastTests[] = {
4813 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
4816 * Fix Command Arguments for Obstack_Lvalue_Cast
4818 static const char* apzObstack_Lvalue_CastPatch[] = {
4820 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
4823 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4825 * Description of Osf_Namespace_A fix
4827 tSCC zOsf_Namespace_AName[] =
4831 * File name selection pattern
4833 tSCC zOsf_Namespace_AList[] =
4834 "reg_types.h\0sys/lc_core.h\0";
4836 * Machine/OS name selection pattern
4838 #define apzOsf_Namespace_AMachs (const char**)NULL
4841 * perform the 'test' shell command - do fix on success
4843 tSCC zOsf_Namespace_ATest0[] =
4845 tSCC zOsf_Namespace_ATest1[] =
4846 " -r sys/lc_core.h";
4847 tSCC zOsf_Namespace_ATest2[] =
4848 " -n \"`grep '} regex_t;' reg_types.h`\"";
4849 tSCC zOsf_Namespace_ATest3[] =
4850 " -z \"`grep __regex_t regex.h`\"";
4852 #define OSF_NAMESPACE_A_TEST_CT 4
4853 static tTestDesc aOsf_Namespace_ATests[] = {
4854 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4855 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4856 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4857 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4860 * Fix Command Arguments for Osf_Namespace_A
4862 static const char* apzOsf_Namespace_APatch[] = {
4865 "reg(ex|off|match)_t",
4868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4870 * Description of Osf_Namespace_C fix
4872 tSCC zOsf_Namespace_CName[] =
4876 * File name selection pattern
4878 tSCC zOsf_Namespace_CList[] =
4881 * Machine/OS name selection pattern
4883 #define apzOsf_Namespace_CMachs (const char**)NULL
4886 * content selection pattern - do fix if pattern found
4888 tSCC zOsf_Namespace_CSelect0[] =
4889 "#include <reg_types.h>.*";
4892 * perform the 'test' shell command - do fix on success
4894 tSCC zOsf_Namespace_CTest0[] =
4896 tSCC zOsf_Namespace_CTest1[] =
4897 " -r sys/lc_core.h";
4898 tSCC zOsf_Namespace_CTest2[] =
4899 " -n \"`grep '} regex_t;' reg_types.h`\"";
4900 tSCC zOsf_Namespace_CTest3[] =
4901 " -z \"`grep __regex_t regex.h`\"";
4903 #define OSF_NAMESPACE_C_TEST_CT 5
4904 static tTestDesc aOsf_Namespace_CTests[] = {
4905 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
4906 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
4907 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
4908 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
4909 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
4912 * Fix Command Arguments for Osf_Namespace_C
4914 static const char* apzOsf_Namespace_CPatch[] = {
4917 typedef __regex_t\tregex_t;\n\
4918 typedef __regoff_t\tregoff_t;\n\
4919 typedef __regmatch_t\tregmatch_t;",
4922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4924 * Description of Pthread_Page_Size fix
4926 tSCC zPthread_Page_SizeName[] =
4927 "pthread_page_size";
4930 * File name selection pattern
4932 tSCC zPthread_Page_SizeList[] =
4935 * Machine/OS name selection pattern
4937 #define apzPthread_Page_SizeMachs (const char**)NULL
4940 * content selection pattern - do fix if pattern found
4942 tSCC zPthread_Page_SizeSelect0[] =
4945 #define PTHREAD_PAGE_SIZE_TEST_CT 1
4946 static tTestDesc aPthread_Page_SizeTests[] = {
4947 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
4950 * Fix Command Arguments for Pthread_Page_Size
4952 static const char* apzPthread_Page_SizePatch[] = {
4957 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4959 * Description of Pthread_Incomplete_Struct_Argument fix
4961 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
4962 "pthread_incomplete_struct_argument";
4965 * File name selection pattern
4967 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
4970 * Machine/OS name selection pattern
4972 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
4975 * content selection pattern - do fix if pattern found
4977 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
4978 "struct __jmp_buf_tag";
4980 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
4981 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
4982 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
4985 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
4987 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
4990 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
4993 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4995 * Description of Read_Ret_Type fix
4997 tSCC zRead_Ret_TypeName[] =
5001 * File name selection pattern
5003 tSCC zRead_Ret_TypeList[] =
5006 * Machine/OS name selection pattern
5008 #define apzRead_Ret_TypeMachs (const char**)NULL
5011 * content selection pattern - do fix if pattern found
5013 tSCC zRead_Ret_TypeSelect0[] =
5014 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5016 #define READ_RET_TYPE_TEST_CT 1
5017 static tTestDesc aRead_Ret_TypeTests[] = {
5018 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5021 * Fix Command Arguments for Read_Ret_Type
5023 static const char* apzRead_Ret_TypePatch[] = {
5025 "extern unsigned int fread(), fwrite();\n\
5027 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5032 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5034 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5035 "rpc_xdr_lvalue_cast_a";
5038 * File name selection pattern
5040 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5043 * Machine/OS name selection pattern
5045 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5048 * content selection pattern - do fix if pattern found
5050 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5051 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5054 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5055 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5056 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5059 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5061 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5063 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5068 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5070 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5071 "rpc_xdr_lvalue_cast_b";
5074 * File name selection pattern
5076 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5079 * Machine/OS name selection pattern
5081 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5084 * content selection pattern - do fix if pattern found
5086 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5087 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5090 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5091 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5092 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5095 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5097 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5099 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5104 * Description of Rs6000_Double fix
5106 tSCC zRs6000_DoubleName[] =
5110 * File name selection pattern
5112 tSCC zRs6000_DoubleList[] =
5115 * Machine/OS name selection pattern
5117 #define apzRs6000_DoubleMachs (const char**)NULL
5120 * content selection pattern - do fix if pattern found
5122 tSCC zRs6000_DoubleSelect0[] =
5123 "[^a-zA-Z_]class\\(";
5125 #define RS6000_DOUBLE_TEST_CT 1
5126 static tTestDesc aRs6000_DoubleTests[] = {
5127 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5130 * Fix Command Arguments for Rs6000_Double
5132 static const char* apzRs6000_DoublePatch[] = {
5134 "#ifndef __cplusplus\n\
5137 "^.*[^a-zA-Z_]class\\(.*",
5140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5142 * Description of Rs6000_Fchmod fix
5144 tSCC zRs6000_FchmodName[] =
5148 * File name selection pattern
5150 tSCC zRs6000_FchmodList[] =
5153 * Machine/OS name selection pattern
5155 #define apzRs6000_FchmodMachs (const char**)NULL
5158 * content selection pattern - do fix if pattern found
5160 tSCC zRs6000_FchmodSelect0[] =
5161 "fchmod\\(char \\*";
5163 #define RS6000_FCHMOD_TEST_CT 1
5164 static tTestDesc aRs6000_FchmodTests[] = {
5165 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5168 * Fix Command Arguments for Rs6000_Fchmod
5170 static const char* apzRs6000_FchmodPatch[] = {
5175 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5177 * Description of Rs6000_Param fix
5179 tSCC zRs6000_ParamName[] =
5183 * File name selection pattern
5185 tSCC zRs6000_ParamList[] =
5186 "stdio.h\0unistd.h\0";
5188 * Machine/OS name selection pattern
5190 #define apzRs6000_ParamMachs (const char**)NULL
5193 * content selection pattern - do fix if pattern found
5195 tSCC zRs6000_ParamSelect0[] =
5196 "rename\\(const char \\*old, const char \\*new\\)";
5198 #define RS6000_PARAM_TEST_CT 1
5199 static tTestDesc aRs6000_ParamTests[] = {
5200 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5203 * Fix Command Arguments for Rs6000_Param
5205 static const char* apzRs6000_ParamPatch[] = {
5207 "rename(const char *_old, const char *_new)",
5210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5212 * Description of Sco_Math fix
5214 tSCC zSco_MathName[] =
5218 * File name selection pattern
5220 tSCC zSco_MathList[] =
5221 "math.h\0*/math.h\0";
5223 * Machine/OS name selection pattern
5225 #define apzSco_MathMachs (const char**)NULL
5228 * content selection pattern - do fix if pattern found
5230 tSCC zSco_MathSelect0[] =
5231 "inline double abs";
5234 * content bypass pattern - skip fix if pattern found
5236 tSCC zSco_MathBypass0[] =
5239 #define SCO_MATH_TEST_CT 2
5240 static tTestDesc aSco_MathTests[] = {
5241 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
5242 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
5245 * Fix Command Arguments for Sco_Math
5247 static const char* apzSco_MathPatch[] = { "sed",
5248 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
5249 #ifndef __GNUC__\n",
5250 "-e", "/.*__builtin_generic/a\\\n\
5252 #define __fp_class(a) \\\\\\\n\
5253 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
5254 __fpclassifyl(a), \\\\\\\n\
5255 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
5256 __fpclassifyf(a),__fpclassify(a)))\\\n\
5258 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
5259 #ifndef __GNUC__\n",
5260 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
5261 #endif /* ! __GNUC__ */",
5264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5266 * Description of Sco_Regset fix
5268 tSCC zSco_RegsetName[] =
5272 * File name selection pattern
5274 tSCC zSco_RegsetList[] =
5277 * Machine/OS name selection pattern
5279 tSCC* apzSco_RegsetMachs[] = {
5281 (const char*)NULL };
5284 * content selection pattern - do fix if pattern found
5286 tSCC zSco_RegsetSelect0[] =
5287 "(struct[ \t]+.*)fpstate";
5289 #define SCO_REGSET_TEST_CT 1
5290 static tTestDesc aSco_RegsetTests[] = {
5291 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
5294 * Fix Command Arguments for Sco_Regset
5296 static const char* apzSco_RegsetPatch[] = {
5301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5303 * Description of Sco_Static_Func fix
5305 tSCC zSco_Static_FuncName[] =
5309 * File name selection pattern
5311 tSCC zSco_Static_FuncList[] =
5314 * Machine/OS name selection pattern
5316 tSCC* apzSco_Static_FuncMachs[] = {
5318 (const char*)NULL };
5321 * content selection pattern - do fix if pattern found
5323 tSCC zSco_Static_FuncSelect0[] =
5326 #define SCO_STATIC_FUNC_TEST_CT 1
5327 static tTestDesc aSco_Static_FuncTests[] = {
5328 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
5331 * Fix Command Arguments for Sco_Static_Func
5333 static const char* apzSco_Static_FuncPatch[] = { "sed",
5334 "-e", "/^static int/i\\\n\
5335 #if __cplusplus\\\n\
5337 #endif /* __cplusplus */",
5339 #if __cplusplus\\\n\
5341 #endif /* __cplusplus */",
5344 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5346 * Description of Sco_Utime fix
5348 tSCC zSco_UtimeName[] =
5352 * File name selection pattern
5354 tSCC zSco_UtimeList[] =
5357 * Machine/OS name selection pattern
5359 tSCC* apzSco_UtimeMachs[] = {
5361 (const char*)NULL };
5364 * content selection pattern - do fix if pattern found
5366 tSCC zSco_UtimeSelect0[] =
5367 "\\(const char \\*, struct utimbuf \\*\\);";
5369 #define SCO_UTIME_TEST_CT 1
5370 static tTestDesc aSco_UtimeTests[] = {
5371 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
5374 * Fix Command Arguments for Sco_Utime
5376 static const char* apzSco_UtimePatch[] = {
5378 "(const char *, const struct utimbuf *);",
5381 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5383 * Description of Solaris_Math_1 fix
5385 tSCC zSolaris_Math_1Name[] =
5389 * File name selection pattern
5391 tSCC zSolaris_Math_1List[] =
5394 * Machine/OS name selection pattern
5396 #define apzSolaris_Math_1Machs (const char**)NULL
5399 * content selection pattern - do fix if pattern found
5401 tSCC zSolaris_Math_1Select0[] =
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_1Bypass0[] =
5410 #define SOLARIS_MATH_1_TEST_CT 2
5411 static tTestDesc aSolaris_Math_1Tests[] = {
5412 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
5413 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
5416 * Fix Command Arguments for Solaris_Math_1
5418 static const char* apzSolaris_Math_1Patch[] = {
5420 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
5421 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
5424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5426 * Description of Solaris_Math_2 fix
5428 tSCC zSolaris_Math_2Name[] =
5432 * File name selection pattern
5434 tSCC zSolaris_Math_2List[] =
5437 * Machine/OS name selection pattern
5439 #define apzSolaris_Math_2Machs (const char**)NULL
5442 * content selection pattern - do fix if pattern found
5444 tSCC zSolaris_Math_2Select0[] =
5445 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5448 * content bypass pattern - skip fix if pattern found
5450 tSCC zSolaris_Math_2Bypass0[] =
5453 #define SOLARIS_MATH_2_TEST_CT 2
5454 static tTestDesc aSolaris_Math_2Tests[] = {
5455 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
5456 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
5459 * Fix Command Arguments for Solaris_Math_2
5461 static const char* apzSolaris_Math_2Patch[] = {
5463 "#define\tINFINITY\t(__builtin_inff())",
5464 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
5467 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5469 * Description of Solaris_Math_3 fix
5471 tSCC zSolaris_Math_3Name[] =
5475 * File name selection pattern
5477 tSCC zSolaris_Math_3List[] =
5480 * Machine/OS name selection pattern
5482 #define apzSolaris_Math_3Machs (const char**)NULL
5485 * content selection pattern - do fix if pattern found
5487 tSCC zSolaris_Math_3Select0[] =
5488 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5491 * content bypass pattern - skip fix if pattern found
5493 tSCC zSolaris_Math_3Bypass0[] =
5496 #define SOLARIS_MATH_3_TEST_CT 2
5497 static tTestDesc aSolaris_Math_3Tests[] = {
5498 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
5499 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
5502 * Fix Command Arguments for Solaris_Math_3
5504 static const char* apzSolaris_Math_3Patch[] = {
5506 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
5507 "^#define[ \t]+NAN[ \t]+__builtin_nan",
5510 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5512 * Description of Solaris_Math_4 fix
5514 tSCC zSolaris_Math_4Name[] =
5518 * File name selection pattern
5520 tSCC zSolaris_Math_4List[] =
5523 * Machine/OS name selection pattern
5525 #define apzSolaris_Math_4Machs (const char**)NULL
5528 * content selection pattern - do fix if pattern found
5530 tSCC zSolaris_Math_4Select0[] =
5531 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5534 * content bypass pattern - skip fix if pattern found
5536 tSCC zSolaris_Math_4Bypass0[] =
5539 #define SOLARIS_MATH_4_TEST_CT 2
5540 static tTestDesc aSolaris_Math_4Tests[] = {
5541 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
5542 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
5545 * Fix Command Arguments for Solaris_Math_4
5547 static const char* apzSolaris_Math_4Patch[] = {
5549 "#define\tfpclassify(x) \\\n\
5550 __extension__ ({ __typeof(x) __x_fp = (x); \\\n\
5551 \t\t isnan(__x_fp) \\\n\
5553 \t\t : isinf(__x_fp) \\\n\
5554 \t\t ? FP_INFINITE \\\n\
5555 \t\t : isnormal(__x_fp) \\\n\
5556 \t\t\t ? FP_NORMAL \\\n\
5557 \t\t\t : __x_fp == 0.0 \\\n\
5558 \t\t\t ? FP_ZERO \\\n\
5559 \t\t\t : FP_SUBNORMAL; })",
5560 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
5563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5565 * Description of Solaris_Math_5 fix
5567 tSCC zSolaris_Math_5Name[] =
5571 * File name selection pattern
5573 tSCC zSolaris_Math_5List[] =
5576 * Machine/OS name selection pattern
5578 #define apzSolaris_Math_5Machs (const char**)NULL
5581 * content selection pattern - do fix if pattern found
5583 tSCC zSolaris_Math_5Select0[] =
5584 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5587 * content bypass pattern - skip fix if pattern found
5589 tSCC zSolaris_Math_5Bypass0[] =
5592 #define SOLARIS_MATH_5_TEST_CT 2
5593 static tTestDesc aSolaris_Math_5Tests[] = {
5594 { TT_NEGREP, zSolaris_Math_5Bypass0, (regex_t*)NULL },
5595 { TT_EGREP, zSolaris_Math_5Select0, (regex_t*)NULL }, };
5598 * Fix Command Arguments for Solaris_Math_5
5600 static const char* apzSolaris_Math_5Patch[] = {
5602 "#define\tisfinite(x) \\\n\
5603 __extension__ ({ __typeof (x) __x_f = (x); \\\n\
5604 \t\t __builtin_expect(!isnan(__x_f - __x_f), 1); })",
5605 "^#define[ \t]+isfinite\\(x\\)[ \t]+__builtin_isfinite\\(x\\)",
5608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5610 * Description of Solaris_Math_6 fix
5612 tSCC zSolaris_Math_6Name[] =
5616 * File name selection pattern
5618 tSCC zSolaris_Math_6List[] =
5621 * Machine/OS name selection pattern
5623 #define apzSolaris_Math_6Machs (const char**)NULL
5626 * content selection pattern - do fix if pattern found
5628 tSCC zSolaris_Math_6Select0[] =
5629 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5632 * content bypass pattern - skip fix if pattern found
5634 tSCC zSolaris_Math_6Bypass0[] =
5637 #define SOLARIS_MATH_6_TEST_CT 2
5638 static tTestDesc aSolaris_Math_6Tests[] = {
5639 { TT_NEGREP, zSolaris_Math_6Bypass0, (regex_t*)NULL },
5640 { TT_EGREP, zSolaris_Math_6Select0, (regex_t*)NULL }, };
5643 * Fix Command Arguments for Solaris_Math_6
5645 static const char* apzSolaris_Math_6Patch[] = {
5647 "#define\tisinf(x) \\\n\
5648 __extension__ ({ __typeof (x) __x_i = (x); \\\n\
5649 \t\t __builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); })",
5650 "^#define[ \t]+isinf\\(x\\)[ \t]+__builtin_isinf\\(x\\)",
5653 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5655 * Description of Solaris_Math_7 fix
5657 tSCC zSolaris_Math_7Name[] =
5661 * File name selection pattern
5663 tSCC zSolaris_Math_7List[] =
5666 * Machine/OS name selection pattern
5668 #define apzSolaris_Math_7Machs (const char**)NULL
5671 * content selection pattern - do fix if pattern found
5673 tSCC zSolaris_Math_7Select0[] =
5674 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5677 * content bypass pattern - skip fix if pattern found
5679 tSCC zSolaris_Math_7Bypass0[] =
5682 #define SOLARIS_MATH_7_TEST_CT 2
5683 static tTestDesc aSolaris_Math_7Tests[] = {
5684 { TT_NEGREP, zSolaris_Math_7Bypass0, (regex_t*)NULL },
5685 { TT_EGREP, zSolaris_Math_7Select0, (regex_t*)NULL }, };
5688 * Fix Command Arguments for Solaris_Math_7
5690 static const char* apzSolaris_Math_7Patch[] = {
5692 "#define\tisnormal(x) \\\n\
5693 __extension__ ({ __typeof(x) __x_n = (x); \\\n\
5694 \t\t if (__x_n < 0.0) __x_n = -__x_n; \\\n\
5695 \t\t __builtin_expect(isfinite(__x_n) \\\n\
5696 \t\t\t\t && (sizeof(__x_n) == sizeof(float) \\\n\
5697 \t\t\t\t\t ? __x_n >= __FLT_MIN__ \\\n\
5698 \t\t\t\t\t : sizeof(__x_n) == sizeof(long double) \\\n\
5699 \t\t\t\t\t ? __x_n >= __LDBL_MIN__ \\\n\
5700 \t\t\t\t\t : __x_n >= __DBL_MIN__), 1); })",
5701 "^#define[ \t]+isnormal\\(x\\)[ \t]+__builtin_isnormal\\(x\\)",
5704 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5706 * Description of Solaris_Math_8 fix
5708 tSCC zSolaris_Math_8Name[] =
5712 * File name selection pattern
5714 tSCC zSolaris_Math_8List[] =
5717 * Machine/OS name selection pattern
5719 #define apzSolaris_Math_8Machs (const char**)NULL
5722 * content selection pattern - do fix if pattern found
5724 tSCC zSolaris_Math_8Select0[] =
5725 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5728 * content bypass pattern - skip fix if pattern found
5730 tSCC zSolaris_Math_8Bypass0[] =
5733 #define SOLARIS_MATH_8_TEST_CT 2
5734 static tTestDesc aSolaris_Math_8Tests[] = {
5735 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
5736 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
5739 * Fix Command Arguments for Solaris_Math_8
5741 static const char* apzSolaris_Math_8Patch[] = {
5743 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
5744 \t\t\t ? __builtin_signbitf(x) \\\n\
5745 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
5746 \t\t\t ? __builtin_signbitl(x) \\\n\
5747 \t\t\t : __builtin_signbit(x))",
5748 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
5751 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5753 * Description of Solaris_Math_9 fix
5755 tSCC zSolaris_Math_9Name[] =
5759 * File name selection pattern
5761 tSCC zSolaris_Math_9List[] =
5764 * Machine/OS name selection pattern
5766 #define apzSolaris_Math_9Machs (const char**)NULL
5769 * content selection pattern - do fix if pattern found
5771 tSCC zSolaris_Math_9Select0[] =
5772 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5775 * content bypass pattern - skip fix if pattern found
5777 tSCC zSolaris_Math_9Bypass0[] =
5780 #define SOLARIS_MATH_9_TEST_CT 2
5781 static tTestDesc aSolaris_Math_9Tests[] = {
5782 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
5783 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
5786 * Fix Command Arguments for Solaris_Math_9
5788 static const char* apzSolaris_Math_9Patch[] = {
5790 "#define\t%1(x, y)%2__builtin_%1(x, y)",
5791 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
5794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5796 * Description of Solaris_Mutex_Init_1 fix
5798 tSCC zSolaris_Mutex_Init_1Name[] =
5799 "solaris_mutex_init_1";
5802 * File name selection pattern
5804 tSCC zSolaris_Mutex_Init_1List[] =
5807 * Machine/OS name selection pattern
5809 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
5812 * content selection pattern - do fix if pattern found
5814 tSCC zSolaris_Mutex_Init_1Select0[] =
5815 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
5817 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
5818 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
5819 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
5822 * Fix Command Arguments for Solaris_Mutex_Init_1
5824 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
5825 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
5826 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
5829 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5831 * Description of Solaris_Mutex_Init_2 fix
5833 tSCC zSolaris_Mutex_Init_2Name[] =
5834 "solaris_mutex_init_2";
5837 * File name selection pattern
5839 tSCC zSolaris_Mutex_Init_2List[] =
5842 * Machine/OS name selection pattern
5844 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
5845 "*-*-solaris2.[0-9]",
5846 "*-*-solaris2.[0-9][!0-9]*",
5847 (const char*)NULL };
5850 * content selection pattern - do fix if pattern found
5852 tSCC zSolaris_Mutex_Init_2Select0[] =
5853 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5855 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
5856 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
5857 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
5860 * Fix Command Arguments for Solaris_Mutex_Init_2
5862 static const char* apzSolaris_Mutex_Init_2Patch[] = {
5864 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5869 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
5870 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
5873 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5875 * Description of Solaris_Rwlock_Init_1 fix
5877 tSCC zSolaris_Rwlock_Init_1Name[] =
5878 "solaris_rwlock_init_1";
5881 * File name selection pattern
5883 tSCC zSolaris_Rwlock_Init_1List[] =
5886 * Machine/OS name selection pattern
5888 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
5890 (const char*)NULL };
5893 * content selection pattern - do fix if pattern found
5895 tSCC zSolaris_Rwlock_Init_1Select0[] =
5896 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5898 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
5899 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
5900 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
5903 * Fix Command Arguments for Solaris_Rwlock_Init_1
5905 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
5907 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5910 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
5912 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
5915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5917 * Description of Solaris_Once_Init_1 fix
5919 tSCC zSolaris_Once_Init_1Name[] =
5920 "solaris_once_init_1";
5923 * File name selection pattern
5925 tSCC zSolaris_Once_Init_1List[] =
5928 * Machine/OS name selection pattern
5930 tSCC* apzSolaris_Once_Init_1Machs[] = {
5932 (const char*)NULL };
5935 * content selection pattern - do fix if pattern found
5937 tSCC zSolaris_Once_Init_1Select0[] =
5938 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5940 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
5941 static tTestDesc aSolaris_Once_Init_1Tests[] = {
5942 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
5945 * Fix Command Arguments for Solaris_Once_Init_1
5947 static const char* apzSolaris_Once_Init_1Patch[] = {
5950 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
5953 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5955 * Description of Solaris_Once_Init_2 fix
5957 tSCC zSolaris_Once_Init_2Name[] =
5958 "solaris_once_init_2";
5961 * File name selection pattern
5963 tSCC zSolaris_Once_Init_2List[] =
5966 * Machine/OS name selection pattern
5968 tSCC* apzSolaris_Once_Init_2Machs[] = {
5969 "*-*-solaris2.[0-9]",
5970 "*-*-solaris2.[0-9][!0-9]*",
5971 (const char*)NULL };
5974 * content selection pattern - do fix if pattern found
5976 tSCC zSolaris_Once_Init_2Select0[] =
5977 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5979 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
5980 static tTestDesc aSolaris_Once_Init_2Tests[] = {
5981 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
5984 * Fix Command Arguments for Solaris_Once_Init_2
5986 static const char* apzSolaris_Once_Init_2Patch[] = {
5988 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5991 %1{0}, {0}, {0}, {%3}%4\n\
5993 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
5996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5998 * Description of Solaris_Socket fix
6000 tSCC zSolaris_SocketName[] =
6004 * File name selection pattern
6006 tSCC zSolaris_SocketList[] =
6009 * Machine/OS name selection pattern
6011 #define apzSolaris_SocketMachs (const char**)NULL
6014 * content selection pattern - do fix if pattern found
6016 tSCC zSolaris_SocketSelect0[] =
6017 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
6019 #define SOLARIS_SOCKET_TEST_CT 1
6020 static tTestDesc aSolaris_SocketTests[] = {
6021 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
6024 * Fix Command Arguments for Solaris_Socket
6026 static const char* apzSolaris_SocketPatch[] = {
6028 "extern int %1(int, %2void *, int, int);",
6029 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
6032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6034 * Description of Solaris_Stdio_Tag fix
6036 tSCC zSolaris_Stdio_TagName[] =
6037 "solaris_stdio_tag";
6040 * File name selection pattern
6042 tSCC zSolaris_Stdio_TagList[] =
6045 * Machine/OS name selection pattern
6047 #define apzSolaris_Stdio_TagMachs (const char**)NULL
6050 * content selection pattern - do fix if pattern found
6052 tSCC zSolaris_Stdio_TagSelect0[] =
6053 "__cplusplus < 54321L";
6056 * content bypass pattern - skip fix if pattern found
6058 tSCC zSolaris_Stdio_TagBypass0[] =
6061 #define SOLARIS_STDIO_TAG_TEST_CT 2
6062 static tTestDesc aSolaris_Stdio_TagTests[] = {
6063 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6064 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6067 * Fix Command Arguments for Solaris_Stdio_Tag
6069 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
6070 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6073 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6075 * Description of Solaris_Unistd fix
6077 tSCC zSolaris_UnistdName[] =
6081 * File name selection pattern
6083 tSCC zSolaris_UnistdList[] =
6086 * Machine/OS name selection pattern
6088 #define apzSolaris_UnistdMachs (const char**)NULL
6091 * content selection pattern - do fix if pattern found
6093 tSCC zSolaris_UnistdSelect0[] =
6094 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
6097 * content bypass pattern - skip fix if pattern found
6099 tSCC zSolaris_UnistdBypass0[] =
6102 #define SOLARIS_UNISTD_TEST_CT 2
6103 static tTestDesc aSolaris_UnistdTests[] = {
6104 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
6105 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
6108 * Fix Command Arguments for Solaris_Unistd
6110 static const char* apzSolaris_UnistdPatch[] = {
6112 "extern int getpagesize();\n\
6114 "^extern (pid_t|int) getpgid\\(.*\\);",
6117 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6119 * Description of Solaris_Widec fix
6121 tSCC zSolaris_WidecName[] =
6125 * File name selection pattern
6127 tSCC zSolaris_WidecList[] =
6130 * Machine/OS name selection pattern
6132 tSCC* apzSolaris_WidecMachs[] = {
6133 "*-*-solaris2.[0-5]",
6134 "*-*-solaris2.[0-5].*",
6135 (const char*)NULL };
6138 * content selection pattern - do fix if pattern found
6140 tSCC zSolaris_WidecSelect0[] =
6144 * content bypass pattern - skip fix if pattern found
6146 tSCC zSolaris_WidecBypass0[] =
6147 "include.*wchar\\.h";
6149 #define SOLARIS_WIDEC_TEST_CT 2
6150 static tTestDesc aSolaris_WidecTests[] = {
6151 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
6152 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
6155 * Fix Command Arguments for Solaris_Widec
6157 static const char* apzSolaris_WidecPatch[] = {
6160 #include <wchar.h>",
6163 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6165 * Description of Statsswtch fix
6167 tSCC zStatsswtchName[] =
6171 * File name selection pattern
6173 tSCC zStatsswtchList[] =
6176 * Machine/OS name selection pattern
6178 #define apzStatsswtchMachs (const char**)NULL
6181 * content selection pattern - do fix if pattern found
6183 tSCC zStatsswtchSelect0[] =
6186 #define STATSSWTCH_TEST_CT 1
6187 static tTestDesc aStatsswtchTests[] = {
6188 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6191 * Fix Command Arguments for Statsswtch
6193 static const char* apzStatsswtchPatch[] = {
6198 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6200 * Description of Stdio_Stdarg_H fix
6202 tSCC zStdio_Stdarg_HName[] =
6206 * File name selection pattern
6208 tSCC zStdio_Stdarg_HList[] =
6211 * Machine/OS name selection pattern
6213 tSCC* apzStdio_Stdarg_HMachs[] = {
6214 "*-*-solaris2.1[0-9]*",
6215 (const char*)NULL };
6218 * content bypass pattern - skip fix if pattern found
6220 tSCC zStdio_Stdarg_HBypass0[] =
6221 "include.*(stdarg.h|machine/ansi.h)";
6223 #define STDIO_STDARG_H_TEST_CT 1
6224 static tTestDesc aStdio_Stdarg_HTests[] = {
6225 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6228 * Fix Command Arguments for Stdio_Stdarg_H
6230 static const char* apzStdio_Stdarg_HPatch[] = {
6232 "#define __need___va_list\n\
6233 #include <stdarg.h>\n",
6236 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6238 * Description of Stdio_Va_List fix
6240 tSCC zStdio_Va_ListName[] =
6244 * File name selection pattern
6246 tSCC zStdio_Va_ListList[] =
6247 "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0";
6249 * Machine/OS name selection pattern
6251 tSCC* apzStdio_Va_ListMachs[] = {
6252 "*-*-solaris2.1[0-9]*",
6253 (const char*)NULL };
6256 * content bypass pattern - skip fix if pattern found
6258 tSCC zStdio_Va_ListBypass0[] =
6259 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6261 #define STDIO_VA_LIST_TEST_CT 1
6262 static tTestDesc aStdio_Va_ListTests[] = {
6263 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
6266 * Fix Command Arguments for Stdio_Va_List
6268 static const char* apzStdio_Va_ListPatch[] = { "sed",
6269 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6270 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6271 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6272 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6273 s@ va_list@ __not_va_list__@\n\
6274 s@\\*va_list@*__not_va_list__@\n\
6275 s@ __va_list)@ __gnuc_va_list)@\n\
6276 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6277 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6278 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6279 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6280 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6281 s@VA_LIST@DUMMY_VA_LIST@\n\
6282 s@_Va_LIST@_VA_LIST@",
6285 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6287 * Description of Stdio_Va_List_Clients fix
6289 tSCC zStdio_Va_List_ClientsName[] =
6290 "stdio_va_list_clients";
6293 * File name selection pattern
6295 tSCC zStdio_Va_List_ClientsList[] =
6296 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
6298 * Machine/OS name selection pattern
6300 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
6303 * content bypass pattern - skip fix if pattern found
6305 tSCC zStdio_Va_List_ClientsBypass0[] =
6306 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6307 tSCC zStdio_Va_List_ClientsBypass1[] =
6308 "include <stdarg\\.h>|#ifdef va_start";
6310 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
6311 static tTestDesc aStdio_Va_List_ClientsTests[] = {
6312 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
6313 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
6316 * Fix Command Arguments for Stdio_Va_List_Clients
6318 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
6319 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6320 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6321 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6322 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6323 s@ va_list@ __not_va_list__@\n\
6324 s@\\*va_list@*__not_va_list__@\n\
6325 s@ __va_list)@ __gnuc_va_list)@\n\
6326 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6327 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6328 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6329 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6330 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6331 s@VA_LIST@DUMMY_VA_LIST@\n\
6332 s@_Va_LIST@_VA_LIST@",
6335 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6337 * Description of Strict_Ansi_Not fix
6339 tSCC zStrict_Ansi_NotName[] =
6343 * File name selection pattern
6345 #define zStrict_Ansi_NotList (char*)NULL
6347 * Machine/OS name selection pattern
6349 #define apzStrict_Ansi_NotMachs (const char**)NULL
6352 * content selection pattern - do fix if pattern found
6354 tSCC zStrict_Ansi_NotSelect0[] =
6355 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
6358 * content bypass pattern - skip fix if pattern found
6360 tSCC zStrict_Ansi_NotBypass0[] =
6361 "GNU and MIPS C compilers define __STDC__ differently";
6362 tSCC zStrict_Ansi_NotBypass1[] =
6363 "__SCO_VERSION__.*__STDC__ != 1";
6366 * perform the C function call test
6368 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
6370 #define STRICT_ANSI_NOT_TEST_CT 4
6371 static tTestDesc aStrict_Ansi_NotTests[] = {
6372 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
6373 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
6374 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
6375 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
6378 * Fix Command Arguments for Strict_Ansi_Not
6380 static const char* apzStrict_Ansi_NotPatch[] = {
6382 "%1 !defined(__STRICT_ANSI__)",
6385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6387 * Description of Strict_Ansi_Not_Ctd fix
6389 tSCC zStrict_Ansi_Not_CtdName[] =
6390 "strict_ansi_not_ctd";
6393 * File name selection pattern
6395 tSCC zStrict_Ansi_Not_CtdList[] =
6396 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
6398 * Machine/OS name selection pattern
6400 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
6403 * content selection pattern - do fix if pattern found
6405 tSCC zStrict_Ansi_Not_CtdSelect0[] =
6406 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
6409 * perform the C function call test
6411 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
6413 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
6414 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
6415 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
6416 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
6419 * Fix Command Arguments for Strict_Ansi_Not_Ctd
6421 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
6423 "%1 !defined(__STRICT_ANSI__)",
6426 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6428 * Description of Strict_Ansi_Only fix
6430 tSCC zStrict_Ansi_OnlyName[] =
6434 * File name selection pattern
6436 #define zStrict_Ansi_OnlyList (char*)NULL
6438 * Machine/OS name selection pattern
6440 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
6443 * content selection pattern - do fix if pattern found
6445 tSCC zStrict_Ansi_OnlySelect0[] =
6446 "^([ \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)";
6449 * perform the C function call test
6451 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
6453 #define STRICT_ANSI_ONLY_TEST_CT 2
6454 static tTestDesc aStrict_Ansi_OnlyTests[] = {
6455 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
6456 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
6459 * Fix Command Arguments for Strict_Ansi_Only
6461 static const char* apzStrict_Ansi_OnlyPatch[] = {
6463 "%1 defined(__STRICT_ANSI__)",
6466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6468 * Description of Struct_File fix
6470 tSCC zStruct_FileName[] =
6474 * File name selection pattern
6476 tSCC zStruct_FileList[] =
6479 * Machine/OS name selection pattern
6481 #define apzStruct_FileMachs (const char**)NULL
6484 * content selection pattern - do fix if pattern found
6486 tSCC zStruct_FileSelect0[] =
6487 "^.*xdrstdio_create.*struct __file_s";
6489 #define STRUCT_FILE_TEST_CT 1
6490 static tTestDesc aStruct_FileTests[] = {
6491 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
6494 * Fix Command Arguments for Struct_File
6496 static const char* apzStruct_FilePatch[] = {
6498 "struct __file_s;\n\
6502 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6504 * Description of Struct_Sockaddr fix
6506 tSCC zStruct_SockaddrName[] =
6510 * File name selection pattern
6512 tSCC zStruct_SockaddrList[] =
6515 * Machine/OS name selection pattern
6517 #define apzStruct_SockaddrMachs (const char**)NULL
6520 * content selection pattern - do fix if pattern found
6522 tSCC zStruct_SockaddrSelect0[] =
6523 "^.*authdes_create.*struct sockaddr[^_]";
6526 * content bypass pattern - skip fix if pattern found
6528 tSCC zStruct_SockaddrBypass0[] =
6530 tSCC zStruct_SockaddrBypass1[] =
6531 "struct sockaddr;\n";
6533 #define STRUCT_SOCKADDR_TEST_CT 3
6534 static tTestDesc aStruct_SockaddrTests[] = {
6535 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
6536 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
6537 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
6540 * Fix Command Arguments for Struct_Sockaddr
6542 static const char* apzStruct_SockaddrPatch[] = {
6544 "struct sockaddr;\n\
6548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6550 * Description of Sun_Auth_Proto fix
6552 tSCC zSun_Auth_ProtoName[] =
6556 * File name selection pattern
6558 tSCC zSun_Auth_ProtoList[] =
6559 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
6561 * Machine/OS name selection pattern
6563 #define apzSun_Auth_ProtoMachs (const char**)NULL
6566 * content selection pattern - do fix if pattern found
6568 tSCC zSun_Auth_ProtoSelect0[] =
6569 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
6572 * content bypass pattern - skip fix if pattern found
6574 tSCC zSun_Auth_ProtoBypass0[] =
6577 #define SUN_AUTH_PROTO_TEST_CT 2
6578 static tTestDesc aSun_Auth_ProtoTests[] = {
6579 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
6580 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
6583 * Fix Command Arguments for Sun_Auth_Proto
6585 static const char* apzSun_Auth_ProtoPatch[] = {
6587 "#ifdef __cplusplus\n\
6592 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
6595 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6597 * Description of Sun_Bogus_Ifdef fix
6599 tSCC zSun_Bogus_IfdefName[] =
6603 * File name selection pattern
6605 tSCC zSun_Bogus_IfdefList[] =
6606 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
6608 * Machine/OS name selection pattern
6610 #define apzSun_Bogus_IfdefMachs (const char**)NULL
6613 * content selection pattern - do fix if pattern found
6615 tSCC zSun_Bogus_IfdefSelect0[] =
6616 "#ifdef(.*\\|\\|.*)";
6618 #define SUN_BOGUS_IFDEF_TEST_CT 1
6619 static tTestDesc aSun_Bogus_IfdefTests[] = {
6620 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
6623 * Fix Command Arguments for Sun_Bogus_Ifdef
6625 static const char* apzSun_Bogus_IfdefPatch[] = {
6630 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6632 * Description of Sun_Catmacro fix
6634 tSCC zSun_CatmacroName[] =
6638 * File name selection pattern
6640 tSCC zSun_CatmacroList[] =
6641 "pixrect/memvar.h\0";
6643 * Machine/OS name selection pattern
6645 #define apzSun_CatmacroMachs (const char**)NULL
6648 * content selection pattern - do fix if pattern found
6650 tSCC zSun_CatmacroSelect0[] =
6651 "^#define[ \t]+CAT\\(a,b\\).*";
6653 #define SUN_CATMACRO_TEST_CT 1
6654 static tTestDesc aSun_CatmacroTests[] = {
6655 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
6658 * Fix Command Arguments for Sun_Catmacro
6660 static const char* apzSun_CatmacroPatch[] = {
6663 # define CAT(a,b) a##b\n\
6669 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6671 * Description of Sun_Malloc fix
6673 tSCC zSun_MallocName[] =
6677 * File name selection pattern
6679 tSCC zSun_MallocList[] =
6682 * Machine/OS name selection pattern
6684 #define apzSun_MallocMachs (const char**)NULL
6687 * content bypass pattern - skip fix if pattern found
6689 tSCC zSun_MallocBypass0[] =
6690 "_CLASSIC_ANSI_TYPES";
6692 #define SUN_MALLOC_TEST_CT 1
6693 static tTestDesc aSun_MallocTests[] = {
6694 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
6697 * Fix Command Arguments for Sun_Malloc
6699 static const char* apzSun_MallocPatch[] = { "sed",
6700 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
6701 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
6702 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
6703 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
6704 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
6707 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6709 * Description of Sun_Rusers_Semi fix
6711 tSCC zSun_Rusers_SemiName[] =
6715 * File name selection pattern
6717 tSCC zSun_Rusers_SemiList[] =
6718 "rpcsvc/rusers.h\0";
6720 * Machine/OS name selection pattern
6722 #define apzSun_Rusers_SemiMachs (const char**)NULL
6725 * content selection pattern - do fix if pattern found
6727 tSCC zSun_Rusers_SemiSelect0[] =
6730 #define SUN_RUSERS_SEMI_TEST_CT 1
6731 static tTestDesc aSun_Rusers_SemiTests[] = {
6732 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
6735 * Fix Command Arguments for Sun_Rusers_Semi
6737 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
6738 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
6741 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6743 * Description of Sun_Signal fix
6745 tSCC zSun_SignalName[] =
6749 * File name selection pattern
6751 tSCC zSun_SignalList[] =
6752 "sys/signal.h\0signal.h\0";
6754 * Machine/OS name selection pattern
6756 #define apzSun_SignalMachs (const char**)NULL
6759 * content selection pattern - do fix if pattern found
6761 tSCC zSun_SignalSelect0[] =
6762 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
6764 #define SUN_SIGNAL_TEST_CT 1
6765 static tTestDesc aSun_SignalTests[] = {
6766 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
6769 * Fix Command Arguments for Sun_Signal
6771 static const char* apzSun_SignalPatch[] = {
6773 "#ifdef __cplusplus\n\
6774 void\t(*signal(...))(...);\n\
6780 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6782 * Description of Sunos_Strlen fix
6784 tSCC zSunos_StrlenName[] =
6788 * File name selection pattern
6790 tSCC zSunos_StrlenList[] =
6793 * Machine/OS name selection pattern
6795 #define apzSunos_StrlenMachs (const char**)NULL
6798 * content selection pattern - do fix if pattern found
6800 tSCC zSunos_StrlenSelect0[] =
6801 "int[ \t]*strlen\\(\\);(.*)";
6803 #define SUNOS_STRLEN_TEST_CT 1
6804 static tTestDesc aSunos_StrlenTests[] = {
6805 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
6808 * Fix Command Arguments for Sunos_Strlen
6810 static const char* apzSunos_StrlenPatch[] = {
6812 "__SIZE_TYPE__ strlen();%1",
6815 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6817 * Description of Svr4_Disable_Opt fix
6819 tSCC zSvr4_Disable_OptName[] =
6823 * File name selection pattern
6825 tSCC zSvr4_Disable_OptList[] =
6828 * Machine/OS name selection pattern
6830 #define apzSvr4_Disable_OptMachs (const char**)NULL
6833 * content selection pattern - do fix if pattern found
6835 tSCC zSvr4_Disable_OptSelect0[] =
6836 "#define.*__std_hdr_";
6838 #define SVR4_DISABLE_OPT_TEST_CT 1
6839 static tTestDesc aSvr4_Disable_OptTests[] = {
6840 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
6843 * Fix Command Arguments for Svr4_Disable_Opt
6845 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
6846 "-e", "/#define.*__std_hdr_/d",
6849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6851 * Description of Svr4_Getcwd fix
6853 tSCC zSvr4_GetcwdName[] =
6857 * File name selection pattern
6859 tSCC zSvr4_GetcwdList[] =
6860 "stdlib.h\0unistd.h\0prototypes.h\0";
6862 * Machine/OS name selection pattern
6864 #define apzSvr4_GetcwdMachs (const char**)NULL
6867 * content selection pattern - do fix if pattern found
6869 tSCC zSvr4_GetcwdSelect0[] =
6870 "getcwd\\(char \\*, int\\)";
6872 #define SVR4_GETCWD_TEST_CT 1
6873 static tTestDesc aSvr4_GetcwdTests[] = {
6874 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
6877 * Fix Command Arguments for Svr4_Getcwd
6879 static const char* apzSvr4_GetcwdPatch[] = {
6881 "getcwd(char *, size_t)",
6884 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6886 * Description of Svr4_Krnl fix
6888 tSCC zSvr4_KrnlName[] =
6892 * File name selection pattern
6894 tSCC zSvr4_KrnlList[] =
6895 "fs/rfs/rf_cache.h\0sys/erec.h\0sys/err.h\0sys/char.h\0sys/getpages.h\0sys/map.h\0sys/cmn_err.h\0sys/kdebugger.h\0";
6897 * Machine/OS name selection pattern
6899 tSCC* apzSvr4_KrnlMachs[] = {
6901 "i?86-sequent-ptx*",
6902 (const char*)NULL };
6905 * content bypass pattern - skip fix if pattern found
6907 tSCC zSvr4_KrnlBypass0[] =
6910 #define SVR4_KRNL_TEST_CT 1
6911 static tTestDesc aSvr4_KrnlTests[] = {
6912 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
6915 * Fix Command Arguments for Svr4_Krnl
6917 static const char* apzSvr4_KrnlPatch[] = {
6920 "#endif /* _KERNEL */\n",
6923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6925 * Description of Svr4_Profil fix
6927 tSCC zSvr4_ProfilName[] =
6931 * File name selection pattern
6933 tSCC zSvr4_ProfilList[] =
6934 "stdlib.h\0unistd.h\0";
6936 * Machine/OS name selection pattern
6938 #define apzSvr4_ProfilMachs (const char**)NULL
6941 * content selection pattern - do fix if pattern found
6943 tSCC zSvr4_ProfilSelect0[] =
6944 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
6947 * content bypass pattern - skip fix if pattern found
6949 tSCC zSvr4_ProfilBypass0[] =
6952 #define SVR4_PROFIL_TEST_CT 2
6953 static tTestDesc aSvr4_ProfilTests[] = {
6954 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
6955 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
6958 * Fix Command Arguments for Svr4_Profil
6960 static const char* apzSvr4_ProfilPatch[] = {
6962 "profil(unsigned short *, size_t, int, unsigned int)",
6965 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6967 * Description of Svr4_Sighandler_Type fix
6969 tSCC zSvr4_Sighandler_TypeName[] =
6970 "svr4_sighandler_type";
6973 * File name selection pattern
6975 tSCC zSvr4_Sighandler_TypeList[] =
6978 * Machine/OS name selection pattern
6980 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
6983 * content selection pattern - do fix if pattern found
6985 tSCC zSvr4_Sighandler_TypeSelect0[] =
6986 "void *\\(\\*\\)\\(\\)";
6988 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
6989 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
6990 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
6993 * Fix Command Arguments for Svr4_Sighandler_Type
6995 static const char* apzSvr4_Sighandler_TypePatch[] = {
7000 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7002 * Description of Svr4_Undeclared_Getrnge fix
7004 tSCC zSvr4_Undeclared_GetrngeName[] =
7005 "svr4_undeclared_getrnge";
7008 * File name selection pattern
7010 tSCC zSvr4_Undeclared_GetrngeList[] =
7013 * Machine/OS name selection pattern
7015 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
7018 * content selection pattern - do fix if pattern found
7020 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
7024 * content bypass pattern - skip fix if pattern found
7026 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
7027 "static void getrnge";
7029 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
7030 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
7031 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
7032 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
7035 * Fix Command Arguments for Svr4_Undeclared_Getrnge
7037 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
7040 static int getrnge ();",
7041 "^static int[ \t]+size;",
7044 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7046 * Description of Sysv68_String fix
7048 tSCC zSysv68_StringName[] =
7052 * File name selection pattern
7054 tSCC zSysv68_StringList[] =
7055 "testing.h\0string.h\0";
7057 * Machine/OS name selection pattern
7059 #define apzSysv68_StringMachs (const char**)NULL
7062 * content bypass pattern - skip fix if pattern found
7064 tSCC zSysv68_StringBypass0[] =
7065 "_CLASSIC_ANSI_TYPES";
7067 #define SYSV68_STRING_TEST_CT 1
7068 static tTestDesc aSysv68_StringTests[] = {
7069 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7072 * Fix Command Arguments for Sysv68_String
7074 static const char* apzSysv68_StringPatch[] = { "sed",
7075 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7076 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7077 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7078 "-e", "/^extern char$/N",
7079 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7080 "-e", "/^extern int$/N",
7081 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7082 "-e", "/^\tstrncmp(),$/N",
7083 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7084 extern unsigned int\\\n\
7088 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7090 * Description of Sysz_Stdlib_For_Sun fix
7092 tSCC zSysz_Stdlib_For_SunName[] =
7093 "sysz_stdlib_for_sun";
7096 * File name selection pattern
7098 tSCC zSysz_Stdlib_For_SunList[] =
7101 * Machine/OS name selection pattern
7103 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7106 * content selection pattern - do fix if pattern found
7108 tSCC zSysz_Stdlib_For_SunSelect0[] =
7109 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7112 * content bypass pattern - skip fix if pattern found
7114 tSCC zSysz_Stdlib_For_SunBypass0[] =
7115 "_CLASSIC_ANSI_TYPES";
7117 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7118 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7119 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7120 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7123 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7125 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7132 * Description of Thread_Keyword fix
7134 tSCC zThread_KeywordName[] =
7138 * File name selection pattern
7140 tSCC zThread_KeywordList[] =
7141 "pthread.h\0bits/sigthread.h\0";
7143 * Machine/OS name selection pattern
7145 #define apzThread_KeywordMachs (const char**)NULL
7148 * content selection pattern - do fix if pattern found
7150 tSCC zThread_KeywordSelect0[] =
7151 "([* ])__thread([,)])";
7153 #define THREAD_KEYWORD_TEST_CT 1
7154 static tTestDesc aThread_KeywordTests[] = {
7155 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7158 * Fix Command Arguments for Thread_Keyword
7160 static const char* apzThread_KeywordPatch[] = {
7165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7167 * Description of Tinfo_Cplusplus fix
7169 tSCC zTinfo_CplusplusName[] =
7173 * File name selection pattern
7175 tSCC zTinfo_CplusplusList[] =
7178 * Machine/OS name selection pattern
7180 #define apzTinfo_CplusplusMachs (const char**)NULL
7183 * content selection pattern - do fix if pattern found
7185 tSCC zTinfo_CplusplusSelect0[] =
7188 #define TINFO_CPLUSPLUS_TEST_CT 1
7189 static tTestDesc aTinfo_CplusplusTests[] = {
7190 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7193 * Fix Command Arguments for Tinfo_Cplusplus
7195 static const char* apzTinfo_CplusplusPatch[] = {
7200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7202 * Description of Ultrix_Atexit_Param fix
7204 tSCC zUltrix_Atexit_ParamName[] =
7205 "ultrix_atexit_param";
7208 * File name selection pattern
7210 tSCC zUltrix_Atexit_ParamList[] =
7213 * Machine/OS name selection pattern
7215 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
7218 * content selection pattern - do fix if pattern found
7220 tSCC zUltrix_Atexit_ParamSelect0[] =
7221 "atexit\\(.*\\(\\)";
7223 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
7224 static tTestDesc aUltrix_Atexit_ParamTests[] = {
7225 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
7228 * Fix Command Arguments for Ultrix_Atexit_Param
7230 static const char* apzUltrix_Atexit_ParamPatch[] = {
7232 "atexit( void (*__func)( void )",
7235 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7237 * Description of Ultrix_Atof_Param fix
7239 tSCC zUltrix_Atof_ParamName[] =
7240 "ultrix_atof_param";
7243 * File name selection pattern
7245 tSCC zUltrix_Atof_ParamList[] =
7248 * Machine/OS name selection pattern
7250 #define apzUltrix_Atof_ParamMachs (const char**)NULL
7253 * content selection pattern - do fix if pattern found
7255 tSCC zUltrix_Atof_ParamSelect0[] =
7256 "atof\\([ \t]*char";
7258 #define ULTRIX_ATOF_PARAM_TEST_CT 1
7259 static tTestDesc aUltrix_Atof_ParamTests[] = {
7260 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
7263 * Fix Command Arguments for Ultrix_Atof_Param
7265 static const char* apzUltrix_Atof_ParamPatch[] = {
7270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7272 * Description of Ultrix_Const fix
7274 tSCC zUltrix_ConstName[] =
7278 * File name selection pattern
7280 tSCC zUltrix_ConstList[] =
7283 * Machine/OS name selection pattern
7285 #define apzUltrix_ConstMachs (const char**)NULL
7288 * content selection pattern - do fix if pattern found
7290 tSCC zUltrix_ConstSelect0[] =
7291 "perror\\( char \\*";
7293 #define ULTRIX_CONST_TEST_CT 1
7294 static tTestDesc aUltrix_ConstTests[] = {
7295 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7298 * Fix Command Arguments for Ultrix_Const
7300 static const char* apzUltrix_ConstPatch[] = {
7303 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7308 * Description of Ultrix_Const2 fix
7310 tSCC zUltrix_Const2Name[] =
7314 * File name selection pattern
7316 tSCC zUltrix_Const2List[] =
7319 * Machine/OS name selection pattern
7321 #define apzUltrix_Const2Machs (const char**)NULL
7324 * content selection pattern - do fix if pattern found
7326 tSCC zUltrix_Const2Select0[] =
7327 "\\*fopen\\( char \\*";
7329 #define ULTRIX_CONST2_TEST_CT 1
7330 static tTestDesc aUltrix_Const2Tests[] = {
7331 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7334 * Fix Command Arguments for Ultrix_Const2
7336 static const char* apzUltrix_Const2Patch[] = {
7338 "%1( const char *%3, const char *",
7339 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7342 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7344 * Description of Ultrix_Const3 fix
7346 tSCC zUltrix_Const3Name[] =
7350 * File name selection pattern
7352 tSCC zUltrix_Const3List[] =
7355 * Machine/OS name selection pattern
7357 #define apzUltrix_Const3Machs (const char**)NULL
7360 * content selection pattern - do fix if pattern found
7362 tSCC zUltrix_Const3Select0[] =
7363 "fdopen\\( .*, char \\*";
7365 #define ULTRIX_CONST3_TEST_CT 1
7366 static tTestDesc aUltrix_Const3Tests[] = {
7367 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
7370 * Fix Command Arguments for Ultrix_Const3
7372 static const char* apzUltrix_Const3Patch[] = {
7375 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
7378 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7380 * Description of Ultrix_Fix_Fixproto fix
7382 tSCC zUltrix_Fix_FixprotoName[] =
7383 "ultrix_fix_fixproto";
7386 * File name selection pattern
7388 tSCC zUltrix_Fix_FixprotoList[] =
7391 * Machine/OS name selection pattern
7393 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
7396 * content selection pattern - do fix if pattern found
7398 tSCC zUltrix_Fix_FixprotoSelect0[] =
7401 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
7402 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
7403 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
7406 * Fix Command Arguments for Ultrix_Fix_Fixproto
7408 static const char* apzUltrix_Fix_FixprotoPatch[] = {
7412 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
7415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7417 * Description of Ultrix_Ifdef fix
7419 tSCC zUltrix_IfdefName[] =
7423 * File name selection pattern
7425 tSCC zUltrix_IfdefList[] =
7428 * Machine/OS name selection pattern
7430 #define apzUltrix_IfdefMachs (const char**)NULL
7433 * content selection pattern - do fix if pattern found
7435 tSCC zUltrix_IfdefSelect0[] =
7436 "^#ifdef KERNEL[ \t]+&&";
7438 #define ULTRIX_IFDEF_TEST_CT 1
7439 static tTestDesc aUltrix_IfdefTests[] = {
7440 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
7443 * Fix Command Arguments for Ultrix_Ifdef
7445 static const char* apzUltrix_IfdefPatch[] = {
7447 "#if defined(KERNEL) &&",
7450 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7452 * Description of Ultrix_Locale fix
7454 tSCC zUltrix_LocaleName[] =
7458 * File name selection pattern
7460 tSCC zUltrix_LocaleList[] =
7463 * Machine/OS name selection pattern
7465 #define apzUltrix_LocaleMachs (const char**)NULL
7468 * content selection pattern - do fix if pattern found
7470 tSCC zUltrix_LocaleSelect0[] =
7471 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
7473 #define ULTRIX_LOCALE_TEST_CT 1
7474 static tTestDesc aUltrix_LocaleTests[] = {
7475 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
7478 * Fix Command Arguments for Ultrix_Locale
7480 static const char* apzUltrix_LocalePatch[] = {
7484 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7486 * Description of Ultrix_Math_Ifdef fix
7488 tSCC zUltrix_Math_IfdefName[] =
7489 "ultrix_math_ifdef";
7492 * File name selection pattern
7494 tSCC zUltrix_Math_IfdefList[] =
7495 "sys/limits.h\0float.h\0math.h\0";
7497 * Machine/OS name selection pattern
7499 #define apzUltrix_Math_IfdefMachs (const char**)NULL
7502 * content selection pattern - do fix if pattern found
7504 tSCC zUltrix_Math_IfdefSelect0[] =
7505 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
7507 #define ULTRIX_MATH_IFDEF_TEST_CT 1
7508 static tTestDesc aUltrix_Math_IfdefTests[] = {
7509 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
7512 * Fix Command Arguments for Ultrix_Math_Ifdef
7514 static const char* apzUltrix_Math_IfdefPatch[] = {
7519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7521 * Description of Ultrix_Nested_Ioctl fix
7523 tSCC zUltrix_Nested_IoctlName[] =
7524 "ultrix_nested_ioctl";
7527 * File name selection pattern
7529 tSCC zUltrix_Nested_IoctlList[] =
7532 * Machine/OS name selection pattern
7534 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
7537 * content selection pattern - do fix if pattern found
7539 tSCC zUltrix_Nested_IoctlSelect0[] =
7540 "^/\\* #define SIOCSCREEN";
7542 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
7543 static tTestDesc aUltrix_Nested_IoctlTests[] = {
7544 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
7547 * Fix Command Arguments for Ultrix_Nested_Ioctl
7549 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
7550 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
7553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7555 * Description of Ultrix_Nested_Svc fix
7557 tSCC zUltrix_Nested_SvcName[] =
7558 "ultrix_nested_svc";
7561 * File name selection pattern
7563 tSCC zUltrix_Nested_SvcList[] =
7566 * Machine/OS name selection pattern
7568 #define apzUltrix_Nested_SvcMachs (const char**)NULL
7571 * content selection pattern - do fix if pattern found
7573 tSCC zUltrix_Nested_SvcSelect0[] =
7574 "^ \\*[ \t]*int protocol; */\\*";
7576 #define ULTRIX_NESTED_SVC_TEST_CT 1
7577 static tTestDesc aUltrix_Nested_SvcTests[] = {
7578 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
7581 * Fix Command Arguments for Ultrix_Nested_Svc
7583 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
7584 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
7587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7589 * Description of Ultrix_Stat fix
7591 tSCC zUltrix_StatName[] =
7595 * File name selection pattern
7597 tSCC zUltrix_StatList[] =
7600 * Machine/OS name selection pattern
7602 #define apzUltrix_StatMachs (const char**)NULL
7605 * content selection pattern - do fix if pattern found
7607 tSCC zUltrix_StatSelect0[] =
7608 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
7610 #define ULTRIX_STAT_TEST_CT 1
7611 static tTestDesc aUltrix_StatTests[] = {
7612 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
7615 * Fix Command Arguments for Ultrix_Stat
7617 static const char* apzUltrix_StatPatch[] = { "sed",
7618 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
7620 /* macro to test for symbolic link */\\\n\
7621 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
7622 "-e", "/^[ \t]*fstat(),$/a\\\n\
7626 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7628 * Description of Ultrix_Static fix
7630 tSCC zUltrix_StaticName[] =
7634 * File name selection pattern
7636 tSCC zUltrix_StaticList[] =
7639 * Machine/OS name selection pattern
7641 #define apzUltrix_StaticMachs (const char**)NULL
7644 * content selection pattern - do fix if pattern found
7646 tSCC zUltrix_StaticSelect0[] =
7647 "#include \"r[34]_cpu";
7649 #define ULTRIX_STATIC_TEST_CT 1
7650 static tTestDesc aUltrix_StaticTests[] = {
7651 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
7654 * Fix Command Arguments for Ultrix_Static
7656 static const char* apzUltrix_StaticPatch[] = { "sed",
7657 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
7658 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
7659 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
7662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7664 * Description of Ultrix_Stdlib fix
7666 tSCC zUltrix_StdlibName[] =
7670 * File name selection pattern
7672 tSCC zUltrix_StdlibList[] =
7675 * Machine/OS name selection pattern
7677 #define apzUltrix_StdlibMachs (const char**)NULL
7680 * content selection pattern - do fix if pattern found
7682 tSCC zUltrix_StdlibSelect0[] =
7683 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
7685 #define ULTRIX_STDLIB_TEST_CT 1
7686 static tTestDesc aUltrix_StdlibTests[] = {
7687 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
7690 * Fix Command Arguments for Ultrix_Stdlib
7692 static const char* apzUltrix_StdlibPatch[] = { "sed",
7693 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
7694 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
7695 void\t\tunsetenv( const char *__name );\\\n\
7696 int\t\tputenv( char *__s );\n",
7697 "-e", "/^char.*getenv();.*$/a\\\n\
7699 void\tunsetenv();\\\n\
7703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7705 * Description of Ultrix_Strings fix
7707 tSCC zUltrix_StringsName[] =
7711 * File name selection pattern
7713 tSCC zUltrix_StringsList[] =
7716 * Machine/OS name selection pattern
7718 #define apzUltrix_StringsMachs (const char**)NULL
7721 * content selection pattern - do fix if pattern found
7723 tSCC zUltrix_StringsSelect0[] =
7724 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7726 #define ULTRIX_STRINGS_TEST_CT 1
7727 static tTestDesc aUltrix_StringsTests[] = {
7728 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
7731 * Fix Command Arguments for Ultrix_Strings
7733 static const char* apzUltrix_StringsPatch[] = {
7737 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7739 * Description of Ultrix_Strings2 fix
7741 tSCC zUltrix_Strings2Name[] =
7745 * File name selection pattern
7747 tSCC zUltrix_Strings2List[] =
7750 * Machine/OS name selection pattern
7752 #define apzUltrix_Strings2Machs (const char**)NULL
7755 * content selection pattern - do fix if pattern found
7757 tSCC zUltrix_Strings2Select0[] =
7758 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7760 #define ULTRIX_STRINGS2_TEST_CT 1
7761 static tTestDesc aUltrix_Strings2Tests[] = {
7762 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
7765 * Fix Command Arguments for Ultrix_Strings2
7767 static const char* apzUltrix_Strings2Patch[] = { "sed",
7768 "-e", "/^.*strncmp( const .* );.*/a\\\n\
7771 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
7772 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
7773 "-e", "/^.*strncmp();.*/a\\\n\
7775 \tstrcasecmp(),\\\n\
7776 \tstrncasecmp();\n",
7779 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7781 * Description of Ultrix_Sys_Time fix
7783 tSCC zUltrix_Sys_TimeName[] =
7787 * File name selection pattern
7789 tSCC zUltrix_Sys_TimeList[] =
7792 * Machine/OS name selection pattern
7794 #define apzUltrix_Sys_TimeMachs (const char**)NULL
7797 * content selection pattern - do fix if pattern found
7799 tSCC zUltrix_Sys_TimeSelect0[] =
7800 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
7802 #define ULTRIX_SYS_TIME_TEST_CT 1
7803 static tTestDesc aUltrix_Sys_TimeTests[] = {
7804 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
7807 * Fix Command Arguments for Ultrix_Sys_Time
7809 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
7810 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
7812 extern int adjtime(struct timeval *, struct timeval *);\\\n\
7813 extern int getitimer(int, struct itimerval *);\\\n\
7814 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
7815 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
7816 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
7817 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
7818 extern int stime(const time_t *);\\\n\
7819 extern int utimes(const char *, const struct timeval[2]);\\\n\
7820 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
7821 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
7822 extern\tint adjtime();\\\n\
7823 extern\tint getitimer();\\\n\
7824 extern\tint setitimer();\\\n\
7825 extern\tint gettimeofday();\\\n\
7826 extern\tint settimeofday();\\\n\
7827 extern\tvoid profil();\\\n\
7828 extern\tint stime();\\\n\
7829 extern\tint utimes();\\\n\
7830 extern\tint select();\n",
7833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7835 * Description of Ultrix_Unistd fix
7837 tSCC zUltrix_UnistdName[] =
7841 * File name selection pattern
7843 tSCC zUltrix_UnistdList[] =
7846 * Machine/OS name selection pattern
7848 #define apzUltrix_UnistdMachs (const char**)NULL
7851 * content selection pattern - do fix if pattern found
7853 tSCC zUltrix_UnistdSelect0[] =
7854 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
7856 #define ULTRIX_UNISTD_TEST_CT 1
7857 static tTestDesc aUltrix_UnistdTests[] = {
7858 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
7861 * Fix Command Arguments for Ultrix_Unistd
7863 static const char* apzUltrix_UnistdPatch[] = { "sed",
7864 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
7865 \tgetpagesize(),\n",
7866 "-e", "/^[ \t]*fork(),.*$/a\\\n\
7870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7872 * Description of Unicosmk_Restrict fix
7874 tSCC zUnicosmk_RestrictName[] =
7875 "unicosmk_restrict";
7878 * File name selection pattern
7880 tSCC zUnicosmk_RestrictList[] =
7881 "stdio.h\0stdlib.h\0wchar.h\0";
7883 * Machine/OS name selection pattern
7885 tSCC* apzUnicosmk_RestrictMachs[] = {
7887 (const char*)NULL };
7890 * content selection pattern - do fix if pattern found
7892 tSCC zUnicosmk_RestrictSelect0[] =
7893 "(\\*[ \t]*)restrict([ \t]+)";
7895 #define UNICOSMK_RESTRICT_TEST_CT 1
7896 static tTestDesc aUnicosmk_RestrictTests[] = {
7897 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
7900 * Fix Command Arguments for Unicosmk_Restrict
7902 static const char* apzUnicosmk_RestrictPatch[] = {
7907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7909 * Description of Uw7_Byteorder_Fix fix
7911 tSCC zUw7_Byteorder_FixName[] =
7912 "uw7_byteorder_fix";
7915 * File name selection pattern
7917 tSCC zUw7_Byteorder_FixList[] =
7920 * Machine/OS name selection pattern
7922 tSCC* apzUw7_Byteorder_FixMachs[] = {
7926 "i?86-*-solaris2.[0-4]",
7927 "powerpcle-*-solaris2.[0-4]",
7928 "sparc-*-solaris2.[0-4]",
7929 (const char*)NULL };
7932 * content selection pattern - do fix if pattern found
7934 tSCC zUw7_Byteorder_FixSelect0[] =
7938 * perform the 'test' shell command - do fix on success
7940 tSCC zUw7_Byteorder_FixTest0[] =
7941 "-f sys/byteorder.h";
7943 #define UW7_BYTEORDER_FIX_TEST_CT 2
7944 static tTestDesc aUw7_Byteorder_FixTests[] = {
7945 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
7946 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
7949 * Fix Command Arguments for Uw7_Byteorder_Fix
7951 static const char* apzUw7_Byteorder_FixPatch[] = {
7954 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
7957 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7959 * Description of Va_I960_Macro fix
7961 tSCC zVa_I960_MacroName[] =
7965 * File name selection pattern
7967 tSCC zVa_I960_MacroList[] =
7968 "arch/i960/archI960.h\0";
7970 * Machine/OS name selection pattern
7972 #define apzVa_I960_MacroMachs (const char**)NULL
7975 * content selection pattern - do fix if pattern found
7977 tSCC zVa_I960_MacroSelect0[] =
7978 "__(vsiz|vali|vpad|alignof__)";
7980 #define VA_I960_MACRO_TEST_CT 1
7981 static tTestDesc aVa_I960_MacroTests[] = {
7982 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
7985 * Fix Command Arguments for Va_I960_Macro
7987 static const char* apzVa_I960_MacroPatch[] = {
7992 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7994 * Description of Void_Null fix
7996 tSCC zVoid_NullName[] =
8000 * File name selection pattern
8002 tSCC zVoid_NullList[] =
8003 "curses.h\0dbm.h\0locale.h\0stdio.h\0stdlib.h\0string.h\0time.h\0unistd.h\0sys/dir.h\0sys/param.h\0sys/types.h\0";
8005 * Machine/OS name selection pattern
8007 #define apzVoid_NullMachs (const char**)NULL
8010 * content selection pattern - do fix if pattern found
8012 tSCC zVoid_NullSelect0[] =
8013 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8016 * content bypass pattern - skip fix if pattern found
8018 tSCC zVoid_NullBypass0[] =
8021 #define VOID_NULL_TEST_CT 2
8022 static tTestDesc aVoid_NullTests[] = {
8023 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8024 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8027 * Fix Command Arguments for Void_Null
8029 static const char* apzVoid_NullPatch[] = {
8034 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8036 * Description of Vxworks_Gcc_Problem fix
8038 tSCC zVxworks_Gcc_ProblemName[] =
8039 "vxworks_gcc_problem";
8042 * File name selection pattern
8044 tSCC zVxworks_Gcc_ProblemList[] =
8045 "types/vxTypesBase.h\0";
8047 * Machine/OS name selection pattern
8049 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8052 * content selection pattern - do fix if pattern found
8054 tSCC zVxworks_Gcc_ProblemSelect0[] =
8055 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8057 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8058 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8059 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8062 * Fix Command Arguments for Vxworks_Gcc_Problem
8064 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
8065 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8066 "-e", "/[ \t]size_t/i\\\n\
8067 #ifndef _GCC_SIZE_T\\\n\
8068 #define _GCC_SIZE_T\n",
8069 "-e", "/[ \t]size_t/a\\\n\
8071 "-e", "/[ \t]ptrdiff_t/i\\\n\
8072 #ifndef _GCC_PTRDIFF_T\\\n\
8073 #define _GCC_PTRDIFF_T\n",
8074 "-e", "/[ \t]ptrdiff_t/a\\\n\
8076 "-e", "/[ \t]wchar_t/i\\\n\
8077 #ifndef _GCC_WCHAR_T\\\n\
8078 #define _GCC_WCHAR_T\n",
8079 "-e", "/[ \t]wchar_t/a\\\n\
8083 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8085 * Description of Vxworks_Needs_Vxtypes fix
8087 tSCC zVxworks_Needs_VxtypesName[] =
8088 "vxworks_needs_vxtypes";
8091 * File name selection pattern
8093 tSCC zVxworks_Needs_VxtypesList[] =
8096 * Machine/OS name selection pattern
8098 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8101 * content selection pattern - do fix if pattern found
8103 tSCC zVxworks_Needs_VxtypesSelect0[] =
8104 "uint_t([ \t]+_clocks_per_sec)";
8106 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8107 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8108 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8111 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8113 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8118 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8120 * Description of Vxworks_Needs_Vxworks fix
8122 tSCC zVxworks_Needs_VxworksName[] =
8123 "vxworks_needs_vxworks";
8126 * File name selection pattern
8128 tSCC zVxworks_Needs_VxworksList[] =
8131 * Machine/OS name selection pattern
8133 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8136 * content selection pattern - do fix if pattern found
8138 tSCC zVxworks_Needs_VxworksSelect0[] =
8139 "#[ \t]define[ \t]+__INCstath";
8142 * perform the 'test' shell command - do fix on success
8144 tSCC zVxworks_Needs_VxworksTest0[] =
8145 " -r types/vxTypesOld.h";
8146 tSCC zVxworks_Needs_VxworksTest1[] =
8147 " -n \"`egrep '#include' $file`\"";
8148 tSCC zVxworks_Needs_VxworksTest2[] =
8149 " -n \"`egrep ULONG $file`\"";
8151 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8152 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8153 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8154 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8155 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8156 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8159 * Fix Command Arguments for Vxworks_Needs_Vxworks
8161 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
8162 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8163 #include <types/vxTypesOld.h>\n",
8166 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8168 * Description of Vxworks_Time fix
8170 tSCC zVxworks_TimeName[] =
8174 * File name selection pattern
8176 tSCC zVxworks_TimeList[] =
8179 * Machine/OS name selection pattern
8181 #define apzVxworks_TimeMachs (const char**)NULL
8184 * content selection pattern - do fix if pattern found
8186 tSCC zVxworks_TimeSelect0[] =
8187 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8190 * perform the 'test' shell command - do fix on success
8192 tSCC zVxworks_TimeTest0[] =
8195 #define VXWORKS_TIME_TEST_CT 2
8196 static tTestDesc aVxworks_TimeTests[] = {
8197 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8198 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8201 * Fix Command Arguments for Vxworks_Time
8203 static const char* apzVxworks_TimePatch[] = {
8205 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8206 #ifdef __cplusplus\n\
8207 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8209 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
8211 #define __gcc_VOIDFUNCPTR_defined\n\
8213 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
8216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8218 * Description of Windiss_Math1 fix
8220 tSCC zWindiss_Math1Name[] =
8224 * File name selection pattern
8226 tSCC zWindiss_Math1List[] =
8229 * Machine/OS name selection pattern
8231 tSCC* apzWindiss_Math1Machs[] = {
8233 (const char*)NULL };
8234 #define WINDISS_MATH1_TEST_CT 0
8235 #define aWindiss_Math1Tests (tTestDesc*)NULL
8238 * Fix Command Arguments for Windiss_Math1
8240 static const char* apzWindiss_Math1Patch[] = { "sed",
8241 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
8244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8246 * Description of Windiss_Math2 fix
8248 tSCC zWindiss_Math2Name[] =
8252 * File name selection pattern
8254 tSCC zWindiss_Math2List[] =
8257 * Machine/OS name selection pattern
8259 tSCC* apzWindiss_Math2Machs[] = {
8261 (const char*)NULL };
8262 #define WINDISS_MATH2_TEST_CT 0
8263 #define aWindiss_Math2Tests (tTestDesc*)NULL
8266 * Fix Command Arguments for Windiss_Math2
8268 static const char* apzWindiss_Math2Patch[] = { "sed",
8269 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
8272 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8274 * Description of Windiss_Valist fix
8276 tSCC zWindiss_ValistName[] =
8280 * File name selection pattern
8282 #define zWindiss_ValistList (char*)NULL
8284 * Machine/OS name selection pattern
8286 tSCC* apzWindiss_ValistMachs[] = {
8288 (const char*)NULL };
8291 * content selection pattern - do fix if pattern found
8293 tSCC zWindiss_ValistSelect0[] =
8294 "(#include.*)diab/va_list.h";
8296 #define WINDISS_VALIST_TEST_CT 1
8297 static tTestDesc aWindiss_ValistTests[] = {
8298 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
8301 * Fix Command Arguments for Windiss_Valist
8303 static const char* apzWindiss_ValistPatch[] = { "sed",
8304 "-e", "s|diab/va_list.h|stdarg.h|",
8307 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8309 * Description of X11_Class fix
8311 tSCC zX11_ClassName[] =
8315 * File name selection pattern
8317 tSCC zX11_ClassList[] =
8320 * Machine/OS name selection pattern
8322 #define apzX11_ClassMachs (const char**)NULL
8325 * content selection pattern - do fix if pattern found
8327 tSCC zX11_ClassSelect0[] =
8328 "^([ \t]*char \\*)class;(.*)";
8331 * content bypass pattern - skip fix if pattern found
8333 tSCC zX11_ClassBypass0[] =
8336 #define X11_CLASS_TEST_CT 2
8337 static tTestDesc aX11_ClassTests[] = {
8338 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8339 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8342 * Fix Command Arguments for X11_Class
8344 static const char* apzX11_ClassPatch[] = {
8346 "#ifdef __cplusplus\n\
8353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8355 * Description of X11_Class_Usage fix
8357 tSCC zX11_Class_UsageName[] =
8361 * File name selection pattern
8363 tSCC zX11_Class_UsageList[] =
8364 "Xm/BaseClassI.h\0";
8366 * Machine/OS name selection pattern
8368 #define apzX11_Class_UsageMachs (const char**)NULL
8371 * content selection pattern - do fix if pattern found
8373 tSCC zX11_Class_UsageSelect0[] =
8377 * content bypass pattern - skip fix if pattern found
8379 tSCC zX11_Class_UsageBypass0[] =
8382 #define X11_CLASS_USAGE_TEST_CT 2
8383 static tTestDesc aX11_Class_UsageTests[] = {
8384 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8385 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8388 * Fix Command Arguments for X11_Class_Usage
8390 static const char* apzX11_Class_UsagePatch[] = {
8395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8397 * Description of X11_New fix
8399 tSCC zX11_NewName[] =
8403 * File name selection pattern
8405 tSCC zX11_NewList[] =
8408 * Machine/OS name selection pattern
8410 #define apzX11_NewMachs (const char**)NULL
8413 * content bypass pattern - skip fix if pattern found
8415 tSCC zX11_NewBypass0[] =
8418 #define X11_NEW_TEST_CT 1
8419 static tTestDesc aX11_NewTests[] = {
8420 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8423 * Fix Command Arguments for X11_New
8425 static const char* apzX11_NewPatch[] = { "sed",
8426 "-e", "/Widget\told, new;/i\\\n\
8427 #ifdef __cplusplus\\\n\
8428 \tWidget\told, c_new;\\\n\
8430 "-e", "/Widget\told, new;/a\\\n\
8432 "-e", "s/Widget new,/Widget c_new,/g",
8435 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8437 * Description of X11_Sprintf fix
8439 tSCC zX11_SprintfName[] =
8443 * File name selection pattern
8445 tSCC zX11_SprintfList[] =
8446 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
8448 * Machine/OS name selection pattern
8450 #define apzX11_SprintfMachs (const char**)NULL
8453 * content selection pattern - do fix if pattern found
8455 tSCC zX11_SprintfSelect0[] =
8456 "^extern char \\*\tsprintf\\(\\);$";
8458 #define X11_SPRINTF_TEST_CT 1
8459 static tTestDesc aX11_SprintfTests[] = {
8460 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8463 * Fix Command Arguments for X11_Sprintf
8465 static const char* apzX11_SprintfPatch[] = {
8467 "#ifndef __STDC__\n\
8469 #endif /* !defined __STDC__ */",
8473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8477 #define REGEX_COUNT 253
8478 #define MACH_LIST_SIZE_LIMIT 261
8479 #define FIX_COUNT 208
8482 * Enumerate the fixes
8485 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8486 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8487 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8488 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8489 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8490 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8491 AAB_SUN_MEMCPY_FIXIDX,
8492 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
8493 AAB_ULTRIX_LIMITS_FIXIDX,
8494 AAB_ULTRIX_MEMORY_FIXIDX,
8495 AAB_ULTRIX_STRING_FIXIDX,
8497 AIX_SYSMACHINE_FIXIDX,
8499 AIX_SYSWAIT_2_FIXIDX,
8500 AIX_VOLATILE_FIXIDX,
8501 ALPHA___ASSERT_FIXIDX,
8502 ALPHA___EXTERN_PREFIX_FIXIDX,
8503 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
8504 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
8505 ALPHA_ASSERT_FIXIDX,
8506 ALPHA_BAD_LVAL_FIXIDX,
8507 ALPHA_GETOPT_FIXIDX,
8508 ALPHA_PARENS_FIXIDX,
8509 ALPHA_PTHREAD_FIXIDX,
8510 ALPHA_PTHREAD_GCC_FIXIDX,
8511 ALPHA_PTHREAD_INIT_FIXIDX,
8514 AVOID_BOOL_DEFINE_FIXIDX,
8515 AVOID_BOOL_TYPE_FIXIDX,
8516 AVOID_WCHAR_T_TYPE_FIXIDX,
8517 BAD_STRUCT_TERM_FIXIDX,
8519 BROKEN_ASSERT_STDIO_FIXIDX,
8520 BROKEN_ASSERT_STDLIB_FIXIDX,
8523 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8524 CTRL_QUOTES_DEF_FIXIDX,
8525 CTRL_QUOTES_USE_FIXIDX,
8527 DARWIN_GCC4_BREAKAGE_FIXIDX,
8528 DARWIN_PRIVATE_EXTERN_FIXIDX,
8529 DEC_INTERN_ASM_FIXIDX,
8530 DJGPP_WCHAR_H_FIXIDX,
8532 EXCEPTION_STRUCTURE_FIXIDX,
8533 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8534 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8535 GLIBC_C99_INLINE_1_FIXIDX,
8536 GLIBC_C99_INLINE_2_FIXIDX,
8537 GLIBC_C99_INLINE_3_FIXIDX,
8538 GLIBC_C99_INLINE_4_FIXIDX,
8539 GLIBC_MUTEX_INIT_FIXIDX,
8543 HPUX10_CPP_POW_INLINE_FIXIDX,
8544 HPUX11_CPP_POW_INLINE_FIXIDX,
8545 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8546 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8547 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8549 HPUX11_FABSF_FIXIDX,
8550 HPUX11_SIZE_T_FIXIDX,
8551 HPUX11_SNPRINTF_FIXIDX,
8552 HPUX11_UINT32_C_FIXIDX,
8553 HPUX11_VSNPRINTF_FIXIDX,
8554 HPUX8_BOGUS_INLINES_FIXIDX,
8555 HPUX_CTYPE_MACROS_FIXIDX,
8557 HPUX_LONG_DOUBLE_FIXIDX,
8558 HPUX_SYSTIME_FIXIDX,
8559 HPUX_SPU_INFO_FIXIDX,
8560 HPUX11_EXTERN_SENDFILE_FIXIDX,
8561 HPUX11_EXTERN_SENDPATH_FIXIDX,
8562 HPUX_EXTERN_ERRNO_FIXIDX,
8563 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8564 HUGE_VAL_HEX_FIXIDX,
8565 HUGE_VALF_HEX_FIXIDX,
8566 HUGE_VALL_HEX_FIXIDX,
8567 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8568 IO_QUOTES_DEF_FIXIDX,
8569 IO_QUOTES_USE_FIXIDX,
8570 IP_MISSING_SEMI_FIXIDX,
8571 IRIX___RESTRICT_FIXIDX,
8572 IRIX___GENERIC1_FIXIDX,
8573 IRIX___GENERIC2_FIXIDX,
8574 IRIX_ASM_APOSTROPHE_FIXIDX,
8575 IRIX_LIMITS_CONST_FIXIDX,
8576 IRIX_SOCKLEN_T_FIXIDX,
8577 IRIX_STDIO_VA_LIST_FIXIDX,
8578 IRIX_WCSFTIME_FIXIDX,
8580 ISC_OMITS_WITH_STDC_FIXIDX,
8581 KANDR_CONCAT_FIXIDX,
8582 LIBC1_G_VA_LIST_FIXIDX,
8583 LIBC1_IFDEFD_MEMX_FIXIDX,
8584 LINUX_IA64_UCONTEXT_FIXIDX,
8585 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8586 LYNXOS_MISSING_PUTENV_FIXIDX,
8587 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8588 MACHINE_NAME_FIXIDX,
8589 MATH_EXCEPTION_FIXIDX,
8590 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8591 NESTED_AUTH_DES_FIXIDX,
8592 NESTED_MOTOROLA_FIXIDX,
8593 NESTED_SYS_LIMITS_FIXIDX,
8594 NETBSD_C99_INLINE_1_FIXIDX,
8595 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8596 NEXT_MATH_PREFIX_FIXIDX,
8597 NEXT_TEMPLATE_FIXIDX,
8598 NEXT_VOLITILE_FIXIDX,
8599 NEXT_WAIT_UNION_FIXIDX,
8600 NODEENT_SYNTAX_FIXIDX,
8601 OBSTACK_LVALUE_CAST_FIXIDX,
8602 OSF_NAMESPACE_A_FIXIDX,
8603 OSF_NAMESPACE_C_FIXIDX,
8604 PTHREAD_PAGE_SIZE_FIXIDX,
8605 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8606 READ_RET_TYPE_FIXIDX,
8607 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8608 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8609 RS6000_DOUBLE_FIXIDX,
8610 RS6000_FCHMOD_FIXIDX,
8611 RS6000_PARAM_FIXIDX,
8614 SCO_STATIC_FUNC_FIXIDX,
8616 SOLARIS_MATH_1_FIXIDX,
8617 SOLARIS_MATH_2_FIXIDX,
8618 SOLARIS_MATH_3_FIXIDX,
8619 SOLARIS_MATH_4_FIXIDX,
8620 SOLARIS_MATH_5_FIXIDX,
8621 SOLARIS_MATH_6_FIXIDX,
8622 SOLARIS_MATH_7_FIXIDX,
8623 SOLARIS_MATH_8_FIXIDX,
8624 SOLARIS_MATH_9_FIXIDX,
8625 SOLARIS_MUTEX_INIT_1_FIXIDX,
8626 SOLARIS_MUTEX_INIT_2_FIXIDX,
8627 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8628 SOLARIS_ONCE_INIT_1_FIXIDX,
8629 SOLARIS_ONCE_INIT_2_FIXIDX,
8630 SOLARIS_SOCKET_FIXIDX,
8631 SOLARIS_STDIO_TAG_FIXIDX,
8632 SOLARIS_UNISTD_FIXIDX,
8633 SOLARIS_WIDEC_FIXIDX,
8635 STDIO_STDARG_H_FIXIDX,
8636 STDIO_VA_LIST_FIXIDX,
8637 STDIO_VA_LIST_CLIENTS_FIXIDX,
8638 STRICT_ANSI_NOT_FIXIDX,
8639 STRICT_ANSI_NOT_CTD_FIXIDX,
8640 STRICT_ANSI_ONLY_FIXIDX,
8642 STRUCT_SOCKADDR_FIXIDX,
8643 SUN_AUTH_PROTO_FIXIDX,
8644 SUN_BOGUS_IFDEF_FIXIDX,
8645 SUN_CATMACRO_FIXIDX,
8647 SUN_RUSERS_SEMI_FIXIDX,
8649 SUNOS_STRLEN_FIXIDX,
8650 SVR4_DISABLE_OPT_FIXIDX,
8654 SVR4_SIGHANDLER_TYPE_FIXIDX,
8655 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8656 SYSV68_STRING_FIXIDX,
8657 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8658 THREAD_KEYWORD_FIXIDX,
8659 TINFO_CPLUSPLUS_FIXIDX,
8660 ULTRIX_ATEXIT_PARAM_FIXIDX,
8661 ULTRIX_ATOF_PARAM_FIXIDX,
8662 ULTRIX_CONST_FIXIDX,
8663 ULTRIX_CONST2_FIXIDX,
8664 ULTRIX_CONST3_FIXIDX,
8665 ULTRIX_FIX_FIXPROTO_FIXIDX,
8666 ULTRIX_IFDEF_FIXIDX,
8667 ULTRIX_LOCALE_FIXIDX,
8668 ULTRIX_MATH_IFDEF_FIXIDX,
8669 ULTRIX_NESTED_IOCTL_FIXIDX,
8670 ULTRIX_NESTED_SVC_FIXIDX,
8672 ULTRIX_STATIC_FIXIDX,
8673 ULTRIX_STDLIB_FIXIDX,
8674 ULTRIX_STRINGS_FIXIDX,
8675 ULTRIX_STRINGS2_FIXIDX,
8676 ULTRIX_SYS_TIME_FIXIDX,
8677 ULTRIX_UNISTD_FIXIDX,
8678 UNICOSMK_RESTRICT_FIXIDX,
8679 UW7_BYTEORDER_FIX_FIXIDX,
8680 VA_I960_MACRO_FIXIDX,
8682 VXWORKS_GCC_PROBLEM_FIXIDX,
8683 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8684 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8685 VXWORKS_TIME_FIXIDX,
8686 WINDISS_MATH1_FIXIDX,
8687 WINDISS_MATH2_FIXIDX,
8688 WINDISS_VALIST_FIXIDX,
8690 X11_CLASS_USAGE_FIXIDX,
8695 tFixDesc fixDescList[ FIX_COUNT ] = {
8696 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8697 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8698 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8699 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8701 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8702 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8703 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8704 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8706 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8707 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8708 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8709 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8711 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8712 apzAab_Fd_Zero_Gnu_Types_HMachs,
8713 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8714 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8716 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8717 apzAab_Fd_Zero_Selectbits_HMachs,
8718 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8719 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8721 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8722 apzAab_Solaris_Sys_Varargs_HMachs,
8723 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8724 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8726 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8727 apzAab_Sun_MemcpyMachs,
8728 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8729 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8731 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
8732 apzAab_Ultrix_Ansi_CompatMachs,
8733 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8734 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
8736 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
8737 apzAab_Ultrix_LimitsMachs,
8738 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8739 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
8741 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
8742 apzAab_Ultrix_MemoryMachs,
8743 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8744 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
8746 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
8747 apzAab_Ultrix_StringMachs,
8748 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8749 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
8751 { zAix_PthreadName, zAix_PthreadList,
8752 apzAix_PthreadMachs,
8753 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8754 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8756 { zAix_SysmachineName, zAix_SysmachineList,
8757 apzAix_SysmachineMachs,
8758 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8759 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8761 { zAix_SyswaitName, zAix_SyswaitList,
8762 apzAix_SyswaitMachs,
8763 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8764 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
8766 { zAix_Syswait_2Name, zAix_Syswait_2List,
8767 apzAix_Syswait_2Machs,
8768 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8769 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8771 { zAix_VolatileName, zAix_VolatileList,
8772 apzAix_VolatileMachs,
8773 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8774 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8776 { zAlpha___AssertName, zAlpha___AssertList,
8777 apzAlpha___AssertMachs,
8778 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8779 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8781 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8782 apzAlpha___Extern_PrefixMachs,
8783 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8784 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8786 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8787 apzAlpha___Extern_Prefix_StandardsMachs,
8788 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8789 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8791 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8792 apzAlpha___Extern_Prefix_Sys_StatMachs,
8793 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8794 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8796 { zAlpha_AssertName, zAlpha_AssertList,
8797 apzAlpha_AssertMachs,
8798 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8799 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8801 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8802 apzAlpha_Bad_LvalMachs,
8803 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8804 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8806 { zAlpha_GetoptName, zAlpha_GetoptList,
8807 apzAlpha_GetoptMachs,
8808 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8809 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8811 { zAlpha_ParensName, zAlpha_ParensList,
8812 apzAlpha_ParensMachs,
8813 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8814 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8816 { zAlpha_PthreadName, zAlpha_PthreadList,
8817 apzAlpha_PthreadMachs,
8818 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8819 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8821 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8822 apzAlpha_Pthread_GccMachs,
8823 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8824 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8826 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8827 apzAlpha_Pthread_InitMachs,
8828 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8829 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8831 { zAlpha_SbrkName, zAlpha_SbrkList,
8833 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8834 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8836 { zAlpha_WcharName, zAlpha_WcharList,
8837 apzAlpha_WcharMachs,
8838 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8839 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8841 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8842 apzAvoid_Bool_DefineMachs,
8843 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8844 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8846 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8847 apzAvoid_Bool_TypeMachs,
8848 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8849 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
8851 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
8852 apzAvoid_Wchar_T_TypeMachs,
8853 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8854 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
8856 { zBad_Struct_TermName, zBad_Struct_TermList,
8857 apzBad_Struct_TermMachs,
8858 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8859 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
8861 { zBadquoteName, zBadquoteList,
8863 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8864 aBadquoteTests, apzBadquotePatch, 0 },
8866 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
8867 apzBroken_Assert_StdioMachs,
8868 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8869 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
8871 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
8872 apzBroken_Assert_StdlibMachs,
8873 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8874 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
8876 { zBroken_CabsName, zBroken_CabsList,
8877 apzBroken_CabsMachs,
8878 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
8879 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
8881 { zBroken_NanName, zBroken_NanList,
8883 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8884 aBroken_NanTests, apzBroken_NanPatch, 0 },
8886 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
8887 apzBsd_Stdio_Attrs_ConflictMachs,
8888 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8889 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
8891 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
8892 apzCtrl_Quotes_DefMachs,
8893 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8894 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
8896 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
8897 apzCtrl_Quotes_UseMachs,
8898 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8899 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
8901 { zCxx_UnreadyName, zCxx_UnreadyList,
8902 apzCxx_UnreadyMachs,
8903 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8904 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
8906 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
8907 apzDarwin_Gcc4_BreakageMachs,
8908 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8909 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
8911 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
8912 apzDarwin_Private_ExternMachs,
8913 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8914 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
8916 { zDec_Intern_AsmName, zDec_Intern_AsmList,
8917 apzDec_Intern_AsmMachs,
8918 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
8919 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
8921 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
8922 apzDjgpp_Wchar_HMachs,
8923 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8924 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
8926 { zEcd_CursorName, zEcd_CursorList,
8928 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8929 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
8931 { zException_StructureName, zException_StructureList,
8932 apzException_StructureMachs,
8933 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8934 aException_StructureTests, apzException_StructurePatch, 0 },
8936 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
8937 apzFreebsd_Gcc3_BreakageMachs,
8938 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8939 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
8941 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
8942 apzFreebsd_Gcc4_BreakageMachs,
8943 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8944 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
8946 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
8947 apzGlibc_C99_Inline_1Machs,
8948 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8949 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
8951 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
8952 apzGlibc_C99_Inline_2Machs,
8953 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
8954 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
8956 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
8957 apzGlibc_C99_Inline_3Machs,
8958 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8959 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
8961 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
8962 apzGlibc_C99_Inline_4Machs,
8963 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8964 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
8966 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
8967 apzGlibc_Mutex_InitMachs,
8968 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
8969 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
8971 { zGnu_TypesName, zGnu_TypesList,
8973 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8974 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
8976 { zHp_InlineName, zHp_InlineList,
8978 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8979 aHp_InlineTests, apzHp_InlinePatch, 0 },
8981 { zHp_SysfileName, zHp_SysfileList,
8983 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8984 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
8986 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
8987 apzHpux10_Cpp_Pow_InlineMachs,
8988 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8989 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
8991 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
8992 apzHpux11_Cpp_Pow_InlineMachs,
8993 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8994 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
8996 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
8997 apzHpux10_Ctype_Declarations1Machs,
8998 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8999 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
9001 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
9002 apzHpux10_Ctype_Declarations2Machs,
9003 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9004 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
9006 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
9007 apzHpux10_Stdio_DeclarationsMachs,
9008 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9009 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
9011 { zHpux11_AbsName, zHpux11_AbsList,
9013 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9014 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
9016 { zHpux11_FabsfName, zHpux11_FabsfList,
9017 apzHpux11_FabsfMachs,
9018 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9019 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
9021 { zHpux11_Size_TName, zHpux11_Size_TList,
9022 apzHpux11_Size_TMachs,
9023 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9024 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
9026 { zHpux11_SnprintfName, zHpux11_SnprintfList,
9027 apzHpux11_SnprintfMachs,
9028 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9029 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
9031 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
9032 apzHpux11_Uint32_CMachs,
9033 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9034 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
9036 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
9037 apzHpux11_VsnprintfMachs,
9038 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9039 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
9041 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
9042 apzHpux8_Bogus_InlinesMachs,
9043 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
9044 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
9046 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
9047 apzHpux_Ctype_MacrosMachs,
9048 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9049 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
9051 { zHpux_HtonlName, zHpux_HtonlList,
9053 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9054 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
9056 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
9057 apzHpux_Long_DoubleMachs,
9058 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
9059 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
9061 { zHpux_SystimeName, zHpux_SystimeList,
9062 apzHpux_SystimeMachs,
9063 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9064 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
9066 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
9067 apzHpux_Spu_InfoMachs,
9068 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9069 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
9071 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
9072 apzHpux11_Extern_SendfileMachs,
9073 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9074 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
9076 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
9077 apzHpux11_Extern_SendpathMachs,
9078 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9079 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
9081 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
9082 apzHpux_Extern_ErrnoMachs,
9083 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9084 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
9086 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
9087 apzHpux_Pthread_InitializersMachs,
9088 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
9089 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
9091 { zHuge_Val_HexName, zHuge_Val_HexList,
9092 apzHuge_Val_HexMachs,
9093 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9094 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
9096 { zHuge_Valf_HexName, zHuge_Valf_HexList,
9097 apzHuge_Valf_HexMachs,
9098 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9099 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
9101 { zHuge_Vall_HexName, zHuge_Vall_HexList,
9102 apzHuge_Vall_HexMachs,
9103 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9104 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
9106 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
9107 apzInt_Abort_Free_And_ExitMachs,
9108 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9109 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
9111 { zIo_Quotes_DefName, zIo_Quotes_DefList,
9112 apzIo_Quotes_DefMachs,
9113 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9114 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
9116 { zIo_Quotes_UseName, zIo_Quotes_UseList,
9117 apzIo_Quotes_UseMachs,
9118 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9119 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
9121 { zIp_Missing_SemiName, zIp_Missing_SemiList,
9122 apzIp_Missing_SemiMachs,
9123 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
9124 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
9126 { zIrix___RestrictName, zIrix___RestrictList,
9127 apzIrix___RestrictMachs,
9128 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9129 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
9131 { zIrix___Generic1Name, zIrix___Generic1List,
9132 apzIrix___Generic1Machs,
9133 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9134 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
9136 { zIrix___Generic2Name, zIrix___Generic2List,
9137 apzIrix___Generic2Machs,
9138 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9139 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
9141 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
9142 apzIrix_Asm_ApostropheMachs,
9143 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9144 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
9146 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
9147 apzIrix_Limits_ConstMachs,
9148 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9149 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
9151 { zIrix_Socklen_TName, zIrix_Socklen_TList,
9152 apzIrix_Socklen_TMachs,
9153 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9154 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
9156 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
9157 apzIrix_Stdio_Va_ListMachs,
9158 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9159 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
9161 { zIrix_WcsftimeName, zIrix_WcsftimeList,
9162 apzIrix_WcsftimeMachs,
9163 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9164 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
9166 { zIsc_FmodName, zIsc_FmodList,
9168 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9169 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
9171 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
9172 apzIsc_Omits_With_StdcMachs,
9173 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9174 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
9176 { zKandr_ConcatName, zKandr_ConcatList,
9177 apzKandr_ConcatMachs,
9178 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9179 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
9181 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
9182 apzLibc1_G_Va_ListMachs,
9183 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9184 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
9186 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
9187 apzLibc1_Ifdefd_MemxMachs,
9188 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9189 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
9191 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
9192 apzLinux_Ia64_UcontextMachs,
9193 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9194 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
9196 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
9197 apzLynxos_No_Warning_In_Sys_Time_HMachs,
9198 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9199 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
9201 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
9202 apzLynxos_Missing_PutenvMachs,
9203 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9204 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
9206 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
9207 apzMachine_Ansi_H_Va_ListMachs,
9208 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9209 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
9211 { zMachine_NameName, zMachine_NameList,
9212 apzMachine_NameMachs,
9213 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9214 aMachine_NameTests, apzMachine_NamePatch, 0 },
9216 { zMath_ExceptionName, zMath_ExceptionList,
9217 apzMath_ExceptionMachs,
9218 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9219 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
9221 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
9222 apzMath_Huge_Val_From_Dbl_MaxMachs,
9223 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
9224 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
9226 { zNested_Auth_DesName, zNested_Auth_DesList,
9227 apzNested_Auth_DesMachs,
9228 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9229 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9231 { zNested_MotorolaName, zNested_MotorolaList,
9232 apzNested_MotorolaMachs,
9233 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
9234 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
9236 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
9237 apzNested_Sys_LimitsMachs,
9238 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
9239 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
9241 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
9242 apzNetbsd_C99_Inline_1Machs,
9243 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9244 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
9246 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9247 apzNetbsd_Extra_SemicolonMachs,
9248 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9249 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9251 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9252 apzNext_Math_PrefixMachs,
9253 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9254 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9256 { zNext_TemplateName, zNext_TemplateList,
9257 apzNext_TemplateMachs,
9258 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9259 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9261 { zNext_VolitileName, zNext_VolitileList,
9262 apzNext_VolitileMachs,
9263 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9264 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9266 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9267 apzNext_Wait_UnionMachs,
9268 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9269 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9271 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9272 apzNodeent_SyntaxMachs,
9273 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9274 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9276 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9277 apzObstack_Lvalue_CastMachs,
9278 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9279 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9281 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9282 apzOsf_Namespace_AMachs,
9283 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9284 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9286 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9287 apzOsf_Namespace_CMachs,
9288 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9289 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9291 { zPthread_Page_SizeName, zPthread_Page_SizeList,
9292 apzPthread_Page_SizeMachs,
9293 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9294 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
9296 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9297 apzPthread_Incomplete_Struct_ArgumentMachs,
9298 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9299 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9301 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9302 apzRead_Ret_TypeMachs,
9303 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9304 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9306 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9307 apzRpc_Xdr_Lvalue_Cast_AMachs,
9308 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9309 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9311 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9312 apzRpc_Xdr_Lvalue_Cast_BMachs,
9313 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9314 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9316 { zRs6000_DoubleName, zRs6000_DoubleList,
9317 apzRs6000_DoubleMachs,
9318 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9319 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9321 { zRs6000_FchmodName, zRs6000_FchmodList,
9322 apzRs6000_FchmodMachs,
9323 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9324 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9326 { zRs6000_ParamName, zRs6000_ParamList,
9327 apzRs6000_ParamMachs,
9328 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9329 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9331 { zSco_MathName, zSco_MathList,
9333 SCO_MATH_TEST_CT, FD_MACH_ONLY,
9334 aSco_MathTests, apzSco_MathPatch, 0 },
9336 { zSco_RegsetName, zSco_RegsetList,
9338 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9339 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
9341 { zSco_Static_FuncName, zSco_Static_FuncList,
9342 apzSco_Static_FuncMachs,
9343 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
9344 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
9346 { zSco_UtimeName, zSco_UtimeList,
9348 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9349 aSco_UtimeTests, apzSco_UtimePatch, 0 },
9351 { zSolaris_Math_1Name, zSolaris_Math_1List,
9352 apzSolaris_Math_1Machs,
9353 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9354 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9356 { zSolaris_Math_2Name, zSolaris_Math_2List,
9357 apzSolaris_Math_2Machs,
9358 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9359 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9361 { zSolaris_Math_3Name, zSolaris_Math_3List,
9362 apzSolaris_Math_3Machs,
9363 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9364 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9366 { zSolaris_Math_4Name, zSolaris_Math_4List,
9367 apzSolaris_Math_4Machs,
9368 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9369 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9371 { zSolaris_Math_5Name, zSolaris_Math_5List,
9372 apzSolaris_Math_5Machs,
9373 SOLARIS_MATH_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9374 aSolaris_Math_5Tests, apzSolaris_Math_5Patch, 0 },
9376 { zSolaris_Math_6Name, zSolaris_Math_6List,
9377 apzSolaris_Math_6Machs,
9378 SOLARIS_MATH_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9379 aSolaris_Math_6Tests, apzSolaris_Math_6Patch, 0 },
9381 { zSolaris_Math_7Name, zSolaris_Math_7List,
9382 apzSolaris_Math_7Machs,
9383 SOLARIS_MATH_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9384 aSolaris_Math_7Tests, apzSolaris_Math_7Patch, 0 },
9386 { zSolaris_Math_8Name, zSolaris_Math_8List,
9387 apzSolaris_Math_8Machs,
9388 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9389 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9391 { zSolaris_Math_9Name, zSolaris_Math_9List,
9392 apzSolaris_Math_9Machs,
9393 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9394 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9396 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
9397 apzSolaris_Mutex_Init_1Machs,
9398 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
9399 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
9401 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9402 apzSolaris_Mutex_Init_2Machs,
9403 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9404 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9406 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9407 apzSolaris_Rwlock_Init_1Machs,
9408 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9409 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9411 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9412 apzSolaris_Once_Init_1Machs,
9413 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9414 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9416 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9417 apzSolaris_Once_Init_2Machs,
9418 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9419 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9421 { zSolaris_SocketName, zSolaris_SocketList,
9422 apzSolaris_SocketMachs,
9423 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9424 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
9426 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9427 apzSolaris_Stdio_TagMachs,
9428 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9429 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9431 { zSolaris_UnistdName, zSolaris_UnistdList,
9432 apzSolaris_UnistdMachs,
9433 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9434 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
9436 { zSolaris_WidecName, zSolaris_WidecList,
9437 apzSolaris_WidecMachs,
9438 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9439 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
9441 { zStatsswtchName, zStatsswtchList,
9443 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9444 aStatsswtchTests, apzStatsswtchPatch, 0 },
9446 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9447 apzStdio_Stdarg_HMachs,
9448 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9449 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9451 { zStdio_Va_ListName, zStdio_Va_ListList,
9452 apzStdio_Va_ListMachs,
9453 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9454 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9456 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9457 apzStdio_Va_List_ClientsMachs,
9458 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9459 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9461 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9462 apzStrict_Ansi_NotMachs,
9463 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9464 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9466 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9467 apzStrict_Ansi_Not_CtdMachs,
9468 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9469 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9471 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9472 apzStrict_Ansi_OnlyMachs,
9473 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9474 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9476 { zStruct_FileName, zStruct_FileList,
9477 apzStruct_FileMachs,
9478 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9479 aStruct_FileTests, apzStruct_FilePatch, 0 },
9481 { zStruct_SockaddrName, zStruct_SockaddrList,
9482 apzStruct_SockaddrMachs,
9483 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9484 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9486 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9487 apzSun_Auth_ProtoMachs,
9488 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9489 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9491 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9492 apzSun_Bogus_IfdefMachs,
9493 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9494 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9496 { zSun_CatmacroName, zSun_CatmacroList,
9497 apzSun_CatmacroMachs,
9498 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9499 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9501 { zSun_MallocName, zSun_MallocList,
9503 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9504 aSun_MallocTests, apzSun_MallocPatch, 0 },
9506 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9507 apzSun_Rusers_SemiMachs,
9508 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9509 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9511 { zSun_SignalName, zSun_SignalList,
9513 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9514 aSun_SignalTests, apzSun_SignalPatch, 0 },
9516 { zSunos_StrlenName, zSunos_StrlenList,
9517 apzSunos_StrlenMachs,
9518 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9519 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9521 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9522 apzSvr4_Disable_OptMachs,
9523 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9524 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9526 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9527 apzSvr4_GetcwdMachs,
9528 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9529 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9531 { zSvr4_KrnlName, zSvr4_KrnlList,
9533 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9534 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
9536 { zSvr4_ProfilName, zSvr4_ProfilList,
9537 apzSvr4_ProfilMachs,
9538 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9539 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9541 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9542 apzSvr4_Sighandler_TypeMachs,
9543 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9544 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9546 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9547 apzSvr4_Undeclared_GetrngeMachs,
9548 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9549 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9551 { zSysv68_StringName, zSysv68_StringList,
9552 apzSysv68_StringMachs,
9553 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9554 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9556 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9557 apzSysz_Stdlib_For_SunMachs,
9558 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9559 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9561 { zThread_KeywordName, zThread_KeywordList,
9562 apzThread_KeywordMachs,
9563 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9564 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9566 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9567 apzTinfo_CplusplusMachs,
9568 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9569 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9571 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
9572 apzUltrix_Atexit_ParamMachs,
9573 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9574 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
9576 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
9577 apzUltrix_Atof_ParamMachs,
9578 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9579 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
9581 { zUltrix_ConstName, zUltrix_ConstList,
9582 apzUltrix_ConstMachs,
9583 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9584 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9586 { zUltrix_Const2Name, zUltrix_Const2List,
9587 apzUltrix_Const2Machs,
9588 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9589 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9591 { zUltrix_Const3Name, zUltrix_Const3List,
9592 apzUltrix_Const3Machs,
9593 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9594 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
9596 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
9597 apzUltrix_Fix_FixprotoMachs,
9598 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9599 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
9601 { zUltrix_IfdefName, zUltrix_IfdefList,
9602 apzUltrix_IfdefMachs,
9603 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9604 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
9606 { zUltrix_LocaleName, zUltrix_LocaleList,
9607 apzUltrix_LocaleMachs,
9608 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9609 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
9611 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
9612 apzUltrix_Math_IfdefMachs,
9613 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9614 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
9616 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
9617 apzUltrix_Nested_IoctlMachs,
9618 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
9619 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
9621 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
9622 apzUltrix_Nested_SvcMachs,
9623 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
9624 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
9626 { zUltrix_StatName, zUltrix_StatList,
9627 apzUltrix_StatMachs,
9628 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
9629 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
9631 { zUltrix_StaticName, zUltrix_StaticList,
9632 apzUltrix_StaticMachs,
9633 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
9634 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
9636 { zUltrix_StdlibName, zUltrix_StdlibList,
9637 apzUltrix_StdlibMachs,
9638 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
9639 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
9641 { zUltrix_StringsName, zUltrix_StringsList,
9642 apzUltrix_StringsMachs,
9643 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9644 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
9646 { zUltrix_Strings2Name, zUltrix_Strings2List,
9647 apzUltrix_Strings2Machs,
9648 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
9649 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
9651 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
9652 apzUltrix_Sys_TimeMachs,
9653 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
9654 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
9656 { zUltrix_UnistdName, zUltrix_UnistdList,
9657 apzUltrix_UnistdMachs,
9658 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
9659 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
9661 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
9662 apzUnicosmk_RestrictMachs,
9663 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9664 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
9666 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
9667 apzUw7_Byteorder_FixMachs,
9668 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9669 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
9671 { zVa_I960_MacroName, zVa_I960_MacroList,
9672 apzVa_I960_MacroMachs,
9673 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9674 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9676 { zVoid_NullName, zVoid_NullList,
9678 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9679 aVoid_NullTests, apzVoid_NullPatch, 0 },
9681 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
9682 apzVxworks_Gcc_ProblemMachs,
9683 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
9684 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
9686 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
9687 apzVxworks_Needs_VxtypesMachs,
9688 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9689 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
9691 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
9692 apzVxworks_Needs_VxworksMachs,
9693 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
9694 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
9696 { zVxworks_TimeName, zVxworks_TimeList,
9697 apzVxworks_TimeMachs,
9698 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9699 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
9701 { zWindiss_Math1Name, zWindiss_Math1List,
9702 apzWindiss_Math1Machs,
9703 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
9704 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
9706 { zWindiss_Math2Name, zWindiss_Math2List,
9707 apzWindiss_Math2Machs,
9708 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
9709 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
9711 { zWindiss_ValistName, zWindiss_ValistList,
9712 apzWindiss_ValistMachs,
9713 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
9714 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
9716 { zX11_ClassName, zX11_ClassList,
9718 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9719 aX11_ClassTests, apzX11_ClassPatch, 0 },
9721 { zX11_Class_UsageName, zX11_Class_UsageList,
9722 apzX11_Class_UsageMachs,
9723 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9724 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9726 { zX11_NewName, zX11_NewList,
9728 X11_NEW_TEST_CT, FD_MACH_ONLY,
9729 aX11_NewTests, apzX11_NewPatch, 0 },
9731 { zX11_SprintfName, zX11_SprintfList,
9732 apzX11_SprintfMachs,
9733 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9734 aX11_SprintfTests, apzX11_SprintfPatch, 0 }