1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Tuesday December 18, 2007 at 03:28:19 AM CET
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Tue Dec 18 03:28:19 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 212 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_Externc fix
1885 tSCC zDarwin_ExterncName[] =
1889 * File name selection pattern
1891 tSCC zDarwin_ExterncList[] =
1892 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
1894 * Machine/OS name selection pattern
1896 tSCC* apzDarwin_ExterncMachs[] = {
1898 (const char*)NULL };
1901 * content bypass pattern - skip fix if pattern found
1903 tSCC zDarwin_ExterncBypass0[] =
1905 tSCC zDarwin_ExterncBypass1[] =
1908 #define DARWIN_EXTERNC_TEST_CT 2
1909 static tTestDesc aDarwin_ExterncTests[] = {
1910 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
1911 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
1914 * Fix Command Arguments for Darwin_Externc
1916 static const char* apzDarwin_ExterncPatch[] = {
1918 "#ifdef __cplusplus\n\
1921 "#ifdef __cplusplus\n\
1926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1928 * Description of Darwin_Gcc4_Breakage fix
1930 tSCC zDarwin_Gcc4_BreakageName[] =
1931 "darwin_gcc4_breakage";
1934 * File name selection pattern
1936 tSCC zDarwin_Gcc4_BreakageList[] =
1937 "AvailabilityMacros.h\0";
1939 * Machine/OS name selection pattern
1941 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1943 (const char*)NULL };
1946 * content selection pattern - do fix if pattern found
1948 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1949 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1951 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1952 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1953 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1956 * Fix Command Arguments for Darwin_Gcc4_Breakage
1958 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1960 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1965 * Description of Darwin_Private_Extern fix
1967 tSCC zDarwin_Private_ExternName[] =
1968 "darwin_private_extern";
1971 * File name selection pattern
1973 tSCC zDarwin_Private_ExternList[] =
1976 * Machine/OS name selection pattern
1978 tSCC* apzDarwin_Private_ExternMachs[] = {
1980 (const char*)NULL };
1983 * content selection pattern - do fix if pattern found
1985 tSCC zDarwin_Private_ExternSelect0[] =
1986 "__private_extern__ [a-z_]+ _dyld_";
1988 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1989 static tTestDesc aDarwin_Private_ExternTests[] = {
1990 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1993 * Fix Command Arguments for Darwin_Private_Extern
1995 static const char* apzDarwin_Private_ExternPatch[] = {
1998 "__private_extern__",
2001 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2003 * Description of Dec_Intern_Asm fix
2005 tSCC zDec_Intern_AsmName[] =
2009 * File name selection pattern
2011 tSCC zDec_Intern_AsmList[] =
2014 * Machine/OS name selection pattern
2016 #define apzDec_Intern_AsmMachs (const char**)NULL
2017 #define DEC_INTERN_ASM_TEST_CT 0
2018 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2021 * Fix Command Arguments for Dec_Intern_Asm
2023 static const char* apzDec_Intern_AsmPatch[] = { "sed",
2024 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2026 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2032 * Description of Djgpp_Wchar_H fix
2034 tSCC zDjgpp_Wchar_HName[] =
2038 * File name selection pattern
2040 #define zDjgpp_Wchar_HList (char*)NULL
2042 * Machine/OS name selection pattern
2044 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2047 * content selection pattern - do fix if pattern found
2049 tSCC zDjgpp_Wchar_HSelect0[] =
2053 * content bypass pattern - skip fix if pattern found
2055 tSCC zDjgpp_Wchar_HBypass0[] =
2058 #define DJGPP_WCHAR_H_TEST_CT 2
2059 static tTestDesc aDjgpp_Wchar_HTests[] = {
2060 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2061 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2064 * Fix Command Arguments for Djgpp_Wchar_H
2066 static const char* apzDjgpp_Wchar_HPatch[] = {
2069 #include <sys/djtypes.h>",
2070 "#include <stddef.h>",
2073 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2075 * Description of Ecd_Cursor fix
2077 tSCC zEcd_CursorName[] =
2081 * File name selection pattern
2083 tSCC zEcd_CursorList[] =
2084 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2086 * Machine/OS name selection pattern
2088 #define apzEcd_CursorMachs (const char**)NULL
2091 * content selection pattern - do fix if pattern found
2093 tSCC zEcd_CursorSelect0[] =
2096 #define ECD_CURSOR_TEST_CT 1
2097 static tTestDesc aEcd_CursorTests[] = {
2098 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2101 * Fix Command Arguments for Ecd_Cursor
2103 static const char* apzEcd_CursorPatch[] = {
2108 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2110 * Description of Exception_Structure fix
2112 tSCC zException_StructureName[] =
2113 "exception_structure";
2116 * File name selection pattern
2118 tSCC zException_StructureList[] =
2121 * Machine/OS name selection pattern
2123 #define apzException_StructureMachs (const char**)NULL
2126 * content selection pattern - do fix if pattern found
2128 tSCC zException_StructureSelect0[] =
2132 * content bypass pattern - skip fix if pattern found
2134 tSCC zException_StructureBypass0[] =
2135 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
2137 #define EXCEPTION_STRUCTURE_TEST_CT 2
2138 static tTestDesc aException_StructureTests[] = {
2139 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
2140 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
2143 * Fix Command Arguments for Exception_Structure
2145 static const char* apzException_StructurePatch[] = {
2147 "struct exception;\n",
2150 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2152 * Description of Freebsd_Gcc3_Breakage fix
2154 tSCC zFreebsd_Gcc3_BreakageName[] =
2155 "freebsd_gcc3_breakage";
2158 * File name selection pattern
2160 tSCC zFreebsd_Gcc3_BreakageList[] =
2163 * Machine/OS name selection pattern
2165 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2167 (const char*)NULL };
2170 * content selection pattern - do fix if pattern found
2172 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2173 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2176 * content bypass pattern - skip fix if pattern found
2178 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2179 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2181 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2182 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2183 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2184 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2187 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2189 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2191 "%0 || __GNUC__ >= 3",
2194 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2196 * Description of Freebsd_Gcc4_Breakage fix
2198 tSCC zFreebsd_Gcc4_BreakageName[] =
2199 "freebsd_gcc4_breakage";
2202 * File name selection pattern
2204 tSCC zFreebsd_Gcc4_BreakageList[] =
2207 * Machine/OS name selection pattern
2209 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2211 (const char*)NULL };
2214 * content selection pattern - do fix if pattern found
2216 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2217 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2219 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2220 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2221 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2224 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2226 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2228 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2233 * Description of Glibc_C99_Inline_1 fix
2235 tSCC zGlibc_C99_Inline_1Name[] =
2236 "glibc_c99_inline_1";
2239 * File name selection pattern
2241 tSCC zGlibc_C99_Inline_1List[] =
2242 "features.h\0*/features.h\0";
2244 * Machine/OS name selection pattern
2246 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2249 * content selection pattern - do fix if pattern found
2251 tSCC zGlibc_C99_Inline_1Select0[] =
2252 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2254 #define GLIBC_C99_INLINE_1_TEST_CT 1
2255 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2256 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2259 * Fix Command Arguments for Glibc_C99_Inline_1
2261 static const char* apzGlibc_C99_Inline_1Patch[] = {
2263 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2268 * Description of Glibc_C99_Inline_1a fix
2270 tSCC zGlibc_C99_Inline_1aName[] =
2271 "glibc_c99_inline_1a";
2274 * File name selection pattern
2276 tSCC zGlibc_C99_Inline_1aList[] =
2277 "features.h\0*/features.h\0";
2279 * Machine/OS name selection pattern
2281 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2284 * content selection pattern - do fix if pattern found
2286 tSCC zGlibc_C99_Inline_1aSelect0[] =
2287 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2288 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2290 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2291 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2292 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2295 * Fix Command Arguments for Glibc_C99_Inline_1a
2297 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2299 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2303 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2305 * Description of Glibc_C99_Inline_2 fix
2307 tSCC zGlibc_C99_Inline_2Name[] =
2308 "glibc_c99_inline_2";
2311 * File name selection pattern
2313 tSCC zGlibc_C99_Inline_2List[] =
2314 "sys/stat.h\0*/sys/stat.h\0";
2316 * Machine/OS name selection pattern
2318 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2321 * content selection pattern - do fix if pattern found
2323 tSCC zGlibc_C99_Inline_2Select0[] =
2324 "extern __inline__ int";
2326 #define GLIBC_C99_INLINE_2_TEST_CT 1
2327 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2328 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2331 * Fix Command Arguments for Glibc_C99_Inline_2
2333 static const char* apzGlibc_C99_Inline_2Patch[] = { "sed",
2334 "-e", "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2337 __inline__ int \\1/",
2338 "-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2341 __inline__ int __REDIRECT\\1 (\\2/",
2342 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
2348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2350 * Description of Glibc_C99_Inline_3 fix
2352 tSCC zGlibc_C99_Inline_3Name[] =
2353 "glibc_c99_inline_3";
2356 * File name selection pattern
2358 tSCC zGlibc_C99_Inline_3List[] =
2359 "bits/string2.h\0*/bits/string2.h\0";
2361 * Machine/OS name selection pattern
2363 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2366 * content selection pattern - do fix if pattern found
2368 tSCC zGlibc_C99_Inline_3Select0[] =
2372 * content bypass pattern - skip fix if pattern found
2374 tSCC zGlibc_C99_Inline_3Bypass0[] =
2377 #define GLIBC_C99_INLINE_3_TEST_CT 2
2378 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2379 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
2380 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
2383 * Fix Command Arguments for Glibc_C99_Inline_3
2385 static const char* apzGlibc_C99_Inline_3Patch[] = {
2387 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
2388 "^# ifdef __cplusplus$",
2391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2393 * Description of Glibc_C99_Inline_4 fix
2395 tSCC zGlibc_C99_Inline_4Name[] =
2396 "glibc_c99_inline_4";
2399 * File name selection pattern
2401 tSCC zGlibc_C99_Inline_4List[] =
2402 "sys/sysmacros.h\0*/sys/sysmacros.h\0";
2404 * Machine/OS name selection pattern
2406 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2409 * content selection pattern - do fix if pattern found
2411 tSCC zGlibc_C99_Inline_4Select0[] =
2415 * content bypass pattern - skip fix if pattern found
2417 tSCC zGlibc_C99_Inline_4Bypass0[] =
2420 #define GLIBC_C99_INLINE_4_TEST_CT 2
2421 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2422 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
2423 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
2426 * Fix Command Arguments for Glibc_C99_Inline_4
2428 static const char* apzGlibc_C99_Inline_4Patch[] = {
2431 #ifdef __GNUC_GNU_INLINE__\n\
2437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2439 * Description of Glibc_C99_Inline_5 fix
2441 tSCC zGlibc_C99_Inline_5Name[] =
2442 "glibc_c99_inline_5";
2445 * File name selection pattern
2447 tSCC zGlibc_C99_Inline_5List[] =
2448 "wchar.h\0*/wchar.h\0";
2450 * Machine/OS name selection pattern
2452 #define apzGlibc_C99_Inline_5Machs (const char**)NULL
2455 * content selection pattern - do fix if pattern found
2457 tSCC zGlibc_C99_Inline_5Select0[] =
2458 "(^| )extern __inline";
2461 * content bypass pattern - skip fix if pattern found
2463 tSCC zGlibc_C99_Inline_5Bypass0[] =
2466 #define GLIBC_C99_INLINE_5_TEST_CT 2
2467 static tTestDesc aGlibc_C99_Inline_5Tests[] = {
2468 { TT_NEGREP, zGlibc_C99_Inline_5Bypass0, (regex_t*)NULL },
2469 { TT_EGREP, zGlibc_C99_Inline_5Select0, (regex_t*)NULL }, };
2472 * Fix Command Arguments for Glibc_C99_Inline_5
2474 static const char* apzGlibc_C99_Inline_5Patch[] = {
2477 #ifdef __GNUC_GNU_INLINE__\n\
2483 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2485 * Description of Glibc_Mutex_Init fix
2487 tSCC zGlibc_Mutex_InitName[] =
2491 * File name selection pattern
2493 tSCC zGlibc_Mutex_InitList[] =
2496 * Machine/OS name selection pattern
2498 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2501 * content selection pattern - do fix if pattern found
2503 tSCC zGlibc_Mutex_InitSelect0[] =
2504 "\\{ *\\{ *0, *\\} *\\}";
2506 #define GLIBC_MUTEX_INIT_TEST_CT 1
2507 static tTestDesc aGlibc_Mutex_InitTests[] = {
2508 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2511 * Fix Command Arguments for Glibc_Mutex_Init
2513 static const char* apzGlibc_Mutex_InitPatch[] = { "sed",
2514 "-e", "/define[ \t]\\+PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/,+1s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/",
2515 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2516 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2517 "-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/",
2518 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2519 "-e", "/define[ \t]\\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2522 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2524 * Description of Gnu_Types fix
2526 tSCC zGnu_TypesName[] =
2530 * File name selection pattern
2532 tSCC zGnu_TypesList[] =
2533 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2535 * Machine/OS name selection pattern
2537 tSCC* apzGnu_TypesMachs[] = {
2538 "*-*-solaris2.1[0-9]*",
2539 (const char*)NULL };
2542 * content selection pattern - do fix if pattern found
2544 tSCC zGnu_TypesSelect0[] =
2545 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2548 * content bypass pattern - skip fix if pattern found
2550 tSCC zGnu_TypesBypass0[] =
2551 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2553 #define GNU_TYPES_TEST_CT 2
2554 static tTestDesc aGnu_TypesTests[] = {
2555 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2556 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2559 * Fix Command Arguments for Gnu_Types
2561 static const char* apzGnu_TypesPatch[] = {
2565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2567 * Description of Hp_Inline fix
2569 tSCC zHp_InlineName[] =
2573 * File name selection pattern
2575 tSCC zHp_InlineList[] =
2576 "sys/spinlock.h\0machine/machparam.h\0";
2578 * Machine/OS name selection pattern
2580 #define apzHp_InlineMachs (const char**)NULL
2583 * content selection pattern - do fix if pattern found
2585 tSCC zHp_InlineSelect0[] =
2586 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2588 #define HP_INLINE_TEST_CT 1
2589 static tTestDesc aHp_InlineTests[] = {
2590 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2593 * Fix Command Arguments for Hp_Inline
2595 static const char* apzHp_InlinePatch[] = {
2598 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2601 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2603 * Description of Hp_Sysfile fix
2605 tSCC zHp_SysfileName[] =
2609 * File name selection pattern
2611 tSCC zHp_SysfileList[] =
2614 * Machine/OS name selection pattern
2616 #define apzHp_SysfileMachs (const char**)NULL
2619 * content selection pattern - do fix if pattern found
2621 tSCC zHp_SysfileSelect0[] =
2624 #define HP_SYSFILE_TEST_CT 1
2625 static tTestDesc aHp_SysfileTests[] = {
2626 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2629 * Fix Command Arguments for Hp_Sysfile
2631 static const char* apzHp_SysfilePatch[] = {
2633 "(struct file *, ...)",
2637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2639 * Description of Hpux10_Cpp_Pow_Inline fix
2641 tSCC zHpux10_Cpp_Pow_InlineName[] =
2642 "hpux10_cpp_pow_inline";
2645 * File name selection pattern
2647 tSCC zHpux10_Cpp_Pow_InlineList[] =
2648 "fixinc-test-limits.h\0math.h\0";
2650 * Machine/OS name selection pattern
2652 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2655 * content selection pattern - do fix if pattern found
2657 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2658 "^# +ifdef +__cplusplus\n\
2660 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2661 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2663 +extern +\"C\" +\\{\n\
2667 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2668 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2669 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2672 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2674 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2679 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2681 * Description of Hpux11_Cpp_Pow_Inline fix
2683 tSCC zHpux11_Cpp_Pow_InlineName[] =
2684 "hpux11_cpp_pow_inline";
2687 * File name selection pattern
2689 tSCC zHpux11_Cpp_Pow_InlineList[] =
2692 * Machine/OS name selection pattern
2694 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2697 * content selection pattern - do fix if pattern found
2699 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2700 " +inline double pow\\(double d,int expon\\) \\{\n\
2701 +return pow\\(d, \\(double\\)expon\\);\n\
2704 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2705 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2706 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2709 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2711 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2718 * Description of Hppa_Hpux_Fp_Macros fix
2720 tSCC zHppa_Hpux_Fp_MacrosName[] =
2721 "hppa_hpux_fp_macros";
2724 * File name selection pattern
2726 tSCC zHppa_Hpux_Fp_MacrosList[] =
2729 * Machine/OS name selection pattern
2731 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
2733 (const char*)NULL };
2736 * content selection pattern - do fix if pattern found
2738 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
2739 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
2740 #[ \t]*define[ \t]*FP_ZERO.*\n\
2741 #[ \t]*define[ \t]*FP_INFINITE.*\n\
2742 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
2743 #[ \t]*define[ \t]*FP_NAN.*\n";
2745 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
2746 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
2747 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
2750 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
2752 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
2754 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
2755 #if defined(_INCLUDE_HPUX_SOURCE) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
2757 #ifdef _INCLUDE_HPUX_SOURCE\n",
2760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2762 * Description of Hpux10_Ctype_Declarations1 fix
2764 tSCC zHpux10_Ctype_Declarations1Name[] =
2765 "hpux10_ctype_declarations1";
2768 * File name selection pattern
2770 tSCC zHpux10_Ctype_Declarations1List[] =
2773 * Machine/OS name selection pattern
2775 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2778 * content selection pattern - do fix if pattern found
2780 tSCC zHpux10_Ctype_Declarations1Select0[] =
2781 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2784 * content bypass pattern - skip fix if pattern found
2786 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2787 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2789 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2790 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2791 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2792 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2795 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2797 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2799 "#ifdef _PROTOTYPES\n\
2800 extern int __tolower(int);\n\
2801 extern int __toupper(int);\n\
2802 #else /* NOT _PROTOTYPES */\n\
2803 extern int __tolower();\n\
2804 extern int __toupper();\n\
2805 #endif /* _PROTOTYPES */\n\n\
2809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2811 * Description of Hpux10_Ctype_Declarations2 fix
2813 tSCC zHpux10_Ctype_Declarations2Name[] =
2814 "hpux10_ctype_declarations2";
2817 * File name selection pattern
2819 tSCC zHpux10_Ctype_Declarations2List[] =
2822 * Machine/OS name selection pattern
2824 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2827 * content selection pattern - do fix if pattern found
2829 tSCC zHpux10_Ctype_Declarations2Select0[] =
2830 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2833 * content bypass pattern - skip fix if pattern found
2835 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2836 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2838 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2839 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2840 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2841 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2844 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2846 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2849 #ifdef _PROTOTYPES\n\
2850 extern int _isalnum(int);\n\
2851 extern int _isalpha(int);\n\
2852 extern int _iscntrl(int);\n\
2853 extern int _isdigit(int);\n\
2854 extern int _isgraph(int);\n\
2855 extern int _islower(int);\n\
2856 extern int _isprint(int);\n\
2857 extern int _ispunct(int);\n\
2858 extern int _isspace(int);\n\
2859 extern int _isupper(int);\n\
2860 extern int _isxdigit(int);\n\
2861 # else /* not _PROTOTYPES */\n\
2862 extern int _isalnum();\n\
2863 extern int _isalpha();\n\
2864 extern int _iscntrl();\n\
2865 extern int _isdigit();\n\
2866 extern int _isgraph();\n\
2867 extern int _islower();\n\
2868 extern int _isprint();\n\
2869 extern int _ispunct();\n\
2870 extern int _isspace();\n\
2871 extern int _isupper();\n\
2872 extern int _isxdigit();\n\
2873 #endif /* _PROTOTYPES */\n",
2876 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2878 * Description of Hpux10_Stdio_Declarations fix
2880 tSCC zHpux10_Stdio_DeclarationsName[] =
2881 "hpux10_stdio_declarations";
2884 * File name selection pattern
2886 tSCC zHpux10_Stdio_DeclarationsList[] =
2889 * Machine/OS name selection pattern
2891 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2894 * content selection pattern - do fix if pattern found
2896 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2897 "^#[ \t]*define _iob[ \t]*__iob";
2900 * content bypass pattern - skip fix if pattern found
2902 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2903 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2905 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2906 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2907 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2908 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2911 * Fix Command Arguments for Hpux10_Stdio_Declarations
2913 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2916 # if defined(__STDC__) || defined(__cplusplus)\n\
2917 extern int snprintf(char *, size_t, const char *, ...);\n\
2918 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2919 # else /* not __STDC__) || __cplusplus */\n\
2920 extern int snprintf();\n\
2921 extern int vsnprintf();\n\
2922 # endif /* __STDC__) || __cplusplus */\n",
2925 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2927 * Description of Hpux11_Abs fix
2929 tSCC zHpux11_AbsName[] =
2933 * File name selection pattern
2935 tSCC zHpux11_AbsList[] =
2938 * Machine/OS name selection pattern
2940 tSCC* apzHpux11_AbsMachs[] = {
2942 (const char*)NULL };
2945 * content selection pattern - do fix if pattern found
2947 tSCC zHpux11_AbsSelect0[] =
2948 "ifndef _MATH_INCLUDED";
2950 #define HPUX11_ABS_TEST_CT 1
2951 static tTestDesc aHpux11_AbsTests[] = {
2952 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2955 * Fix Command Arguments for Hpux11_Abs
2957 static const char* apzHpux11_AbsPatch[] = {
2959 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2962 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2964 * Description of Hpux11_Fabsf fix
2966 tSCC zHpux11_FabsfName[] =
2970 * File name selection pattern
2972 tSCC zHpux11_FabsfList[] =
2975 * Machine/OS name selection pattern
2977 #define apzHpux11_FabsfMachs (const char**)NULL
2980 * content selection pattern - do fix if pattern found
2982 tSCC zHpux11_FabsfSelect0[] =
2983 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2986 * content bypass pattern - skip fix if pattern found
2988 tSCC zHpux11_FabsfBypass0[] =
2991 #define HPUX11_FABSF_TEST_CT 2
2992 static tTestDesc aHpux11_FabsfTests[] = {
2993 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2994 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2997 * Fix Command Arguments for Hpux11_Fabsf
2999 static const char* apzHpux11_FabsfPatch[] = {
3001 "#ifndef __cplusplus\n\
3006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3008 * Description of Hpux11_Size_T fix
3010 tSCC zHpux11_Size_TName[] =
3014 * File name selection pattern
3016 #define zHpux11_Size_TList (char*)NULL
3018 * Machine/OS name selection pattern
3020 tSCC* apzHpux11_Size_TMachs[] = {
3022 (const char*)NULL };
3025 * content selection pattern - do fix if pattern found
3027 tSCC zHpux11_Size_TSelect0[] =
3030 #define HPUX11_SIZE_T_TEST_CT 1
3031 static tTestDesc aHpux11_Size_TTests[] = {
3032 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
3035 * Fix Command Arguments for Hpux11_Size_T
3037 static const char* apzHpux11_Size_TPatch[] = {
3042 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3044 * Description of Hpux11_Snprintf fix
3046 tSCC zHpux11_SnprintfName[] =
3050 * File name selection pattern
3052 tSCC zHpux11_SnprintfList[] =
3055 * Machine/OS name selection pattern
3057 #define apzHpux11_SnprintfMachs (const char**)NULL
3060 * content selection pattern - do fix if pattern found
3062 tSCC zHpux11_SnprintfSelect0[] =
3063 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3065 #define HPUX11_SNPRINTF_TEST_CT 1
3066 static tTestDesc aHpux11_SnprintfTests[] = {
3067 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3070 * Fix Command Arguments for Hpux11_Snprintf
3072 static const char* apzHpux11_SnprintfPatch[] = {
3077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3079 * Description of Hpux11_Uint32_C fix
3081 tSCC zHpux11_Uint32_CName[] =
3085 * File name selection pattern
3087 tSCC zHpux11_Uint32_CList[] =
3090 * Machine/OS name selection pattern
3092 #define apzHpux11_Uint32_CMachs (const char**)NULL
3095 * content selection pattern - do fix if pattern found
3097 tSCC zHpux11_Uint32_CSelect0[] =
3098 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
3100 #define HPUX11_UINT32_C_TEST_CT 1
3101 static tTestDesc aHpux11_Uint32_CTests[] = {
3102 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
3105 * Fix Command Arguments for Hpux11_Uint32_C
3107 static const char* apzHpux11_Uint32_CPatch[] = {
3109 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
3112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3114 * Description of Hpux11_Vsnprintf fix
3116 tSCC zHpux11_VsnprintfName[] =
3120 * File name selection pattern
3122 tSCC zHpux11_VsnprintfList[] =
3125 * Machine/OS name selection pattern
3127 #define apzHpux11_VsnprintfMachs (const char**)NULL
3130 * content selection pattern - do fix if pattern found
3132 tSCC zHpux11_VsnprintfSelect0[] =
3133 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3135 #define HPUX11_VSNPRINTF_TEST_CT 1
3136 static tTestDesc aHpux11_VsnprintfTests[] = {
3137 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3140 * Fix Command Arguments for Hpux11_Vsnprintf
3142 static const char* apzHpux11_VsnprintfPatch[] = {
3147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3149 * Description of Hpux8_Bogus_Inlines fix
3151 tSCC zHpux8_Bogus_InlinesName[] =
3152 "hpux8_bogus_inlines";
3155 * File name selection pattern
3157 tSCC zHpux8_Bogus_InlinesList[] =
3160 * Machine/OS name selection pattern
3162 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3165 * content selection pattern - do fix if pattern found
3167 tSCC zHpux8_Bogus_InlinesSelect0[] =
3171 * content bypass pattern - skip fix if pattern found
3173 tSCC zHpux8_Bogus_InlinesBypass0[] =
3176 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3177 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3178 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3179 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3182 * Fix Command Arguments for Hpux8_Bogus_Inlines
3184 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
3185 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3186 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3187 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3188 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3191 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3193 * Description of Hpux_Ctype_Macros fix
3195 tSCC zHpux_Ctype_MacrosName[] =
3196 "hpux_ctype_macros";
3199 * File name selection pattern
3201 tSCC zHpux_Ctype_MacrosList[] =
3204 * Machine/OS name selection pattern
3206 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3209 * content selection pattern - do fix if pattern found
3211 tSCC zHpux_Ctype_MacrosSelect0[] =
3212 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3214 #define HPUX_CTYPE_MACROS_TEST_CT 1
3215 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3216 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3219 * Fix Command Arguments for Hpux_Ctype_Macros
3221 static const char* apzHpux_Ctype_MacrosPatch[] = {
3226 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3228 * Description of Hpux_Htonl fix
3230 tSCC zHpux_HtonlName[] =
3234 * File name selection pattern
3236 tSCC zHpux_HtonlList[] =
3239 * Machine/OS name selection pattern
3241 #define apzHpux_HtonlMachs (const char**)NULL
3244 * content selection pattern - do fix if pattern found
3246 tSCC zHpux_HtonlSelect0[] =
3247 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
3249 \\* Macros for number representation conversion\\.\n\
3253 #define HPUX_HTONL_TEST_CT 1
3254 static tTestDesc aHpux_HtonlTests[] = {
3255 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3258 * Fix Command Arguments for Hpux_Htonl
3260 static const char* apzHpux_HtonlPatch[] = {
3266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3268 * Description of Hpux_Long_Double fix
3270 tSCC zHpux_Long_DoubleName[] =
3274 * File name selection pattern
3276 tSCC zHpux_Long_DoubleList[] =
3279 * Machine/OS name selection pattern
3281 #define apzHpux_Long_DoubleMachs (const char**)NULL
3284 * content selection pattern - do fix if pattern found
3286 tSCC zHpux_Long_DoubleSelect0[] =
3287 "extern[ \t]long_double[ \t]strtold";
3290 * content bypass pattern - skip fix if pattern found
3292 tSCC zHpux_Long_DoubleBypass0[] =
3295 #define HPUX_LONG_DOUBLE_TEST_CT 2
3296 static tTestDesc aHpux_Long_DoubleTests[] = {
3297 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3298 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3301 * Fix Command Arguments for Hpux_Long_Double
3303 static const char* apzHpux_Long_DoublePatch[] = { "sed",
3304 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3305 "-e", "s/long_double/long double/g",
3308 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3310 * Description of Hpux_Systime fix
3312 tSCC zHpux_SystimeName[] =
3316 * File name selection pattern
3318 tSCC zHpux_SystimeList[] =
3321 * Machine/OS name selection pattern
3323 #define apzHpux_SystimeMachs (const char**)NULL
3326 * content selection pattern - do fix if pattern found
3328 tSCC zHpux_SystimeSelect0[] =
3329 "^extern struct sigevent;";
3331 #define HPUX_SYSTIME_TEST_CT 1
3332 static tTestDesc aHpux_SystimeTests[] = {
3333 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3336 * Fix Command Arguments for Hpux_Systime
3338 static const char* apzHpux_SystimePatch[] = {
3343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3345 * Description of Hpux_Spu_Info fix
3347 tSCC zHpux_Spu_InfoName[] =
3351 * File name selection pattern
3353 tSCC zHpux_Spu_InfoList[] =
3354 "ia64/sys/getppdp.h\0";
3356 * Machine/OS name selection pattern
3358 tSCC* apzHpux_Spu_InfoMachs[] = {
3360 (const char*)NULL };
3363 * content selection pattern - do fix if pattern found
3365 tSCC zHpux_Spu_InfoSelect0[] =
3366 "^.*extern.*spu_info.*";
3368 #define HPUX_SPU_INFO_TEST_CT 1
3369 static tTestDesc aHpux_Spu_InfoTests[] = {
3370 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3373 * Fix Command Arguments for Hpux_Spu_Info
3375 static const char* apzHpux_Spu_InfoPatch[] = {
3382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3384 * Description of Hpux11_Extern_Sendfile fix
3386 tSCC zHpux11_Extern_SendfileName[] =
3387 "hpux11_extern_sendfile";
3390 * File name selection pattern
3392 tSCC zHpux11_Extern_SendfileList[] =
3395 * Machine/OS name selection pattern
3397 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3398 "*-hp-hpux11.[12]*",
3399 (const char*)NULL };
3402 * content selection pattern - do fix if pattern found
3404 tSCC zHpux11_Extern_SendfileSelect0[] =
3405 "^[ \t]*extern sbsize_t sendfile.*\n\
3408 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3409 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3410 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3413 * Fix Command Arguments for Hpux11_Extern_Sendfile
3415 static const char* apzHpux11_Extern_SendfilePatch[] = {
3417 "#ifndef _APP32_64BIT_OFF_T\n\
3421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3423 * Description of Hpux11_Extern_Sendpath fix
3425 tSCC zHpux11_Extern_SendpathName[] =
3426 "hpux11_extern_sendpath";
3429 * File name selection pattern
3431 tSCC zHpux11_Extern_SendpathList[] =
3434 * Machine/OS name selection pattern
3436 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3437 "*-hp-hpux11.[12]*",
3438 (const char*)NULL };
3441 * content selection pattern - do fix if pattern found
3443 tSCC zHpux11_Extern_SendpathSelect0[] =
3444 "^[ \t]*extern sbsize_t sendpath.*\n\
3447 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3448 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3449 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3452 * Fix Command Arguments for Hpux11_Extern_Sendpath
3454 static const char* apzHpux11_Extern_SendpathPatch[] = {
3456 "#ifndef _APP32_64BIT_OFF_T\n\
3460 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3462 * Description of Hpux_Extern_Errno fix
3464 tSCC zHpux_Extern_ErrnoName[] =
3465 "hpux_extern_errno";
3468 * File name selection pattern
3470 tSCC zHpux_Extern_ErrnoList[] =
3473 * Machine/OS name selection pattern
3475 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3477 "*-hp-hpux11.[0-2]*",
3478 (const char*)NULL };
3481 * content selection pattern - do fix if pattern found
3483 tSCC zHpux_Extern_ErrnoSelect0[] =
3484 "^[ \t]*extern int errno;$";
3486 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3487 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3488 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3491 * Fix Command Arguments for Hpux_Extern_Errno
3493 static const char* apzHpux_Extern_ErrnoPatch[] = {
3495 "#ifdef __cplusplus\n\
3499 #ifdef __cplusplus\n\
3504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3506 * Description of Hpux11_Pthread_Const fix
3508 tSCC zHpux11_Pthread_ConstName[] =
3509 "hpux11_pthread_const";
3512 * File name selection pattern
3514 tSCC zHpux11_Pthread_ConstList[] =
3517 * Machine/OS name selection pattern
3519 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3520 "*-hp-hpux11.[0-3]*",
3521 (const char*)NULL };
3524 * content selection pattern - do fix if pattern found
3526 tSCC zHpux11_Pthread_ConstSelect0[] =
3527 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3529 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3530 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3531 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3534 * Fix Command Arguments for Hpux11_Pthread_Const
3536 static const char* apzHpux11_Pthread_ConstPatch[] = {
3538 "#define __POINTER_SET\t\t((void *) 1L)",
3541 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3543 * Description of Hpux_Pthread_Initializers fix
3545 tSCC zHpux_Pthread_InitializersName[] =
3546 "hpux_pthread_initializers";
3549 * File name selection pattern
3551 tSCC zHpux_Pthread_InitializersList[] =
3554 * Machine/OS name selection pattern
3556 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3557 "*-hp-hpux11.[0-3]*",
3558 (const char*)NULL };
3559 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3560 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3563 * Fix Command Arguments for Hpux_Pthread_Initializers
3565 static const char* apzHpux_Pthread_InitializersPatch[] = { "sed",
3566 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3567 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3568 "-e", "/^[ \t]*0$/d",
3569 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3570 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3571 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3572 "-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\\\\@",
3573 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3574 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3575 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3576 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3577 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3578 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3581 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3583 * Description of Huge_Val_Hex fix
3585 tSCC zHuge_Val_HexName[] =
3589 * File name selection pattern
3591 tSCC zHuge_Val_HexList[] =
3592 "bits/huge_val.h\0";
3594 * Machine/OS name selection pattern
3596 #define apzHuge_Val_HexMachs (const char**)NULL
3599 * content selection pattern - do fix if pattern found
3601 tSCC zHuge_Val_HexSelect0[] =
3602 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
3605 * content bypass pattern - skip fix if pattern found
3607 tSCC zHuge_Val_HexBypass0[] =
3608 "__builtin_huge_val";
3610 #define HUGE_VAL_HEX_TEST_CT 2
3611 static tTestDesc aHuge_Val_HexTests[] = {
3612 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
3613 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
3616 * Fix Command Arguments for Huge_Val_Hex
3618 static const char* apzHuge_Val_HexPatch[] = {
3620 "#define HUGE_VAL (__builtin_huge_val())\n",
3623 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3625 * Description of Huge_Valf_Hex fix
3627 tSCC zHuge_Valf_HexName[] =
3631 * File name selection pattern
3633 tSCC zHuge_Valf_HexList[] =
3634 "bits/huge_val.h\0";
3636 * Machine/OS name selection pattern
3638 #define apzHuge_Valf_HexMachs (const char**)NULL
3641 * content selection pattern - do fix if pattern found
3643 tSCC zHuge_Valf_HexSelect0[] =
3644 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
3647 * content bypass pattern - skip fix if pattern found
3649 tSCC zHuge_Valf_HexBypass0[] =
3650 "__builtin_huge_valf";
3652 #define HUGE_VALF_HEX_TEST_CT 2
3653 static tTestDesc aHuge_Valf_HexTests[] = {
3654 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
3655 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
3658 * Fix Command Arguments for Huge_Valf_Hex
3660 static const char* apzHuge_Valf_HexPatch[] = {
3662 "#define HUGE_VALF (__builtin_huge_valf())\n",
3665 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3667 * Description of Huge_Vall_Hex fix
3669 tSCC zHuge_Vall_HexName[] =
3673 * File name selection pattern
3675 tSCC zHuge_Vall_HexList[] =
3676 "bits/huge_val.h\0";
3678 * Machine/OS name selection pattern
3680 #define apzHuge_Vall_HexMachs (const char**)NULL
3683 * content selection pattern - do fix if pattern found
3685 tSCC zHuge_Vall_HexSelect0[] =
3686 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
3689 * content bypass pattern - skip fix if pattern found
3691 tSCC zHuge_Vall_HexBypass0[] =
3692 "__builtin_huge_vall";
3694 #define HUGE_VALL_HEX_TEST_CT 2
3695 static tTestDesc aHuge_Vall_HexTests[] = {
3696 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
3697 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
3700 * Fix Command Arguments for Huge_Vall_Hex
3702 static const char* apzHuge_Vall_HexPatch[] = {
3704 "#define HUGE_VALL (__builtin_huge_vall())\n",
3707 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3709 * Description of Int_Abort_Free_And_Exit fix
3711 tSCC zInt_Abort_Free_And_ExitName[] =
3712 "int_abort_free_and_exit";
3715 * File name selection pattern
3717 tSCC zInt_Abort_Free_And_ExitList[] =
3720 * Machine/OS name selection pattern
3722 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
3725 * content selection pattern - do fix if pattern found
3727 tSCC zInt_Abort_Free_And_ExitSelect0[] =
3728 "int[ \t]+(abort|free|exit)[ \t]*\\(";
3731 * content bypass pattern - skip fix if pattern found
3733 tSCC zInt_Abort_Free_And_ExitBypass0[] =
3734 "_CLASSIC_ANSI_TYPES";
3736 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
3737 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
3738 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
3739 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
3742 * Fix Command Arguments for Int_Abort_Free_And_Exit
3744 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
3749 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3751 * Description of Io_Quotes_Def fix
3753 tSCC zIo_Quotes_DefName[] =
3757 * File name selection pattern
3759 #define zIo_Quotes_DefList (char*)NULL
3761 * Machine/OS name selection pattern
3763 #define apzIo_Quotes_DefMachs (const char**)NULL
3766 * content selection pattern - do fix if pattern found
3768 tSCC zIo_Quotes_DefSelect0[] =
3769 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
3771 #define IO_QUOTES_DEF_TEST_CT 1
3772 static tTestDesc aIo_Quotes_DefTests[] = {
3773 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
3776 * Fix Command Arguments for Io_Quotes_Def
3778 static const char* apzIo_Quotes_DefPatch[] = {
3783 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3785 * Description of Io_Quotes_Use fix
3787 tSCC zIo_Quotes_UseName[] =
3791 * File name selection pattern
3793 #define zIo_Quotes_UseList (char*)NULL
3795 * Machine/OS name selection pattern
3797 #define apzIo_Quotes_UseMachs (const char**)NULL
3800 * content selection pattern - do fix if pattern found
3802 tSCC zIo_Quotes_UseSelect0[] =
3803 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
3805 #define IO_QUOTES_USE_TEST_CT 1
3806 static tTestDesc aIo_Quotes_UseTests[] = {
3807 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
3810 * Fix Command Arguments for Io_Quotes_Use
3812 static const char* apzIo_Quotes_UsePatch[] = {
3817 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3819 * Description of Ip_Missing_Semi fix
3821 tSCC zIp_Missing_SemiName[] =
3825 * File name selection pattern
3827 tSCC zIp_Missing_SemiList[] =
3830 * Machine/OS name selection pattern
3832 #define apzIp_Missing_SemiMachs (const char**)NULL
3835 * content selection pattern - do fix if pattern found
3837 tSCC zIp_Missing_SemiSelect0[] =
3840 #define IP_MISSING_SEMI_TEST_CT 1
3841 static tTestDesc aIp_Missing_SemiTests[] = {
3842 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
3845 * Fix Command Arguments for Ip_Missing_Semi
3847 static const char* apzIp_Missing_SemiPatch[] = { "sed",
3848 "-e", "/^struct/,/^};/s/}$/};/",
3851 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3853 * Description of Irix___Restrict fix
3855 tSCC zIrix___RestrictName[] =
3859 * File name selection pattern
3861 tSCC zIrix___RestrictList[] =
3862 "internal/sgimacros.h\0";
3864 * Machine/OS name selection pattern
3866 tSCC* apzIrix___RestrictMachs[] = {
3868 (const char*)NULL };
3871 * content selection pattern - do fix if pattern found
3873 tSCC zIrix___RestrictSelect0[] =
3875 )(#[ \t]*define __restrict restrict)";
3877 #define IRIX___RESTRICT_TEST_CT 1
3878 static tTestDesc aIrix___RestrictTests[] = {
3879 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
3882 * Fix Command Arguments for Irix___Restrict
3884 static const char* apzIrix___RestrictPatch[] = {
3886 "%1# ifndef __cplusplus\n\
3891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3893 * Description of Irix___Generic1 fix
3895 tSCC zIrix___Generic1Name[] =
3899 * File name selection pattern
3901 tSCC zIrix___Generic1List[] =
3902 "internal/math_core.h\0";
3904 * Machine/OS name selection pattern
3906 tSCC* apzIrix___Generic1Machs[] = {
3908 (const char*)NULL };
3911 * content selection pattern - do fix if pattern found
3913 tSCC zIrix___Generic1Select0[] =
3914 "#define ([a-z]+)\\(x\\) *__generic.*";
3916 #define IRIX___GENERIC1_TEST_CT 1
3917 static tTestDesc aIrix___Generic1Tests[] = {
3918 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
3921 * Fix Command Arguments for Irix___Generic1
3923 static const char* apzIrix___Generic1Patch[] = {
3925 "extern int %1(double);\n\
3926 extern int %1f(float);\n\
3927 extern int %1l(long double);\n\
3928 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
3929 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
3933 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3935 * Description of Irix___Generic2 fix
3937 tSCC zIrix___Generic2Name[] =
3941 * File name selection pattern
3943 tSCC zIrix___Generic2List[] =
3944 "internal/math_core.h\0";
3946 * Machine/OS name selection pattern
3948 tSCC* apzIrix___Generic2Machs[] = {
3950 (const char*)NULL };
3953 * content selection pattern - do fix if pattern found
3955 tSCC zIrix___Generic2Select0[] =
3956 "#define ([a-z]+)\\(x,y\\) *__generic.*";
3958 #define IRIX___GENERIC2_TEST_CT 1
3959 static tTestDesc aIrix___Generic2Tests[] = {
3960 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
3963 * Fix Command Arguments for Irix___Generic2
3965 static const char* apzIrix___Generic2Patch[] = {
3967 "#define %1(x,y) \\\n\
3968 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
3969 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
3973 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3975 * Description of Irix_Asm_Apostrophe fix
3977 tSCC zIrix_Asm_ApostropheName[] =
3978 "irix_asm_apostrophe";
3981 * File name selection pattern
3983 tSCC zIrix_Asm_ApostropheList[] =
3986 * Machine/OS name selection pattern
3988 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3991 * content selection pattern - do fix if pattern found
3993 tSCC zIrix_Asm_ApostropheSelect0[] =
3994 "^[ \t]*#.*[Ww]e're";
3996 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3997 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3998 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
4001 * Fix Command Arguments for Irix_Asm_Apostrophe
4003 static const char* apzIrix_Asm_ApostrophePatch[] = {
4006 "^([ \t]*#.*[Ww]e)'re",
4009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4011 * Description of Irix_Limits_Const fix
4013 tSCC zIrix_Limits_ConstName[] =
4014 "irix_limits_const";
4017 * File name selection pattern
4019 tSCC zIrix_Limits_ConstList[] =
4020 "fixinc-test-limits.h\0limits.h\0";
4022 * Machine/OS name selection pattern
4024 #define apzIrix_Limits_ConstMachs (const char**)NULL
4027 * content selection pattern - do fix if pattern found
4029 tSCC zIrix_Limits_ConstSelect0[] =
4032 #define IRIX_LIMITS_CONST_TEST_CT 1
4033 static tTestDesc aIrix_Limits_ConstTests[] = {
4034 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
4037 * Fix Command Arguments for Irix_Limits_Const
4039 static const char* apzIrix_Limits_ConstPatch[] = {
4044 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4046 * Description of Irix_Socklen_T fix
4048 tSCC zIrix_Socklen_TName[] =
4052 * File name selection pattern
4054 tSCC zIrix_Socklen_TList[] =
4057 * Machine/OS name selection pattern
4059 tSCC* apzIrix_Socklen_TMachs[] = {
4061 (const char*)NULL };
4064 * content selection pattern - do fix if pattern found
4066 tSCC zIrix_Socklen_TSelect0[] =
4067 "(#define _SOCKLEN_T\n\
4068 )(typedef u_int32_t socklen_t;)";
4070 #define IRIX_SOCKLEN_T_TEST_CT 1
4071 static tTestDesc aIrix_Socklen_TTests[] = {
4072 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
4075 * Fix Command Arguments for Irix_Socklen_T
4077 static const char* apzIrix_Socklen_TPatch[] = {
4079 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
4080 typedef int socklen_t;\n\
4083 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
4086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4088 * Description of Irix_Stdint_C99 fix
4090 tSCC zIrix_Stdint_C99Name[] =
4094 * File name selection pattern
4096 tSCC zIrix_Stdint_C99List[] =
4099 * Machine/OS name selection pattern
4101 tSCC* apzIrix_Stdint_C99Machs[] = {
4103 (const char*)NULL };
4106 * content selection pattern - do fix if pattern found
4108 tSCC zIrix_Stdint_C99Select0[] =
4110 )(#error This header file is to be used only for c99 mode compilations)";
4112 #define IRIX_STDINT_C99_TEST_CT 1
4113 static tTestDesc aIrix_Stdint_C99Tests[] = {
4114 { TT_EGREP, zIrix_Stdint_C99Select0, (regex_t*)NULL }, };
4117 * Fix Command Arguments for Irix_Stdint_C99
4119 static const char* apzIrix_Stdint_C99Patch[] = {
4125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4127 * Description of Irix_Stdio_Va_List fix
4129 tSCC zIrix_Stdio_Va_ListName[] =
4130 "irix_stdio_va_list";
4133 * File name selection pattern
4135 tSCC zIrix_Stdio_Va_ListList[] =
4136 "stdio.h\0internal/stdio_core.h\0";
4138 * Machine/OS name selection pattern
4140 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4143 * content selection pattern - do fix if pattern found
4145 tSCC zIrix_Stdio_Va_ListSelect0[] =
4146 "/\\* va_list \\*/ char \\*";
4148 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4149 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4150 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4153 * Fix Command Arguments for Irix_Stdio_Va_List
4155 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4160 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4162 * Description of Irix_Wcsftime fix
4164 tSCC zIrix_WcsftimeName[] =
4168 * File name selection pattern
4170 tSCC zIrix_WcsftimeList[] =
4171 "internal/wchar_core.h\0";
4173 * Machine/OS name selection pattern
4175 tSCC* apzIrix_WcsftimeMachs[] = {
4177 (const char*)NULL };
4180 * content selection pattern - do fix if pattern found
4182 tSCC zIrix_WcsftimeSelect0[] =
4184 (extern size_t[ \t]+wcsftime.*const char *.*)";
4186 #define IRIX_WCSFTIME_TEST_CT 1
4187 static tTestDesc aIrix_WcsftimeTests[] = {
4188 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
4191 * Fix Command Arguments for Irix_Wcsftime
4193 static const char* apzIrix_WcsftimePatch[] = {
4195 "#if _NO_XOPEN5 && !defined(__c99)\n\
4199 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4201 * Description of Isc_Fmod fix
4203 tSCC zIsc_FmodName[] =
4207 * File name selection pattern
4209 tSCC zIsc_FmodList[] =
4212 * Machine/OS name selection pattern
4214 #define apzIsc_FmodMachs (const char**)NULL
4217 * content selection pattern - do fix if pattern found
4219 tSCC zIsc_FmodSelect0[] =
4222 #define ISC_FMOD_TEST_CT 1
4223 static tTestDesc aIsc_FmodTests[] = {
4224 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
4227 * Fix Command Arguments for Isc_Fmod
4229 static const char* apzIsc_FmodPatch[] = {
4231 "fmod(double, double)",
4234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4236 * Description of Isc_Omits_With_Stdc fix
4238 tSCC zIsc_Omits_With_StdcName[] =
4239 "isc_omits_with_stdc";
4242 * File name selection pattern
4244 tSCC zIsc_Omits_With_StdcList[] =
4245 "stdio.h\0math.h\0ctype.h\0sys/limits.h\0sys/fcntl.h\0sys/dirent.h\0";
4247 * Machine/OS name selection pattern
4249 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
4252 * content selection pattern - do fix if pattern found
4254 tSCC zIsc_Omits_With_StdcSelect0[] =
4255 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
4257 #define ISC_OMITS_WITH_STDC_TEST_CT 1
4258 static tTestDesc aIsc_Omits_With_StdcTests[] = {
4259 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
4262 * Fix Command Arguments for Isc_Omits_With_Stdc
4264 static const char* apzIsc_Omits_With_StdcPatch[] = {
4266 "!defined(_POSIX_SOURCE)",
4269 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4271 * Description of Kandr_Concat fix
4273 tSCC zKandr_ConcatName[] =
4277 * File name selection pattern
4279 tSCC zKandr_ConcatList[] =
4280 "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";
4282 * Machine/OS name selection pattern
4284 #define apzKandr_ConcatMachs (const char**)NULL
4287 * content selection pattern - do fix if pattern found
4289 tSCC zKandr_ConcatSelect0[] =
4292 #define KANDR_CONCAT_TEST_CT 1
4293 static tTestDesc aKandr_ConcatTests[] = {
4294 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4297 * Fix Command Arguments for Kandr_Concat
4299 static const char* apzKandr_ConcatPatch[] = {
4304 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4306 * Description of Libc1_G_Va_List fix
4308 tSCC zLibc1_G_Va_ListName[] =
4312 * File name selection pattern
4314 tSCC zLibc1_G_Va_ListList[] =
4317 * Machine/OS name selection pattern
4319 tSCC* apzLibc1_G_Va_ListMachs[] = {
4321 (const char*)NULL };
4324 * content selection pattern - do fix if pattern found
4326 tSCC zLibc1_G_Va_ListSelect0[] =
4327 "typedef void \\* _G_va_list;";
4329 #define LIBC1_G_VA_LIST_TEST_CT 1
4330 static tTestDesc aLibc1_G_Va_ListTests[] = {
4331 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
4334 * Fix Command Arguments for Libc1_G_Va_List
4336 static const char* apzLibc1_G_Va_ListPatch[] = {
4338 "typedef __builtin_va_list _G_va_list;",
4341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4343 * Description of Libc1_Ifdefd_Memx fix
4345 tSCC zLibc1_Ifdefd_MemxName[] =
4346 "libc1_ifdefd_memx";
4349 * File name selection pattern
4351 tSCC zLibc1_Ifdefd_MemxList[] =
4352 "testing.h\0string.h\0";
4354 * Machine/OS name selection pattern
4356 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
4359 * content selection pattern - do fix if pattern found
4361 tSCC zLibc1_Ifdefd_MemxSelect0[] =
4362 "' is a built-in function for gcc 2\\.x\\. \\*/";
4365 * content bypass pattern - skip fix if pattern found
4367 tSCC zLibc1_Ifdefd_MemxBypass0[] =
4370 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
4371 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
4372 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
4373 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
4376 * Fix Command Arguments for Libc1_Ifdefd_Memx
4378 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
4381 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
4382 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
4384 extern [a-z_]+ mem.*(\n\
4389 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4391 * Description of Linux_Ia64_Ucontext fix
4393 tSCC zLinux_Ia64_UcontextName[] =
4394 "linux_ia64_ucontext";
4397 * File name selection pattern
4399 tSCC zLinux_Ia64_UcontextList[] =
4402 * Machine/OS name selection pattern
4404 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4406 (const char*)NULL };
4409 * content selection pattern - do fix if pattern found
4411 tSCC zLinux_Ia64_UcontextSelect0[] =
4412 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4414 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4415 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4416 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4419 * Fix Command Arguments for Linux_Ia64_Ucontext
4421 static const char* apzLinux_Ia64_UcontextPatch[] = {
4423 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4426 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4428 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4430 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4431 "lynxos_no_warning_in_sys_time_h";
4434 * File name selection pattern
4436 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4439 * Machine/OS name selection pattern
4441 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4444 * content selection pattern - do fix if pattern found
4446 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4447 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4449 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4450 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4451 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4454 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4456 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4461 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4463 * Description of Lynxos_Missing_Putenv fix
4465 tSCC zLynxos_Missing_PutenvName[] =
4466 "lynxos_missing_putenv";
4469 * File name selection pattern
4471 tSCC zLynxos_Missing_PutenvList[] =
4474 * Machine/OS name selection pattern
4476 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4478 (const char*)NULL };
4481 * content selection pattern - do fix if pattern found
4483 tSCC zLynxos_Missing_PutenvSelect0[] =
4484 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4487 * content bypass pattern - skip fix if pattern found
4489 tSCC zLynxos_Missing_PutenvBypass0[] =
4492 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4493 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4494 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4495 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4498 * Fix Command Arguments for Lynxos_Missing_Putenv
4500 static const char* apzLynxos_Missing_PutenvPatch[] = {
4503 extern int putenv\t\t\t\t_AP((char *));",
4504 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4507 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4509 * Description of Machine_Ansi_H_Va_List fix
4511 tSCC zMachine_Ansi_H_Va_ListName[] =
4512 "machine_ansi_h_va_list";
4515 * File name selection pattern
4517 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4519 * Machine/OS name selection pattern
4521 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4524 * content selection pattern - do fix if pattern found
4526 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4527 "define[ \t]+_BSD_VA_LIST_[ \t]";
4530 * content bypass pattern - skip fix if pattern found
4532 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4533 "__builtin_va_list";
4535 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4536 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4537 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4538 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4541 * Fix Command Arguments for Machine_Ansi_H_Va_List
4543 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4545 "%1__builtin_va_list",
4546 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4549 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4551 * Description of Machine_Name fix
4553 tSCC zMachine_NameName[] =
4557 * File name selection pattern
4559 #define zMachine_NameList (char*)NULL
4561 * Machine/OS name selection pattern
4563 #define apzMachine_NameMachs (const char**)NULL
4566 * perform the C function call test
4568 tSCC zMachine_NameFTst0[] = "machine_name";
4570 #define MACHINE_NAME_TEST_CT 1
4571 static tTestDesc aMachine_NameTests[] = {
4572 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4575 * Fix Command Arguments for Machine_Name
4577 static const char* apzMachine_NamePatch[] = {
4581 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4583 * Description of Math_Exception fix
4585 tSCC zMath_ExceptionName[] =
4589 * File name selection pattern
4591 tSCC zMath_ExceptionList[] =
4594 * Machine/OS name selection pattern
4596 #define apzMath_ExceptionMachs (const char**)NULL
4599 * content selection pattern - do fix if pattern found
4601 tSCC zMath_ExceptionSelect0[] =
4605 * content bypass pattern - skip fix if pattern found
4607 tSCC zMath_ExceptionBypass0[] =
4608 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4610 #define MATH_EXCEPTION_TEST_CT 2
4611 static tTestDesc aMath_ExceptionTests[] = {
4612 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4613 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4616 * Fix Command Arguments for Math_Exception
4618 static const char* apzMath_ExceptionPatch[] = {
4620 "#ifdef __cplusplus\n\
4621 #define exception __math_exception\n\
4623 "#ifdef __cplusplus\n\
4628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4630 * Description of Math_Huge_Val_From_Dbl_Max fix
4632 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4633 "math_huge_val_from_dbl_max";
4636 * File name selection pattern
4638 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4641 * Machine/OS name selection pattern
4643 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4646 * content selection pattern - do fix if pattern found
4648 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4649 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4652 * content bypass pattern - skip fix if pattern found
4654 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4655 "define[ \t]+DBL_MAX";
4657 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4658 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4659 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4660 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4663 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4665 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4666 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4667 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4668 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4673 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4675 * Description of Nested_Auth_Des fix
4677 tSCC zNested_Auth_DesName[] =
4681 * File name selection pattern
4683 tSCC zNested_Auth_DesList[] =
4686 * Machine/OS name selection pattern
4688 #define apzNested_Auth_DesMachs (const char**)NULL
4691 * content selection pattern - do fix if pattern found
4693 tSCC zNested_Auth_DesSelect0[] =
4694 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4696 #define NESTED_AUTH_DES_TEST_CT 1
4697 static tTestDesc aNested_Auth_DesTests[] = {
4698 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4701 * Fix Command Arguments for Nested_Auth_Des
4703 static const char* apzNested_Auth_DesPatch[] = {
4708 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4710 * Description of Nested_Motorola fix
4712 tSCC zNested_MotorolaName[] =
4716 * File name selection pattern
4718 tSCC zNested_MotorolaList[] =
4719 "sys/limits.h\0limits.h\0";
4721 * Machine/OS name selection pattern
4723 tSCC* apzNested_MotorolaMachs[] = {
4724 "m68k-motorola-sysv*",
4725 (const char*)NULL };
4728 * content selection pattern - do fix if pattern found
4730 tSCC zNested_MotorolaSelect0[] =
4731 "max # bytes atomic in write|error value returned by Math lib";
4733 #define NESTED_MOTOROLA_TEST_CT 1
4734 static tTestDesc aNested_MotorolaTests[] = {
4735 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
4738 * Fix Command Arguments for Nested_Motorola
4740 static const char* apzNested_MotorolaPatch[] = { "sed",
4741 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
4742 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
4745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4747 * Description of Nested_Sys_Limits fix
4749 tSCC zNested_Sys_LimitsName[] =
4750 "nested_sys_limits";
4753 * File name selection pattern
4755 tSCC zNested_Sys_LimitsList[] =
4758 * Machine/OS name selection pattern
4760 #define apzNested_Sys_LimitsMachs (const char**)NULL
4763 * content selection pattern - do fix if pattern found
4765 tSCC zNested_Sys_LimitsSelect0[] =
4768 #define NESTED_SYS_LIMITS_TEST_CT 1
4769 static tTestDesc aNested_Sys_LimitsTests[] = {
4770 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
4773 * Fix Command Arguments for Nested_Sys_Limits
4775 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
4776 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
4777 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
4780 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4782 * Description of Netbsd_C99_Inline_1 fix
4784 tSCC zNetbsd_C99_Inline_1Name[] =
4785 "netbsd_c99_inline_1";
4788 * File name selection pattern
4790 tSCC zNetbsd_C99_Inline_1List[] =
4793 * Machine/OS name selection pattern
4795 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
4797 (const char*)NULL };
4800 * content selection pattern - do fix if pattern found
4802 tSCC zNetbsd_C99_Inline_1Select0[] =
4803 "extern __inline int";
4805 #define NETBSD_C99_INLINE_1_TEST_CT 1
4806 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
4807 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
4810 * Fix Command Arguments for Netbsd_C99_Inline_1
4812 static const char* apzNetbsd_C99_Inline_1Patch[] = {
4815 #ifdef __GNUC_STDC_INLINE__\n\
4816 __attribute__((__gnu_inline__))\n\
4821 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4823 * Description of Netbsd_C99_Inline_2 fix
4825 tSCC zNetbsd_C99_Inline_2Name[] =
4826 "netbsd_c99_inline_2";
4829 * File name selection pattern
4831 tSCC zNetbsd_C99_Inline_2List[] =
4834 * Machine/OS name selection pattern
4836 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
4838 (const char*)NULL };
4841 * content selection pattern - do fix if pattern found
4843 tSCC zNetbsd_C99_Inline_2Select0[] =
4844 "#define _SIGINLINE extern __inline";
4846 #define NETBSD_C99_INLINE_2_TEST_CT 1
4847 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
4848 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
4851 * Fix Command Arguments for Netbsd_C99_Inline_2
4853 static const char* apzNetbsd_C99_Inline_2Patch[] = {
4855 "#ifdef __GNUC_STDC_INLINE__\n\
4856 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
4862 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4864 * Description of Netbsd_Extra_Semicolon fix
4866 tSCC zNetbsd_Extra_SemicolonName[] =
4867 "netbsd_extra_semicolon";
4870 * File name selection pattern
4872 tSCC zNetbsd_Extra_SemicolonList[] =
4875 * Machine/OS name selection pattern
4877 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4879 (const char*)NULL };
4882 * content selection pattern - do fix if pattern found
4884 tSCC zNetbsd_Extra_SemicolonSelect0[] =
4885 "#define[ \t]*__END_DECLS[ \t]*};";
4887 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
4888 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
4889 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
4892 * Fix Command Arguments for Netbsd_Extra_Semicolon
4894 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
4896 "#define __END_DECLS }",
4899 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4901 * Description of Next_Math_Prefix fix
4903 tSCC zNext_Math_PrefixName[] =
4907 * File name selection pattern
4909 tSCC zNext_Math_PrefixList[] =
4912 * Machine/OS name selection pattern
4914 #define apzNext_Math_PrefixMachs (const char**)NULL
4917 * content selection pattern - do fix if pattern found
4919 tSCC zNext_Math_PrefixSelect0[] =
4920 "^extern[ \t]+double[ \t]+__const__[ \t]";
4922 #define NEXT_MATH_PREFIX_TEST_CT 1
4923 static tTestDesc aNext_Math_PrefixTests[] = {
4924 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
4927 * Fix Command Arguments for Next_Math_Prefix
4929 static const char* apzNext_Math_PrefixPatch[] = {
4931 "extern double %1(",
4932 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
4935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4937 * Description of Next_Template fix
4939 tSCC zNext_TemplateName[] =
4943 * File name selection pattern
4945 tSCC zNext_TemplateList[] =
4948 * Machine/OS name selection pattern
4950 #define apzNext_TemplateMachs (const char**)NULL
4953 * content selection pattern - do fix if pattern found
4955 tSCC zNext_TemplateSelect0[] =
4958 #define NEXT_TEMPLATE_TEST_CT 1
4959 static tTestDesc aNext_TemplateTests[] = {
4960 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
4963 * Fix Command Arguments for Next_Template
4965 static const char* apzNext_TemplatePatch[] = {
4968 "\\(([^)]*)[ \t]template\\)",
4971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4973 * Description of Next_Volitile fix
4975 tSCC zNext_VolitileName[] =
4979 * File name selection pattern
4981 tSCC zNext_VolitileList[] =
4984 * Machine/OS name selection pattern
4986 #define apzNext_VolitileMachs (const char**)NULL
4989 * content selection pattern - do fix if pattern found
4991 tSCC zNext_VolitileSelect0[] =
4992 "^extern[ \t]+volatile[ \t]+void[ \t]";
4994 #define NEXT_VOLITILE_TEST_CT 1
4995 static tTestDesc aNext_VolitileTests[] = {
4996 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
4999 * Fix Command Arguments for Next_Volitile
5001 static const char* apzNext_VolitilePatch[] = {
5004 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5009 * Description of Next_Wait_Union fix
5011 tSCC zNext_Wait_UnionName[] =
5015 * File name selection pattern
5017 tSCC zNext_Wait_UnionList[] =
5020 * Machine/OS name selection pattern
5022 #define apzNext_Wait_UnionMachs (const char**)NULL
5025 * content selection pattern - do fix if pattern found
5027 tSCC zNext_Wait_UnionSelect0[] =
5028 "wait\\(union wait";
5030 #define NEXT_WAIT_UNION_TEST_CT 1
5031 static tTestDesc aNext_Wait_UnionTests[] = {
5032 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5035 * Fix Command Arguments for Next_Wait_Union
5037 static const char* apzNext_Wait_UnionPatch[] = {
5042 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5044 * Description of Nodeent_Syntax fix
5046 tSCC zNodeent_SyntaxName[] =
5050 * File name selection pattern
5052 tSCC zNodeent_SyntaxList[] =
5053 "netdnet/dnetdb.h\0";
5055 * Machine/OS name selection pattern
5057 #define apzNodeent_SyntaxMachs (const char**)NULL
5060 * content selection pattern - do fix if pattern found
5062 tSCC zNodeent_SyntaxSelect0[] =
5063 "char[ \t]*\\*na_addr[ \t]*$";
5065 #define NODEENT_SYNTAX_TEST_CT 1
5066 static tTestDesc aNodeent_SyntaxTests[] = {
5067 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5070 * Fix Command Arguments for Nodeent_Syntax
5072 static const char* apzNodeent_SyntaxPatch[] = {
5077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5079 * Description of Obstack_Lvalue_Cast fix
5081 tSCC zObstack_Lvalue_CastName[] =
5082 "obstack_lvalue_cast";
5085 * File name selection pattern
5087 tSCC zObstack_Lvalue_CastList[] =
5090 * Machine/OS name selection pattern
5092 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5095 * content selection pattern - do fix if pattern found
5097 tSCC zObstack_Lvalue_CastSelect0[] =
5098 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5100 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5101 static tTestDesc aObstack_Lvalue_CastTests[] = {
5102 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5105 * Fix Command Arguments for Obstack_Lvalue_Cast
5107 static const char* apzObstack_Lvalue_CastPatch[] = {
5109 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5114 * Description of Osf_Namespace_A fix
5116 tSCC zOsf_Namespace_AName[] =
5120 * File name selection pattern
5122 tSCC zOsf_Namespace_AList[] =
5123 "reg_types.h\0sys/lc_core.h\0";
5125 * Machine/OS name selection pattern
5127 #define apzOsf_Namespace_AMachs (const char**)NULL
5130 * perform the 'test' shell command - do fix on success
5132 tSCC zOsf_Namespace_ATest0[] =
5134 tSCC zOsf_Namespace_ATest1[] =
5135 " -r sys/lc_core.h";
5136 tSCC zOsf_Namespace_ATest2[] =
5137 " -n \"`grep '} regex_t;' reg_types.h`\"";
5138 tSCC zOsf_Namespace_ATest3[] =
5139 " -z \"`grep __regex_t regex.h`\"";
5141 #define OSF_NAMESPACE_A_TEST_CT 4
5142 static tTestDesc aOsf_Namespace_ATests[] = {
5143 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5144 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5145 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5146 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5149 * Fix Command Arguments for Osf_Namespace_A
5151 static const char* apzOsf_Namespace_APatch[] = {
5154 "reg(ex|off|match)_t",
5157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5159 * Description of Osf_Namespace_C fix
5161 tSCC zOsf_Namespace_CName[] =
5165 * File name selection pattern
5167 tSCC zOsf_Namespace_CList[] =
5170 * Machine/OS name selection pattern
5172 #define apzOsf_Namespace_CMachs (const char**)NULL
5175 * content selection pattern - do fix if pattern found
5177 tSCC zOsf_Namespace_CSelect0[] =
5178 "#include <reg_types.h>.*";
5181 * perform the 'test' shell command - do fix on success
5183 tSCC zOsf_Namespace_CTest0[] =
5185 tSCC zOsf_Namespace_CTest1[] =
5186 " -r sys/lc_core.h";
5187 tSCC zOsf_Namespace_CTest2[] =
5188 " -n \"`grep '} regex_t;' reg_types.h`\"";
5189 tSCC zOsf_Namespace_CTest3[] =
5190 " -z \"`grep __regex_t regex.h`\"";
5192 #define OSF_NAMESPACE_C_TEST_CT 5
5193 static tTestDesc aOsf_Namespace_CTests[] = {
5194 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5195 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5196 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5197 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5198 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5201 * Fix Command Arguments for Osf_Namespace_C
5203 static const char* apzOsf_Namespace_CPatch[] = {
5206 typedef __regex_t\tregex_t;\n\
5207 typedef __regoff_t\tregoff_t;\n\
5208 typedef __regmatch_t\tregmatch_t;",
5211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5213 * Description of Pthread_Page_Size fix
5215 tSCC zPthread_Page_SizeName[] =
5216 "pthread_page_size";
5219 * File name selection pattern
5221 tSCC zPthread_Page_SizeList[] =
5224 * Machine/OS name selection pattern
5226 #define apzPthread_Page_SizeMachs (const char**)NULL
5229 * content selection pattern - do fix if pattern found
5231 tSCC zPthread_Page_SizeSelect0[] =
5234 #define PTHREAD_PAGE_SIZE_TEST_CT 1
5235 static tTestDesc aPthread_Page_SizeTests[] = {
5236 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
5239 * Fix Command Arguments for Pthread_Page_Size
5241 static const char* apzPthread_Page_SizePatch[] = {
5246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5248 * Description of Pthread_Incomplete_Struct_Argument fix
5250 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5251 "pthread_incomplete_struct_argument";
5254 * File name selection pattern
5256 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5259 * Machine/OS name selection pattern
5261 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5264 * content selection pattern - do fix if pattern found
5266 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5267 "struct __jmp_buf_tag";
5269 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5270 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5271 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5274 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5276 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5279 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5284 * Description of Read_Ret_Type fix
5286 tSCC zRead_Ret_TypeName[] =
5290 * File name selection pattern
5292 tSCC zRead_Ret_TypeList[] =
5295 * Machine/OS name selection pattern
5297 #define apzRead_Ret_TypeMachs (const char**)NULL
5300 * content selection pattern - do fix if pattern found
5302 tSCC zRead_Ret_TypeSelect0[] =
5303 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5305 #define READ_RET_TYPE_TEST_CT 1
5306 static tTestDesc aRead_Ret_TypeTests[] = {
5307 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5310 * Fix Command Arguments for Read_Ret_Type
5312 static const char* apzRead_Ret_TypePatch[] = {
5314 "extern unsigned int fread(), fwrite();\n\
5316 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5319 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5321 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5323 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5324 "rpc_xdr_lvalue_cast_a";
5327 * File name selection pattern
5329 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5332 * Machine/OS name selection pattern
5334 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5337 * content selection pattern - do fix if pattern found
5339 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5340 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5343 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5344 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5345 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5348 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5350 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5352 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5357 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5359 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5360 "rpc_xdr_lvalue_cast_b";
5363 * File name selection pattern
5365 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5368 * Machine/OS name selection pattern
5370 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5373 * content selection pattern - do fix if pattern found
5375 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5376 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5379 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5380 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5381 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5384 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5386 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5388 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5393 * Description of Rs6000_Double fix
5395 tSCC zRs6000_DoubleName[] =
5399 * File name selection pattern
5401 tSCC zRs6000_DoubleList[] =
5404 * Machine/OS name selection pattern
5406 #define apzRs6000_DoubleMachs (const char**)NULL
5409 * content selection pattern - do fix if pattern found
5411 tSCC zRs6000_DoubleSelect0[] =
5412 "[^a-zA-Z_]class\\(";
5414 #define RS6000_DOUBLE_TEST_CT 1
5415 static tTestDesc aRs6000_DoubleTests[] = {
5416 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5419 * Fix Command Arguments for Rs6000_Double
5421 static const char* apzRs6000_DoublePatch[] = {
5423 "#ifndef __cplusplus\n\
5426 "^.*[^a-zA-Z_]class\\(.*",
5429 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5431 * Description of Rs6000_Fchmod fix
5433 tSCC zRs6000_FchmodName[] =
5437 * File name selection pattern
5439 tSCC zRs6000_FchmodList[] =
5442 * Machine/OS name selection pattern
5444 #define apzRs6000_FchmodMachs (const char**)NULL
5447 * content selection pattern - do fix if pattern found
5449 tSCC zRs6000_FchmodSelect0[] =
5450 "fchmod\\(char \\*";
5452 #define RS6000_FCHMOD_TEST_CT 1
5453 static tTestDesc aRs6000_FchmodTests[] = {
5454 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5457 * Fix Command Arguments for Rs6000_Fchmod
5459 static const char* apzRs6000_FchmodPatch[] = {
5464 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5466 * Description of Rs6000_Param fix
5468 tSCC zRs6000_ParamName[] =
5472 * File name selection pattern
5474 tSCC zRs6000_ParamList[] =
5475 "stdio.h\0unistd.h\0";
5477 * Machine/OS name selection pattern
5479 #define apzRs6000_ParamMachs (const char**)NULL
5482 * content selection pattern - do fix if pattern found
5484 tSCC zRs6000_ParamSelect0[] =
5485 "rename\\(const char \\*old, const char \\*new\\)";
5487 #define RS6000_PARAM_TEST_CT 1
5488 static tTestDesc aRs6000_ParamTests[] = {
5489 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5492 * Fix Command Arguments for Rs6000_Param
5494 static const char* apzRs6000_ParamPatch[] = {
5496 "rename(const char *_old, const char *_new)",
5499 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5501 * Description of Sco_Math fix
5503 tSCC zSco_MathName[] =
5507 * File name selection pattern
5509 tSCC zSco_MathList[] =
5510 "math.h\0*/math.h\0";
5512 * Machine/OS name selection pattern
5514 #define apzSco_MathMachs (const char**)NULL
5517 * content selection pattern - do fix if pattern found
5519 tSCC zSco_MathSelect0[] =
5520 "inline double abs";
5523 * content bypass pattern - skip fix if pattern found
5525 tSCC zSco_MathBypass0[] =
5528 #define SCO_MATH_TEST_CT 2
5529 static tTestDesc aSco_MathTests[] = {
5530 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
5531 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
5534 * Fix Command Arguments for Sco_Math
5536 static const char* apzSco_MathPatch[] = { "sed",
5537 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
5538 #ifndef __GNUC__\n",
5539 "-e", "/.*__builtin_generic/a\\\n\
5541 #define __fp_class(a) \\\\\\\n\
5542 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
5543 __fpclassifyl(a), \\\\\\\n\
5544 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
5545 __fpclassifyf(a),__fpclassify(a)))\\\n\
5547 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
5548 #ifndef __GNUC__\n",
5549 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
5550 #endif /* ! __GNUC__ */",
5553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5555 * Description of Sco_Regset fix
5557 tSCC zSco_RegsetName[] =
5561 * File name selection pattern
5563 tSCC zSco_RegsetList[] =
5566 * Machine/OS name selection pattern
5568 tSCC* apzSco_RegsetMachs[] = {
5570 (const char*)NULL };
5573 * content selection pattern - do fix if pattern found
5575 tSCC zSco_RegsetSelect0[] =
5576 "(struct[ \t]+.*)fpstate";
5578 #define SCO_REGSET_TEST_CT 1
5579 static tTestDesc aSco_RegsetTests[] = {
5580 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
5583 * Fix Command Arguments for Sco_Regset
5585 static const char* apzSco_RegsetPatch[] = {
5590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5592 * Description of Sco_Static_Func fix
5594 tSCC zSco_Static_FuncName[] =
5598 * File name selection pattern
5600 tSCC zSco_Static_FuncList[] =
5603 * Machine/OS name selection pattern
5605 tSCC* apzSco_Static_FuncMachs[] = {
5607 (const char*)NULL };
5610 * content selection pattern - do fix if pattern found
5612 tSCC zSco_Static_FuncSelect0[] =
5615 #define SCO_STATIC_FUNC_TEST_CT 1
5616 static tTestDesc aSco_Static_FuncTests[] = {
5617 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
5620 * Fix Command Arguments for Sco_Static_Func
5622 static const char* apzSco_Static_FuncPatch[] = { "sed",
5623 "-e", "/^static int/i\\\n\
5624 #if __cplusplus\\\n\
5626 #endif /* __cplusplus */",
5628 #if __cplusplus\\\n\
5630 #endif /* __cplusplus */",
5633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5635 * Description of Sco_Utime fix
5637 tSCC zSco_UtimeName[] =
5641 * File name selection pattern
5643 tSCC zSco_UtimeList[] =
5646 * Machine/OS name selection pattern
5648 tSCC* apzSco_UtimeMachs[] = {
5650 (const char*)NULL };
5653 * content selection pattern - do fix if pattern found
5655 tSCC zSco_UtimeSelect0[] =
5656 "\\(const char \\*, struct utimbuf \\*\\);";
5658 #define SCO_UTIME_TEST_CT 1
5659 static tTestDesc aSco_UtimeTests[] = {
5660 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
5663 * Fix Command Arguments for Sco_Utime
5665 static const char* apzSco_UtimePatch[] = {
5667 "(const char *, const struct utimbuf *);",
5670 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5672 * Description of Solaris_Math_1 fix
5674 tSCC zSolaris_Math_1Name[] =
5678 * File name selection pattern
5680 tSCC zSolaris_Math_1List[] =
5683 * Machine/OS name selection pattern
5685 #define apzSolaris_Math_1Machs (const char**)NULL
5688 * content selection pattern - do fix if pattern found
5690 tSCC zSolaris_Math_1Select0[] =
5691 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5694 * content bypass pattern - skip fix if pattern found
5696 tSCC zSolaris_Math_1Bypass0[] =
5699 #define SOLARIS_MATH_1_TEST_CT 2
5700 static tTestDesc aSolaris_Math_1Tests[] = {
5701 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
5702 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
5705 * Fix Command Arguments for Solaris_Math_1
5707 static const char* apzSolaris_Math_1Patch[] = {
5709 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
5710 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
5713 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5715 * Description of Solaris_Math_2 fix
5717 tSCC zSolaris_Math_2Name[] =
5721 * File name selection pattern
5723 tSCC zSolaris_Math_2List[] =
5726 * Machine/OS name selection pattern
5728 #define apzSolaris_Math_2Machs (const char**)NULL
5731 * content selection pattern - do fix if pattern found
5733 tSCC zSolaris_Math_2Select0[] =
5734 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5737 * content bypass pattern - skip fix if pattern found
5739 tSCC zSolaris_Math_2Bypass0[] =
5742 #define SOLARIS_MATH_2_TEST_CT 2
5743 static tTestDesc aSolaris_Math_2Tests[] = {
5744 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
5745 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
5748 * Fix Command Arguments for Solaris_Math_2
5750 static const char* apzSolaris_Math_2Patch[] = {
5752 "#define\tINFINITY\t(__builtin_inff())",
5753 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
5756 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5758 * Description of Solaris_Math_3 fix
5760 tSCC zSolaris_Math_3Name[] =
5764 * File name selection pattern
5766 tSCC zSolaris_Math_3List[] =
5769 * Machine/OS name selection pattern
5771 #define apzSolaris_Math_3Machs (const char**)NULL
5774 * content selection pattern - do fix if pattern found
5776 tSCC zSolaris_Math_3Select0[] =
5777 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5780 * content bypass pattern - skip fix if pattern found
5782 tSCC zSolaris_Math_3Bypass0[] =
5785 #define SOLARIS_MATH_3_TEST_CT 2
5786 static tTestDesc aSolaris_Math_3Tests[] = {
5787 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
5788 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
5791 * Fix Command Arguments for Solaris_Math_3
5793 static const char* apzSolaris_Math_3Patch[] = {
5795 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
5796 "^#define[ \t]+NAN[ \t]+__builtin_nan",
5799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5801 * Description of Solaris_Math_4 fix
5803 tSCC zSolaris_Math_4Name[] =
5807 * File name selection pattern
5809 tSCC zSolaris_Math_4List[] =
5812 * Machine/OS name selection pattern
5814 #define apzSolaris_Math_4Machs (const char**)NULL
5817 * content selection pattern - do fix if pattern found
5819 tSCC zSolaris_Math_4Select0[] =
5820 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5823 * content bypass pattern - skip fix if pattern found
5825 tSCC zSolaris_Math_4Bypass0[] =
5828 #define SOLARIS_MATH_4_TEST_CT 2
5829 static tTestDesc aSolaris_Math_4Tests[] = {
5830 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
5831 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
5834 * Fix Command Arguments for Solaris_Math_4
5836 static const char* apzSolaris_Math_4Patch[] = {
5838 "#define\tfpclassify(x) \\\n\
5839 __extension__ ({ const __typeof(x) __x_fp = (x); \\\n\
5840 \t\t isnan(__x_fp) \\\n\
5842 \t\t : isinf(__x_fp) \\\n\
5843 \t\t ? FP_INFINITE \\\n\
5844 \t\t : isnormal(__x_fp) \\\n\
5845 \t\t\t ? FP_NORMAL \\\n\
5846 \t\t\t : __x_fp == 0.0 \\\n\
5847 \t\t\t ? FP_ZERO \\\n\
5848 \t\t\t : FP_SUBNORMAL; })",
5849 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
5852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5854 * Description of Solaris_Math_8 fix
5856 tSCC zSolaris_Math_8Name[] =
5860 * File name selection pattern
5862 tSCC zSolaris_Math_8List[] =
5865 * Machine/OS name selection pattern
5867 #define apzSolaris_Math_8Machs (const char**)NULL
5870 * content selection pattern - do fix if pattern found
5872 tSCC zSolaris_Math_8Select0[] =
5873 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5876 * content bypass pattern - skip fix if pattern found
5878 tSCC zSolaris_Math_8Bypass0[] =
5881 #define SOLARIS_MATH_8_TEST_CT 2
5882 static tTestDesc aSolaris_Math_8Tests[] = {
5883 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
5884 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
5887 * Fix Command Arguments for Solaris_Math_8
5889 static const char* apzSolaris_Math_8Patch[] = {
5891 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
5892 \t\t\t ? __builtin_signbitf(x) \\\n\
5893 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
5894 \t\t\t ? __builtin_signbitl(x) \\\n\
5895 \t\t\t : __builtin_signbit(x))",
5896 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
5899 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5901 * Description of Solaris_Math_9 fix
5903 tSCC zSolaris_Math_9Name[] =
5907 * File name selection pattern
5909 tSCC zSolaris_Math_9List[] =
5912 * Machine/OS name selection pattern
5914 #define apzSolaris_Math_9Machs (const char**)NULL
5917 * content selection pattern - do fix if pattern found
5919 tSCC zSolaris_Math_9Select0[] =
5920 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5923 * content bypass pattern - skip fix if pattern found
5925 tSCC zSolaris_Math_9Bypass0[] =
5928 #define SOLARIS_MATH_9_TEST_CT 2
5929 static tTestDesc aSolaris_Math_9Tests[] = {
5930 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
5931 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
5934 * Fix Command Arguments for Solaris_Math_9
5936 static const char* apzSolaris_Math_9Patch[] = {
5938 "#define\t%1(x, y)%2__builtin_%1(x, y)",
5939 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
5942 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5944 * Description of Solaris_Mutex_Init_1 fix
5946 tSCC zSolaris_Mutex_Init_1Name[] =
5947 "solaris_mutex_init_1";
5950 * File name selection pattern
5952 tSCC zSolaris_Mutex_Init_1List[] =
5955 * Machine/OS name selection pattern
5957 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
5960 * content selection pattern - do fix if pattern found
5962 tSCC zSolaris_Mutex_Init_1Select0[] =
5963 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
5965 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
5966 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
5967 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
5970 * Fix Command Arguments for Solaris_Mutex_Init_1
5972 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
5973 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
5974 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
5977 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5979 * Description of Solaris_Mutex_Init_2 fix
5981 tSCC zSolaris_Mutex_Init_2Name[] =
5982 "solaris_mutex_init_2";
5985 * File name selection pattern
5987 tSCC zSolaris_Mutex_Init_2List[] =
5990 * Machine/OS name selection pattern
5992 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
5993 "*-*-solaris2.[0-9]",
5994 "*-*-solaris2.[0-9][!0-9]*",
5995 (const char*)NULL };
5998 * content selection pattern - do fix if pattern found
6000 tSCC zSolaris_Mutex_Init_2Select0[] =
6001 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6003 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
6004 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
6005 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
6008 * Fix Command Arguments for Solaris_Mutex_Init_2
6010 static const char* apzSolaris_Mutex_Init_2Patch[] = {
6012 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6017 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
6018 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
6021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6023 * Description of Solaris_Rwlock_Init_1 fix
6025 tSCC zSolaris_Rwlock_Init_1Name[] =
6026 "solaris_rwlock_init_1";
6029 * File name selection pattern
6031 tSCC zSolaris_Rwlock_Init_1List[] =
6034 * Machine/OS name selection pattern
6036 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
6038 (const char*)NULL };
6041 * content selection pattern - do fix if pattern found
6043 tSCC zSolaris_Rwlock_Init_1Select0[] =
6044 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6046 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
6047 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
6048 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
6051 * Fix Command Arguments for Solaris_Rwlock_Init_1
6053 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6055 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6058 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6060 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6065 * Description of Solaris_Once_Init_1 fix
6067 tSCC zSolaris_Once_Init_1Name[] =
6068 "solaris_once_init_1";
6071 * File name selection pattern
6073 tSCC zSolaris_Once_Init_1List[] =
6076 * Machine/OS name selection pattern
6078 tSCC* apzSolaris_Once_Init_1Machs[] = {
6080 (const char*)NULL };
6083 * content selection pattern - do fix if pattern found
6085 tSCC zSolaris_Once_Init_1Select0[] =
6086 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6088 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6089 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6090 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6093 * Fix Command Arguments for Solaris_Once_Init_1
6095 static const char* apzSolaris_Once_Init_1Patch[] = {
6098 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6103 * Description of Solaris_Once_Init_2 fix
6105 tSCC zSolaris_Once_Init_2Name[] =
6106 "solaris_once_init_2";
6109 * File name selection pattern
6111 tSCC zSolaris_Once_Init_2List[] =
6114 * Machine/OS name selection pattern
6116 tSCC* apzSolaris_Once_Init_2Machs[] = {
6117 "*-*-solaris2.[0-9]",
6118 "*-*-solaris2.[0-9][!0-9]*",
6119 (const char*)NULL };
6122 * content selection pattern - do fix if pattern found
6124 tSCC zSolaris_Once_Init_2Select0[] =
6125 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6127 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6128 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6129 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6132 * Fix Command Arguments for Solaris_Once_Init_2
6134 static const char* apzSolaris_Once_Init_2Patch[] = {
6136 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6139 %1{0}, {0}, {0}, {%3}%4\n\
6141 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6146 * Description of Solaris_Socket fix
6148 tSCC zSolaris_SocketName[] =
6152 * File name selection pattern
6154 tSCC zSolaris_SocketList[] =
6157 * Machine/OS name selection pattern
6159 #define apzSolaris_SocketMachs (const char**)NULL
6162 * content selection pattern - do fix if pattern found
6164 tSCC zSolaris_SocketSelect0[] =
6165 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
6167 #define SOLARIS_SOCKET_TEST_CT 1
6168 static tTestDesc aSolaris_SocketTests[] = {
6169 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
6172 * Fix Command Arguments for Solaris_Socket
6174 static const char* apzSolaris_SocketPatch[] = {
6176 "extern int %1(int, %2void *, int, int);",
6177 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
6180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6182 * Description of Solaris_Stdio_Tag fix
6184 tSCC zSolaris_Stdio_TagName[] =
6185 "solaris_stdio_tag";
6188 * File name selection pattern
6190 tSCC zSolaris_Stdio_TagList[] =
6193 * Machine/OS name selection pattern
6195 #define apzSolaris_Stdio_TagMachs (const char**)NULL
6198 * content selection pattern - do fix if pattern found
6200 tSCC zSolaris_Stdio_TagSelect0[] =
6201 "__cplusplus < 54321L";
6204 * content bypass pattern - skip fix if pattern found
6206 tSCC zSolaris_Stdio_TagBypass0[] =
6209 #define SOLARIS_STDIO_TAG_TEST_CT 2
6210 static tTestDesc aSolaris_Stdio_TagTests[] = {
6211 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6212 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6215 * Fix Command Arguments for Solaris_Stdio_Tag
6217 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
6218 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6223 * Description of Solaris_Unistd fix
6225 tSCC zSolaris_UnistdName[] =
6229 * File name selection pattern
6231 tSCC zSolaris_UnistdList[] =
6234 * Machine/OS name selection pattern
6236 #define apzSolaris_UnistdMachs (const char**)NULL
6239 * content selection pattern - do fix if pattern found
6241 tSCC zSolaris_UnistdSelect0[] =
6242 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
6245 * content bypass pattern - skip fix if pattern found
6247 tSCC zSolaris_UnistdBypass0[] =
6250 #define SOLARIS_UNISTD_TEST_CT 2
6251 static tTestDesc aSolaris_UnistdTests[] = {
6252 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
6253 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
6256 * Fix Command Arguments for Solaris_Unistd
6258 static const char* apzSolaris_UnistdPatch[] = {
6260 "extern int getpagesize();\n\
6262 "^extern (pid_t|int) getpgid\\(.*\\);",
6265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6267 * Description of Solaris_Widec fix
6269 tSCC zSolaris_WidecName[] =
6273 * File name selection pattern
6275 tSCC zSolaris_WidecList[] =
6278 * Machine/OS name selection pattern
6280 tSCC* apzSolaris_WidecMachs[] = {
6281 "*-*-solaris2.[0-5]",
6282 "*-*-solaris2.[0-5].*",
6283 (const char*)NULL };
6286 * content selection pattern - do fix if pattern found
6288 tSCC zSolaris_WidecSelect0[] =
6292 * content bypass pattern - skip fix if pattern found
6294 tSCC zSolaris_WidecBypass0[] =
6295 "include.*wchar\\.h";
6297 #define SOLARIS_WIDEC_TEST_CT 2
6298 static tTestDesc aSolaris_WidecTests[] = {
6299 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
6300 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
6303 * Fix Command Arguments for Solaris_Widec
6305 static const char* apzSolaris_WidecPatch[] = {
6308 #include <wchar.h>",
6311 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6313 * Description of Statsswtch fix
6315 tSCC zStatsswtchName[] =
6319 * File name selection pattern
6321 tSCC zStatsswtchList[] =
6324 * Machine/OS name selection pattern
6326 #define apzStatsswtchMachs (const char**)NULL
6329 * content selection pattern - do fix if pattern found
6331 tSCC zStatsswtchSelect0[] =
6334 #define STATSSWTCH_TEST_CT 1
6335 static tTestDesc aStatsswtchTests[] = {
6336 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6339 * Fix Command Arguments for Statsswtch
6341 static const char* apzStatsswtchPatch[] = {
6346 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6348 * Description of Stdio_Stdarg_H fix
6350 tSCC zStdio_Stdarg_HName[] =
6354 * File name selection pattern
6356 tSCC zStdio_Stdarg_HList[] =
6359 * Machine/OS name selection pattern
6361 tSCC* apzStdio_Stdarg_HMachs[] = {
6362 "*-*-solaris2.1[0-9]*",
6363 (const char*)NULL };
6366 * content bypass pattern - skip fix if pattern found
6368 tSCC zStdio_Stdarg_HBypass0[] =
6369 "include.*(stdarg.h|machine/ansi.h)";
6371 #define STDIO_STDARG_H_TEST_CT 1
6372 static tTestDesc aStdio_Stdarg_HTests[] = {
6373 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6376 * Fix Command Arguments for Stdio_Stdarg_H
6378 static const char* apzStdio_Stdarg_HPatch[] = {
6380 "#define __need___va_list\n\
6381 #include <stdarg.h>\n",
6384 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6386 * Description of Stdio_Va_List fix
6388 tSCC zStdio_Va_ListName[] =
6392 * File name selection pattern
6394 tSCC zStdio_Va_ListList[] =
6395 "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0";
6397 * Machine/OS name selection pattern
6399 tSCC* apzStdio_Va_ListMachs[] = {
6400 "*-*-solaris2.1[0-9]*",
6401 (const char*)NULL };
6404 * content bypass pattern - skip fix if pattern found
6406 tSCC zStdio_Va_ListBypass0[] =
6407 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6409 #define STDIO_VA_LIST_TEST_CT 1
6410 static tTestDesc aStdio_Va_ListTests[] = {
6411 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
6414 * Fix Command Arguments for Stdio_Va_List
6416 static const char* apzStdio_Va_ListPatch[] = { "sed",
6417 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6418 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6419 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6420 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6421 s@ va_list@ __not_va_list__@\n\
6422 s@\\*va_list@*__not_va_list__@\n\
6423 s@ __va_list)@ __gnuc_va_list)@\n\
6424 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6425 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6426 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6427 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6428 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6429 s@VA_LIST@DUMMY_VA_LIST@\n\
6430 s@_Va_LIST@_VA_LIST@",
6433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6435 * Description of Stdio_Va_List_Clients fix
6437 tSCC zStdio_Va_List_ClientsName[] =
6438 "stdio_va_list_clients";
6441 * File name selection pattern
6443 tSCC zStdio_Va_List_ClientsList[] =
6444 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
6446 * Machine/OS name selection pattern
6448 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
6451 * content bypass pattern - skip fix if pattern found
6453 tSCC zStdio_Va_List_ClientsBypass0[] =
6454 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6455 tSCC zStdio_Va_List_ClientsBypass1[] =
6456 "include <stdarg\\.h>|#ifdef va_start";
6458 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
6459 static tTestDesc aStdio_Va_List_ClientsTests[] = {
6460 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
6461 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
6464 * Fix Command Arguments for Stdio_Va_List_Clients
6466 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
6467 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6468 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6469 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6470 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6471 s@ va_list@ __not_va_list__@\n\
6472 s@\\*va_list@*__not_va_list__@\n\
6473 s@ __va_list)@ __gnuc_va_list)@\n\
6474 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6475 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6476 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6477 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6478 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6479 s@VA_LIST@DUMMY_VA_LIST@\n\
6480 s@_Va_LIST@_VA_LIST@",
6483 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6485 * Description of Strict_Ansi_Not fix
6487 tSCC zStrict_Ansi_NotName[] =
6491 * File name selection pattern
6493 #define zStrict_Ansi_NotList (char*)NULL
6495 * Machine/OS name selection pattern
6497 #define apzStrict_Ansi_NotMachs (const char**)NULL
6500 * content selection pattern - do fix if pattern found
6502 tSCC zStrict_Ansi_NotSelect0[] =
6503 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
6506 * content bypass pattern - skip fix if pattern found
6508 tSCC zStrict_Ansi_NotBypass0[] =
6509 "GNU and MIPS C compilers define __STDC__ differently";
6510 tSCC zStrict_Ansi_NotBypass1[] =
6511 "__SCO_VERSION__.*__STDC__ != 1";
6514 * perform the C function call test
6516 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
6518 #define STRICT_ANSI_NOT_TEST_CT 4
6519 static tTestDesc aStrict_Ansi_NotTests[] = {
6520 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
6521 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
6522 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
6523 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
6526 * Fix Command Arguments for Strict_Ansi_Not
6528 static const char* apzStrict_Ansi_NotPatch[] = {
6530 "%1 !defined(__STRICT_ANSI__)",
6533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6535 * Description of Strict_Ansi_Not_Ctd fix
6537 tSCC zStrict_Ansi_Not_CtdName[] =
6538 "strict_ansi_not_ctd";
6541 * File name selection pattern
6543 tSCC zStrict_Ansi_Not_CtdList[] =
6544 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
6546 * Machine/OS name selection pattern
6548 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
6551 * content selection pattern - do fix if pattern found
6553 tSCC zStrict_Ansi_Not_CtdSelect0[] =
6554 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
6557 * perform the C function call test
6559 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
6561 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
6562 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
6563 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
6564 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
6567 * Fix Command Arguments for Strict_Ansi_Not_Ctd
6569 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
6571 "%1 !defined(__STRICT_ANSI__)",
6574 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6576 * Description of Strict_Ansi_Only fix
6578 tSCC zStrict_Ansi_OnlyName[] =
6582 * File name selection pattern
6584 #define zStrict_Ansi_OnlyList (char*)NULL
6586 * Machine/OS name selection pattern
6588 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
6591 * content selection pattern - do fix if pattern found
6593 tSCC zStrict_Ansi_OnlySelect0[] =
6594 "^([ \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)";
6597 * perform the C function call test
6599 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
6601 #define STRICT_ANSI_ONLY_TEST_CT 2
6602 static tTestDesc aStrict_Ansi_OnlyTests[] = {
6603 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
6604 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
6607 * Fix Command Arguments for Strict_Ansi_Only
6609 static const char* apzStrict_Ansi_OnlyPatch[] = {
6611 "%1 defined(__STRICT_ANSI__)",
6614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6616 * Description of Struct_File fix
6618 tSCC zStruct_FileName[] =
6622 * File name selection pattern
6624 tSCC zStruct_FileList[] =
6627 * Machine/OS name selection pattern
6629 #define apzStruct_FileMachs (const char**)NULL
6632 * content selection pattern - do fix if pattern found
6634 tSCC zStruct_FileSelect0[] =
6635 "^.*xdrstdio_create.*struct __file_s";
6637 #define STRUCT_FILE_TEST_CT 1
6638 static tTestDesc aStruct_FileTests[] = {
6639 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
6642 * Fix Command Arguments for Struct_File
6644 static const char* apzStruct_FilePatch[] = {
6646 "struct __file_s;\n\
6650 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6652 * Description of Struct_Sockaddr fix
6654 tSCC zStruct_SockaddrName[] =
6658 * File name selection pattern
6660 tSCC zStruct_SockaddrList[] =
6663 * Machine/OS name selection pattern
6665 #define apzStruct_SockaddrMachs (const char**)NULL
6668 * content selection pattern - do fix if pattern found
6670 tSCC zStruct_SockaddrSelect0[] =
6671 "^.*authdes_create.*struct sockaddr[^_]";
6674 * content bypass pattern - skip fix if pattern found
6676 tSCC zStruct_SockaddrBypass0[] =
6678 tSCC zStruct_SockaddrBypass1[] =
6679 "struct sockaddr;\n";
6681 #define STRUCT_SOCKADDR_TEST_CT 3
6682 static tTestDesc aStruct_SockaddrTests[] = {
6683 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
6684 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
6685 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
6688 * Fix Command Arguments for Struct_Sockaddr
6690 static const char* apzStruct_SockaddrPatch[] = {
6692 "struct sockaddr;\n\
6696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6698 * Description of Sun_Auth_Proto fix
6700 tSCC zSun_Auth_ProtoName[] =
6704 * File name selection pattern
6706 tSCC zSun_Auth_ProtoList[] =
6707 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
6709 * Machine/OS name selection pattern
6711 #define apzSun_Auth_ProtoMachs (const char**)NULL
6714 * content selection pattern - do fix if pattern found
6716 tSCC zSun_Auth_ProtoSelect0[] =
6717 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
6720 * content bypass pattern - skip fix if pattern found
6722 tSCC zSun_Auth_ProtoBypass0[] =
6725 #define SUN_AUTH_PROTO_TEST_CT 2
6726 static tTestDesc aSun_Auth_ProtoTests[] = {
6727 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
6728 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
6731 * Fix Command Arguments for Sun_Auth_Proto
6733 static const char* apzSun_Auth_ProtoPatch[] = {
6735 "#ifdef __cplusplus\n\
6740 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
6743 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6745 * Description of Sun_Bogus_Ifdef fix
6747 tSCC zSun_Bogus_IfdefName[] =
6751 * File name selection pattern
6753 tSCC zSun_Bogus_IfdefList[] =
6754 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
6756 * Machine/OS name selection pattern
6758 #define apzSun_Bogus_IfdefMachs (const char**)NULL
6761 * content selection pattern - do fix if pattern found
6763 tSCC zSun_Bogus_IfdefSelect0[] =
6764 "#ifdef(.*\\|\\|.*)";
6766 #define SUN_BOGUS_IFDEF_TEST_CT 1
6767 static tTestDesc aSun_Bogus_IfdefTests[] = {
6768 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
6771 * Fix Command Arguments for Sun_Bogus_Ifdef
6773 static const char* apzSun_Bogus_IfdefPatch[] = {
6778 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6780 * Description of Sun_Catmacro fix
6782 tSCC zSun_CatmacroName[] =
6786 * File name selection pattern
6788 tSCC zSun_CatmacroList[] =
6789 "pixrect/memvar.h\0";
6791 * Machine/OS name selection pattern
6793 #define apzSun_CatmacroMachs (const char**)NULL
6796 * content selection pattern - do fix if pattern found
6798 tSCC zSun_CatmacroSelect0[] =
6799 "^#define[ \t]+CAT\\(a,b\\).*";
6801 #define SUN_CATMACRO_TEST_CT 1
6802 static tTestDesc aSun_CatmacroTests[] = {
6803 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
6806 * Fix Command Arguments for Sun_Catmacro
6808 static const char* apzSun_CatmacroPatch[] = {
6811 # define CAT(a,b) a##b\n\
6817 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6819 * Description of Sun_Malloc fix
6821 tSCC zSun_MallocName[] =
6825 * File name selection pattern
6827 tSCC zSun_MallocList[] =
6830 * Machine/OS name selection pattern
6832 #define apzSun_MallocMachs (const char**)NULL
6835 * content bypass pattern - skip fix if pattern found
6837 tSCC zSun_MallocBypass0[] =
6838 "_CLASSIC_ANSI_TYPES";
6840 #define SUN_MALLOC_TEST_CT 1
6841 static tTestDesc aSun_MallocTests[] = {
6842 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
6845 * Fix Command Arguments for Sun_Malloc
6847 static const char* apzSun_MallocPatch[] = { "sed",
6848 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
6849 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
6850 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
6851 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
6852 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
6855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6857 * Description of Sun_Rusers_Semi fix
6859 tSCC zSun_Rusers_SemiName[] =
6863 * File name selection pattern
6865 tSCC zSun_Rusers_SemiList[] =
6866 "rpcsvc/rusers.h\0";
6868 * Machine/OS name selection pattern
6870 #define apzSun_Rusers_SemiMachs (const char**)NULL
6873 * content selection pattern - do fix if pattern found
6875 tSCC zSun_Rusers_SemiSelect0[] =
6878 #define SUN_RUSERS_SEMI_TEST_CT 1
6879 static tTestDesc aSun_Rusers_SemiTests[] = {
6880 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
6883 * Fix Command Arguments for Sun_Rusers_Semi
6885 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
6886 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
6889 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6891 * Description of Sun_Signal fix
6893 tSCC zSun_SignalName[] =
6897 * File name selection pattern
6899 tSCC zSun_SignalList[] =
6900 "sys/signal.h\0signal.h\0";
6902 * Machine/OS name selection pattern
6904 #define apzSun_SignalMachs (const char**)NULL
6907 * content selection pattern - do fix if pattern found
6909 tSCC zSun_SignalSelect0[] =
6910 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
6912 #define SUN_SIGNAL_TEST_CT 1
6913 static tTestDesc aSun_SignalTests[] = {
6914 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
6917 * Fix Command Arguments for Sun_Signal
6919 static const char* apzSun_SignalPatch[] = {
6921 "#ifdef __cplusplus\n\
6922 void\t(*signal(...))(...);\n\
6928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6930 * Description of Sunos_Strlen fix
6932 tSCC zSunos_StrlenName[] =
6936 * File name selection pattern
6938 tSCC zSunos_StrlenList[] =
6941 * Machine/OS name selection pattern
6943 #define apzSunos_StrlenMachs (const char**)NULL
6946 * content selection pattern - do fix if pattern found
6948 tSCC zSunos_StrlenSelect0[] =
6949 "int[ \t]*strlen\\(\\);(.*)";
6951 #define SUNOS_STRLEN_TEST_CT 1
6952 static tTestDesc aSunos_StrlenTests[] = {
6953 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
6956 * Fix Command Arguments for Sunos_Strlen
6958 static const char* apzSunos_StrlenPatch[] = {
6960 "__SIZE_TYPE__ strlen();%1",
6963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6965 * Description of Svr4_Disable_Opt fix
6967 tSCC zSvr4_Disable_OptName[] =
6971 * File name selection pattern
6973 tSCC zSvr4_Disable_OptList[] =
6976 * Machine/OS name selection pattern
6978 #define apzSvr4_Disable_OptMachs (const char**)NULL
6981 * content selection pattern - do fix if pattern found
6983 tSCC zSvr4_Disable_OptSelect0[] =
6984 "#define.*__std_hdr_";
6986 #define SVR4_DISABLE_OPT_TEST_CT 1
6987 static tTestDesc aSvr4_Disable_OptTests[] = {
6988 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
6991 * Fix Command Arguments for Svr4_Disable_Opt
6993 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
6994 "-e", "/#define.*__std_hdr_/d",
6997 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6999 * Description of Svr4_Getcwd fix
7001 tSCC zSvr4_GetcwdName[] =
7005 * File name selection pattern
7007 tSCC zSvr4_GetcwdList[] =
7008 "stdlib.h\0unistd.h\0prototypes.h\0";
7010 * Machine/OS name selection pattern
7012 #define apzSvr4_GetcwdMachs (const char**)NULL
7015 * content selection pattern - do fix if pattern found
7017 tSCC zSvr4_GetcwdSelect0[] =
7018 "getcwd\\(char \\*, int\\)";
7020 #define SVR4_GETCWD_TEST_CT 1
7021 static tTestDesc aSvr4_GetcwdTests[] = {
7022 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
7025 * Fix Command Arguments for Svr4_Getcwd
7027 static const char* apzSvr4_GetcwdPatch[] = {
7029 "getcwd(char *, size_t)",
7032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7034 * Description of Svr4_Krnl fix
7036 tSCC zSvr4_KrnlName[] =
7040 * File name selection pattern
7042 tSCC zSvr4_KrnlList[] =
7043 "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";
7045 * Machine/OS name selection pattern
7047 tSCC* apzSvr4_KrnlMachs[] = {
7049 "i?86-sequent-ptx*",
7050 (const char*)NULL };
7053 * content bypass pattern - skip fix if pattern found
7055 tSCC zSvr4_KrnlBypass0[] =
7058 #define SVR4_KRNL_TEST_CT 1
7059 static tTestDesc aSvr4_KrnlTests[] = {
7060 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
7063 * Fix Command Arguments for Svr4_Krnl
7065 static const char* apzSvr4_KrnlPatch[] = {
7068 "#endif /* _KERNEL */\n",
7071 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7073 * Description of Svr4_Profil fix
7075 tSCC zSvr4_ProfilName[] =
7079 * File name selection pattern
7081 tSCC zSvr4_ProfilList[] =
7082 "stdlib.h\0unistd.h\0";
7084 * Machine/OS name selection pattern
7086 #define apzSvr4_ProfilMachs (const char**)NULL
7089 * content selection pattern - do fix if pattern found
7091 tSCC zSvr4_ProfilSelect0[] =
7092 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7095 * content bypass pattern - skip fix if pattern found
7097 tSCC zSvr4_ProfilBypass0[] =
7100 #define SVR4_PROFIL_TEST_CT 2
7101 static tTestDesc aSvr4_ProfilTests[] = {
7102 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
7103 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7106 * Fix Command Arguments for Svr4_Profil
7108 static const char* apzSvr4_ProfilPatch[] = {
7110 "profil(unsigned short *, size_t, int, unsigned int)",
7113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7115 * Description of Svr4_Sighandler_Type fix
7117 tSCC zSvr4_Sighandler_TypeName[] =
7118 "svr4_sighandler_type";
7121 * File name selection pattern
7123 tSCC zSvr4_Sighandler_TypeList[] =
7126 * Machine/OS name selection pattern
7128 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7131 * content selection pattern - do fix if pattern found
7133 tSCC zSvr4_Sighandler_TypeSelect0[] =
7134 "void *\\(\\*\\)\\(\\)";
7136 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
7137 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
7138 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
7141 * Fix Command Arguments for Svr4_Sighandler_Type
7143 static const char* apzSvr4_Sighandler_TypePatch[] = {
7148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7150 * Description of Svr4_Undeclared_Getrnge fix
7152 tSCC zSvr4_Undeclared_GetrngeName[] =
7153 "svr4_undeclared_getrnge";
7156 * File name selection pattern
7158 tSCC zSvr4_Undeclared_GetrngeList[] =
7161 * Machine/OS name selection pattern
7163 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
7166 * content selection pattern - do fix if pattern found
7168 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
7172 * content bypass pattern - skip fix if pattern found
7174 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
7175 "static void getrnge";
7177 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
7178 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
7179 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
7180 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
7183 * Fix Command Arguments for Svr4_Undeclared_Getrnge
7185 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
7188 static int getrnge ();",
7189 "^static int[ \t]+size;",
7192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7194 * Description of Sysv68_String fix
7196 tSCC zSysv68_StringName[] =
7200 * File name selection pattern
7202 tSCC zSysv68_StringList[] =
7203 "testing.h\0string.h\0";
7205 * Machine/OS name selection pattern
7207 #define apzSysv68_StringMachs (const char**)NULL
7210 * content bypass pattern - skip fix if pattern found
7212 tSCC zSysv68_StringBypass0[] =
7213 "_CLASSIC_ANSI_TYPES";
7215 #define SYSV68_STRING_TEST_CT 1
7216 static tTestDesc aSysv68_StringTests[] = {
7217 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7220 * Fix Command Arguments for Sysv68_String
7222 static const char* apzSysv68_StringPatch[] = { "sed",
7223 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7224 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7225 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7226 "-e", "/^extern char$/N",
7227 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7228 "-e", "/^extern int$/N",
7229 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7230 "-e", "/^\tstrncmp(),$/N",
7231 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7232 extern unsigned int\\\n\
7236 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7238 * Description of Sysz_Stdlib_For_Sun fix
7240 tSCC zSysz_Stdlib_For_SunName[] =
7241 "sysz_stdlib_for_sun";
7244 * File name selection pattern
7246 tSCC zSysz_Stdlib_For_SunList[] =
7249 * Machine/OS name selection pattern
7251 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7254 * content selection pattern - do fix if pattern found
7256 tSCC zSysz_Stdlib_For_SunSelect0[] =
7257 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7260 * content bypass pattern - skip fix if pattern found
7262 tSCC zSysz_Stdlib_For_SunBypass0[] =
7263 "_CLASSIC_ANSI_TYPES";
7265 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7266 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7267 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7268 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7271 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7273 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7278 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7280 * Description of Thread_Keyword fix
7282 tSCC zThread_KeywordName[] =
7286 * File name selection pattern
7288 tSCC zThread_KeywordList[] =
7289 "pthread.h\0bits/sigthread.h\0";
7291 * Machine/OS name selection pattern
7293 #define apzThread_KeywordMachs (const char**)NULL
7296 * content selection pattern - do fix if pattern found
7298 tSCC zThread_KeywordSelect0[] =
7299 "([* ])__thread([,)])";
7301 #define THREAD_KEYWORD_TEST_CT 1
7302 static tTestDesc aThread_KeywordTests[] = {
7303 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7306 * Fix Command Arguments for Thread_Keyword
7308 static const char* apzThread_KeywordPatch[] = {
7313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7315 * Description of Tinfo_Cplusplus fix
7317 tSCC zTinfo_CplusplusName[] =
7321 * File name selection pattern
7323 tSCC zTinfo_CplusplusList[] =
7326 * Machine/OS name selection pattern
7328 #define apzTinfo_CplusplusMachs (const char**)NULL
7331 * content selection pattern - do fix if pattern found
7333 tSCC zTinfo_CplusplusSelect0[] =
7336 #define TINFO_CPLUSPLUS_TEST_CT 1
7337 static tTestDesc aTinfo_CplusplusTests[] = {
7338 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7341 * Fix Command Arguments for Tinfo_Cplusplus
7343 static const char* apzTinfo_CplusplusPatch[] = {
7348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7350 * Description of Ultrix_Atexit_Param fix
7352 tSCC zUltrix_Atexit_ParamName[] =
7353 "ultrix_atexit_param";
7356 * File name selection pattern
7358 tSCC zUltrix_Atexit_ParamList[] =
7361 * Machine/OS name selection pattern
7363 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
7366 * content selection pattern - do fix if pattern found
7368 tSCC zUltrix_Atexit_ParamSelect0[] =
7369 "atexit\\(.*\\(\\)";
7371 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
7372 static tTestDesc aUltrix_Atexit_ParamTests[] = {
7373 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
7376 * Fix Command Arguments for Ultrix_Atexit_Param
7378 static const char* apzUltrix_Atexit_ParamPatch[] = {
7380 "atexit( void (*__func)( void )",
7383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7385 * Description of Ultrix_Atof_Param fix
7387 tSCC zUltrix_Atof_ParamName[] =
7388 "ultrix_atof_param";
7391 * File name selection pattern
7393 tSCC zUltrix_Atof_ParamList[] =
7396 * Machine/OS name selection pattern
7398 #define apzUltrix_Atof_ParamMachs (const char**)NULL
7401 * content selection pattern - do fix if pattern found
7403 tSCC zUltrix_Atof_ParamSelect0[] =
7404 "atof\\([ \t]*char";
7406 #define ULTRIX_ATOF_PARAM_TEST_CT 1
7407 static tTestDesc aUltrix_Atof_ParamTests[] = {
7408 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
7411 * Fix Command Arguments for Ultrix_Atof_Param
7413 static const char* apzUltrix_Atof_ParamPatch[] = {
7418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7420 * Description of Ultrix_Const fix
7422 tSCC zUltrix_ConstName[] =
7426 * File name selection pattern
7428 tSCC zUltrix_ConstList[] =
7431 * Machine/OS name selection pattern
7433 #define apzUltrix_ConstMachs (const char**)NULL
7436 * content selection pattern - do fix if pattern found
7438 tSCC zUltrix_ConstSelect0[] =
7439 "perror\\( char \\*";
7441 #define ULTRIX_CONST_TEST_CT 1
7442 static tTestDesc aUltrix_ConstTests[] = {
7443 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7446 * Fix Command Arguments for Ultrix_Const
7448 static const char* apzUltrix_ConstPatch[] = {
7451 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7456 * Description of Ultrix_Const2 fix
7458 tSCC zUltrix_Const2Name[] =
7462 * File name selection pattern
7464 tSCC zUltrix_Const2List[] =
7467 * Machine/OS name selection pattern
7469 #define apzUltrix_Const2Machs (const char**)NULL
7472 * content selection pattern - do fix if pattern found
7474 tSCC zUltrix_Const2Select0[] =
7475 "\\*fopen\\( char \\*";
7477 #define ULTRIX_CONST2_TEST_CT 1
7478 static tTestDesc aUltrix_Const2Tests[] = {
7479 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7482 * Fix Command Arguments for Ultrix_Const2
7484 static const char* apzUltrix_Const2Patch[] = {
7486 "%1( const char *%3, const char *",
7487 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7490 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7492 * Description of Ultrix_Const3 fix
7494 tSCC zUltrix_Const3Name[] =
7498 * File name selection pattern
7500 tSCC zUltrix_Const3List[] =
7503 * Machine/OS name selection pattern
7505 #define apzUltrix_Const3Machs (const char**)NULL
7508 * content selection pattern - do fix if pattern found
7510 tSCC zUltrix_Const3Select0[] =
7511 "fdopen\\( .*, char \\*";
7513 #define ULTRIX_CONST3_TEST_CT 1
7514 static tTestDesc aUltrix_Const3Tests[] = {
7515 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
7518 * Fix Command Arguments for Ultrix_Const3
7520 static const char* apzUltrix_Const3Patch[] = {
7523 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
7526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7528 * Description of Ultrix_Fix_Fixproto fix
7530 tSCC zUltrix_Fix_FixprotoName[] =
7531 "ultrix_fix_fixproto";
7534 * File name selection pattern
7536 tSCC zUltrix_Fix_FixprotoList[] =
7539 * Machine/OS name selection pattern
7541 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
7544 * content selection pattern - do fix if pattern found
7546 tSCC zUltrix_Fix_FixprotoSelect0[] =
7549 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
7550 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
7551 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
7554 * Fix Command Arguments for Ultrix_Fix_Fixproto
7556 static const char* apzUltrix_Fix_FixprotoPatch[] = {
7560 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
7563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7565 * Description of Ultrix_Ifdef fix
7567 tSCC zUltrix_IfdefName[] =
7571 * File name selection pattern
7573 tSCC zUltrix_IfdefList[] =
7576 * Machine/OS name selection pattern
7578 #define apzUltrix_IfdefMachs (const char**)NULL
7581 * content selection pattern - do fix if pattern found
7583 tSCC zUltrix_IfdefSelect0[] =
7584 "^#ifdef KERNEL[ \t]+&&";
7586 #define ULTRIX_IFDEF_TEST_CT 1
7587 static tTestDesc aUltrix_IfdefTests[] = {
7588 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
7591 * Fix Command Arguments for Ultrix_Ifdef
7593 static const char* apzUltrix_IfdefPatch[] = {
7595 "#if defined(KERNEL) &&",
7598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7600 * Description of Ultrix_Locale fix
7602 tSCC zUltrix_LocaleName[] =
7606 * File name selection pattern
7608 tSCC zUltrix_LocaleList[] =
7611 * Machine/OS name selection pattern
7613 #define apzUltrix_LocaleMachs (const char**)NULL
7616 * content selection pattern - do fix if pattern found
7618 tSCC zUltrix_LocaleSelect0[] =
7619 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
7621 #define ULTRIX_LOCALE_TEST_CT 1
7622 static tTestDesc aUltrix_LocaleTests[] = {
7623 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
7626 * Fix Command Arguments for Ultrix_Locale
7628 static const char* apzUltrix_LocalePatch[] = {
7632 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7634 * Description of Ultrix_Math_Ifdef fix
7636 tSCC zUltrix_Math_IfdefName[] =
7637 "ultrix_math_ifdef";
7640 * File name selection pattern
7642 tSCC zUltrix_Math_IfdefList[] =
7643 "sys/limits.h\0float.h\0math.h\0";
7645 * Machine/OS name selection pattern
7647 #define apzUltrix_Math_IfdefMachs (const char**)NULL
7650 * content selection pattern - do fix if pattern found
7652 tSCC zUltrix_Math_IfdefSelect0[] =
7653 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
7655 #define ULTRIX_MATH_IFDEF_TEST_CT 1
7656 static tTestDesc aUltrix_Math_IfdefTests[] = {
7657 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
7660 * Fix Command Arguments for Ultrix_Math_Ifdef
7662 static const char* apzUltrix_Math_IfdefPatch[] = {
7667 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7669 * Description of Ultrix_Nested_Ioctl fix
7671 tSCC zUltrix_Nested_IoctlName[] =
7672 "ultrix_nested_ioctl";
7675 * File name selection pattern
7677 tSCC zUltrix_Nested_IoctlList[] =
7680 * Machine/OS name selection pattern
7682 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
7685 * content selection pattern - do fix if pattern found
7687 tSCC zUltrix_Nested_IoctlSelect0[] =
7688 "^/\\* #define SIOCSCREEN";
7690 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
7691 static tTestDesc aUltrix_Nested_IoctlTests[] = {
7692 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
7695 * Fix Command Arguments for Ultrix_Nested_Ioctl
7697 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
7698 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
7701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7703 * Description of Ultrix_Nested_Svc fix
7705 tSCC zUltrix_Nested_SvcName[] =
7706 "ultrix_nested_svc";
7709 * File name selection pattern
7711 tSCC zUltrix_Nested_SvcList[] =
7714 * Machine/OS name selection pattern
7716 #define apzUltrix_Nested_SvcMachs (const char**)NULL
7719 * content selection pattern - do fix if pattern found
7721 tSCC zUltrix_Nested_SvcSelect0[] =
7722 "^ \\*[ \t]*int protocol; */\\*";
7724 #define ULTRIX_NESTED_SVC_TEST_CT 1
7725 static tTestDesc aUltrix_Nested_SvcTests[] = {
7726 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
7729 * Fix Command Arguments for Ultrix_Nested_Svc
7731 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
7732 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
7735 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7737 * Description of Ultrix_Stat fix
7739 tSCC zUltrix_StatName[] =
7743 * File name selection pattern
7745 tSCC zUltrix_StatList[] =
7748 * Machine/OS name selection pattern
7750 #define apzUltrix_StatMachs (const char**)NULL
7753 * content selection pattern - do fix if pattern found
7755 tSCC zUltrix_StatSelect0[] =
7756 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
7758 #define ULTRIX_STAT_TEST_CT 1
7759 static tTestDesc aUltrix_StatTests[] = {
7760 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
7763 * Fix Command Arguments for Ultrix_Stat
7765 static const char* apzUltrix_StatPatch[] = { "sed",
7766 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
7768 /* macro to test for symbolic link */\\\n\
7769 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
7770 "-e", "/^[ \t]*fstat(),$/a\\\n\
7774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7776 * Description of Ultrix_Static fix
7778 tSCC zUltrix_StaticName[] =
7782 * File name selection pattern
7784 tSCC zUltrix_StaticList[] =
7787 * Machine/OS name selection pattern
7789 #define apzUltrix_StaticMachs (const char**)NULL
7792 * content selection pattern - do fix if pattern found
7794 tSCC zUltrix_StaticSelect0[] =
7795 "#include \"r[34]_cpu";
7797 #define ULTRIX_STATIC_TEST_CT 1
7798 static tTestDesc aUltrix_StaticTests[] = {
7799 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
7802 * Fix Command Arguments for Ultrix_Static
7804 static const char* apzUltrix_StaticPatch[] = { "sed",
7805 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
7806 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
7807 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
7810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7812 * Description of Ultrix_Stdlib fix
7814 tSCC zUltrix_StdlibName[] =
7818 * File name selection pattern
7820 tSCC zUltrix_StdlibList[] =
7823 * Machine/OS name selection pattern
7825 #define apzUltrix_StdlibMachs (const char**)NULL
7828 * content selection pattern - do fix if pattern found
7830 tSCC zUltrix_StdlibSelect0[] =
7831 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
7833 #define ULTRIX_STDLIB_TEST_CT 1
7834 static tTestDesc aUltrix_StdlibTests[] = {
7835 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
7838 * Fix Command Arguments for Ultrix_Stdlib
7840 static const char* apzUltrix_StdlibPatch[] = { "sed",
7841 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
7842 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
7843 void\t\tunsetenv( const char *__name );\\\n\
7844 int\t\tputenv( char *__s );\n",
7845 "-e", "/^char.*getenv();.*$/a\\\n\
7847 void\tunsetenv();\\\n\
7851 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7853 * Description of Ultrix_Strings fix
7855 tSCC zUltrix_StringsName[] =
7859 * File name selection pattern
7861 tSCC zUltrix_StringsList[] =
7864 * Machine/OS name selection pattern
7866 #define apzUltrix_StringsMachs (const char**)NULL
7869 * content selection pattern - do fix if pattern found
7871 tSCC zUltrix_StringsSelect0[] =
7872 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7874 #define ULTRIX_STRINGS_TEST_CT 1
7875 static tTestDesc aUltrix_StringsTests[] = {
7876 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
7879 * Fix Command Arguments for Ultrix_Strings
7881 static const char* apzUltrix_StringsPatch[] = {
7885 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7887 * Description of Ultrix_Strings2 fix
7889 tSCC zUltrix_Strings2Name[] =
7893 * File name selection pattern
7895 tSCC zUltrix_Strings2List[] =
7898 * Machine/OS name selection pattern
7900 #define apzUltrix_Strings2Machs (const char**)NULL
7903 * content selection pattern - do fix if pattern found
7905 tSCC zUltrix_Strings2Select0[] =
7906 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7908 #define ULTRIX_STRINGS2_TEST_CT 1
7909 static tTestDesc aUltrix_Strings2Tests[] = {
7910 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
7913 * Fix Command Arguments for Ultrix_Strings2
7915 static const char* apzUltrix_Strings2Patch[] = { "sed",
7916 "-e", "/^.*strncmp( const .* );.*/a\\\n\
7919 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
7920 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
7921 "-e", "/^.*strncmp();.*/a\\\n\
7923 \tstrcasecmp(),\\\n\
7924 \tstrncasecmp();\n",
7927 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7929 * Description of Ultrix_Sys_Time fix
7931 tSCC zUltrix_Sys_TimeName[] =
7935 * File name selection pattern
7937 tSCC zUltrix_Sys_TimeList[] =
7940 * Machine/OS name selection pattern
7942 #define apzUltrix_Sys_TimeMachs (const char**)NULL
7945 * content selection pattern - do fix if pattern found
7947 tSCC zUltrix_Sys_TimeSelect0[] =
7948 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
7950 #define ULTRIX_SYS_TIME_TEST_CT 1
7951 static tTestDesc aUltrix_Sys_TimeTests[] = {
7952 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
7955 * Fix Command Arguments for Ultrix_Sys_Time
7957 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
7958 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
7960 extern int adjtime(struct timeval *, struct timeval *);\\\n\
7961 extern int getitimer(int, struct itimerval *);\\\n\
7962 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
7963 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
7964 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
7965 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
7966 extern int stime(const time_t *);\\\n\
7967 extern int utimes(const char *, const struct timeval[2]);\\\n\
7968 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
7969 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
7970 extern\tint adjtime();\\\n\
7971 extern\tint getitimer();\\\n\
7972 extern\tint setitimer();\\\n\
7973 extern\tint gettimeofday();\\\n\
7974 extern\tint settimeofday();\\\n\
7975 extern\tvoid profil();\\\n\
7976 extern\tint stime();\\\n\
7977 extern\tint utimes();\\\n\
7978 extern\tint select();\n",
7981 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7983 * Description of Ultrix_Unistd fix
7985 tSCC zUltrix_UnistdName[] =
7989 * File name selection pattern
7991 tSCC zUltrix_UnistdList[] =
7994 * Machine/OS name selection pattern
7996 #define apzUltrix_UnistdMachs (const char**)NULL
7999 * content selection pattern - do fix if pattern found
8001 tSCC zUltrix_UnistdSelect0[] =
8002 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
8004 #define ULTRIX_UNISTD_TEST_CT 1
8005 static tTestDesc aUltrix_UnistdTests[] = {
8006 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
8009 * Fix Command Arguments for Ultrix_Unistd
8011 static const char* apzUltrix_UnistdPatch[] = { "sed",
8012 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
8013 \tgetpagesize(),\n",
8014 "-e", "/^[ \t]*fork(),.*$/a\\\n\
8018 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8020 * Description of Unicosmk_Restrict fix
8022 tSCC zUnicosmk_RestrictName[] =
8023 "unicosmk_restrict";
8026 * File name selection pattern
8028 tSCC zUnicosmk_RestrictList[] =
8029 "stdio.h\0stdlib.h\0wchar.h\0";
8031 * Machine/OS name selection pattern
8033 tSCC* apzUnicosmk_RestrictMachs[] = {
8035 (const char*)NULL };
8038 * content selection pattern - do fix if pattern found
8040 tSCC zUnicosmk_RestrictSelect0[] =
8041 "(\\*[ \t]*)restrict([ \t]+)";
8043 #define UNICOSMK_RESTRICT_TEST_CT 1
8044 static tTestDesc aUnicosmk_RestrictTests[] = {
8045 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
8048 * Fix Command Arguments for Unicosmk_Restrict
8050 static const char* apzUnicosmk_RestrictPatch[] = {
8055 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8057 * Description of Uw7_Byteorder_Fix fix
8059 tSCC zUw7_Byteorder_FixName[] =
8060 "uw7_byteorder_fix";
8063 * File name selection pattern
8065 tSCC zUw7_Byteorder_FixList[] =
8068 * Machine/OS name selection pattern
8070 tSCC* apzUw7_Byteorder_FixMachs[] = {
8074 "i?86-*-solaris2.[0-4]",
8075 "powerpcle-*-solaris2.[0-4]",
8076 "sparc-*-solaris2.[0-4]",
8077 (const char*)NULL };
8080 * content selection pattern - do fix if pattern found
8082 tSCC zUw7_Byteorder_FixSelect0[] =
8086 * perform the 'test' shell command - do fix on success
8088 tSCC zUw7_Byteorder_FixTest0[] =
8089 "-f sys/byteorder.h";
8091 #define UW7_BYTEORDER_FIX_TEST_CT 2
8092 static tTestDesc aUw7_Byteorder_FixTests[] = {
8093 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
8094 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
8097 * Fix Command Arguments for Uw7_Byteorder_Fix
8099 static const char* apzUw7_Byteorder_FixPatch[] = {
8102 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
8105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8107 * Description of Va_I960_Macro fix
8109 tSCC zVa_I960_MacroName[] =
8113 * File name selection pattern
8115 tSCC zVa_I960_MacroList[] =
8116 "arch/i960/archI960.h\0";
8118 * Machine/OS name selection pattern
8120 #define apzVa_I960_MacroMachs (const char**)NULL
8123 * content selection pattern - do fix if pattern found
8125 tSCC zVa_I960_MacroSelect0[] =
8126 "__(vsiz|vali|vpad|alignof__)";
8128 #define VA_I960_MACRO_TEST_CT 1
8129 static tTestDesc aVa_I960_MacroTests[] = {
8130 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8133 * Fix Command Arguments for Va_I960_Macro
8135 static const char* apzVa_I960_MacroPatch[] = {
8140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8142 * Description of Void_Null fix
8144 tSCC zVoid_NullName[] =
8148 * File name selection pattern
8150 tSCC zVoid_NullList[] =
8151 "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";
8153 * Machine/OS name selection pattern
8155 #define apzVoid_NullMachs (const char**)NULL
8158 * content selection pattern - do fix if pattern found
8160 tSCC zVoid_NullSelect0[] =
8161 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8164 * content bypass pattern - skip fix if pattern found
8166 tSCC zVoid_NullBypass0[] =
8169 #define VOID_NULL_TEST_CT 2
8170 static tTestDesc aVoid_NullTests[] = {
8171 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8172 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8175 * Fix Command Arguments for Void_Null
8177 static const char* apzVoid_NullPatch[] = {
8182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8184 * Description of Vxworks_Gcc_Problem fix
8186 tSCC zVxworks_Gcc_ProblemName[] =
8187 "vxworks_gcc_problem";
8190 * File name selection pattern
8192 tSCC zVxworks_Gcc_ProblemList[] =
8193 "types/vxTypesBase.h\0";
8195 * Machine/OS name selection pattern
8197 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8200 * content selection pattern - do fix if pattern found
8202 tSCC zVxworks_Gcc_ProblemSelect0[] =
8203 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8205 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8206 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8207 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8210 * Fix Command Arguments for Vxworks_Gcc_Problem
8212 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
8213 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8214 "-e", "/[ \t]size_t/i\\\n\
8215 #ifndef _GCC_SIZE_T\\\n\
8216 #define _GCC_SIZE_T\n",
8217 "-e", "/[ \t]size_t/a\\\n\
8219 "-e", "/[ \t]ptrdiff_t/i\\\n\
8220 #ifndef _GCC_PTRDIFF_T\\\n\
8221 #define _GCC_PTRDIFF_T\n",
8222 "-e", "/[ \t]ptrdiff_t/a\\\n\
8224 "-e", "/[ \t]wchar_t/i\\\n\
8225 #ifndef _GCC_WCHAR_T\\\n\
8226 #define _GCC_WCHAR_T\n",
8227 "-e", "/[ \t]wchar_t/a\\\n\
8231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8233 * Description of Vxworks_Needs_Vxtypes fix
8235 tSCC zVxworks_Needs_VxtypesName[] =
8236 "vxworks_needs_vxtypes";
8239 * File name selection pattern
8241 tSCC zVxworks_Needs_VxtypesList[] =
8244 * Machine/OS name selection pattern
8246 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8249 * content selection pattern - do fix if pattern found
8251 tSCC zVxworks_Needs_VxtypesSelect0[] =
8252 "uint_t([ \t]+_clocks_per_sec)";
8254 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8255 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8256 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8259 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8261 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8268 * Description of Vxworks_Needs_Vxworks fix
8270 tSCC zVxworks_Needs_VxworksName[] =
8271 "vxworks_needs_vxworks";
8274 * File name selection pattern
8276 tSCC zVxworks_Needs_VxworksList[] =
8279 * Machine/OS name selection pattern
8281 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8284 * content selection pattern - do fix if pattern found
8286 tSCC zVxworks_Needs_VxworksSelect0[] =
8287 "#[ \t]define[ \t]+__INCstath";
8290 * perform the 'test' shell command - do fix on success
8292 tSCC zVxworks_Needs_VxworksTest0[] =
8293 " -r types/vxTypesOld.h";
8294 tSCC zVxworks_Needs_VxworksTest1[] =
8295 " -n \"`egrep '#include' $file`\"";
8296 tSCC zVxworks_Needs_VxworksTest2[] =
8297 " -n \"`egrep ULONG $file`\"";
8299 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8300 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8301 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8302 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8303 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8304 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8307 * Fix Command Arguments for Vxworks_Needs_Vxworks
8309 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
8310 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8311 #include <types/vxTypesOld.h>\n",
8314 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8316 * Description of Vxworks_Time fix
8318 tSCC zVxworks_TimeName[] =
8322 * File name selection pattern
8324 tSCC zVxworks_TimeList[] =
8327 * Machine/OS name selection pattern
8329 #define apzVxworks_TimeMachs (const char**)NULL
8332 * content selection pattern - do fix if pattern found
8334 tSCC zVxworks_TimeSelect0[] =
8335 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8338 * perform the 'test' shell command - do fix on success
8340 tSCC zVxworks_TimeTest0[] =
8343 #define VXWORKS_TIME_TEST_CT 2
8344 static tTestDesc aVxworks_TimeTests[] = {
8345 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8346 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8349 * Fix Command Arguments for Vxworks_Time
8351 static const char* apzVxworks_TimePatch[] = {
8353 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8354 #ifdef __cplusplus\n\
8355 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8357 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
8359 #define __gcc_VOIDFUNCPTR_defined\n\
8361 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
8364 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8366 * Description of Windiss_Math1 fix
8368 tSCC zWindiss_Math1Name[] =
8372 * File name selection pattern
8374 tSCC zWindiss_Math1List[] =
8377 * Machine/OS name selection pattern
8379 tSCC* apzWindiss_Math1Machs[] = {
8381 (const char*)NULL };
8382 #define WINDISS_MATH1_TEST_CT 0
8383 #define aWindiss_Math1Tests (tTestDesc*)NULL
8386 * Fix Command Arguments for Windiss_Math1
8388 static const char* apzWindiss_Math1Patch[] = { "sed",
8389 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
8392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8394 * Description of Windiss_Math2 fix
8396 tSCC zWindiss_Math2Name[] =
8400 * File name selection pattern
8402 tSCC zWindiss_Math2List[] =
8405 * Machine/OS name selection pattern
8407 tSCC* apzWindiss_Math2Machs[] = {
8409 (const char*)NULL };
8410 #define WINDISS_MATH2_TEST_CT 0
8411 #define aWindiss_Math2Tests (tTestDesc*)NULL
8414 * Fix Command Arguments for Windiss_Math2
8416 static const char* apzWindiss_Math2Patch[] = { "sed",
8417 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
8420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8422 * Description of Windiss_Valist fix
8424 tSCC zWindiss_ValistName[] =
8428 * File name selection pattern
8430 #define zWindiss_ValistList (char*)NULL
8432 * Machine/OS name selection pattern
8434 tSCC* apzWindiss_ValistMachs[] = {
8436 (const char*)NULL };
8439 * content selection pattern - do fix if pattern found
8441 tSCC zWindiss_ValistSelect0[] =
8442 "(#include.*)diab/va_list.h";
8444 #define WINDISS_VALIST_TEST_CT 1
8445 static tTestDesc aWindiss_ValistTests[] = {
8446 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
8449 * Fix Command Arguments for Windiss_Valist
8451 static const char* apzWindiss_ValistPatch[] = { "sed",
8452 "-e", "s|diab/va_list.h|stdarg.h|",
8455 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8457 * Description of X11_Class fix
8459 tSCC zX11_ClassName[] =
8463 * File name selection pattern
8465 tSCC zX11_ClassList[] =
8468 * Machine/OS name selection pattern
8470 #define apzX11_ClassMachs (const char**)NULL
8473 * content selection pattern - do fix if pattern found
8475 tSCC zX11_ClassSelect0[] =
8476 "^([ \t]*char \\*)class;(.*)";
8479 * content bypass pattern - skip fix if pattern found
8481 tSCC zX11_ClassBypass0[] =
8484 #define X11_CLASS_TEST_CT 2
8485 static tTestDesc aX11_ClassTests[] = {
8486 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8487 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8490 * Fix Command Arguments for X11_Class
8492 static const char* apzX11_ClassPatch[] = {
8494 "#ifdef __cplusplus\n\
8501 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8503 * Description of X11_Class_Usage fix
8505 tSCC zX11_Class_UsageName[] =
8509 * File name selection pattern
8511 tSCC zX11_Class_UsageList[] =
8512 "Xm/BaseClassI.h\0";
8514 * Machine/OS name selection pattern
8516 #define apzX11_Class_UsageMachs (const char**)NULL
8519 * content selection pattern - do fix if pattern found
8521 tSCC zX11_Class_UsageSelect0[] =
8525 * content bypass pattern - skip fix if pattern found
8527 tSCC zX11_Class_UsageBypass0[] =
8530 #define X11_CLASS_USAGE_TEST_CT 2
8531 static tTestDesc aX11_Class_UsageTests[] = {
8532 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8533 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8536 * Fix Command Arguments for X11_Class_Usage
8538 static const char* apzX11_Class_UsagePatch[] = {
8543 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8545 * Description of X11_New fix
8547 tSCC zX11_NewName[] =
8551 * File name selection pattern
8553 tSCC zX11_NewList[] =
8556 * Machine/OS name selection pattern
8558 #define apzX11_NewMachs (const char**)NULL
8561 * content bypass pattern - skip fix if pattern found
8563 tSCC zX11_NewBypass0[] =
8566 #define X11_NEW_TEST_CT 1
8567 static tTestDesc aX11_NewTests[] = {
8568 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8571 * Fix Command Arguments for X11_New
8573 static const char* apzX11_NewPatch[] = { "sed",
8574 "-e", "/Widget\told, new;/i\\\n\
8575 #ifdef __cplusplus\\\n\
8576 \tWidget\told, c_new;\\\n\
8578 "-e", "/Widget\told, new;/a\\\n\
8580 "-e", "s/Widget new,/Widget c_new,/g",
8583 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8585 * Description of X11_Sprintf fix
8587 tSCC zX11_SprintfName[] =
8591 * File name selection pattern
8593 tSCC zX11_SprintfList[] =
8594 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
8596 * Machine/OS name selection pattern
8598 #define apzX11_SprintfMachs (const char**)NULL
8601 * content selection pattern - do fix if pattern found
8603 tSCC zX11_SprintfSelect0[] =
8604 "^extern char \\*\tsprintf\\(\\);$";
8606 #define X11_SPRINTF_TEST_CT 1
8607 static tTestDesc aX11_SprintfTests[] = {
8608 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8611 * Fix Command Arguments for X11_Sprintf
8613 static const char* apzX11_SprintfPatch[] = {
8615 "#ifndef __STDC__\n\
8617 #endif /* !defined __STDC__ */",
8621 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8625 #define REGEX_COUNT 256
8626 #define MACH_LIST_SIZE_LIMIT 261
8627 #define FIX_COUNT 212
8630 * Enumerate the fixes
8633 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8634 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8635 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8636 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8637 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8638 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8639 AAB_SUN_MEMCPY_FIXIDX,
8640 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
8641 AAB_ULTRIX_LIMITS_FIXIDX,
8642 AAB_ULTRIX_MEMORY_FIXIDX,
8643 AAB_ULTRIX_STRING_FIXIDX,
8645 AIX_SYSMACHINE_FIXIDX,
8647 AIX_SYSWAIT_2_FIXIDX,
8648 AIX_VOLATILE_FIXIDX,
8649 ALPHA___ASSERT_FIXIDX,
8650 ALPHA___EXTERN_PREFIX_FIXIDX,
8651 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
8652 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
8653 ALPHA_ASSERT_FIXIDX,
8654 ALPHA_BAD_LVAL_FIXIDX,
8655 ALPHA_GETOPT_FIXIDX,
8656 ALPHA_PARENS_FIXIDX,
8657 ALPHA_PTHREAD_FIXIDX,
8658 ALPHA_PTHREAD_GCC_FIXIDX,
8659 ALPHA_PTHREAD_INIT_FIXIDX,
8662 AVOID_BOOL_DEFINE_FIXIDX,
8663 AVOID_BOOL_TYPE_FIXIDX,
8664 AVOID_WCHAR_T_TYPE_FIXIDX,
8665 BAD_STRUCT_TERM_FIXIDX,
8667 BROKEN_ASSERT_STDIO_FIXIDX,
8668 BROKEN_ASSERT_STDLIB_FIXIDX,
8671 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8672 CTRL_QUOTES_DEF_FIXIDX,
8673 CTRL_QUOTES_USE_FIXIDX,
8675 DARWIN_EXTERNC_FIXIDX,
8676 DARWIN_GCC4_BREAKAGE_FIXIDX,
8677 DARWIN_PRIVATE_EXTERN_FIXIDX,
8678 DEC_INTERN_ASM_FIXIDX,
8679 DJGPP_WCHAR_H_FIXIDX,
8681 EXCEPTION_STRUCTURE_FIXIDX,
8682 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8683 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8684 GLIBC_C99_INLINE_1_FIXIDX,
8685 GLIBC_C99_INLINE_1A_FIXIDX,
8686 GLIBC_C99_INLINE_2_FIXIDX,
8687 GLIBC_C99_INLINE_3_FIXIDX,
8688 GLIBC_C99_INLINE_4_FIXIDX,
8689 GLIBC_C99_INLINE_5_FIXIDX,
8690 GLIBC_MUTEX_INIT_FIXIDX,
8694 HPUX10_CPP_POW_INLINE_FIXIDX,
8695 HPUX11_CPP_POW_INLINE_FIXIDX,
8696 HPPA_HPUX_FP_MACROS_FIXIDX,
8697 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8698 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8699 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8701 HPUX11_FABSF_FIXIDX,
8702 HPUX11_SIZE_T_FIXIDX,
8703 HPUX11_SNPRINTF_FIXIDX,
8704 HPUX11_UINT32_C_FIXIDX,
8705 HPUX11_VSNPRINTF_FIXIDX,
8706 HPUX8_BOGUS_INLINES_FIXIDX,
8707 HPUX_CTYPE_MACROS_FIXIDX,
8709 HPUX_LONG_DOUBLE_FIXIDX,
8710 HPUX_SYSTIME_FIXIDX,
8711 HPUX_SPU_INFO_FIXIDX,
8712 HPUX11_EXTERN_SENDFILE_FIXIDX,
8713 HPUX11_EXTERN_SENDPATH_FIXIDX,
8714 HPUX_EXTERN_ERRNO_FIXIDX,
8715 HPUX11_PTHREAD_CONST_FIXIDX,
8716 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8717 HUGE_VAL_HEX_FIXIDX,
8718 HUGE_VALF_HEX_FIXIDX,
8719 HUGE_VALL_HEX_FIXIDX,
8720 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8721 IO_QUOTES_DEF_FIXIDX,
8722 IO_QUOTES_USE_FIXIDX,
8723 IP_MISSING_SEMI_FIXIDX,
8724 IRIX___RESTRICT_FIXIDX,
8725 IRIX___GENERIC1_FIXIDX,
8726 IRIX___GENERIC2_FIXIDX,
8727 IRIX_ASM_APOSTROPHE_FIXIDX,
8728 IRIX_LIMITS_CONST_FIXIDX,
8729 IRIX_SOCKLEN_T_FIXIDX,
8730 IRIX_STDINT_C99_FIXIDX,
8731 IRIX_STDIO_VA_LIST_FIXIDX,
8732 IRIX_WCSFTIME_FIXIDX,
8734 ISC_OMITS_WITH_STDC_FIXIDX,
8735 KANDR_CONCAT_FIXIDX,
8736 LIBC1_G_VA_LIST_FIXIDX,
8737 LIBC1_IFDEFD_MEMX_FIXIDX,
8738 LINUX_IA64_UCONTEXT_FIXIDX,
8739 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8740 LYNXOS_MISSING_PUTENV_FIXIDX,
8741 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8742 MACHINE_NAME_FIXIDX,
8743 MATH_EXCEPTION_FIXIDX,
8744 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8745 NESTED_AUTH_DES_FIXIDX,
8746 NESTED_MOTOROLA_FIXIDX,
8747 NESTED_SYS_LIMITS_FIXIDX,
8748 NETBSD_C99_INLINE_1_FIXIDX,
8749 NETBSD_C99_INLINE_2_FIXIDX,
8750 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8751 NEXT_MATH_PREFIX_FIXIDX,
8752 NEXT_TEMPLATE_FIXIDX,
8753 NEXT_VOLITILE_FIXIDX,
8754 NEXT_WAIT_UNION_FIXIDX,
8755 NODEENT_SYNTAX_FIXIDX,
8756 OBSTACK_LVALUE_CAST_FIXIDX,
8757 OSF_NAMESPACE_A_FIXIDX,
8758 OSF_NAMESPACE_C_FIXIDX,
8759 PTHREAD_PAGE_SIZE_FIXIDX,
8760 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8761 READ_RET_TYPE_FIXIDX,
8762 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8763 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8764 RS6000_DOUBLE_FIXIDX,
8765 RS6000_FCHMOD_FIXIDX,
8766 RS6000_PARAM_FIXIDX,
8769 SCO_STATIC_FUNC_FIXIDX,
8771 SOLARIS_MATH_1_FIXIDX,
8772 SOLARIS_MATH_2_FIXIDX,
8773 SOLARIS_MATH_3_FIXIDX,
8774 SOLARIS_MATH_4_FIXIDX,
8775 SOLARIS_MATH_8_FIXIDX,
8776 SOLARIS_MATH_9_FIXIDX,
8777 SOLARIS_MUTEX_INIT_1_FIXIDX,
8778 SOLARIS_MUTEX_INIT_2_FIXIDX,
8779 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8780 SOLARIS_ONCE_INIT_1_FIXIDX,
8781 SOLARIS_ONCE_INIT_2_FIXIDX,
8782 SOLARIS_SOCKET_FIXIDX,
8783 SOLARIS_STDIO_TAG_FIXIDX,
8784 SOLARIS_UNISTD_FIXIDX,
8785 SOLARIS_WIDEC_FIXIDX,
8787 STDIO_STDARG_H_FIXIDX,
8788 STDIO_VA_LIST_FIXIDX,
8789 STDIO_VA_LIST_CLIENTS_FIXIDX,
8790 STRICT_ANSI_NOT_FIXIDX,
8791 STRICT_ANSI_NOT_CTD_FIXIDX,
8792 STRICT_ANSI_ONLY_FIXIDX,
8794 STRUCT_SOCKADDR_FIXIDX,
8795 SUN_AUTH_PROTO_FIXIDX,
8796 SUN_BOGUS_IFDEF_FIXIDX,
8797 SUN_CATMACRO_FIXIDX,
8799 SUN_RUSERS_SEMI_FIXIDX,
8801 SUNOS_STRLEN_FIXIDX,
8802 SVR4_DISABLE_OPT_FIXIDX,
8806 SVR4_SIGHANDLER_TYPE_FIXIDX,
8807 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8808 SYSV68_STRING_FIXIDX,
8809 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8810 THREAD_KEYWORD_FIXIDX,
8811 TINFO_CPLUSPLUS_FIXIDX,
8812 ULTRIX_ATEXIT_PARAM_FIXIDX,
8813 ULTRIX_ATOF_PARAM_FIXIDX,
8814 ULTRIX_CONST_FIXIDX,
8815 ULTRIX_CONST2_FIXIDX,
8816 ULTRIX_CONST3_FIXIDX,
8817 ULTRIX_FIX_FIXPROTO_FIXIDX,
8818 ULTRIX_IFDEF_FIXIDX,
8819 ULTRIX_LOCALE_FIXIDX,
8820 ULTRIX_MATH_IFDEF_FIXIDX,
8821 ULTRIX_NESTED_IOCTL_FIXIDX,
8822 ULTRIX_NESTED_SVC_FIXIDX,
8824 ULTRIX_STATIC_FIXIDX,
8825 ULTRIX_STDLIB_FIXIDX,
8826 ULTRIX_STRINGS_FIXIDX,
8827 ULTRIX_STRINGS2_FIXIDX,
8828 ULTRIX_SYS_TIME_FIXIDX,
8829 ULTRIX_UNISTD_FIXIDX,
8830 UNICOSMK_RESTRICT_FIXIDX,
8831 UW7_BYTEORDER_FIX_FIXIDX,
8832 VA_I960_MACRO_FIXIDX,
8834 VXWORKS_GCC_PROBLEM_FIXIDX,
8835 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8836 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8837 VXWORKS_TIME_FIXIDX,
8838 WINDISS_MATH1_FIXIDX,
8839 WINDISS_MATH2_FIXIDX,
8840 WINDISS_VALIST_FIXIDX,
8842 X11_CLASS_USAGE_FIXIDX,
8847 tFixDesc fixDescList[ FIX_COUNT ] = {
8848 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8849 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8850 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8851 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8853 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8854 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8855 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8856 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8858 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8859 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8860 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8861 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8863 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8864 apzAab_Fd_Zero_Gnu_Types_HMachs,
8865 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8866 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8868 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8869 apzAab_Fd_Zero_Selectbits_HMachs,
8870 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8871 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8873 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8874 apzAab_Solaris_Sys_Varargs_HMachs,
8875 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8876 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8878 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8879 apzAab_Sun_MemcpyMachs,
8880 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8881 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8883 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
8884 apzAab_Ultrix_Ansi_CompatMachs,
8885 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8886 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
8888 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
8889 apzAab_Ultrix_LimitsMachs,
8890 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8891 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
8893 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
8894 apzAab_Ultrix_MemoryMachs,
8895 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8896 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
8898 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
8899 apzAab_Ultrix_StringMachs,
8900 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8901 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
8903 { zAix_PthreadName, zAix_PthreadList,
8904 apzAix_PthreadMachs,
8905 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8906 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8908 { zAix_SysmachineName, zAix_SysmachineList,
8909 apzAix_SysmachineMachs,
8910 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8911 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8913 { zAix_SyswaitName, zAix_SyswaitList,
8914 apzAix_SyswaitMachs,
8915 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8916 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
8918 { zAix_Syswait_2Name, zAix_Syswait_2List,
8919 apzAix_Syswait_2Machs,
8920 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8921 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8923 { zAix_VolatileName, zAix_VolatileList,
8924 apzAix_VolatileMachs,
8925 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8926 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8928 { zAlpha___AssertName, zAlpha___AssertList,
8929 apzAlpha___AssertMachs,
8930 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8931 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8933 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8934 apzAlpha___Extern_PrefixMachs,
8935 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8936 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8938 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8939 apzAlpha___Extern_Prefix_StandardsMachs,
8940 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8941 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8943 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8944 apzAlpha___Extern_Prefix_Sys_StatMachs,
8945 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8946 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8948 { zAlpha_AssertName, zAlpha_AssertList,
8949 apzAlpha_AssertMachs,
8950 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8951 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8953 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8954 apzAlpha_Bad_LvalMachs,
8955 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8956 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8958 { zAlpha_GetoptName, zAlpha_GetoptList,
8959 apzAlpha_GetoptMachs,
8960 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8961 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8963 { zAlpha_ParensName, zAlpha_ParensList,
8964 apzAlpha_ParensMachs,
8965 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8966 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8968 { zAlpha_PthreadName, zAlpha_PthreadList,
8969 apzAlpha_PthreadMachs,
8970 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8971 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8973 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8974 apzAlpha_Pthread_GccMachs,
8975 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8976 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8978 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8979 apzAlpha_Pthread_InitMachs,
8980 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8981 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8983 { zAlpha_SbrkName, zAlpha_SbrkList,
8985 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8986 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8988 { zAlpha_WcharName, zAlpha_WcharList,
8989 apzAlpha_WcharMachs,
8990 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8991 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8993 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8994 apzAvoid_Bool_DefineMachs,
8995 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8996 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8998 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8999 apzAvoid_Bool_TypeMachs,
9000 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9001 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
9003 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
9004 apzAvoid_Wchar_T_TypeMachs,
9005 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9006 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
9008 { zBad_Struct_TermName, zBad_Struct_TermList,
9009 apzBad_Struct_TermMachs,
9010 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9011 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
9013 { zBadquoteName, zBadquoteList,
9015 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9016 aBadquoteTests, apzBadquotePatch, 0 },
9018 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
9019 apzBroken_Assert_StdioMachs,
9020 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9021 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
9023 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
9024 apzBroken_Assert_StdlibMachs,
9025 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9026 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
9028 { zBroken_CabsName, zBroken_CabsList,
9029 apzBroken_CabsMachs,
9030 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
9031 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
9033 { zBroken_NanName, zBroken_NanList,
9035 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9036 aBroken_NanTests, apzBroken_NanPatch, 0 },
9038 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
9039 apzBsd_Stdio_Attrs_ConflictMachs,
9040 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9041 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
9043 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
9044 apzCtrl_Quotes_DefMachs,
9045 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9046 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
9048 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
9049 apzCtrl_Quotes_UseMachs,
9050 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9051 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
9053 { zCxx_UnreadyName, zCxx_UnreadyList,
9054 apzCxx_UnreadyMachs,
9055 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9056 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
9058 { zDarwin_ExterncName, zDarwin_ExterncList,
9059 apzDarwin_ExterncMachs,
9060 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9061 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
9063 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
9064 apzDarwin_Gcc4_BreakageMachs,
9065 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9066 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
9068 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
9069 apzDarwin_Private_ExternMachs,
9070 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9071 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
9073 { zDec_Intern_AsmName, zDec_Intern_AsmList,
9074 apzDec_Intern_AsmMachs,
9075 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
9076 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
9078 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
9079 apzDjgpp_Wchar_HMachs,
9080 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9081 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
9083 { zEcd_CursorName, zEcd_CursorList,
9085 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9086 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
9088 { zException_StructureName, zException_StructureList,
9089 apzException_StructureMachs,
9090 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9091 aException_StructureTests, apzException_StructurePatch, 0 },
9093 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
9094 apzFreebsd_Gcc3_BreakageMachs,
9095 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9096 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
9098 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
9099 apzFreebsd_Gcc4_BreakageMachs,
9100 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9101 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
9103 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
9104 apzGlibc_C99_Inline_1Machs,
9105 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9106 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
9108 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
9109 apzGlibc_C99_Inline_1aMachs,
9110 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9111 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
9113 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
9114 apzGlibc_C99_Inline_2Machs,
9115 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
9116 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
9118 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
9119 apzGlibc_C99_Inline_3Machs,
9120 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9121 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
9123 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
9124 apzGlibc_C99_Inline_4Machs,
9125 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9126 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
9128 { zGlibc_C99_Inline_5Name, zGlibc_C99_Inline_5List,
9129 apzGlibc_C99_Inline_5Machs,
9130 GLIBC_C99_INLINE_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9131 aGlibc_C99_Inline_5Tests, apzGlibc_C99_Inline_5Patch, 0 },
9133 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
9134 apzGlibc_Mutex_InitMachs,
9135 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
9136 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
9138 { zGnu_TypesName, zGnu_TypesList,
9140 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9141 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
9143 { zHp_InlineName, zHp_InlineList,
9145 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9146 aHp_InlineTests, apzHp_InlinePatch, 0 },
9148 { zHp_SysfileName, zHp_SysfileList,
9150 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9151 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
9153 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
9154 apzHpux10_Cpp_Pow_InlineMachs,
9155 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9156 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
9158 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
9159 apzHpux11_Cpp_Pow_InlineMachs,
9160 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9161 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
9163 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
9164 apzHppa_Hpux_Fp_MacrosMachs,
9165 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9166 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
9168 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
9169 apzHpux10_Ctype_Declarations1Machs,
9170 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9171 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
9173 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
9174 apzHpux10_Ctype_Declarations2Machs,
9175 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9176 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
9178 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
9179 apzHpux10_Stdio_DeclarationsMachs,
9180 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9181 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
9183 { zHpux11_AbsName, zHpux11_AbsList,
9185 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9186 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
9188 { zHpux11_FabsfName, zHpux11_FabsfList,
9189 apzHpux11_FabsfMachs,
9190 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9191 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
9193 { zHpux11_Size_TName, zHpux11_Size_TList,
9194 apzHpux11_Size_TMachs,
9195 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9196 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
9198 { zHpux11_SnprintfName, zHpux11_SnprintfList,
9199 apzHpux11_SnprintfMachs,
9200 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9201 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
9203 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
9204 apzHpux11_Uint32_CMachs,
9205 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9206 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
9208 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
9209 apzHpux11_VsnprintfMachs,
9210 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9211 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
9213 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
9214 apzHpux8_Bogus_InlinesMachs,
9215 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
9216 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
9218 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
9219 apzHpux_Ctype_MacrosMachs,
9220 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9221 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
9223 { zHpux_HtonlName, zHpux_HtonlList,
9225 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9226 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
9228 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
9229 apzHpux_Long_DoubleMachs,
9230 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
9231 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
9233 { zHpux_SystimeName, zHpux_SystimeList,
9234 apzHpux_SystimeMachs,
9235 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9236 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
9238 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
9239 apzHpux_Spu_InfoMachs,
9240 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9241 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
9243 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
9244 apzHpux11_Extern_SendfileMachs,
9245 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9246 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
9248 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
9249 apzHpux11_Extern_SendpathMachs,
9250 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9251 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
9253 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
9254 apzHpux_Extern_ErrnoMachs,
9255 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9256 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
9258 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
9259 apzHpux11_Pthread_ConstMachs,
9260 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9261 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
9263 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
9264 apzHpux_Pthread_InitializersMachs,
9265 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
9266 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
9268 { zHuge_Val_HexName, zHuge_Val_HexList,
9269 apzHuge_Val_HexMachs,
9270 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9271 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
9273 { zHuge_Valf_HexName, zHuge_Valf_HexList,
9274 apzHuge_Valf_HexMachs,
9275 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9276 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
9278 { zHuge_Vall_HexName, zHuge_Vall_HexList,
9279 apzHuge_Vall_HexMachs,
9280 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9281 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
9283 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
9284 apzInt_Abort_Free_And_ExitMachs,
9285 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9286 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
9288 { zIo_Quotes_DefName, zIo_Quotes_DefList,
9289 apzIo_Quotes_DefMachs,
9290 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9291 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
9293 { zIo_Quotes_UseName, zIo_Quotes_UseList,
9294 apzIo_Quotes_UseMachs,
9295 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9296 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
9298 { zIp_Missing_SemiName, zIp_Missing_SemiList,
9299 apzIp_Missing_SemiMachs,
9300 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
9301 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
9303 { zIrix___RestrictName, zIrix___RestrictList,
9304 apzIrix___RestrictMachs,
9305 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9306 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
9308 { zIrix___Generic1Name, zIrix___Generic1List,
9309 apzIrix___Generic1Machs,
9310 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9311 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
9313 { zIrix___Generic2Name, zIrix___Generic2List,
9314 apzIrix___Generic2Machs,
9315 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9316 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
9318 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
9319 apzIrix_Asm_ApostropheMachs,
9320 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9321 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
9323 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
9324 apzIrix_Limits_ConstMachs,
9325 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9326 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
9328 { zIrix_Socklen_TName, zIrix_Socklen_TList,
9329 apzIrix_Socklen_TMachs,
9330 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9331 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
9333 { zIrix_Stdint_C99Name, zIrix_Stdint_C99List,
9334 apzIrix_Stdint_C99Machs,
9335 IRIX_STDINT_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9336 aIrix_Stdint_C99Tests, apzIrix_Stdint_C99Patch, 0 },
9338 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
9339 apzIrix_Stdio_Va_ListMachs,
9340 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9341 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
9343 { zIrix_WcsftimeName, zIrix_WcsftimeList,
9344 apzIrix_WcsftimeMachs,
9345 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9346 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
9348 { zIsc_FmodName, zIsc_FmodList,
9350 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9351 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
9353 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
9354 apzIsc_Omits_With_StdcMachs,
9355 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9356 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
9358 { zKandr_ConcatName, zKandr_ConcatList,
9359 apzKandr_ConcatMachs,
9360 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9361 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
9363 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
9364 apzLibc1_G_Va_ListMachs,
9365 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9366 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
9368 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
9369 apzLibc1_Ifdefd_MemxMachs,
9370 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9371 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
9373 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
9374 apzLinux_Ia64_UcontextMachs,
9375 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9376 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
9378 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
9379 apzLynxos_No_Warning_In_Sys_Time_HMachs,
9380 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9381 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
9383 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
9384 apzLynxos_Missing_PutenvMachs,
9385 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9386 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
9388 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
9389 apzMachine_Ansi_H_Va_ListMachs,
9390 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9391 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
9393 { zMachine_NameName, zMachine_NameList,
9394 apzMachine_NameMachs,
9395 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9396 aMachine_NameTests, apzMachine_NamePatch, 0 },
9398 { zMath_ExceptionName, zMath_ExceptionList,
9399 apzMath_ExceptionMachs,
9400 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9401 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
9403 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
9404 apzMath_Huge_Val_From_Dbl_MaxMachs,
9405 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
9406 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
9408 { zNested_Auth_DesName, zNested_Auth_DesList,
9409 apzNested_Auth_DesMachs,
9410 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9411 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9413 { zNested_MotorolaName, zNested_MotorolaList,
9414 apzNested_MotorolaMachs,
9415 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
9416 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
9418 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
9419 apzNested_Sys_LimitsMachs,
9420 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
9421 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
9423 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
9424 apzNetbsd_C99_Inline_1Machs,
9425 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9426 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
9428 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
9429 apzNetbsd_C99_Inline_2Machs,
9430 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9431 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
9433 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9434 apzNetbsd_Extra_SemicolonMachs,
9435 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9436 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9438 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9439 apzNext_Math_PrefixMachs,
9440 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9441 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9443 { zNext_TemplateName, zNext_TemplateList,
9444 apzNext_TemplateMachs,
9445 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9446 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9448 { zNext_VolitileName, zNext_VolitileList,
9449 apzNext_VolitileMachs,
9450 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9451 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9453 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9454 apzNext_Wait_UnionMachs,
9455 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9456 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9458 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9459 apzNodeent_SyntaxMachs,
9460 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9461 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9463 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9464 apzObstack_Lvalue_CastMachs,
9465 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9466 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9468 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9469 apzOsf_Namespace_AMachs,
9470 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9471 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9473 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9474 apzOsf_Namespace_CMachs,
9475 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9476 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9478 { zPthread_Page_SizeName, zPthread_Page_SizeList,
9479 apzPthread_Page_SizeMachs,
9480 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9481 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
9483 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9484 apzPthread_Incomplete_Struct_ArgumentMachs,
9485 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9486 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9488 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9489 apzRead_Ret_TypeMachs,
9490 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9491 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9493 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9494 apzRpc_Xdr_Lvalue_Cast_AMachs,
9495 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9496 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9498 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9499 apzRpc_Xdr_Lvalue_Cast_BMachs,
9500 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9501 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9503 { zRs6000_DoubleName, zRs6000_DoubleList,
9504 apzRs6000_DoubleMachs,
9505 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9506 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9508 { zRs6000_FchmodName, zRs6000_FchmodList,
9509 apzRs6000_FchmodMachs,
9510 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9511 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9513 { zRs6000_ParamName, zRs6000_ParamList,
9514 apzRs6000_ParamMachs,
9515 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9516 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9518 { zSco_MathName, zSco_MathList,
9520 SCO_MATH_TEST_CT, FD_MACH_ONLY,
9521 aSco_MathTests, apzSco_MathPatch, 0 },
9523 { zSco_RegsetName, zSco_RegsetList,
9525 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9526 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
9528 { zSco_Static_FuncName, zSco_Static_FuncList,
9529 apzSco_Static_FuncMachs,
9530 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
9531 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
9533 { zSco_UtimeName, zSco_UtimeList,
9535 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9536 aSco_UtimeTests, apzSco_UtimePatch, 0 },
9538 { zSolaris_Math_1Name, zSolaris_Math_1List,
9539 apzSolaris_Math_1Machs,
9540 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9541 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9543 { zSolaris_Math_2Name, zSolaris_Math_2List,
9544 apzSolaris_Math_2Machs,
9545 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9546 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9548 { zSolaris_Math_3Name, zSolaris_Math_3List,
9549 apzSolaris_Math_3Machs,
9550 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9551 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9553 { zSolaris_Math_4Name, zSolaris_Math_4List,
9554 apzSolaris_Math_4Machs,
9555 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9556 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9558 { zSolaris_Math_8Name, zSolaris_Math_8List,
9559 apzSolaris_Math_8Machs,
9560 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9561 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9563 { zSolaris_Math_9Name, zSolaris_Math_9List,
9564 apzSolaris_Math_9Machs,
9565 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9566 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9568 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
9569 apzSolaris_Mutex_Init_1Machs,
9570 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
9571 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
9573 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9574 apzSolaris_Mutex_Init_2Machs,
9575 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9576 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9578 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9579 apzSolaris_Rwlock_Init_1Machs,
9580 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9581 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9583 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9584 apzSolaris_Once_Init_1Machs,
9585 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9586 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9588 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9589 apzSolaris_Once_Init_2Machs,
9590 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9591 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9593 { zSolaris_SocketName, zSolaris_SocketList,
9594 apzSolaris_SocketMachs,
9595 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9596 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
9598 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9599 apzSolaris_Stdio_TagMachs,
9600 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9601 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9603 { zSolaris_UnistdName, zSolaris_UnistdList,
9604 apzSolaris_UnistdMachs,
9605 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9606 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
9608 { zSolaris_WidecName, zSolaris_WidecList,
9609 apzSolaris_WidecMachs,
9610 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9611 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
9613 { zStatsswtchName, zStatsswtchList,
9615 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9616 aStatsswtchTests, apzStatsswtchPatch, 0 },
9618 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9619 apzStdio_Stdarg_HMachs,
9620 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9621 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9623 { zStdio_Va_ListName, zStdio_Va_ListList,
9624 apzStdio_Va_ListMachs,
9625 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9626 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9628 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9629 apzStdio_Va_List_ClientsMachs,
9630 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9631 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9633 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9634 apzStrict_Ansi_NotMachs,
9635 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9636 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9638 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9639 apzStrict_Ansi_Not_CtdMachs,
9640 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9641 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9643 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9644 apzStrict_Ansi_OnlyMachs,
9645 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9646 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9648 { zStruct_FileName, zStruct_FileList,
9649 apzStruct_FileMachs,
9650 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9651 aStruct_FileTests, apzStruct_FilePatch, 0 },
9653 { zStruct_SockaddrName, zStruct_SockaddrList,
9654 apzStruct_SockaddrMachs,
9655 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9656 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9658 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9659 apzSun_Auth_ProtoMachs,
9660 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9661 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9663 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9664 apzSun_Bogus_IfdefMachs,
9665 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9666 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9668 { zSun_CatmacroName, zSun_CatmacroList,
9669 apzSun_CatmacroMachs,
9670 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9671 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9673 { zSun_MallocName, zSun_MallocList,
9675 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9676 aSun_MallocTests, apzSun_MallocPatch, 0 },
9678 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9679 apzSun_Rusers_SemiMachs,
9680 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9681 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9683 { zSun_SignalName, zSun_SignalList,
9685 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9686 aSun_SignalTests, apzSun_SignalPatch, 0 },
9688 { zSunos_StrlenName, zSunos_StrlenList,
9689 apzSunos_StrlenMachs,
9690 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9691 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9693 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9694 apzSvr4_Disable_OptMachs,
9695 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9696 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9698 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9699 apzSvr4_GetcwdMachs,
9700 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9701 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9703 { zSvr4_KrnlName, zSvr4_KrnlList,
9705 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9706 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
9708 { zSvr4_ProfilName, zSvr4_ProfilList,
9709 apzSvr4_ProfilMachs,
9710 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9711 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9713 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9714 apzSvr4_Sighandler_TypeMachs,
9715 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9716 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9718 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9719 apzSvr4_Undeclared_GetrngeMachs,
9720 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9721 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9723 { zSysv68_StringName, zSysv68_StringList,
9724 apzSysv68_StringMachs,
9725 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9726 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9728 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9729 apzSysz_Stdlib_For_SunMachs,
9730 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9731 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9733 { zThread_KeywordName, zThread_KeywordList,
9734 apzThread_KeywordMachs,
9735 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9736 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9738 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9739 apzTinfo_CplusplusMachs,
9740 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9741 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9743 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
9744 apzUltrix_Atexit_ParamMachs,
9745 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9746 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
9748 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
9749 apzUltrix_Atof_ParamMachs,
9750 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9751 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
9753 { zUltrix_ConstName, zUltrix_ConstList,
9754 apzUltrix_ConstMachs,
9755 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9756 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9758 { zUltrix_Const2Name, zUltrix_Const2List,
9759 apzUltrix_Const2Machs,
9760 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9761 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9763 { zUltrix_Const3Name, zUltrix_Const3List,
9764 apzUltrix_Const3Machs,
9765 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9766 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
9768 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
9769 apzUltrix_Fix_FixprotoMachs,
9770 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9771 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
9773 { zUltrix_IfdefName, zUltrix_IfdefList,
9774 apzUltrix_IfdefMachs,
9775 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9776 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
9778 { zUltrix_LocaleName, zUltrix_LocaleList,
9779 apzUltrix_LocaleMachs,
9780 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9781 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
9783 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
9784 apzUltrix_Math_IfdefMachs,
9785 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9786 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
9788 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
9789 apzUltrix_Nested_IoctlMachs,
9790 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
9791 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
9793 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
9794 apzUltrix_Nested_SvcMachs,
9795 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
9796 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
9798 { zUltrix_StatName, zUltrix_StatList,
9799 apzUltrix_StatMachs,
9800 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
9801 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
9803 { zUltrix_StaticName, zUltrix_StaticList,
9804 apzUltrix_StaticMachs,
9805 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
9806 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
9808 { zUltrix_StdlibName, zUltrix_StdlibList,
9809 apzUltrix_StdlibMachs,
9810 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
9811 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
9813 { zUltrix_StringsName, zUltrix_StringsList,
9814 apzUltrix_StringsMachs,
9815 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9816 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
9818 { zUltrix_Strings2Name, zUltrix_Strings2List,
9819 apzUltrix_Strings2Machs,
9820 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
9821 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
9823 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
9824 apzUltrix_Sys_TimeMachs,
9825 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
9826 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
9828 { zUltrix_UnistdName, zUltrix_UnistdList,
9829 apzUltrix_UnistdMachs,
9830 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
9831 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
9833 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
9834 apzUnicosmk_RestrictMachs,
9835 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9836 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
9838 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
9839 apzUw7_Byteorder_FixMachs,
9840 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9841 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
9843 { zVa_I960_MacroName, zVa_I960_MacroList,
9844 apzVa_I960_MacroMachs,
9845 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9846 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9848 { zVoid_NullName, zVoid_NullList,
9850 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9851 aVoid_NullTests, apzVoid_NullPatch, 0 },
9853 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
9854 apzVxworks_Gcc_ProblemMachs,
9855 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
9856 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
9858 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
9859 apzVxworks_Needs_VxtypesMachs,
9860 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9861 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
9863 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
9864 apzVxworks_Needs_VxworksMachs,
9865 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
9866 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
9868 { zVxworks_TimeName, zVxworks_TimeList,
9869 apzVxworks_TimeMachs,
9870 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9871 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
9873 { zWindiss_Math1Name, zWindiss_Math1List,
9874 apzWindiss_Math1Machs,
9875 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
9876 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
9878 { zWindiss_Math2Name, zWindiss_Math2List,
9879 apzWindiss_Math2Machs,
9880 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
9881 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
9883 { zWindiss_ValistName, zWindiss_ValistList,
9884 apzWindiss_ValistMachs,
9885 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
9886 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
9888 { zX11_ClassName, zX11_ClassList,
9890 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9891 aX11_ClassTests, apzX11_ClassPatch, 0 },
9893 { zX11_Class_UsageName, zX11_Class_UsageList,
9894 apzX11_Class_UsageMachs,
9895 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9896 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9898 { zX11_NewName, zX11_NewList,
9900 X11_NEW_TEST_CT, FD_MACH_ONLY,
9901 aX11_NewTests, apzX11_NewPatch, 0 },
9903 { zX11_SprintfName, zX11_SprintfList,
9904 apzX11_SprintfMachs,
9905 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9906 aX11_SprintfTests, apzX11_SprintfPatch, 0 }