1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Monday January 7, 2008 at 09:24:53 PM CET
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Mon Jan 7 21:24:53 CET 2008
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 211 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[] =
2375 "__extern_inline|__GNU_STDC_INLINE__";
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\0wchar.h\0*/wchar.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[] =
2412 "(^| )extern __inline";
2415 * content bypass pattern - skip fix if pattern found
2417 tSCC zGlibc_C99_Inline_4Bypass0[] =
2418 "__extern_inline|__gnu_inline__";
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[] = {
2430 "%0 __attribute__ ((__gnu_inline__))",
2433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2435 * Description of Glibc_Mutex_Init fix
2437 tSCC zGlibc_Mutex_InitName[] =
2441 * File name selection pattern
2443 tSCC zGlibc_Mutex_InitList[] =
2446 * Machine/OS name selection pattern
2448 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2451 * content selection pattern - do fix if pattern found
2453 tSCC zGlibc_Mutex_InitSelect0[] =
2454 "\\{ *\\{ *0, *\\} *\\}";
2456 #define GLIBC_MUTEX_INIT_TEST_CT 1
2457 static tTestDesc aGlibc_Mutex_InitTests[] = {
2458 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2461 * Fix Command Arguments for Glibc_Mutex_Init
2463 static const char* apzGlibc_Mutex_InitPatch[] = { "sed",
2464 "-e", "/define[ \t]\\+PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/,+1s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/",
2465 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2466 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2467 "-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/",
2468 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2469 "-e", "/define[ \t]\\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2474 * Description of Gnu_Types fix
2476 tSCC zGnu_TypesName[] =
2480 * File name selection pattern
2482 tSCC zGnu_TypesList[] =
2483 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2485 * Machine/OS name selection pattern
2487 tSCC* apzGnu_TypesMachs[] = {
2488 "*-*-solaris2.1[0-9]*",
2489 (const char*)NULL };
2492 * content selection pattern - do fix if pattern found
2494 tSCC zGnu_TypesSelect0[] =
2495 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2498 * content bypass pattern - skip fix if pattern found
2500 tSCC zGnu_TypesBypass0[] =
2501 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2503 #define GNU_TYPES_TEST_CT 2
2504 static tTestDesc aGnu_TypesTests[] = {
2505 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2506 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2509 * Fix Command Arguments for Gnu_Types
2511 static const char* apzGnu_TypesPatch[] = {
2515 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2517 * Description of Hp_Inline fix
2519 tSCC zHp_InlineName[] =
2523 * File name selection pattern
2525 tSCC zHp_InlineList[] =
2526 "sys/spinlock.h\0machine/machparam.h\0";
2528 * Machine/OS name selection pattern
2530 #define apzHp_InlineMachs (const char**)NULL
2533 * content selection pattern - do fix if pattern found
2535 tSCC zHp_InlineSelect0[] =
2536 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2538 #define HP_INLINE_TEST_CT 1
2539 static tTestDesc aHp_InlineTests[] = {
2540 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2543 * Fix Command Arguments for Hp_Inline
2545 static const char* apzHp_InlinePatch[] = {
2548 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2551 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2553 * Description of Hp_Sysfile fix
2555 tSCC zHp_SysfileName[] =
2559 * File name selection pattern
2561 tSCC zHp_SysfileList[] =
2564 * Machine/OS name selection pattern
2566 #define apzHp_SysfileMachs (const char**)NULL
2569 * content selection pattern - do fix if pattern found
2571 tSCC zHp_SysfileSelect0[] =
2574 #define HP_SYSFILE_TEST_CT 1
2575 static tTestDesc aHp_SysfileTests[] = {
2576 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2579 * Fix Command Arguments for Hp_Sysfile
2581 static const char* apzHp_SysfilePatch[] = {
2583 "(struct file *, ...)",
2587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2589 * Description of Hpux10_Cpp_Pow_Inline fix
2591 tSCC zHpux10_Cpp_Pow_InlineName[] =
2592 "hpux10_cpp_pow_inline";
2595 * File name selection pattern
2597 tSCC zHpux10_Cpp_Pow_InlineList[] =
2598 "fixinc-test-limits.h\0math.h\0";
2600 * Machine/OS name selection pattern
2602 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2605 * content selection pattern - do fix if pattern found
2607 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2608 "^# +ifdef +__cplusplus\n\
2610 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2611 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2613 +extern +\"C\" +\\{\n\
2617 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2618 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2619 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2622 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2624 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2629 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2631 * Description of Hpux11_Cpp_Pow_Inline fix
2633 tSCC zHpux11_Cpp_Pow_InlineName[] =
2634 "hpux11_cpp_pow_inline";
2637 * File name selection pattern
2639 tSCC zHpux11_Cpp_Pow_InlineList[] =
2642 * Machine/OS name selection pattern
2644 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2647 * content selection pattern - do fix if pattern found
2649 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2650 " +inline double pow\\(double d,int expon\\) \\{\n\
2651 +return pow\\(d, \\(double\\)expon\\);\n\
2654 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2655 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2656 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2659 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2661 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2668 * Description of Hppa_Hpux_Fp_Macros fix
2670 tSCC zHppa_Hpux_Fp_MacrosName[] =
2671 "hppa_hpux_fp_macros";
2674 * File name selection pattern
2676 tSCC zHppa_Hpux_Fp_MacrosList[] =
2679 * Machine/OS name selection pattern
2681 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
2683 (const char*)NULL };
2686 * content selection pattern - do fix if pattern found
2688 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
2689 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
2690 #[ \t]*define[ \t]*FP_ZERO.*\n\
2691 #[ \t]*define[ \t]*FP_INFINITE.*\n\
2692 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
2693 #[ \t]*define[ \t]*FP_NAN.*\n";
2695 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
2696 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
2697 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
2700 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
2702 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
2704 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
2705 #if defined(_INCLUDE_HPUX_SOURCE) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
2707 #ifdef _INCLUDE_HPUX_SOURCE\n",
2710 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2712 * Description of Hpux10_Ctype_Declarations1 fix
2714 tSCC zHpux10_Ctype_Declarations1Name[] =
2715 "hpux10_ctype_declarations1";
2718 * File name selection pattern
2720 tSCC zHpux10_Ctype_Declarations1List[] =
2723 * Machine/OS name selection pattern
2725 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2728 * content selection pattern - do fix if pattern found
2730 tSCC zHpux10_Ctype_Declarations1Select0[] =
2731 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2734 * content bypass pattern - skip fix if pattern found
2736 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2737 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2739 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2740 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2741 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2742 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2745 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2747 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2749 "#ifdef _PROTOTYPES\n\
2750 extern int __tolower(int);\n\
2751 extern int __toupper(int);\n\
2752 #else /* NOT _PROTOTYPES */\n\
2753 extern int __tolower();\n\
2754 extern int __toupper();\n\
2755 #endif /* _PROTOTYPES */\n\n\
2759 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2761 * Description of Hpux10_Ctype_Declarations2 fix
2763 tSCC zHpux10_Ctype_Declarations2Name[] =
2764 "hpux10_ctype_declarations2";
2767 * File name selection pattern
2769 tSCC zHpux10_Ctype_Declarations2List[] =
2772 * Machine/OS name selection pattern
2774 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2777 * content selection pattern - do fix if pattern found
2779 tSCC zHpux10_Ctype_Declarations2Select0[] =
2780 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2783 * content bypass pattern - skip fix if pattern found
2785 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2786 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2788 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2789 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2790 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2791 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2794 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2796 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2799 #ifdef _PROTOTYPES\n\
2800 extern int _isalnum(int);\n\
2801 extern int _isalpha(int);\n\
2802 extern int _iscntrl(int);\n\
2803 extern int _isdigit(int);\n\
2804 extern int _isgraph(int);\n\
2805 extern int _islower(int);\n\
2806 extern int _isprint(int);\n\
2807 extern int _ispunct(int);\n\
2808 extern int _isspace(int);\n\
2809 extern int _isupper(int);\n\
2810 extern int _isxdigit(int);\n\
2811 # else /* not _PROTOTYPES */\n\
2812 extern int _isalnum();\n\
2813 extern int _isalpha();\n\
2814 extern int _iscntrl();\n\
2815 extern int _isdigit();\n\
2816 extern int _isgraph();\n\
2817 extern int _islower();\n\
2818 extern int _isprint();\n\
2819 extern int _ispunct();\n\
2820 extern int _isspace();\n\
2821 extern int _isupper();\n\
2822 extern int _isxdigit();\n\
2823 #endif /* _PROTOTYPES */\n",
2826 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2828 * Description of Hpux10_Stdio_Declarations fix
2830 tSCC zHpux10_Stdio_DeclarationsName[] =
2831 "hpux10_stdio_declarations";
2834 * File name selection pattern
2836 tSCC zHpux10_Stdio_DeclarationsList[] =
2839 * Machine/OS name selection pattern
2841 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2844 * content selection pattern - do fix if pattern found
2846 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2847 "^#[ \t]*define _iob[ \t]*__iob";
2850 * content bypass pattern - skip fix if pattern found
2852 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2853 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2855 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2856 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2857 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2858 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2861 * Fix Command Arguments for Hpux10_Stdio_Declarations
2863 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2866 # if defined(__STDC__) || defined(__cplusplus)\n\
2867 extern int snprintf(char *, size_t, const char *, ...);\n\
2868 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2869 # else /* not __STDC__) || __cplusplus */\n\
2870 extern int snprintf();\n\
2871 extern int vsnprintf();\n\
2872 # endif /* __STDC__) || __cplusplus */\n",
2875 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2877 * Description of Hpux11_Abs fix
2879 tSCC zHpux11_AbsName[] =
2883 * File name selection pattern
2885 tSCC zHpux11_AbsList[] =
2888 * Machine/OS name selection pattern
2890 tSCC* apzHpux11_AbsMachs[] = {
2892 (const char*)NULL };
2895 * content selection pattern - do fix if pattern found
2897 tSCC zHpux11_AbsSelect0[] =
2898 "ifndef _MATH_INCLUDED";
2900 #define HPUX11_ABS_TEST_CT 1
2901 static tTestDesc aHpux11_AbsTests[] = {
2902 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2905 * Fix Command Arguments for Hpux11_Abs
2907 static const char* apzHpux11_AbsPatch[] = {
2909 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2912 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2914 * Description of Hpux11_Fabsf fix
2916 tSCC zHpux11_FabsfName[] =
2920 * File name selection pattern
2922 tSCC zHpux11_FabsfList[] =
2925 * Machine/OS name selection pattern
2927 #define apzHpux11_FabsfMachs (const char**)NULL
2930 * content selection pattern - do fix if pattern found
2932 tSCC zHpux11_FabsfSelect0[] =
2933 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2936 * content bypass pattern - skip fix if pattern found
2938 tSCC zHpux11_FabsfBypass0[] =
2941 #define HPUX11_FABSF_TEST_CT 2
2942 static tTestDesc aHpux11_FabsfTests[] = {
2943 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2944 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2947 * Fix Command Arguments for Hpux11_Fabsf
2949 static const char* apzHpux11_FabsfPatch[] = {
2951 "#ifndef __cplusplus\n\
2956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2958 * Description of Hpux11_Size_T fix
2960 tSCC zHpux11_Size_TName[] =
2964 * File name selection pattern
2966 #define zHpux11_Size_TList (char*)NULL
2968 * Machine/OS name selection pattern
2970 tSCC* apzHpux11_Size_TMachs[] = {
2972 (const char*)NULL };
2975 * content selection pattern - do fix if pattern found
2977 tSCC zHpux11_Size_TSelect0[] =
2980 #define HPUX11_SIZE_T_TEST_CT 1
2981 static tTestDesc aHpux11_Size_TTests[] = {
2982 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2985 * Fix Command Arguments for Hpux11_Size_T
2987 static const char* apzHpux11_Size_TPatch[] = {
2992 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2994 * Description of Hpux11_Snprintf fix
2996 tSCC zHpux11_SnprintfName[] =
3000 * File name selection pattern
3002 tSCC zHpux11_SnprintfList[] =
3005 * Machine/OS name selection pattern
3007 #define apzHpux11_SnprintfMachs (const char**)NULL
3010 * content selection pattern - do fix if pattern found
3012 tSCC zHpux11_SnprintfSelect0[] =
3013 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3015 #define HPUX11_SNPRINTF_TEST_CT 1
3016 static tTestDesc aHpux11_SnprintfTests[] = {
3017 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3020 * Fix Command Arguments for Hpux11_Snprintf
3022 static const char* apzHpux11_SnprintfPatch[] = {
3027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3029 * Description of Hpux11_Uint32_C fix
3031 tSCC zHpux11_Uint32_CName[] =
3035 * File name selection pattern
3037 tSCC zHpux11_Uint32_CList[] =
3040 * Machine/OS name selection pattern
3042 #define apzHpux11_Uint32_CMachs (const char**)NULL
3045 * content selection pattern - do fix if pattern found
3047 tSCC zHpux11_Uint32_CSelect0[] =
3048 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
3050 #define HPUX11_UINT32_C_TEST_CT 1
3051 static tTestDesc aHpux11_Uint32_CTests[] = {
3052 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
3055 * Fix Command Arguments for Hpux11_Uint32_C
3057 static const char* apzHpux11_Uint32_CPatch[] = {
3059 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
3062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3064 * Description of Hpux11_Vsnprintf fix
3066 tSCC zHpux11_VsnprintfName[] =
3070 * File name selection pattern
3072 tSCC zHpux11_VsnprintfList[] =
3075 * Machine/OS name selection pattern
3077 #define apzHpux11_VsnprintfMachs (const char**)NULL
3080 * content selection pattern - do fix if pattern found
3082 tSCC zHpux11_VsnprintfSelect0[] =
3083 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3085 #define HPUX11_VSNPRINTF_TEST_CT 1
3086 static tTestDesc aHpux11_VsnprintfTests[] = {
3087 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3090 * Fix Command Arguments for Hpux11_Vsnprintf
3092 static const char* apzHpux11_VsnprintfPatch[] = {
3097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3099 * Description of Hpux8_Bogus_Inlines fix
3101 tSCC zHpux8_Bogus_InlinesName[] =
3102 "hpux8_bogus_inlines";
3105 * File name selection pattern
3107 tSCC zHpux8_Bogus_InlinesList[] =
3110 * Machine/OS name selection pattern
3112 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3115 * content selection pattern - do fix if pattern found
3117 tSCC zHpux8_Bogus_InlinesSelect0[] =
3121 * content bypass pattern - skip fix if pattern found
3123 tSCC zHpux8_Bogus_InlinesBypass0[] =
3126 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3127 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3128 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3129 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3132 * Fix Command Arguments for Hpux8_Bogus_Inlines
3134 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
3135 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3136 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3137 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3138 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3141 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3143 * Description of Hpux_Ctype_Macros fix
3145 tSCC zHpux_Ctype_MacrosName[] =
3146 "hpux_ctype_macros";
3149 * File name selection pattern
3151 tSCC zHpux_Ctype_MacrosList[] =
3154 * Machine/OS name selection pattern
3156 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3159 * content selection pattern - do fix if pattern found
3161 tSCC zHpux_Ctype_MacrosSelect0[] =
3162 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3164 #define HPUX_CTYPE_MACROS_TEST_CT 1
3165 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3166 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3169 * Fix Command Arguments for Hpux_Ctype_Macros
3171 static const char* apzHpux_Ctype_MacrosPatch[] = {
3176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3178 * Description of Hpux_Htonl fix
3180 tSCC zHpux_HtonlName[] =
3184 * File name selection pattern
3186 tSCC zHpux_HtonlList[] =
3189 * Machine/OS name selection pattern
3191 #define apzHpux_HtonlMachs (const char**)NULL
3194 * content selection pattern - do fix if pattern found
3196 tSCC zHpux_HtonlSelect0[] =
3197 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
3199 \\* Macros for number representation conversion\\.\n\
3203 #define HPUX_HTONL_TEST_CT 1
3204 static tTestDesc aHpux_HtonlTests[] = {
3205 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3208 * Fix Command Arguments for Hpux_Htonl
3210 static const char* apzHpux_HtonlPatch[] = {
3216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3218 * Description of Hpux_Long_Double fix
3220 tSCC zHpux_Long_DoubleName[] =
3224 * File name selection pattern
3226 tSCC zHpux_Long_DoubleList[] =
3229 * Machine/OS name selection pattern
3231 #define apzHpux_Long_DoubleMachs (const char**)NULL
3234 * content selection pattern - do fix if pattern found
3236 tSCC zHpux_Long_DoubleSelect0[] =
3237 "extern[ \t]long_double[ \t]strtold";
3240 * content bypass pattern - skip fix if pattern found
3242 tSCC zHpux_Long_DoubleBypass0[] =
3245 #define HPUX_LONG_DOUBLE_TEST_CT 2
3246 static tTestDesc aHpux_Long_DoubleTests[] = {
3247 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3248 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3251 * Fix Command Arguments for Hpux_Long_Double
3253 static const char* apzHpux_Long_DoublePatch[] = { "sed",
3254 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3255 "-e", "s/long_double/long double/g",
3258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3260 * Description of Hpux_Systime fix
3262 tSCC zHpux_SystimeName[] =
3266 * File name selection pattern
3268 tSCC zHpux_SystimeList[] =
3271 * Machine/OS name selection pattern
3273 #define apzHpux_SystimeMachs (const char**)NULL
3276 * content selection pattern - do fix if pattern found
3278 tSCC zHpux_SystimeSelect0[] =
3279 "^extern struct sigevent;";
3281 #define HPUX_SYSTIME_TEST_CT 1
3282 static tTestDesc aHpux_SystimeTests[] = {
3283 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3286 * Fix Command Arguments for Hpux_Systime
3288 static const char* apzHpux_SystimePatch[] = {
3293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3295 * Description of Hpux_Spu_Info fix
3297 tSCC zHpux_Spu_InfoName[] =
3301 * File name selection pattern
3303 tSCC zHpux_Spu_InfoList[] =
3304 "ia64/sys/getppdp.h\0";
3306 * Machine/OS name selection pattern
3308 tSCC* apzHpux_Spu_InfoMachs[] = {
3310 (const char*)NULL };
3313 * content selection pattern - do fix if pattern found
3315 tSCC zHpux_Spu_InfoSelect0[] =
3316 "^.*extern.*spu_info.*";
3318 #define HPUX_SPU_INFO_TEST_CT 1
3319 static tTestDesc aHpux_Spu_InfoTests[] = {
3320 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3323 * Fix Command Arguments for Hpux_Spu_Info
3325 static const char* apzHpux_Spu_InfoPatch[] = {
3332 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3334 * Description of Hpux11_Extern_Sendfile fix
3336 tSCC zHpux11_Extern_SendfileName[] =
3337 "hpux11_extern_sendfile";
3340 * File name selection pattern
3342 tSCC zHpux11_Extern_SendfileList[] =
3345 * Machine/OS name selection pattern
3347 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3348 "*-hp-hpux11.[12]*",
3349 (const char*)NULL };
3352 * content selection pattern - do fix if pattern found
3354 tSCC zHpux11_Extern_SendfileSelect0[] =
3355 "^[ \t]*extern sbsize_t sendfile.*\n\
3358 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3359 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3360 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3363 * Fix Command Arguments for Hpux11_Extern_Sendfile
3365 static const char* apzHpux11_Extern_SendfilePatch[] = {
3367 "#ifndef _APP32_64BIT_OFF_T\n\
3371 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3373 * Description of Hpux11_Extern_Sendpath fix
3375 tSCC zHpux11_Extern_SendpathName[] =
3376 "hpux11_extern_sendpath";
3379 * File name selection pattern
3381 tSCC zHpux11_Extern_SendpathList[] =
3384 * Machine/OS name selection pattern
3386 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3387 "*-hp-hpux11.[12]*",
3388 (const char*)NULL };
3391 * content selection pattern - do fix if pattern found
3393 tSCC zHpux11_Extern_SendpathSelect0[] =
3394 "^[ \t]*extern sbsize_t sendpath.*\n\
3397 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3398 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3399 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3402 * Fix Command Arguments for Hpux11_Extern_Sendpath
3404 static const char* apzHpux11_Extern_SendpathPatch[] = {
3406 "#ifndef _APP32_64BIT_OFF_T\n\
3410 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3412 * Description of Hpux_Extern_Errno fix
3414 tSCC zHpux_Extern_ErrnoName[] =
3415 "hpux_extern_errno";
3418 * File name selection pattern
3420 tSCC zHpux_Extern_ErrnoList[] =
3423 * Machine/OS name selection pattern
3425 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3427 "*-hp-hpux11.[0-2]*",
3428 (const char*)NULL };
3431 * content selection pattern - do fix if pattern found
3433 tSCC zHpux_Extern_ErrnoSelect0[] =
3434 "^[ \t]*extern int errno;$";
3436 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3437 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3438 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3441 * Fix Command Arguments for Hpux_Extern_Errno
3443 static const char* apzHpux_Extern_ErrnoPatch[] = {
3445 "#ifdef __cplusplus\n\
3449 #ifdef __cplusplus\n\
3454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3456 * Description of Hpux11_Pthread_Const fix
3458 tSCC zHpux11_Pthread_ConstName[] =
3459 "hpux11_pthread_const";
3462 * File name selection pattern
3464 tSCC zHpux11_Pthread_ConstList[] =
3467 * Machine/OS name selection pattern
3469 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3470 "*-hp-hpux11.[0-3]*",
3471 (const char*)NULL };
3474 * content selection pattern - do fix if pattern found
3476 tSCC zHpux11_Pthread_ConstSelect0[] =
3477 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3479 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3480 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3481 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3484 * Fix Command Arguments for Hpux11_Pthread_Const
3486 static const char* apzHpux11_Pthread_ConstPatch[] = {
3488 "#define __POINTER_SET\t\t((void *) 1L)",
3491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3493 * Description of Hpux_Pthread_Initializers fix
3495 tSCC zHpux_Pthread_InitializersName[] =
3496 "hpux_pthread_initializers";
3499 * File name selection pattern
3501 tSCC zHpux_Pthread_InitializersList[] =
3504 * Machine/OS name selection pattern
3506 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3507 "*-hp-hpux11.[0-3]*",
3508 (const char*)NULL };
3509 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3510 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3513 * Fix Command Arguments for Hpux_Pthread_Initializers
3515 static const char* apzHpux_Pthread_InitializersPatch[] = { "sed",
3516 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3517 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3518 "-e", "/^[ \t]*0$/d",
3519 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3520 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3521 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3522 "-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\\\\@",
3523 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3524 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3525 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3526 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3527 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3528 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3531 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3533 * Description of Huge_Val_Hex fix
3535 tSCC zHuge_Val_HexName[] =
3539 * File name selection pattern
3541 tSCC zHuge_Val_HexList[] =
3542 "bits/huge_val.h\0";
3544 * Machine/OS name selection pattern
3546 #define apzHuge_Val_HexMachs (const char**)NULL
3549 * content selection pattern - do fix if pattern found
3551 tSCC zHuge_Val_HexSelect0[] =
3552 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
3555 * content bypass pattern - skip fix if pattern found
3557 tSCC zHuge_Val_HexBypass0[] =
3558 "__builtin_huge_val";
3560 #define HUGE_VAL_HEX_TEST_CT 2
3561 static tTestDesc aHuge_Val_HexTests[] = {
3562 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
3563 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
3566 * Fix Command Arguments for Huge_Val_Hex
3568 static const char* apzHuge_Val_HexPatch[] = {
3570 "#define HUGE_VAL (__builtin_huge_val())\n",
3573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3575 * Description of Huge_Valf_Hex fix
3577 tSCC zHuge_Valf_HexName[] =
3581 * File name selection pattern
3583 tSCC zHuge_Valf_HexList[] =
3584 "bits/huge_val.h\0";
3586 * Machine/OS name selection pattern
3588 #define apzHuge_Valf_HexMachs (const char**)NULL
3591 * content selection pattern - do fix if pattern found
3593 tSCC zHuge_Valf_HexSelect0[] =
3594 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
3597 * content bypass pattern - skip fix if pattern found
3599 tSCC zHuge_Valf_HexBypass0[] =
3600 "__builtin_huge_valf";
3602 #define HUGE_VALF_HEX_TEST_CT 2
3603 static tTestDesc aHuge_Valf_HexTests[] = {
3604 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
3605 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
3608 * Fix Command Arguments for Huge_Valf_Hex
3610 static const char* apzHuge_Valf_HexPatch[] = {
3612 "#define HUGE_VALF (__builtin_huge_valf())\n",
3615 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3617 * Description of Huge_Vall_Hex fix
3619 tSCC zHuge_Vall_HexName[] =
3623 * File name selection pattern
3625 tSCC zHuge_Vall_HexList[] =
3626 "bits/huge_val.h\0";
3628 * Machine/OS name selection pattern
3630 #define apzHuge_Vall_HexMachs (const char**)NULL
3633 * content selection pattern - do fix if pattern found
3635 tSCC zHuge_Vall_HexSelect0[] =
3636 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
3639 * content bypass pattern - skip fix if pattern found
3641 tSCC zHuge_Vall_HexBypass0[] =
3642 "__builtin_huge_vall";
3644 #define HUGE_VALL_HEX_TEST_CT 2
3645 static tTestDesc aHuge_Vall_HexTests[] = {
3646 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
3647 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
3650 * Fix Command Arguments for Huge_Vall_Hex
3652 static const char* apzHuge_Vall_HexPatch[] = {
3654 "#define HUGE_VALL (__builtin_huge_vall())\n",
3657 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3659 * Description of Int_Abort_Free_And_Exit fix
3661 tSCC zInt_Abort_Free_And_ExitName[] =
3662 "int_abort_free_and_exit";
3665 * File name selection pattern
3667 tSCC zInt_Abort_Free_And_ExitList[] =
3670 * Machine/OS name selection pattern
3672 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
3675 * content selection pattern - do fix if pattern found
3677 tSCC zInt_Abort_Free_And_ExitSelect0[] =
3678 "int[ \t]+(abort|free|exit)[ \t]*\\(";
3681 * content bypass pattern - skip fix if pattern found
3683 tSCC zInt_Abort_Free_And_ExitBypass0[] =
3684 "_CLASSIC_ANSI_TYPES";
3686 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
3687 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
3688 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
3689 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
3692 * Fix Command Arguments for Int_Abort_Free_And_Exit
3694 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
3699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3701 * Description of Io_Quotes_Def fix
3703 tSCC zIo_Quotes_DefName[] =
3707 * File name selection pattern
3709 #define zIo_Quotes_DefList (char*)NULL
3711 * Machine/OS name selection pattern
3713 #define apzIo_Quotes_DefMachs (const char**)NULL
3716 * content selection pattern - do fix if pattern found
3718 tSCC zIo_Quotes_DefSelect0[] =
3719 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
3721 #define IO_QUOTES_DEF_TEST_CT 1
3722 static tTestDesc aIo_Quotes_DefTests[] = {
3723 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
3726 * Fix Command Arguments for Io_Quotes_Def
3728 static const char* apzIo_Quotes_DefPatch[] = {
3733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3735 * Description of Io_Quotes_Use fix
3737 tSCC zIo_Quotes_UseName[] =
3741 * File name selection pattern
3743 #define zIo_Quotes_UseList (char*)NULL
3745 * Machine/OS name selection pattern
3747 #define apzIo_Quotes_UseMachs (const char**)NULL
3750 * content selection pattern - do fix if pattern found
3752 tSCC zIo_Quotes_UseSelect0[] =
3753 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
3755 #define IO_QUOTES_USE_TEST_CT 1
3756 static tTestDesc aIo_Quotes_UseTests[] = {
3757 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
3760 * Fix Command Arguments for Io_Quotes_Use
3762 static const char* apzIo_Quotes_UsePatch[] = {
3767 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3769 * Description of Ip_Missing_Semi fix
3771 tSCC zIp_Missing_SemiName[] =
3775 * File name selection pattern
3777 tSCC zIp_Missing_SemiList[] =
3780 * Machine/OS name selection pattern
3782 #define apzIp_Missing_SemiMachs (const char**)NULL
3785 * content selection pattern - do fix if pattern found
3787 tSCC zIp_Missing_SemiSelect0[] =
3790 #define IP_MISSING_SEMI_TEST_CT 1
3791 static tTestDesc aIp_Missing_SemiTests[] = {
3792 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
3795 * Fix Command Arguments for Ip_Missing_Semi
3797 static const char* apzIp_Missing_SemiPatch[] = { "sed",
3798 "-e", "/^struct/,/^};/s/}$/};/",
3801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3803 * Description of Irix___Restrict fix
3805 tSCC zIrix___RestrictName[] =
3809 * File name selection pattern
3811 tSCC zIrix___RestrictList[] =
3812 "internal/sgimacros.h\0";
3814 * Machine/OS name selection pattern
3816 tSCC* apzIrix___RestrictMachs[] = {
3818 (const char*)NULL };
3821 * content selection pattern - do fix if pattern found
3823 tSCC zIrix___RestrictSelect0[] =
3825 )(#[ \t]*define __restrict restrict)";
3827 #define IRIX___RESTRICT_TEST_CT 1
3828 static tTestDesc aIrix___RestrictTests[] = {
3829 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
3832 * Fix Command Arguments for Irix___Restrict
3834 static const char* apzIrix___RestrictPatch[] = {
3836 "%1# ifndef __cplusplus\n\
3841 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3843 * Description of Irix___Generic1 fix
3845 tSCC zIrix___Generic1Name[] =
3849 * File name selection pattern
3851 tSCC zIrix___Generic1List[] =
3852 "internal/math_core.h\0";
3854 * Machine/OS name selection pattern
3856 tSCC* apzIrix___Generic1Machs[] = {
3858 (const char*)NULL };
3861 * content selection pattern - do fix if pattern found
3863 tSCC zIrix___Generic1Select0[] =
3864 "#define ([a-z]+)\\(x\\) *__generic.*";
3866 #define IRIX___GENERIC1_TEST_CT 1
3867 static tTestDesc aIrix___Generic1Tests[] = {
3868 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
3871 * Fix Command Arguments for Irix___Generic1
3873 static const char* apzIrix___Generic1Patch[] = {
3875 "extern int %1(double);\n\
3876 extern int %1f(float);\n\
3877 extern int %1l(long double);\n\
3878 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
3879 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
3883 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3885 * Description of Irix___Generic2 fix
3887 tSCC zIrix___Generic2Name[] =
3891 * File name selection pattern
3893 tSCC zIrix___Generic2List[] =
3894 "internal/math_core.h\0";
3896 * Machine/OS name selection pattern
3898 tSCC* apzIrix___Generic2Machs[] = {
3900 (const char*)NULL };
3903 * content selection pattern - do fix if pattern found
3905 tSCC zIrix___Generic2Select0[] =
3906 "#define ([a-z]+)\\(x,y\\) *__generic.*";
3908 #define IRIX___GENERIC2_TEST_CT 1
3909 static tTestDesc aIrix___Generic2Tests[] = {
3910 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
3913 * Fix Command Arguments for Irix___Generic2
3915 static const char* apzIrix___Generic2Patch[] = {
3917 "#define %1(x,y) \\\n\
3918 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
3919 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
3923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3925 * Description of Irix_Asm_Apostrophe fix
3927 tSCC zIrix_Asm_ApostropheName[] =
3928 "irix_asm_apostrophe";
3931 * File name selection pattern
3933 tSCC zIrix_Asm_ApostropheList[] =
3936 * Machine/OS name selection pattern
3938 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3941 * content selection pattern - do fix if pattern found
3943 tSCC zIrix_Asm_ApostropheSelect0[] =
3944 "^[ \t]*#.*[Ww]e're";
3946 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3947 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3948 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3951 * Fix Command Arguments for Irix_Asm_Apostrophe
3953 static const char* apzIrix_Asm_ApostrophePatch[] = {
3956 "^([ \t]*#.*[Ww]e)'re",
3959 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3961 * Description of Irix_Limits_Const fix
3963 tSCC zIrix_Limits_ConstName[] =
3964 "irix_limits_const";
3967 * File name selection pattern
3969 tSCC zIrix_Limits_ConstList[] =
3970 "fixinc-test-limits.h\0limits.h\0";
3972 * Machine/OS name selection pattern
3974 #define apzIrix_Limits_ConstMachs (const char**)NULL
3977 * content selection pattern - do fix if pattern found
3979 tSCC zIrix_Limits_ConstSelect0[] =
3982 #define IRIX_LIMITS_CONST_TEST_CT 1
3983 static tTestDesc aIrix_Limits_ConstTests[] = {
3984 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3987 * Fix Command Arguments for Irix_Limits_Const
3989 static const char* apzIrix_Limits_ConstPatch[] = {
3994 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3996 * Description of Irix_Socklen_T fix
3998 tSCC zIrix_Socklen_TName[] =
4002 * File name selection pattern
4004 tSCC zIrix_Socklen_TList[] =
4007 * Machine/OS name selection pattern
4009 tSCC* apzIrix_Socklen_TMachs[] = {
4011 (const char*)NULL };
4014 * content selection pattern - do fix if pattern found
4016 tSCC zIrix_Socklen_TSelect0[] =
4017 "(#define _SOCKLEN_T\n\
4018 )(typedef u_int32_t socklen_t;)";
4020 #define IRIX_SOCKLEN_T_TEST_CT 1
4021 static tTestDesc aIrix_Socklen_TTests[] = {
4022 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
4025 * Fix Command Arguments for Irix_Socklen_T
4027 static const char* apzIrix_Socklen_TPatch[] = {
4029 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
4030 typedef int socklen_t;\n\
4033 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
4036 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4038 * Description of Irix_Stdint_C99 fix
4040 tSCC zIrix_Stdint_C99Name[] =
4044 * File name selection pattern
4046 tSCC zIrix_Stdint_C99List[] =
4049 * Machine/OS name selection pattern
4051 tSCC* apzIrix_Stdint_C99Machs[] = {
4053 (const char*)NULL };
4056 * content selection pattern - do fix if pattern found
4058 tSCC zIrix_Stdint_C99Select0[] =
4060 )(#error This header file is to be used only for c99 mode compilations)";
4062 #define IRIX_STDINT_C99_TEST_CT 1
4063 static tTestDesc aIrix_Stdint_C99Tests[] = {
4064 { TT_EGREP, zIrix_Stdint_C99Select0, (regex_t*)NULL }, };
4067 * Fix Command Arguments for Irix_Stdint_C99
4069 static const char* apzIrix_Stdint_C99Patch[] = {
4075 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4077 * Description of Irix_Stdio_Va_List fix
4079 tSCC zIrix_Stdio_Va_ListName[] =
4080 "irix_stdio_va_list";
4083 * File name selection pattern
4085 tSCC zIrix_Stdio_Va_ListList[] =
4086 "stdio.h\0internal/stdio_core.h\0";
4088 * Machine/OS name selection pattern
4090 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4093 * content selection pattern - do fix if pattern found
4095 tSCC zIrix_Stdio_Va_ListSelect0[] =
4096 "/\\* va_list \\*/ char \\*";
4098 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4099 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4100 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4103 * Fix Command Arguments for Irix_Stdio_Va_List
4105 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4112 * Description of Irix_Wcsftime fix
4114 tSCC zIrix_WcsftimeName[] =
4118 * File name selection pattern
4120 tSCC zIrix_WcsftimeList[] =
4121 "internal/wchar_core.h\0";
4123 * Machine/OS name selection pattern
4125 tSCC* apzIrix_WcsftimeMachs[] = {
4127 (const char*)NULL };
4130 * content selection pattern - do fix if pattern found
4132 tSCC zIrix_WcsftimeSelect0[] =
4134 (extern size_t[ \t]+wcsftime.*const char *.*)";
4136 #define IRIX_WCSFTIME_TEST_CT 1
4137 static tTestDesc aIrix_WcsftimeTests[] = {
4138 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
4141 * Fix Command Arguments for Irix_Wcsftime
4143 static const char* apzIrix_WcsftimePatch[] = {
4145 "#if _NO_XOPEN5 && !defined(__c99)\n\
4149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4151 * Description of Isc_Fmod fix
4153 tSCC zIsc_FmodName[] =
4157 * File name selection pattern
4159 tSCC zIsc_FmodList[] =
4162 * Machine/OS name selection pattern
4164 #define apzIsc_FmodMachs (const char**)NULL
4167 * content selection pattern - do fix if pattern found
4169 tSCC zIsc_FmodSelect0[] =
4172 #define ISC_FMOD_TEST_CT 1
4173 static tTestDesc aIsc_FmodTests[] = {
4174 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
4177 * Fix Command Arguments for Isc_Fmod
4179 static const char* apzIsc_FmodPatch[] = {
4181 "fmod(double, double)",
4184 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4186 * Description of Isc_Omits_With_Stdc fix
4188 tSCC zIsc_Omits_With_StdcName[] =
4189 "isc_omits_with_stdc";
4192 * File name selection pattern
4194 tSCC zIsc_Omits_With_StdcList[] =
4195 "stdio.h\0math.h\0ctype.h\0sys/limits.h\0sys/fcntl.h\0sys/dirent.h\0";
4197 * Machine/OS name selection pattern
4199 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
4202 * content selection pattern - do fix if pattern found
4204 tSCC zIsc_Omits_With_StdcSelect0[] =
4205 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
4207 #define ISC_OMITS_WITH_STDC_TEST_CT 1
4208 static tTestDesc aIsc_Omits_With_StdcTests[] = {
4209 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
4212 * Fix Command Arguments for Isc_Omits_With_Stdc
4214 static const char* apzIsc_Omits_With_StdcPatch[] = {
4216 "!defined(_POSIX_SOURCE)",
4219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4221 * Description of Kandr_Concat fix
4223 tSCC zKandr_ConcatName[] =
4227 * File name selection pattern
4229 tSCC zKandr_ConcatList[] =
4230 "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";
4232 * Machine/OS name selection pattern
4234 #define apzKandr_ConcatMachs (const char**)NULL
4237 * content selection pattern - do fix if pattern found
4239 tSCC zKandr_ConcatSelect0[] =
4242 #define KANDR_CONCAT_TEST_CT 1
4243 static tTestDesc aKandr_ConcatTests[] = {
4244 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4247 * Fix Command Arguments for Kandr_Concat
4249 static const char* apzKandr_ConcatPatch[] = {
4254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4256 * Description of Libc1_G_Va_List fix
4258 tSCC zLibc1_G_Va_ListName[] =
4262 * File name selection pattern
4264 tSCC zLibc1_G_Va_ListList[] =
4267 * Machine/OS name selection pattern
4269 tSCC* apzLibc1_G_Va_ListMachs[] = {
4271 (const char*)NULL };
4274 * content selection pattern - do fix if pattern found
4276 tSCC zLibc1_G_Va_ListSelect0[] =
4277 "typedef void \\* _G_va_list;";
4279 #define LIBC1_G_VA_LIST_TEST_CT 1
4280 static tTestDesc aLibc1_G_Va_ListTests[] = {
4281 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
4284 * Fix Command Arguments for Libc1_G_Va_List
4286 static const char* apzLibc1_G_Va_ListPatch[] = {
4288 "typedef __builtin_va_list _G_va_list;",
4291 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4293 * Description of Libc1_Ifdefd_Memx fix
4295 tSCC zLibc1_Ifdefd_MemxName[] =
4296 "libc1_ifdefd_memx";
4299 * File name selection pattern
4301 tSCC zLibc1_Ifdefd_MemxList[] =
4302 "testing.h\0string.h\0";
4304 * Machine/OS name selection pattern
4306 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
4309 * content selection pattern - do fix if pattern found
4311 tSCC zLibc1_Ifdefd_MemxSelect0[] =
4312 "' is a built-in function for gcc 2\\.x\\. \\*/";
4315 * content bypass pattern - skip fix if pattern found
4317 tSCC zLibc1_Ifdefd_MemxBypass0[] =
4320 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
4321 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
4322 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
4323 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
4326 * Fix Command Arguments for Libc1_Ifdefd_Memx
4328 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
4331 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
4332 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
4334 extern [a-z_]+ mem.*(\n\
4339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4341 * Description of Linux_Ia64_Ucontext fix
4343 tSCC zLinux_Ia64_UcontextName[] =
4344 "linux_ia64_ucontext";
4347 * File name selection pattern
4349 tSCC zLinux_Ia64_UcontextList[] =
4352 * Machine/OS name selection pattern
4354 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4356 (const char*)NULL };
4359 * content selection pattern - do fix if pattern found
4361 tSCC zLinux_Ia64_UcontextSelect0[] =
4362 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4364 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4365 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4366 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4369 * Fix Command Arguments for Linux_Ia64_Ucontext
4371 static const char* apzLinux_Ia64_UcontextPatch[] = {
4373 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4376 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4378 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4380 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4381 "lynxos_no_warning_in_sys_time_h";
4384 * File name selection pattern
4386 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4389 * Machine/OS name selection pattern
4391 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4394 * content selection pattern - do fix if pattern found
4396 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4397 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4399 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4400 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4401 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4404 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4406 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4411 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4413 * Description of Lynxos_Missing_Putenv fix
4415 tSCC zLynxos_Missing_PutenvName[] =
4416 "lynxos_missing_putenv";
4419 * File name selection pattern
4421 tSCC zLynxos_Missing_PutenvList[] =
4424 * Machine/OS name selection pattern
4426 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4428 (const char*)NULL };
4431 * content selection pattern - do fix if pattern found
4433 tSCC zLynxos_Missing_PutenvSelect0[] =
4434 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4437 * content bypass pattern - skip fix if pattern found
4439 tSCC zLynxos_Missing_PutenvBypass0[] =
4442 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4443 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4444 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4445 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4448 * Fix Command Arguments for Lynxos_Missing_Putenv
4450 static const char* apzLynxos_Missing_PutenvPatch[] = {
4453 extern int putenv\t\t\t\t_AP((char *));",
4454 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4457 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4459 * Description of Machine_Ansi_H_Va_List fix
4461 tSCC zMachine_Ansi_H_Va_ListName[] =
4462 "machine_ansi_h_va_list";
4465 * File name selection pattern
4467 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4469 * Machine/OS name selection pattern
4471 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4474 * content selection pattern - do fix if pattern found
4476 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4477 "define[ \t]+_BSD_VA_LIST_[ \t]";
4480 * content bypass pattern - skip fix if pattern found
4482 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4483 "__builtin_va_list";
4485 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4486 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4487 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4488 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4491 * Fix Command Arguments for Machine_Ansi_H_Va_List
4493 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4495 "%1__builtin_va_list",
4496 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4499 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4501 * Description of Machine_Name fix
4503 tSCC zMachine_NameName[] =
4507 * File name selection pattern
4509 #define zMachine_NameList (char*)NULL
4511 * Machine/OS name selection pattern
4513 #define apzMachine_NameMachs (const char**)NULL
4516 * perform the C function call test
4518 tSCC zMachine_NameFTst0[] = "machine_name";
4520 #define MACHINE_NAME_TEST_CT 1
4521 static tTestDesc aMachine_NameTests[] = {
4522 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4525 * Fix Command Arguments for Machine_Name
4527 static const char* apzMachine_NamePatch[] = {
4531 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4533 * Description of Math_Exception fix
4535 tSCC zMath_ExceptionName[] =
4539 * File name selection pattern
4541 tSCC zMath_ExceptionList[] =
4544 * Machine/OS name selection pattern
4546 #define apzMath_ExceptionMachs (const char**)NULL
4549 * content selection pattern - do fix if pattern found
4551 tSCC zMath_ExceptionSelect0[] =
4555 * content bypass pattern - skip fix if pattern found
4557 tSCC zMath_ExceptionBypass0[] =
4558 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4560 #define MATH_EXCEPTION_TEST_CT 2
4561 static tTestDesc aMath_ExceptionTests[] = {
4562 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4563 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4566 * Fix Command Arguments for Math_Exception
4568 static const char* apzMath_ExceptionPatch[] = {
4570 "#ifdef __cplusplus\n\
4571 #define exception __math_exception\n\
4573 "#ifdef __cplusplus\n\
4578 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4580 * Description of Math_Huge_Val_From_Dbl_Max fix
4582 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4583 "math_huge_val_from_dbl_max";
4586 * File name selection pattern
4588 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4591 * Machine/OS name selection pattern
4593 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4596 * content selection pattern - do fix if pattern found
4598 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4599 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4602 * content bypass pattern - skip fix if pattern found
4604 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4605 "define[ \t]+DBL_MAX";
4607 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4608 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4609 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4610 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4613 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4615 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4616 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4617 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4618 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4623 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4625 * Description of Nested_Auth_Des fix
4627 tSCC zNested_Auth_DesName[] =
4631 * File name selection pattern
4633 tSCC zNested_Auth_DesList[] =
4636 * Machine/OS name selection pattern
4638 #define apzNested_Auth_DesMachs (const char**)NULL
4641 * content selection pattern - do fix if pattern found
4643 tSCC zNested_Auth_DesSelect0[] =
4644 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4646 #define NESTED_AUTH_DES_TEST_CT 1
4647 static tTestDesc aNested_Auth_DesTests[] = {
4648 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4651 * Fix Command Arguments for Nested_Auth_Des
4653 static const char* apzNested_Auth_DesPatch[] = {
4658 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4660 * Description of Nested_Motorola fix
4662 tSCC zNested_MotorolaName[] =
4666 * File name selection pattern
4668 tSCC zNested_MotorolaList[] =
4669 "sys/limits.h\0limits.h\0";
4671 * Machine/OS name selection pattern
4673 tSCC* apzNested_MotorolaMachs[] = {
4674 "m68k-motorola-sysv*",
4675 (const char*)NULL };
4678 * content selection pattern - do fix if pattern found
4680 tSCC zNested_MotorolaSelect0[] =
4681 "max # bytes atomic in write|error value returned by Math lib";
4683 #define NESTED_MOTOROLA_TEST_CT 1
4684 static tTestDesc aNested_MotorolaTests[] = {
4685 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
4688 * Fix Command Arguments for Nested_Motorola
4690 static const char* apzNested_MotorolaPatch[] = { "sed",
4691 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
4692 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
4695 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4697 * Description of Nested_Sys_Limits fix
4699 tSCC zNested_Sys_LimitsName[] =
4700 "nested_sys_limits";
4703 * File name selection pattern
4705 tSCC zNested_Sys_LimitsList[] =
4708 * Machine/OS name selection pattern
4710 #define apzNested_Sys_LimitsMachs (const char**)NULL
4713 * content selection pattern - do fix if pattern found
4715 tSCC zNested_Sys_LimitsSelect0[] =
4718 #define NESTED_SYS_LIMITS_TEST_CT 1
4719 static tTestDesc aNested_Sys_LimitsTests[] = {
4720 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
4723 * Fix Command Arguments for Nested_Sys_Limits
4725 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
4726 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
4727 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
4730 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4732 * Description of Netbsd_C99_Inline_1 fix
4734 tSCC zNetbsd_C99_Inline_1Name[] =
4735 "netbsd_c99_inline_1";
4738 * File name selection pattern
4740 tSCC zNetbsd_C99_Inline_1List[] =
4743 * Machine/OS name selection pattern
4745 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
4747 (const char*)NULL };
4750 * content selection pattern - do fix if pattern found
4752 tSCC zNetbsd_C99_Inline_1Select0[] =
4753 "extern __inline int";
4755 #define NETBSD_C99_INLINE_1_TEST_CT 1
4756 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
4757 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
4760 * Fix Command Arguments for Netbsd_C99_Inline_1
4762 static const char* apzNetbsd_C99_Inline_1Patch[] = {
4765 #ifdef __GNUC_STDC_INLINE__\n\
4766 __attribute__((__gnu_inline__))\n\
4771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4773 * Description of Netbsd_C99_Inline_2 fix
4775 tSCC zNetbsd_C99_Inline_2Name[] =
4776 "netbsd_c99_inline_2";
4779 * File name selection pattern
4781 tSCC zNetbsd_C99_Inline_2List[] =
4784 * Machine/OS name selection pattern
4786 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
4788 (const char*)NULL };
4791 * content selection pattern - do fix if pattern found
4793 tSCC zNetbsd_C99_Inline_2Select0[] =
4794 "#define _SIGINLINE extern __inline";
4796 #define NETBSD_C99_INLINE_2_TEST_CT 1
4797 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
4798 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
4801 * Fix Command Arguments for Netbsd_C99_Inline_2
4803 static const char* apzNetbsd_C99_Inline_2Patch[] = {
4805 "#ifdef __GNUC_STDC_INLINE__\n\
4806 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
4812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4814 * Description of Netbsd_Extra_Semicolon fix
4816 tSCC zNetbsd_Extra_SemicolonName[] =
4817 "netbsd_extra_semicolon";
4820 * File name selection pattern
4822 tSCC zNetbsd_Extra_SemicolonList[] =
4825 * Machine/OS name selection pattern
4827 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4829 (const char*)NULL };
4832 * content selection pattern - do fix if pattern found
4834 tSCC zNetbsd_Extra_SemicolonSelect0[] =
4835 "#define[ \t]*__END_DECLS[ \t]*};";
4837 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
4838 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
4839 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
4842 * Fix Command Arguments for Netbsd_Extra_Semicolon
4844 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
4846 "#define __END_DECLS }",
4849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4851 * Description of Next_Math_Prefix fix
4853 tSCC zNext_Math_PrefixName[] =
4857 * File name selection pattern
4859 tSCC zNext_Math_PrefixList[] =
4862 * Machine/OS name selection pattern
4864 #define apzNext_Math_PrefixMachs (const char**)NULL
4867 * content selection pattern - do fix if pattern found
4869 tSCC zNext_Math_PrefixSelect0[] =
4870 "^extern[ \t]+double[ \t]+__const__[ \t]";
4872 #define NEXT_MATH_PREFIX_TEST_CT 1
4873 static tTestDesc aNext_Math_PrefixTests[] = {
4874 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
4877 * Fix Command Arguments for Next_Math_Prefix
4879 static const char* apzNext_Math_PrefixPatch[] = {
4881 "extern double %1(",
4882 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
4885 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4887 * Description of Next_Template fix
4889 tSCC zNext_TemplateName[] =
4893 * File name selection pattern
4895 tSCC zNext_TemplateList[] =
4898 * Machine/OS name selection pattern
4900 #define apzNext_TemplateMachs (const char**)NULL
4903 * content selection pattern - do fix if pattern found
4905 tSCC zNext_TemplateSelect0[] =
4908 #define NEXT_TEMPLATE_TEST_CT 1
4909 static tTestDesc aNext_TemplateTests[] = {
4910 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
4913 * Fix Command Arguments for Next_Template
4915 static const char* apzNext_TemplatePatch[] = {
4918 "\\(([^)]*)[ \t]template\\)",
4921 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4923 * Description of Next_Volitile fix
4925 tSCC zNext_VolitileName[] =
4929 * File name selection pattern
4931 tSCC zNext_VolitileList[] =
4934 * Machine/OS name selection pattern
4936 #define apzNext_VolitileMachs (const char**)NULL
4939 * content selection pattern - do fix if pattern found
4941 tSCC zNext_VolitileSelect0[] =
4942 "^extern[ \t]+volatile[ \t]+void[ \t]";
4944 #define NEXT_VOLITILE_TEST_CT 1
4945 static tTestDesc aNext_VolitileTests[] = {
4946 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
4949 * Fix Command Arguments for Next_Volitile
4951 static const char* apzNext_VolitilePatch[] = {
4954 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
4957 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4959 * Description of Next_Wait_Union fix
4961 tSCC zNext_Wait_UnionName[] =
4965 * File name selection pattern
4967 tSCC zNext_Wait_UnionList[] =
4970 * Machine/OS name selection pattern
4972 #define apzNext_Wait_UnionMachs (const char**)NULL
4975 * content selection pattern - do fix if pattern found
4977 tSCC zNext_Wait_UnionSelect0[] =
4978 "wait\\(union wait";
4980 #define NEXT_WAIT_UNION_TEST_CT 1
4981 static tTestDesc aNext_Wait_UnionTests[] = {
4982 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
4985 * Fix Command Arguments for Next_Wait_Union
4987 static const char* apzNext_Wait_UnionPatch[] = {
4992 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4994 * Description of Nodeent_Syntax fix
4996 tSCC zNodeent_SyntaxName[] =
5000 * File name selection pattern
5002 tSCC zNodeent_SyntaxList[] =
5003 "netdnet/dnetdb.h\0";
5005 * Machine/OS name selection pattern
5007 #define apzNodeent_SyntaxMachs (const char**)NULL
5010 * content selection pattern - do fix if pattern found
5012 tSCC zNodeent_SyntaxSelect0[] =
5013 "char[ \t]*\\*na_addr[ \t]*$";
5015 #define NODEENT_SYNTAX_TEST_CT 1
5016 static tTestDesc aNodeent_SyntaxTests[] = {
5017 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5020 * Fix Command Arguments for Nodeent_Syntax
5022 static const char* apzNodeent_SyntaxPatch[] = {
5027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5029 * Description of Obstack_Lvalue_Cast fix
5031 tSCC zObstack_Lvalue_CastName[] =
5032 "obstack_lvalue_cast";
5035 * File name selection pattern
5037 tSCC zObstack_Lvalue_CastList[] =
5040 * Machine/OS name selection pattern
5042 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5045 * content selection pattern - do fix if pattern found
5047 tSCC zObstack_Lvalue_CastSelect0[] =
5048 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5050 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5051 static tTestDesc aObstack_Lvalue_CastTests[] = {
5052 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5055 * Fix Command Arguments for Obstack_Lvalue_Cast
5057 static const char* apzObstack_Lvalue_CastPatch[] = {
5059 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5064 * Description of Osf_Namespace_A fix
5066 tSCC zOsf_Namespace_AName[] =
5070 * File name selection pattern
5072 tSCC zOsf_Namespace_AList[] =
5073 "reg_types.h\0sys/lc_core.h\0";
5075 * Machine/OS name selection pattern
5077 #define apzOsf_Namespace_AMachs (const char**)NULL
5080 * perform the 'test' shell command - do fix on success
5082 tSCC zOsf_Namespace_ATest0[] =
5084 tSCC zOsf_Namespace_ATest1[] =
5085 " -r sys/lc_core.h";
5086 tSCC zOsf_Namespace_ATest2[] =
5087 " -n \"`grep '} regex_t;' reg_types.h`\"";
5088 tSCC zOsf_Namespace_ATest3[] =
5089 " -z \"`grep __regex_t regex.h`\"";
5091 #define OSF_NAMESPACE_A_TEST_CT 4
5092 static tTestDesc aOsf_Namespace_ATests[] = {
5093 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5094 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5095 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5096 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5099 * Fix Command Arguments for Osf_Namespace_A
5101 static const char* apzOsf_Namespace_APatch[] = {
5104 "reg(ex|off|match)_t",
5107 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5109 * Description of Osf_Namespace_C fix
5111 tSCC zOsf_Namespace_CName[] =
5115 * File name selection pattern
5117 tSCC zOsf_Namespace_CList[] =
5120 * Machine/OS name selection pattern
5122 #define apzOsf_Namespace_CMachs (const char**)NULL
5125 * content selection pattern - do fix if pattern found
5127 tSCC zOsf_Namespace_CSelect0[] =
5128 "#include <reg_types.h>.*";
5131 * perform the 'test' shell command - do fix on success
5133 tSCC zOsf_Namespace_CTest0[] =
5135 tSCC zOsf_Namespace_CTest1[] =
5136 " -r sys/lc_core.h";
5137 tSCC zOsf_Namespace_CTest2[] =
5138 " -n \"`grep '} regex_t;' reg_types.h`\"";
5139 tSCC zOsf_Namespace_CTest3[] =
5140 " -z \"`grep __regex_t regex.h`\"";
5142 #define OSF_NAMESPACE_C_TEST_CT 5
5143 static tTestDesc aOsf_Namespace_CTests[] = {
5144 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5145 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5146 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5147 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5148 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5151 * Fix Command Arguments for Osf_Namespace_C
5153 static const char* apzOsf_Namespace_CPatch[] = {
5156 typedef __regex_t\tregex_t;\n\
5157 typedef __regoff_t\tregoff_t;\n\
5158 typedef __regmatch_t\tregmatch_t;",
5161 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5163 * Description of Pthread_Page_Size fix
5165 tSCC zPthread_Page_SizeName[] =
5166 "pthread_page_size";
5169 * File name selection pattern
5171 tSCC zPthread_Page_SizeList[] =
5174 * Machine/OS name selection pattern
5176 #define apzPthread_Page_SizeMachs (const char**)NULL
5179 * content selection pattern - do fix if pattern found
5181 tSCC zPthread_Page_SizeSelect0[] =
5184 #define PTHREAD_PAGE_SIZE_TEST_CT 1
5185 static tTestDesc aPthread_Page_SizeTests[] = {
5186 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
5189 * Fix Command Arguments for Pthread_Page_Size
5191 static const char* apzPthread_Page_SizePatch[] = {
5196 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5198 * Description of Pthread_Incomplete_Struct_Argument fix
5200 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5201 "pthread_incomplete_struct_argument";
5204 * File name selection pattern
5206 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5209 * Machine/OS name selection pattern
5211 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5214 * content selection pattern - do fix if pattern found
5216 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5217 "struct __jmp_buf_tag";
5219 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5220 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5221 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5224 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5226 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5229 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5234 * Description of Read_Ret_Type fix
5236 tSCC zRead_Ret_TypeName[] =
5240 * File name selection pattern
5242 tSCC zRead_Ret_TypeList[] =
5245 * Machine/OS name selection pattern
5247 #define apzRead_Ret_TypeMachs (const char**)NULL
5250 * content selection pattern - do fix if pattern found
5252 tSCC zRead_Ret_TypeSelect0[] =
5253 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5255 #define READ_RET_TYPE_TEST_CT 1
5256 static tTestDesc aRead_Ret_TypeTests[] = {
5257 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5260 * Fix Command Arguments for Read_Ret_Type
5262 static const char* apzRead_Ret_TypePatch[] = {
5264 "extern unsigned int fread(), fwrite();\n\
5266 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5269 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5271 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5273 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5274 "rpc_xdr_lvalue_cast_a";
5277 * File name selection pattern
5279 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5282 * Machine/OS name selection pattern
5284 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5287 * content selection pattern - do fix if pattern found
5289 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5290 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5293 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5294 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5295 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5298 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5300 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5302 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5307 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5309 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5310 "rpc_xdr_lvalue_cast_b";
5313 * File name selection pattern
5315 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5318 * Machine/OS name selection pattern
5320 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5323 * content selection pattern - do fix if pattern found
5325 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5326 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5329 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5330 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5331 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5334 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5336 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5338 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5343 * Description of Rs6000_Double fix
5345 tSCC zRs6000_DoubleName[] =
5349 * File name selection pattern
5351 tSCC zRs6000_DoubleList[] =
5354 * Machine/OS name selection pattern
5356 #define apzRs6000_DoubleMachs (const char**)NULL
5359 * content selection pattern - do fix if pattern found
5361 tSCC zRs6000_DoubleSelect0[] =
5362 "[^a-zA-Z_]class\\(";
5364 #define RS6000_DOUBLE_TEST_CT 1
5365 static tTestDesc aRs6000_DoubleTests[] = {
5366 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5369 * Fix Command Arguments for Rs6000_Double
5371 static const char* apzRs6000_DoublePatch[] = {
5373 "#ifndef __cplusplus\n\
5376 "^.*[^a-zA-Z_]class\\(.*",
5379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5381 * Description of Rs6000_Fchmod fix
5383 tSCC zRs6000_FchmodName[] =
5387 * File name selection pattern
5389 tSCC zRs6000_FchmodList[] =
5392 * Machine/OS name selection pattern
5394 #define apzRs6000_FchmodMachs (const char**)NULL
5397 * content selection pattern - do fix if pattern found
5399 tSCC zRs6000_FchmodSelect0[] =
5400 "fchmod\\(char \\*";
5402 #define RS6000_FCHMOD_TEST_CT 1
5403 static tTestDesc aRs6000_FchmodTests[] = {
5404 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5407 * Fix Command Arguments for Rs6000_Fchmod
5409 static const char* apzRs6000_FchmodPatch[] = {
5414 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5416 * Description of Rs6000_Param fix
5418 tSCC zRs6000_ParamName[] =
5422 * File name selection pattern
5424 tSCC zRs6000_ParamList[] =
5425 "stdio.h\0unistd.h\0";
5427 * Machine/OS name selection pattern
5429 #define apzRs6000_ParamMachs (const char**)NULL
5432 * content selection pattern - do fix if pattern found
5434 tSCC zRs6000_ParamSelect0[] =
5435 "rename\\(const char \\*old, const char \\*new\\)";
5437 #define RS6000_PARAM_TEST_CT 1
5438 static tTestDesc aRs6000_ParamTests[] = {
5439 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5442 * Fix Command Arguments for Rs6000_Param
5444 static const char* apzRs6000_ParamPatch[] = {
5446 "rename(const char *_old, const char *_new)",
5449 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5451 * Description of Sco_Math fix
5453 tSCC zSco_MathName[] =
5457 * File name selection pattern
5459 tSCC zSco_MathList[] =
5460 "math.h\0*/math.h\0";
5462 * Machine/OS name selection pattern
5464 #define apzSco_MathMachs (const char**)NULL
5467 * content selection pattern - do fix if pattern found
5469 tSCC zSco_MathSelect0[] =
5470 "inline double abs";
5473 * content bypass pattern - skip fix if pattern found
5475 tSCC zSco_MathBypass0[] =
5478 #define SCO_MATH_TEST_CT 2
5479 static tTestDesc aSco_MathTests[] = {
5480 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
5481 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
5484 * Fix Command Arguments for Sco_Math
5486 static const char* apzSco_MathPatch[] = { "sed",
5487 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
5488 #ifndef __GNUC__\n",
5489 "-e", "/.*__builtin_generic/a\\\n\
5491 #define __fp_class(a) \\\\\\\n\
5492 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
5493 __fpclassifyl(a), \\\\\\\n\
5494 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
5495 __fpclassifyf(a),__fpclassify(a)))\\\n\
5497 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
5498 #ifndef __GNUC__\n",
5499 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
5500 #endif /* ! __GNUC__ */",
5503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5505 * Description of Sco_Regset fix
5507 tSCC zSco_RegsetName[] =
5511 * File name selection pattern
5513 tSCC zSco_RegsetList[] =
5516 * Machine/OS name selection pattern
5518 tSCC* apzSco_RegsetMachs[] = {
5520 (const char*)NULL };
5523 * content selection pattern - do fix if pattern found
5525 tSCC zSco_RegsetSelect0[] =
5526 "(struct[ \t]+.*)fpstate";
5528 #define SCO_REGSET_TEST_CT 1
5529 static tTestDesc aSco_RegsetTests[] = {
5530 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
5533 * Fix Command Arguments for Sco_Regset
5535 static const char* apzSco_RegsetPatch[] = {
5540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5542 * Description of Sco_Static_Func fix
5544 tSCC zSco_Static_FuncName[] =
5548 * File name selection pattern
5550 tSCC zSco_Static_FuncList[] =
5553 * Machine/OS name selection pattern
5555 tSCC* apzSco_Static_FuncMachs[] = {
5557 (const char*)NULL };
5560 * content selection pattern - do fix if pattern found
5562 tSCC zSco_Static_FuncSelect0[] =
5565 #define SCO_STATIC_FUNC_TEST_CT 1
5566 static tTestDesc aSco_Static_FuncTests[] = {
5567 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
5570 * Fix Command Arguments for Sco_Static_Func
5572 static const char* apzSco_Static_FuncPatch[] = { "sed",
5573 "-e", "/^static int/i\\\n\
5574 #if __cplusplus\\\n\
5576 #endif /* __cplusplus */",
5578 #if __cplusplus\\\n\
5580 #endif /* __cplusplus */",
5583 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5585 * Description of Sco_Utime fix
5587 tSCC zSco_UtimeName[] =
5591 * File name selection pattern
5593 tSCC zSco_UtimeList[] =
5596 * Machine/OS name selection pattern
5598 tSCC* apzSco_UtimeMachs[] = {
5600 (const char*)NULL };
5603 * content selection pattern - do fix if pattern found
5605 tSCC zSco_UtimeSelect0[] =
5606 "\\(const char \\*, struct utimbuf \\*\\);";
5608 #define SCO_UTIME_TEST_CT 1
5609 static tTestDesc aSco_UtimeTests[] = {
5610 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
5613 * Fix Command Arguments for Sco_Utime
5615 static const char* apzSco_UtimePatch[] = {
5617 "(const char *, const struct utimbuf *);",
5620 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5622 * Description of Solaris_Math_1 fix
5624 tSCC zSolaris_Math_1Name[] =
5628 * File name selection pattern
5630 tSCC zSolaris_Math_1List[] =
5633 * Machine/OS name selection pattern
5635 #define apzSolaris_Math_1Machs (const char**)NULL
5638 * content selection pattern - do fix if pattern found
5640 tSCC zSolaris_Math_1Select0[] =
5641 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5644 * content bypass pattern - skip fix if pattern found
5646 tSCC zSolaris_Math_1Bypass0[] =
5649 #define SOLARIS_MATH_1_TEST_CT 2
5650 static tTestDesc aSolaris_Math_1Tests[] = {
5651 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
5652 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
5655 * Fix Command Arguments for Solaris_Math_1
5657 static const char* apzSolaris_Math_1Patch[] = {
5659 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
5660 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
5663 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5665 * Description of Solaris_Math_2 fix
5667 tSCC zSolaris_Math_2Name[] =
5671 * File name selection pattern
5673 tSCC zSolaris_Math_2List[] =
5676 * Machine/OS name selection pattern
5678 #define apzSolaris_Math_2Machs (const char**)NULL
5681 * content selection pattern - do fix if pattern found
5683 tSCC zSolaris_Math_2Select0[] =
5684 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5687 * content bypass pattern - skip fix if pattern found
5689 tSCC zSolaris_Math_2Bypass0[] =
5692 #define SOLARIS_MATH_2_TEST_CT 2
5693 static tTestDesc aSolaris_Math_2Tests[] = {
5694 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
5695 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
5698 * Fix Command Arguments for Solaris_Math_2
5700 static const char* apzSolaris_Math_2Patch[] = {
5702 "#define\tINFINITY\t(__builtin_inff())",
5703 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
5706 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5708 * Description of Solaris_Math_3 fix
5710 tSCC zSolaris_Math_3Name[] =
5714 * File name selection pattern
5716 tSCC zSolaris_Math_3List[] =
5719 * Machine/OS name selection pattern
5721 #define apzSolaris_Math_3Machs (const char**)NULL
5724 * content selection pattern - do fix if pattern found
5726 tSCC zSolaris_Math_3Select0[] =
5727 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5730 * content bypass pattern - skip fix if pattern found
5732 tSCC zSolaris_Math_3Bypass0[] =
5735 #define SOLARIS_MATH_3_TEST_CT 2
5736 static tTestDesc aSolaris_Math_3Tests[] = {
5737 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
5738 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
5741 * Fix Command Arguments for Solaris_Math_3
5743 static const char* apzSolaris_Math_3Patch[] = {
5745 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
5746 "^#define[ \t]+NAN[ \t]+__builtin_nan",
5749 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5751 * Description of Solaris_Math_4 fix
5753 tSCC zSolaris_Math_4Name[] =
5757 * File name selection pattern
5759 tSCC zSolaris_Math_4List[] =
5762 * Machine/OS name selection pattern
5764 #define apzSolaris_Math_4Machs (const char**)NULL
5767 * content selection pattern - do fix if pattern found
5769 tSCC zSolaris_Math_4Select0[] =
5770 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5773 * content bypass pattern - skip fix if pattern found
5775 tSCC zSolaris_Math_4Bypass0[] =
5778 #define SOLARIS_MATH_4_TEST_CT 2
5779 static tTestDesc aSolaris_Math_4Tests[] = {
5780 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
5781 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
5784 * Fix Command Arguments for Solaris_Math_4
5786 static const char* apzSolaris_Math_4Patch[] = {
5788 "#define\tfpclassify(x) \\\n\
5789 __extension__ ({ const __typeof(x) __x_fp = (x); \\\n\
5790 \t\t isnan(__x_fp) \\\n\
5792 \t\t : isinf(__x_fp) \\\n\
5793 \t\t ? FP_INFINITE \\\n\
5794 \t\t : isnormal(__x_fp) \\\n\
5795 \t\t\t ? FP_NORMAL \\\n\
5796 \t\t\t : __x_fp == 0.0 \\\n\
5797 \t\t\t ? FP_ZERO \\\n\
5798 \t\t\t : FP_SUBNORMAL; })",
5799 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
5802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5804 * Description of Solaris_Math_8 fix
5806 tSCC zSolaris_Math_8Name[] =
5810 * File name selection pattern
5812 tSCC zSolaris_Math_8List[] =
5815 * Machine/OS name selection pattern
5817 #define apzSolaris_Math_8Machs (const char**)NULL
5820 * content selection pattern - do fix if pattern found
5822 tSCC zSolaris_Math_8Select0[] =
5823 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5826 * content bypass pattern - skip fix if pattern found
5828 tSCC zSolaris_Math_8Bypass0[] =
5831 #define SOLARIS_MATH_8_TEST_CT 2
5832 static tTestDesc aSolaris_Math_8Tests[] = {
5833 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
5834 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
5837 * Fix Command Arguments for Solaris_Math_8
5839 static const char* apzSolaris_Math_8Patch[] = {
5841 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
5842 \t\t\t ? __builtin_signbitf(x) \\\n\
5843 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
5844 \t\t\t ? __builtin_signbitl(x) \\\n\
5845 \t\t\t : __builtin_signbit(x))",
5846 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
5849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5851 * Description of Solaris_Math_9 fix
5853 tSCC zSolaris_Math_9Name[] =
5857 * File name selection pattern
5859 tSCC zSolaris_Math_9List[] =
5862 * Machine/OS name selection pattern
5864 #define apzSolaris_Math_9Machs (const char**)NULL
5867 * content selection pattern - do fix if pattern found
5869 tSCC zSolaris_Math_9Select0[] =
5870 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5873 * content bypass pattern - skip fix if pattern found
5875 tSCC zSolaris_Math_9Bypass0[] =
5878 #define SOLARIS_MATH_9_TEST_CT 2
5879 static tTestDesc aSolaris_Math_9Tests[] = {
5880 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
5881 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
5884 * Fix Command Arguments for Solaris_Math_9
5886 static const char* apzSolaris_Math_9Patch[] = {
5888 "#define\t%1(x, y)%2__builtin_%1(x, y)",
5889 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
5892 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5894 * Description of Solaris_Mutex_Init_1 fix
5896 tSCC zSolaris_Mutex_Init_1Name[] =
5897 "solaris_mutex_init_1";
5900 * File name selection pattern
5902 tSCC zSolaris_Mutex_Init_1List[] =
5905 * Machine/OS name selection pattern
5907 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
5910 * content selection pattern - do fix if pattern found
5912 tSCC zSolaris_Mutex_Init_1Select0[] =
5913 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
5915 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
5916 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
5917 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
5920 * Fix Command Arguments for Solaris_Mutex_Init_1
5922 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
5923 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
5924 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
5927 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5929 * Description of Solaris_Mutex_Init_2 fix
5931 tSCC zSolaris_Mutex_Init_2Name[] =
5932 "solaris_mutex_init_2";
5935 * File name selection pattern
5937 tSCC zSolaris_Mutex_Init_2List[] =
5940 * Machine/OS name selection pattern
5942 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
5943 "*-*-solaris2.[0-9]",
5944 "*-*-solaris2.[0-9][!0-9]*",
5945 (const char*)NULL };
5948 * content selection pattern - do fix if pattern found
5950 tSCC zSolaris_Mutex_Init_2Select0[] =
5951 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5953 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
5954 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
5955 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
5958 * Fix Command Arguments for Solaris_Mutex_Init_2
5960 static const char* apzSolaris_Mutex_Init_2Patch[] = {
5962 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5967 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
5968 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
5971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5973 * Description of Solaris_Rwlock_Init_1 fix
5975 tSCC zSolaris_Rwlock_Init_1Name[] =
5976 "solaris_rwlock_init_1";
5979 * File name selection pattern
5981 tSCC zSolaris_Rwlock_Init_1List[] =
5984 * Machine/OS name selection pattern
5986 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
5988 (const char*)NULL };
5991 * content selection pattern - do fix if pattern found
5993 tSCC zSolaris_Rwlock_Init_1Select0[] =
5994 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5996 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
5997 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
5998 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
6001 * Fix Command Arguments for Solaris_Rwlock_Init_1
6003 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6005 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6008 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6010 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6013 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6015 * Description of Solaris_Once_Init_1 fix
6017 tSCC zSolaris_Once_Init_1Name[] =
6018 "solaris_once_init_1";
6021 * File name selection pattern
6023 tSCC zSolaris_Once_Init_1List[] =
6026 * Machine/OS name selection pattern
6028 tSCC* apzSolaris_Once_Init_1Machs[] = {
6030 (const char*)NULL };
6033 * content selection pattern - do fix if pattern found
6035 tSCC zSolaris_Once_Init_1Select0[] =
6036 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6038 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6039 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6040 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6043 * Fix Command Arguments for Solaris_Once_Init_1
6045 static const char* apzSolaris_Once_Init_1Patch[] = {
6048 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6053 * Description of Solaris_Once_Init_2 fix
6055 tSCC zSolaris_Once_Init_2Name[] =
6056 "solaris_once_init_2";
6059 * File name selection pattern
6061 tSCC zSolaris_Once_Init_2List[] =
6064 * Machine/OS name selection pattern
6066 tSCC* apzSolaris_Once_Init_2Machs[] = {
6067 "*-*-solaris2.[0-9]",
6068 "*-*-solaris2.[0-9][!0-9]*",
6069 (const char*)NULL };
6072 * content selection pattern - do fix if pattern found
6074 tSCC zSolaris_Once_Init_2Select0[] =
6075 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6077 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6078 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6079 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6082 * Fix Command Arguments for Solaris_Once_Init_2
6084 static const char* apzSolaris_Once_Init_2Patch[] = {
6086 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6089 %1{0}, {0}, {0}, {%3}%4\n\
6091 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6094 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6096 * Description of Solaris_Socket fix
6098 tSCC zSolaris_SocketName[] =
6102 * File name selection pattern
6104 tSCC zSolaris_SocketList[] =
6107 * Machine/OS name selection pattern
6109 #define apzSolaris_SocketMachs (const char**)NULL
6112 * content selection pattern - do fix if pattern found
6114 tSCC zSolaris_SocketSelect0[] =
6115 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
6117 #define SOLARIS_SOCKET_TEST_CT 1
6118 static tTestDesc aSolaris_SocketTests[] = {
6119 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
6122 * Fix Command Arguments for Solaris_Socket
6124 static const char* apzSolaris_SocketPatch[] = {
6126 "extern int %1(int, %2void *, int, int);",
6127 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
6130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6132 * Description of Solaris_Stdio_Tag fix
6134 tSCC zSolaris_Stdio_TagName[] =
6135 "solaris_stdio_tag";
6138 * File name selection pattern
6140 tSCC zSolaris_Stdio_TagList[] =
6143 * Machine/OS name selection pattern
6145 #define apzSolaris_Stdio_TagMachs (const char**)NULL
6148 * content selection pattern - do fix if pattern found
6150 tSCC zSolaris_Stdio_TagSelect0[] =
6151 "__cplusplus < 54321L";
6154 * content bypass pattern - skip fix if pattern found
6156 tSCC zSolaris_Stdio_TagBypass0[] =
6159 #define SOLARIS_STDIO_TAG_TEST_CT 2
6160 static tTestDesc aSolaris_Stdio_TagTests[] = {
6161 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6162 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6165 * Fix Command Arguments for Solaris_Stdio_Tag
6167 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
6168 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6173 * Description of Solaris_Unistd fix
6175 tSCC zSolaris_UnistdName[] =
6179 * File name selection pattern
6181 tSCC zSolaris_UnistdList[] =
6184 * Machine/OS name selection pattern
6186 #define apzSolaris_UnistdMachs (const char**)NULL
6189 * content selection pattern - do fix if pattern found
6191 tSCC zSolaris_UnistdSelect0[] =
6192 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
6195 * content bypass pattern - skip fix if pattern found
6197 tSCC zSolaris_UnistdBypass0[] =
6200 #define SOLARIS_UNISTD_TEST_CT 2
6201 static tTestDesc aSolaris_UnistdTests[] = {
6202 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
6203 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
6206 * Fix Command Arguments for Solaris_Unistd
6208 static const char* apzSolaris_UnistdPatch[] = {
6210 "extern int getpagesize();\n\
6212 "^extern (pid_t|int) getpgid\\(.*\\);",
6215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6217 * Description of Solaris_Widec fix
6219 tSCC zSolaris_WidecName[] =
6223 * File name selection pattern
6225 tSCC zSolaris_WidecList[] =
6228 * Machine/OS name selection pattern
6230 tSCC* apzSolaris_WidecMachs[] = {
6231 "*-*-solaris2.[0-5]",
6232 "*-*-solaris2.[0-5].*",
6233 (const char*)NULL };
6236 * content selection pattern - do fix if pattern found
6238 tSCC zSolaris_WidecSelect0[] =
6242 * content bypass pattern - skip fix if pattern found
6244 tSCC zSolaris_WidecBypass0[] =
6245 "include.*wchar\\.h";
6247 #define SOLARIS_WIDEC_TEST_CT 2
6248 static tTestDesc aSolaris_WidecTests[] = {
6249 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
6250 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
6253 * Fix Command Arguments for Solaris_Widec
6255 static const char* apzSolaris_WidecPatch[] = {
6258 #include <wchar.h>",
6261 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6263 * Description of Statsswtch fix
6265 tSCC zStatsswtchName[] =
6269 * File name selection pattern
6271 tSCC zStatsswtchList[] =
6274 * Machine/OS name selection pattern
6276 #define apzStatsswtchMachs (const char**)NULL
6279 * content selection pattern - do fix if pattern found
6281 tSCC zStatsswtchSelect0[] =
6284 #define STATSSWTCH_TEST_CT 1
6285 static tTestDesc aStatsswtchTests[] = {
6286 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6289 * Fix Command Arguments for Statsswtch
6291 static const char* apzStatsswtchPatch[] = {
6296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6298 * Description of Stdio_Stdarg_H fix
6300 tSCC zStdio_Stdarg_HName[] =
6304 * File name selection pattern
6306 tSCC zStdio_Stdarg_HList[] =
6309 * Machine/OS name selection pattern
6311 tSCC* apzStdio_Stdarg_HMachs[] = {
6312 "*-*-solaris2.1[0-9]*",
6313 (const char*)NULL };
6316 * content bypass pattern - skip fix if pattern found
6318 tSCC zStdio_Stdarg_HBypass0[] =
6319 "include.*(stdarg.h|machine/ansi.h)";
6321 #define STDIO_STDARG_H_TEST_CT 1
6322 static tTestDesc aStdio_Stdarg_HTests[] = {
6323 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6326 * Fix Command Arguments for Stdio_Stdarg_H
6328 static const char* apzStdio_Stdarg_HPatch[] = {
6330 "#define __need___va_list\n\
6331 #include <stdarg.h>\n",
6334 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6336 * Description of Stdio_Va_List fix
6338 tSCC zStdio_Va_ListName[] =
6342 * File name selection pattern
6344 tSCC zStdio_Va_ListList[] =
6345 "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0";
6347 * Machine/OS name selection pattern
6349 tSCC* apzStdio_Va_ListMachs[] = {
6350 "*-*-solaris2.1[0-9]*",
6351 (const char*)NULL };
6354 * content bypass pattern - skip fix if pattern found
6356 tSCC zStdio_Va_ListBypass0[] =
6357 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6359 #define STDIO_VA_LIST_TEST_CT 1
6360 static tTestDesc aStdio_Va_ListTests[] = {
6361 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
6364 * Fix Command Arguments for Stdio_Va_List
6366 static const char* apzStdio_Va_ListPatch[] = { "sed",
6367 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6368 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6369 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6370 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6371 s@ va_list@ __not_va_list__@\n\
6372 s@\\*va_list@*__not_va_list__@\n\
6373 s@ __va_list)@ __gnuc_va_list)@\n\
6374 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6375 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6376 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6377 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6378 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6379 s@VA_LIST@DUMMY_VA_LIST@\n\
6380 s@_Va_LIST@_VA_LIST@",
6383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6385 * Description of Stdio_Va_List_Clients fix
6387 tSCC zStdio_Va_List_ClientsName[] =
6388 "stdio_va_list_clients";
6391 * File name selection pattern
6393 tSCC zStdio_Va_List_ClientsList[] =
6394 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
6396 * Machine/OS name selection pattern
6398 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
6401 * content bypass pattern - skip fix if pattern found
6403 tSCC zStdio_Va_List_ClientsBypass0[] =
6404 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6405 tSCC zStdio_Va_List_ClientsBypass1[] =
6406 "include <stdarg\\.h>|#ifdef va_start";
6408 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
6409 static tTestDesc aStdio_Va_List_ClientsTests[] = {
6410 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
6411 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
6414 * Fix Command Arguments for Stdio_Va_List_Clients
6416 static const char* apzStdio_Va_List_ClientsPatch[] = { "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 Strict_Ansi_Not fix
6437 tSCC zStrict_Ansi_NotName[] =
6441 * File name selection pattern
6443 #define zStrict_Ansi_NotList (char*)NULL
6445 * Machine/OS name selection pattern
6447 #define apzStrict_Ansi_NotMachs (const char**)NULL
6450 * content selection pattern - do fix if pattern found
6452 tSCC zStrict_Ansi_NotSelect0[] =
6453 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
6456 * content bypass pattern - skip fix if pattern found
6458 tSCC zStrict_Ansi_NotBypass0[] =
6459 "GNU and MIPS C compilers define __STDC__ differently";
6460 tSCC zStrict_Ansi_NotBypass1[] =
6461 "__SCO_VERSION__.*__STDC__ != 1";
6464 * perform the C function call test
6466 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
6468 #define STRICT_ANSI_NOT_TEST_CT 4
6469 static tTestDesc aStrict_Ansi_NotTests[] = {
6470 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
6471 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
6472 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
6473 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
6476 * Fix Command Arguments for Strict_Ansi_Not
6478 static const char* apzStrict_Ansi_NotPatch[] = {
6480 "%1 !defined(__STRICT_ANSI__)",
6483 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6485 * Description of Strict_Ansi_Not_Ctd fix
6487 tSCC zStrict_Ansi_Not_CtdName[] =
6488 "strict_ansi_not_ctd";
6491 * File name selection pattern
6493 tSCC zStrict_Ansi_Not_CtdList[] =
6494 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
6496 * Machine/OS name selection pattern
6498 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
6501 * content selection pattern - do fix if pattern found
6503 tSCC zStrict_Ansi_Not_CtdSelect0[] =
6504 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
6507 * perform the C function call test
6509 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
6511 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
6512 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
6513 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
6514 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
6517 * Fix Command Arguments for Strict_Ansi_Not_Ctd
6519 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
6521 "%1 !defined(__STRICT_ANSI__)",
6524 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6526 * Description of Strict_Ansi_Only fix
6528 tSCC zStrict_Ansi_OnlyName[] =
6532 * File name selection pattern
6534 #define zStrict_Ansi_OnlyList (char*)NULL
6536 * Machine/OS name selection pattern
6538 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
6541 * content selection pattern - do fix if pattern found
6543 tSCC zStrict_Ansi_OnlySelect0[] =
6544 "^([ \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)";
6547 * perform the C function call test
6549 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
6551 #define STRICT_ANSI_ONLY_TEST_CT 2
6552 static tTestDesc aStrict_Ansi_OnlyTests[] = {
6553 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
6554 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
6557 * Fix Command Arguments for Strict_Ansi_Only
6559 static const char* apzStrict_Ansi_OnlyPatch[] = {
6561 "%1 defined(__STRICT_ANSI__)",
6564 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6566 * Description of Struct_File fix
6568 tSCC zStruct_FileName[] =
6572 * File name selection pattern
6574 tSCC zStruct_FileList[] =
6577 * Machine/OS name selection pattern
6579 #define apzStruct_FileMachs (const char**)NULL
6582 * content selection pattern - do fix if pattern found
6584 tSCC zStruct_FileSelect0[] =
6585 "^.*xdrstdio_create.*struct __file_s";
6587 #define STRUCT_FILE_TEST_CT 1
6588 static tTestDesc aStruct_FileTests[] = {
6589 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
6592 * Fix Command Arguments for Struct_File
6594 static const char* apzStruct_FilePatch[] = {
6596 "struct __file_s;\n\
6600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6602 * Description of Struct_Sockaddr fix
6604 tSCC zStruct_SockaddrName[] =
6608 * File name selection pattern
6610 tSCC zStruct_SockaddrList[] =
6613 * Machine/OS name selection pattern
6615 #define apzStruct_SockaddrMachs (const char**)NULL
6618 * content selection pattern - do fix if pattern found
6620 tSCC zStruct_SockaddrSelect0[] =
6621 "^.*authdes_create.*struct sockaddr[^_]";
6624 * content bypass pattern - skip fix if pattern found
6626 tSCC zStruct_SockaddrBypass0[] =
6628 tSCC zStruct_SockaddrBypass1[] =
6629 "struct sockaddr;\n";
6631 #define STRUCT_SOCKADDR_TEST_CT 3
6632 static tTestDesc aStruct_SockaddrTests[] = {
6633 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
6634 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
6635 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
6638 * Fix Command Arguments for Struct_Sockaddr
6640 static const char* apzStruct_SockaddrPatch[] = {
6642 "struct sockaddr;\n\
6646 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6648 * Description of Sun_Auth_Proto fix
6650 tSCC zSun_Auth_ProtoName[] =
6654 * File name selection pattern
6656 tSCC zSun_Auth_ProtoList[] =
6657 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
6659 * Machine/OS name selection pattern
6661 #define apzSun_Auth_ProtoMachs (const char**)NULL
6664 * content selection pattern - do fix if pattern found
6666 tSCC zSun_Auth_ProtoSelect0[] =
6667 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
6670 * content bypass pattern - skip fix if pattern found
6672 tSCC zSun_Auth_ProtoBypass0[] =
6675 #define SUN_AUTH_PROTO_TEST_CT 2
6676 static tTestDesc aSun_Auth_ProtoTests[] = {
6677 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
6678 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
6681 * Fix Command Arguments for Sun_Auth_Proto
6683 static const char* apzSun_Auth_ProtoPatch[] = {
6685 "#ifdef __cplusplus\n\
6690 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
6693 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6695 * Description of Sun_Bogus_Ifdef fix
6697 tSCC zSun_Bogus_IfdefName[] =
6701 * File name selection pattern
6703 tSCC zSun_Bogus_IfdefList[] =
6704 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
6706 * Machine/OS name selection pattern
6708 #define apzSun_Bogus_IfdefMachs (const char**)NULL
6711 * content selection pattern - do fix if pattern found
6713 tSCC zSun_Bogus_IfdefSelect0[] =
6714 "#ifdef(.*\\|\\|.*)";
6716 #define SUN_BOGUS_IFDEF_TEST_CT 1
6717 static tTestDesc aSun_Bogus_IfdefTests[] = {
6718 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
6721 * Fix Command Arguments for Sun_Bogus_Ifdef
6723 static const char* apzSun_Bogus_IfdefPatch[] = {
6728 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6730 * Description of Sun_Catmacro fix
6732 tSCC zSun_CatmacroName[] =
6736 * File name selection pattern
6738 tSCC zSun_CatmacroList[] =
6739 "pixrect/memvar.h\0";
6741 * Machine/OS name selection pattern
6743 #define apzSun_CatmacroMachs (const char**)NULL
6746 * content selection pattern - do fix if pattern found
6748 tSCC zSun_CatmacroSelect0[] =
6749 "^#define[ \t]+CAT\\(a,b\\).*";
6751 #define SUN_CATMACRO_TEST_CT 1
6752 static tTestDesc aSun_CatmacroTests[] = {
6753 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
6756 * Fix Command Arguments for Sun_Catmacro
6758 static const char* apzSun_CatmacroPatch[] = {
6761 # define CAT(a,b) a##b\n\
6767 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6769 * Description of Sun_Malloc fix
6771 tSCC zSun_MallocName[] =
6775 * File name selection pattern
6777 tSCC zSun_MallocList[] =
6780 * Machine/OS name selection pattern
6782 #define apzSun_MallocMachs (const char**)NULL
6785 * content bypass pattern - skip fix if pattern found
6787 tSCC zSun_MallocBypass0[] =
6788 "_CLASSIC_ANSI_TYPES";
6790 #define SUN_MALLOC_TEST_CT 1
6791 static tTestDesc aSun_MallocTests[] = {
6792 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
6795 * Fix Command Arguments for Sun_Malloc
6797 static const char* apzSun_MallocPatch[] = { "sed",
6798 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
6799 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
6800 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
6801 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
6802 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
6805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6807 * Description of Sun_Rusers_Semi fix
6809 tSCC zSun_Rusers_SemiName[] =
6813 * File name selection pattern
6815 tSCC zSun_Rusers_SemiList[] =
6816 "rpcsvc/rusers.h\0";
6818 * Machine/OS name selection pattern
6820 #define apzSun_Rusers_SemiMachs (const char**)NULL
6823 * content selection pattern - do fix if pattern found
6825 tSCC zSun_Rusers_SemiSelect0[] =
6828 #define SUN_RUSERS_SEMI_TEST_CT 1
6829 static tTestDesc aSun_Rusers_SemiTests[] = {
6830 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
6833 * Fix Command Arguments for Sun_Rusers_Semi
6835 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
6836 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
6839 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6841 * Description of Sun_Signal fix
6843 tSCC zSun_SignalName[] =
6847 * File name selection pattern
6849 tSCC zSun_SignalList[] =
6850 "sys/signal.h\0signal.h\0";
6852 * Machine/OS name selection pattern
6854 #define apzSun_SignalMachs (const char**)NULL
6857 * content selection pattern - do fix if pattern found
6859 tSCC zSun_SignalSelect0[] =
6860 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
6862 #define SUN_SIGNAL_TEST_CT 1
6863 static tTestDesc aSun_SignalTests[] = {
6864 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
6867 * Fix Command Arguments for Sun_Signal
6869 static const char* apzSun_SignalPatch[] = {
6871 "#ifdef __cplusplus\n\
6872 void\t(*signal(...))(...);\n\
6878 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6880 * Description of Sunos_Strlen fix
6882 tSCC zSunos_StrlenName[] =
6886 * File name selection pattern
6888 tSCC zSunos_StrlenList[] =
6891 * Machine/OS name selection pattern
6893 #define apzSunos_StrlenMachs (const char**)NULL
6896 * content selection pattern - do fix if pattern found
6898 tSCC zSunos_StrlenSelect0[] =
6899 "int[ \t]*strlen\\(\\);(.*)";
6901 #define SUNOS_STRLEN_TEST_CT 1
6902 static tTestDesc aSunos_StrlenTests[] = {
6903 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
6906 * Fix Command Arguments for Sunos_Strlen
6908 static const char* apzSunos_StrlenPatch[] = {
6910 "__SIZE_TYPE__ strlen();%1",
6913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6915 * Description of Svr4_Disable_Opt fix
6917 tSCC zSvr4_Disable_OptName[] =
6921 * File name selection pattern
6923 tSCC zSvr4_Disable_OptList[] =
6926 * Machine/OS name selection pattern
6928 #define apzSvr4_Disable_OptMachs (const char**)NULL
6931 * content selection pattern - do fix if pattern found
6933 tSCC zSvr4_Disable_OptSelect0[] =
6934 "#define.*__std_hdr_";
6936 #define SVR4_DISABLE_OPT_TEST_CT 1
6937 static tTestDesc aSvr4_Disable_OptTests[] = {
6938 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
6941 * Fix Command Arguments for Svr4_Disable_Opt
6943 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
6944 "-e", "/#define.*__std_hdr_/d",
6947 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6949 * Description of Svr4_Getcwd fix
6951 tSCC zSvr4_GetcwdName[] =
6955 * File name selection pattern
6957 tSCC zSvr4_GetcwdList[] =
6958 "stdlib.h\0unistd.h\0prototypes.h\0";
6960 * Machine/OS name selection pattern
6962 #define apzSvr4_GetcwdMachs (const char**)NULL
6965 * content selection pattern - do fix if pattern found
6967 tSCC zSvr4_GetcwdSelect0[] =
6968 "getcwd\\(char \\*, int\\)";
6970 #define SVR4_GETCWD_TEST_CT 1
6971 static tTestDesc aSvr4_GetcwdTests[] = {
6972 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
6975 * Fix Command Arguments for Svr4_Getcwd
6977 static const char* apzSvr4_GetcwdPatch[] = {
6979 "getcwd(char *, size_t)",
6982 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6984 * Description of Svr4_Krnl fix
6986 tSCC zSvr4_KrnlName[] =
6990 * File name selection pattern
6992 tSCC zSvr4_KrnlList[] =
6993 "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";
6995 * Machine/OS name selection pattern
6997 tSCC* apzSvr4_KrnlMachs[] = {
6999 "i?86-sequent-ptx*",
7000 (const char*)NULL };
7003 * content bypass pattern - skip fix if pattern found
7005 tSCC zSvr4_KrnlBypass0[] =
7008 #define SVR4_KRNL_TEST_CT 1
7009 static tTestDesc aSvr4_KrnlTests[] = {
7010 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
7013 * Fix Command Arguments for Svr4_Krnl
7015 static const char* apzSvr4_KrnlPatch[] = {
7018 "#endif /* _KERNEL */\n",
7021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7023 * Description of Svr4_Profil fix
7025 tSCC zSvr4_ProfilName[] =
7029 * File name selection pattern
7031 tSCC zSvr4_ProfilList[] =
7032 "stdlib.h\0unistd.h\0";
7034 * Machine/OS name selection pattern
7036 #define apzSvr4_ProfilMachs (const char**)NULL
7039 * content selection pattern - do fix if pattern found
7041 tSCC zSvr4_ProfilSelect0[] =
7042 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7045 * content bypass pattern - skip fix if pattern found
7047 tSCC zSvr4_ProfilBypass0[] =
7050 #define SVR4_PROFIL_TEST_CT 2
7051 static tTestDesc aSvr4_ProfilTests[] = {
7052 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
7053 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7056 * Fix Command Arguments for Svr4_Profil
7058 static const char* apzSvr4_ProfilPatch[] = {
7060 "profil(unsigned short *, size_t, int, unsigned int)",
7063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7065 * Description of Svr4_Sighandler_Type fix
7067 tSCC zSvr4_Sighandler_TypeName[] =
7068 "svr4_sighandler_type";
7071 * File name selection pattern
7073 tSCC zSvr4_Sighandler_TypeList[] =
7076 * Machine/OS name selection pattern
7078 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7081 * content selection pattern - do fix if pattern found
7083 tSCC zSvr4_Sighandler_TypeSelect0[] =
7084 "void *\\(\\*\\)\\(\\)";
7086 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
7087 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
7088 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
7091 * Fix Command Arguments for Svr4_Sighandler_Type
7093 static const char* apzSvr4_Sighandler_TypePatch[] = {
7098 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7100 * Description of Svr4_Undeclared_Getrnge fix
7102 tSCC zSvr4_Undeclared_GetrngeName[] =
7103 "svr4_undeclared_getrnge";
7106 * File name selection pattern
7108 tSCC zSvr4_Undeclared_GetrngeList[] =
7111 * Machine/OS name selection pattern
7113 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
7116 * content selection pattern - do fix if pattern found
7118 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
7122 * content bypass pattern - skip fix if pattern found
7124 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
7125 "static void getrnge";
7127 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
7128 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
7129 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
7130 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
7133 * Fix Command Arguments for Svr4_Undeclared_Getrnge
7135 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
7138 static int getrnge ();",
7139 "^static int[ \t]+size;",
7142 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7144 * Description of Sysv68_String fix
7146 tSCC zSysv68_StringName[] =
7150 * File name selection pattern
7152 tSCC zSysv68_StringList[] =
7153 "testing.h\0string.h\0";
7155 * Machine/OS name selection pattern
7157 #define apzSysv68_StringMachs (const char**)NULL
7160 * content bypass pattern - skip fix if pattern found
7162 tSCC zSysv68_StringBypass0[] =
7163 "_CLASSIC_ANSI_TYPES";
7165 #define SYSV68_STRING_TEST_CT 1
7166 static tTestDesc aSysv68_StringTests[] = {
7167 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7170 * Fix Command Arguments for Sysv68_String
7172 static const char* apzSysv68_StringPatch[] = { "sed",
7173 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7174 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7175 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7176 "-e", "/^extern char$/N",
7177 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7178 "-e", "/^extern int$/N",
7179 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7180 "-e", "/^\tstrncmp(),$/N",
7181 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7182 extern unsigned int\\\n\
7186 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7188 * Description of Sysz_Stdlib_For_Sun fix
7190 tSCC zSysz_Stdlib_For_SunName[] =
7191 "sysz_stdlib_for_sun";
7194 * File name selection pattern
7196 tSCC zSysz_Stdlib_For_SunList[] =
7199 * Machine/OS name selection pattern
7201 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7204 * content selection pattern - do fix if pattern found
7206 tSCC zSysz_Stdlib_For_SunSelect0[] =
7207 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7210 * content bypass pattern - skip fix if pattern found
7212 tSCC zSysz_Stdlib_For_SunBypass0[] =
7213 "_CLASSIC_ANSI_TYPES";
7215 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7216 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7217 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7218 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7221 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7223 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7230 * Description of Thread_Keyword fix
7232 tSCC zThread_KeywordName[] =
7236 * File name selection pattern
7238 tSCC zThread_KeywordList[] =
7239 "pthread.h\0bits/sigthread.h\0";
7241 * Machine/OS name selection pattern
7243 #define apzThread_KeywordMachs (const char**)NULL
7246 * content selection pattern - do fix if pattern found
7248 tSCC zThread_KeywordSelect0[] =
7249 "([* ])__thread([,)])";
7251 #define THREAD_KEYWORD_TEST_CT 1
7252 static tTestDesc aThread_KeywordTests[] = {
7253 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7256 * Fix Command Arguments for Thread_Keyword
7258 static const char* apzThread_KeywordPatch[] = {
7263 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7265 * Description of Tinfo_Cplusplus fix
7267 tSCC zTinfo_CplusplusName[] =
7271 * File name selection pattern
7273 tSCC zTinfo_CplusplusList[] =
7276 * Machine/OS name selection pattern
7278 #define apzTinfo_CplusplusMachs (const char**)NULL
7281 * content selection pattern - do fix if pattern found
7283 tSCC zTinfo_CplusplusSelect0[] =
7286 #define TINFO_CPLUSPLUS_TEST_CT 1
7287 static tTestDesc aTinfo_CplusplusTests[] = {
7288 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7291 * Fix Command Arguments for Tinfo_Cplusplus
7293 static const char* apzTinfo_CplusplusPatch[] = {
7298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7300 * Description of Ultrix_Atexit_Param fix
7302 tSCC zUltrix_Atexit_ParamName[] =
7303 "ultrix_atexit_param";
7306 * File name selection pattern
7308 tSCC zUltrix_Atexit_ParamList[] =
7311 * Machine/OS name selection pattern
7313 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
7316 * content selection pattern - do fix if pattern found
7318 tSCC zUltrix_Atexit_ParamSelect0[] =
7319 "atexit\\(.*\\(\\)";
7321 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
7322 static tTestDesc aUltrix_Atexit_ParamTests[] = {
7323 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
7326 * Fix Command Arguments for Ultrix_Atexit_Param
7328 static const char* apzUltrix_Atexit_ParamPatch[] = {
7330 "atexit( void (*__func)( void )",
7333 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7335 * Description of Ultrix_Atof_Param fix
7337 tSCC zUltrix_Atof_ParamName[] =
7338 "ultrix_atof_param";
7341 * File name selection pattern
7343 tSCC zUltrix_Atof_ParamList[] =
7346 * Machine/OS name selection pattern
7348 #define apzUltrix_Atof_ParamMachs (const char**)NULL
7351 * content selection pattern - do fix if pattern found
7353 tSCC zUltrix_Atof_ParamSelect0[] =
7354 "atof\\([ \t]*char";
7356 #define ULTRIX_ATOF_PARAM_TEST_CT 1
7357 static tTestDesc aUltrix_Atof_ParamTests[] = {
7358 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
7361 * Fix Command Arguments for Ultrix_Atof_Param
7363 static const char* apzUltrix_Atof_ParamPatch[] = {
7368 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7370 * Description of Ultrix_Const fix
7372 tSCC zUltrix_ConstName[] =
7376 * File name selection pattern
7378 tSCC zUltrix_ConstList[] =
7381 * Machine/OS name selection pattern
7383 #define apzUltrix_ConstMachs (const char**)NULL
7386 * content selection pattern - do fix if pattern found
7388 tSCC zUltrix_ConstSelect0[] =
7389 "perror\\( char \\*";
7391 #define ULTRIX_CONST_TEST_CT 1
7392 static tTestDesc aUltrix_ConstTests[] = {
7393 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7396 * Fix Command Arguments for Ultrix_Const
7398 static const char* apzUltrix_ConstPatch[] = {
7401 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7404 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7406 * Description of Ultrix_Const2 fix
7408 tSCC zUltrix_Const2Name[] =
7412 * File name selection pattern
7414 tSCC zUltrix_Const2List[] =
7417 * Machine/OS name selection pattern
7419 #define apzUltrix_Const2Machs (const char**)NULL
7422 * content selection pattern - do fix if pattern found
7424 tSCC zUltrix_Const2Select0[] =
7425 "\\*fopen\\( char \\*";
7427 #define ULTRIX_CONST2_TEST_CT 1
7428 static tTestDesc aUltrix_Const2Tests[] = {
7429 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7432 * Fix Command Arguments for Ultrix_Const2
7434 static const char* apzUltrix_Const2Patch[] = {
7436 "%1( const char *%3, const char *",
7437 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7442 * Description of Ultrix_Const3 fix
7444 tSCC zUltrix_Const3Name[] =
7448 * File name selection pattern
7450 tSCC zUltrix_Const3List[] =
7453 * Machine/OS name selection pattern
7455 #define apzUltrix_Const3Machs (const char**)NULL
7458 * content selection pattern - do fix if pattern found
7460 tSCC zUltrix_Const3Select0[] =
7461 "fdopen\\( .*, char \\*";
7463 #define ULTRIX_CONST3_TEST_CT 1
7464 static tTestDesc aUltrix_Const3Tests[] = {
7465 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
7468 * Fix Command Arguments for Ultrix_Const3
7470 static const char* apzUltrix_Const3Patch[] = {
7473 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
7476 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7478 * Description of Ultrix_Fix_Fixproto fix
7480 tSCC zUltrix_Fix_FixprotoName[] =
7481 "ultrix_fix_fixproto";
7484 * File name selection pattern
7486 tSCC zUltrix_Fix_FixprotoList[] =
7489 * Machine/OS name selection pattern
7491 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
7494 * content selection pattern - do fix if pattern found
7496 tSCC zUltrix_Fix_FixprotoSelect0[] =
7499 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
7500 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
7501 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
7504 * Fix Command Arguments for Ultrix_Fix_Fixproto
7506 static const char* apzUltrix_Fix_FixprotoPatch[] = {
7510 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
7513 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7515 * Description of Ultrix_Ifdef fix
7517 tSCC zUltrix_IfdefName[] =
7521 * File name selection pattern
7523 tSCC zUltrix_IfdefList[] =
7526 * Machine/OS name selection pattern
7528 #define apzUltrix_IfdefMachs (const char**)NULL
7531 * content selection pattern - do fix if pattern found
7533 tSCC zUltrix_IfdefSelect0[] =
7534 "^#ifdef KERNEL[ \t]+&&";
7536 #define ULTRIX_IFDEF_TEST_CT 1
7537 static tTestDesc aUltrix_IfdefTests[] = {
7538 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
7541 * Fix Command Arguments for Ultrix_Ifdef
7543 static const char* apzUltrix_IfdefPatch[] = {
7545 "#if defined(KERNEL) &&",
7548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7550 * Description of Ultrix_Locale fix
7552 tSCC zUltrix_LocaleName[] =
7556 * File name selection pattern
7558 tSCC zUltrix_LocaleList[] =
7561 * Machine/OS name selection pattern
7563 #define apzUltrix_LocaleMachs (const char**)NULL
7566 * content selection pattern - do fix if pattern found
7568 tSCC zUltrix_LocaleSelect0[] =
7569 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
7571 #define ULTRIX_LOCALE_TEST_CT 1
7572 static tTestDesc aUltrix_LocaleTests[] = {
7573 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
7576 * Fix Command Arguments for Ultrix_Locale
7578 static const char* apzUltrix_LocalePatch[] = {
7582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7584 * Description of Ultrix_Math_Ifdef fix
7586 tSCC zUltrix_Math_IfdefName[] =
7587 "ultrix_math_ifdef";
7590 * File name selection pattern
7592 tSCC zUltrix_Math_IfdefList[] =
7593 "sys/limits.h\0float.h\0math.h\0";
7595 * Machine/OS name selection pattern
7597 #define apzUltrix_Math_IfdefMachs (const char**)NULL
7600 * content selection pattern - do fix if pattern found
7602 tSCC zUltrix_Math_IfdefSelect0[] =
7603 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
7605 #define ULTRIX_MATH_IFDEF_TEST_CT 1
7606 static tTestDesc aUltrix_Math_IfdefTests[] = {
7607 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
7610 * Fix Command Arguments for Ultrix_Math_Ifdef
7612 static const char* apzUltrix_Math_IfdefPatch[] = {
7617 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7619 * Description of Ultrix_Nested_Ioctl fix
7621 tSCC zUltrix_Nested_IoctlName[] =
7622 "ultrix_nested_ioctl";
7625 * File name selection pattern
7627 tSCC zUltrix_Nested_IoctlList[] =
7630 * Machine/OS name selection pattern
7632 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
7635 * content selection pattern - do fix if pattern found
7637 tSCC zUltrix_Nested_IoctlSelect0[] =
7638 "^/\\* #define SIOCSCREEN";
7640 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
7641 static tTestDesc aUltrix_Nested_IoctlTests[] = {
7642 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
7645 * Fix Command Arguments for Ultrix_Nested_Ioctl
7647 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
7648 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
7651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7653 * Description of Ultrix_Nested_Svc fix
7655 tSCC zUltrix_Nested_SvcName[] =
7656 "ultrix_nested_svc";
7659 * File name selection pattern
7661 tSCC zUltrix_Nested_SvcList[] =
7664 * Machine/OS name selection pattern
7666 #define apzUltrix_Nested_SvcMachs (const char**)NULL
7669 * content selection pattern - do fix if pattern found
7671 tSCC zUltrix_Nested_SvcSelect0[] =
7672 "^ \\*[ \t]*int protocol; */\\*";
7674 #define ULTRIX_NESTED_SVC_TEST_CT 1
7675 static tTestDesc aUltrix_Nested_SvcTests[] = {
7676 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
7679 * Fix Command Arguments for Ultrix_Nested_Svc
7681 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
7682 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
7685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7687 * Description of Ultrix_Stat fix
7689 tSCC zUltrix_StatName[] =
7693 * File name selection pattern
7695 tSCC zUltrix_StatList[] =
7698 * Machine/OS name selection pattern
7700 #define apzUltrix_StatMachs (const char**)NULL
7703 * content selection pattern - do fix if pattern found
7705 tSCC zUltrix_StatSelect0[] =
7706 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
7708 #define ULTRIX_STAT_TEST_CT 1
7709 static tTestDesc aUltrix_StatTests[] = {
7710 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
7713 * Fix Command Arguments for Ultrix_Stat
7715 static const char* apzUltrix_StatPatch[] = { "sed",
7716 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
7718 /* macro to test for symbolic link */\\\n\
7719 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
7720 "-e", "/^[ \t]*fstat(),$/a\\\n\
7724 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7726 * Description of Ultrix_Static fix
7728 tSCC zUltrix_StaticName[] =
7732 * File name selection pattern
7734 tSCC zUltrix_StaticList[] =
7737 * Machine/OS name selection pattern
7739 #define apzUltrix_StaticMachs (const char**)NULL
7742 * content selection pattern - do fix if pattern found
7744 tSCC zUltrix_StaticSelect0[] =
7745 "#include \"r[34]_cpu";
7747 #define ULTRIX_STATIC_TEST_CT 1
7748 static tTestDesc aUltrix_StaticTests[] = {
7749 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
7752 * Fix Command Arguments for Ultrix_Static
7754 static const char* apzUltrix_StaticPatch[] = { "sed",
7755 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
7756 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
7757 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
7760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7762 * Description of Ultrix_Stdlib fix
7764 tSCC zUltrix_StdlibName[] =
7768 * File name selection pattern
7770 tSCC zUltrix_StdlibList[] =
7773 * Machine/OS name selection pattern
7775 #define apzUltrix_StdlibMachs (const char**)NULL
7778 * content selection pattern - do fix if pattern found
7780 tSCC zUltrix_StdlibSelect0[] =
7781 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
7783 #define ULTRIX_STDLIB_TEST_CT 1
7784 static tTestDesc aUltrix_StdlibTests[] = {
7785 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
7788 * Fix Command Arguments for Ultrix_Stdlib
7790 static const char* apzUltrix_StdlibPatch[] = { "sed",
7791 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
7792 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
7793 void\t\tunsetenv( const char *__name );\\\n\
7794 int\t\tputenv( char *__s );\n",
7795 "-e", "/^char.*getenv();.*$/a\\\n\
7797 void\tunsetenv();\\\n\
7801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7803 * Description of Ultrix_Strings fix
7805 tSCC zUltrix_StringsName[] =
7809 * File name selection pattern
7811 tSCC zUltrix_StringsList[] =
7814 * Machine/OS name selection pattern
7816 #define apzUltrix_StringsMachs (const char**)NULL
7819 * content selection pattern - do fix if pattern found
7821 tSCC zUltrix_StringsSelect0[] =
7822 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7824 #define ULTRIX_STRINGS_TEST_CT 1
7825 static tTestDesc aUltrix_StringsTests[] = {
7826 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
7829 * Fix Command Arguments for Ultrix_Strings
7831 static const char* apzUltrix_StringsPatch[] = {
7835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7837 * Description of Ultrix_Strings2 fix
7839 tSCC zUltrix_Strings2Name[] =
7843 * File name selection pattern
7845 tSCC zUltrix_Strings2List[] =
7848 * Machine/OS name selection pattern
7850 #define apzUltrix_Strings2Machs (const char**)NULL
7853 * content selection pattern - do fix if pattern found
7855 tSCC zUltrix_Strings2Select0[] =
7856 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7858 #define ULTRIX_STRINGS2_TEST_CT 1
7859 static tTestDesc aUltrix_Strings2Tests[] = {
7860 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
7863 * Fix Command Arguments for Ultrix_Strings2
7865 static const char* apzUltrix_Strings2Patch[] = { "sed",
7866 "-e", "/^.*strncmp( const .* );.*/a\\\n\
7869 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
7870 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
7871 "-e", "/^.*strncmp();.*/a\\\n\
7873 \tstrcasecmp(),\\\n\
7874 \tstrncasecmp();\n",
7877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7879 * Description of Ultrix_Sys_Time fix
7881 tSCC zUltrix_Sys_TimeName[] =
7885 * File name selection pattern
7887 tSCC zUltrix_Sys_TimeList[] =
7890 * Machine/OS name selection pattern
7892 #define apzUltrix_Sys_TimeMachs (const char**)NULL
7895 * content selection pattern - do fix if pattern found
7897 tSCC zUltrix_Sys_TimeSelect0[] =
7898 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
7900 #define ULTRIX_SYS_TIME_TEST_CT 1
7901 static tTestDesc aUltrix_Sys_TimeTests[] = {
7902 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
7905 * Fix Command Arguments for Ultrix_Sys_Time
7907 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
7908 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
7910 extern int adjtime(struct timeval *, struct timeval *);\\\n\
7911 extern int getitimer(int, struct itimerval *);\\\n\
7912 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
7913 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
7914 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
7915 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
7916 extern int stime(const time_t *);\\\n\
7917 extern int utimes(const char *, const struct timeval[2]);\\\n\
7918 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
7919 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
7920 extern\tint adjtime();\\\n\
7921 extern\tint getitimer();\\\n\
7922 extern\tint setitimer();\\\n\
7923 extern\tint gettimeofday();\\\n\
7924 extern\tint settimeofday();\\\n\
7925 extern\tvoid profil();\\\n\
7926 extern\tint stime();\\\n\
7927 extern\tint utimes();\\\n\
7928 extern\tint select();\n",
7931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7933 * Description of Ultrix_Unistd fix
7935 tSCC zUltrix_UnistdName[] =
7939 * File name selection pattern
7941 tSCC zUltrix_UnistdList[] =
7944 * Machine/OS name selection pattern
7946 #define apzUltrix_UnistdMachs (const char**)NULL
7949 * content selection pattern - do fix if pattern found
7951 tSCC zUltrix_UnistdSelect0[] =
7952 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
7954 #define ULTRIX_UNISTD_TEST_CT 1
7955 static tTestDesc aUltrix_UnistdTests[] = {
7956 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
7959 * Fix Command Arguments for Ultrix_Unistd
7961 static const char* apzUltrix_UnistdPatch[] = { "sed",
7962 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
7963 \tgetpagesize(),\n",
7964 "-e", "/^[ \t]*fork(),.*$/a\\\n\
7968 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7970 * Description of Unicosmk_Restrict fix
7972 tSCC zUnicosmk_RestrictName[] =
7973 "unicosmk_restrict";
7976 * File name selection pattern
7978 tSCC zUnicosmk_RestrictList[] =
7979 "stdio.h\0stdlib.h\0wchar.h\0";
7981 * Machine/OS name selection pattern
7983 tSCC* apzUnicosmk_RestrictMachs[] = {
7985 (const char*)NULL };
7988 * content selection pattern - do fix if pattern found
7990 tSCC zUnicosmk_RestrictSelect0[] =
7991 "(\\*[ \t]*)restrict([ \t]+)";
7993 #define UNICOSMK_RESTRICT_TEST_CT 1
7994 static tTestDesc aUnicosmk_RestrictTests[] = {
7995 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
7998 * Fix Command Arguments for Unicosmk_Restrict
8000 static const char* apzUnicosmk_RestrictPatch[] = {
8005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8007 * Description of Uw7_Byteorder_Fix fix
8009 tSCC zUw7_Byteorder_FixName[] =
8010 "uw7_byteorder_fix";
8013 * File name selection pattern
8015 tSCC zUw7_Byteorder_FixList[] =
8018 * Machine/OS name selection pattern
8020 tSCC* apzUw7_Byteorder_FixMachs[] = {
8024 "i?86-*-solaris2.[0-4]",
8025 "powerpcle-*-solaris2.[0-4]",
8026 "sparc-*-solaris2.[0-4]",
8027 (const char*)NULL };
8030 * content selection pattern - do fix if pattern found
8032 tSCC zUw7_Byteorder_FixSelect0[] =
8036 * perform the 'test' shell command - do fix on success
8038 tSCC zUw7_Byteorder_FixTest0[] =
8039 "-f sys/byteorder.h";
8041 #define UW7_BYTEORDER_FIX_TEST_CT 2
8042 static tTestDesc aUw7_Byteorder_FixTests[] = {
8043 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
8044 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
8047 * Fix Command Arguments for Uw7_Byteorder_Fix
8049 static const char* apzUw7_Byteorder_FixPatch[] = {
8052 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
8055 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8057 * Description of Va_I960_Macro fix
8059 tSCC zVa_I960_MacroName[] =
8063 * File name selection pattern
8065 tSCC zVa_I960_MacroList[] =
8066 "arch/i960/archI960.h\0";
8068 * Machine/OS name selection pattern
8070 #define apzVa_I960_MacroMachs (const char**)NULL
8073 * content selection pattern - do fix if pattern found
8075 tSCC zVa_I960_MacroSelect0[] =
8076 "__(vsiz|vali|vpad|alignof__)";
8078 #define VA_I960_MACRO_TEST_CT 1
8079 static tTestDesc aVa_I960_MacroTests[] = {
8080 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8083 * Fix Command Arguments for Va_I960_Macro
8085 static const char* apzVa_I960_MacroPatch[] = {
8090 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8092 * Description of Void_Null fix
8094 tSCC zVoid_NullName[] =
8098 * File name selection pattern
8100 tSCC zVoid_NullList[] =
8101 "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";
8103 * Machine/OS name selection pattern
8105 #define apzVoid_NullMachs (const char**)NULL
8108 * content selection pattern - do fix if pattern found
8110 tSCC zVoid_NullSelect0[] =
8111 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8114 * content bypass pattern - skip fix if pattern found
8116 tSCC zVoid_NullBypass0[] =
8119 #define VOID_NULL_TEST_CT 2
8120 static tTestDesc aVoid_NullTests[] = {
8121 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8122 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8125 * Fix Command Arguments for Void_Null
8127 static const char* apzVoid_NullPatch[] = {
8132 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8134 * Description of Vxworks_Gcc_Problem fix
8136 tSCC zVxworks_Gcc_ProblemName[] =
8137 "vxworks_gcc_problem";
8140 * File name selection pattern
8142 tSCC zVxworks_Gcc_ProblemList[] =
8143 "types/vxTypesBase.h\0";
8145 * Machine/OS name selection pattern
8147 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8150 * content selection pattern - do fix if pattern found
8152 tSCC zVxworks_Gcc_ProblemSelect0[] =
8153 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8155 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8156 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8157 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8160 * Fix Command Arguments for Vxworks_Gcc_Problem
8162 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
8163 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8164 "-e", "/[ \t]size_t/i\\\n\
8165 #ifndef _GCC_SIZE_T\\\n\
8166 #define _GCC_SIZE_T\n",
8167 "-e", "/[ \t]size_t/a\\\n\
8169 "-e", "/[ \t]ptrdiff_t/i\\\n\
8170 #ifndef _GCC_PTRDIFF_T\\\n\
8171 #define _GCC_PTRDIFF_T\n",
8172 "-e", "/[ \t]ptrdiff_t/a\\\n\
8174 "-e", "/[ \t]wchar_t/i\\\n\
8175 #ifndef _GCC_WCHAR_T\\\n\
8176 #define _GCC_WCHAR_T\n",
8177 "-e", "/[ \t]wchar_t/a\\\n\
8181 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8183 * Description of Vxworks_Needs_Vxtypes fix
8185 tSCC zVxworks_Needs_VxtypesName[] =
8186 "vxworks_needs_vxtypes";
8189 * File name selection pattern
8191 tSCC zVxworks_Needs_VxtypesList[] =
8194 * Machine/OS name selection pattern
8196 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8199 * content selection pattern - do fix if pattern found
8201 tSCC zVxworks_Needs_VxtypesSelect0[] =
8202 "uint_t([ \t]+_clocks_per_sec)";
8204 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8205 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8206 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8209 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8211 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8218 * Description of Vxworks_Needs_Vxworks fix
8220 tSCC zVxworks_Needs_VxworksName[] =
8221 "vxworks_needs_vxworks";
8224 * File name selection pattern
8226 tSCC zVxworks_Needs_VxworksList[] =
8229 * Machine/OS name selection pattern
8231 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8234 * content selection pattern - do fix if pattern found
8236 tSCC zVxworks_Needs_VxworksSelect0[] =
8237 "#[ \t]define[ \t]+__INCstath";
8240 * perform the 'test' shell command - do fix on success
8242 tSCC zVxworks_Needs_VxworksTest0[] =
8243 " -r types/vxTypesOld.h";
8244 tSCC zVxworks_Needs_VxworksTest1[] =
8245 " -n \"`egrep '#include' $file`\"";
8246 tSCC zVxworks_Needs_VxworksTest2[] =
8247 " -n \"`egrep ULONG $file`\"";
8249 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8250 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8251 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8252 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8253 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8254 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8257 * Fix Command Arguments for Vxworks_Needs_Vxworks
8259 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
8260 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8261 #include <types/vxTypesOld.h>\n",
8264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8266 * Description of Vxworks_Time fix
8268 tSCC zVxworks_TimeName[] =
8272 * File name selection pattern
8274 tSCC zVxworks_TimeList[] =
8277 * Machine/OS name selection pattern
8279 #define apzVxworks_TimeMachs (const char**)NULL
8282 * content selection pattern - do fix if pattern found
8284 tSCC zVxworks_TimeSelect0[] =
8285 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8288 * perform the 'test' shell command - do fix on success
8290 tSCC zVxworks_TimeTest0[] =
8293 #define VXWORKS_TIME_TEST_CT 2
8294 static tTestDesc aVxworks_TimeTests[] = {
8295 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8296 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8299 * Fix Command Arguments for Vxworks_Time
8301 static const char* apzVxworks_TimePatch[] = {
8303 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8304 #ifdef __cplusplus\n\
8305 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8307 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
8309 #define __gcc_VOIDFUNCPTR_defined\n\
8311 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
8314 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8316 * Description of Windiss_Math1 fix
8318 tSCC zWindiss_Math1Name[] =
8322 * File name selection pattern
8324 tSCC zWindiss_Math1List[] =
8327 * Machine/OS name selection pattern
8329 tSCC* apzWindiss_Math1Machs[] = {
8331 (const char*)NULL };
8332 #define WINDISS_MATH1_TEST_CT 0
8333 #define aWindiss_Math1Tests (tTestDesc*)NULL
8336 * Fix Command Arguments for Windiss_Math1
8338 static const char* apzWindiss_Math1Patch[] = { "sed",
8339 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
8342 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8344 * Description of Windiss_Math2 fix
8346 tSCC zWindiss_Math2Name[] =
8350 * File name selection pattern
8352 tSCC zWindiss_Math2List[] =
8355 * Machine/OS name selection pattern
8357 tSCC* apzWindiss_Math2Machs[] = {
8359 (const char*)NULL };
8360 #define WINDISS_MATH2_TEST_CT 0
8361 #define aWindiss_Math2Tests (tTestDesc*)NULL
8364 * Fix Command Arguments for Windiss_Math2
8366 static const char* apzWindiss_Math2Patch[] = { "sed",
8367 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
8370 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8372 * Description of Windiss_Valist fix
8374 tSCC zWindiss_ValistName[] =
8378 * File name selection pattern
8380 #define zWindiss_ValistList (char*)NULL
8382 * Machine/OS name selection pattern
8384 tSCC* apzWindiss_ValistMachs[] = {
8386 (const char*)NULL };
8389 * content selection pattern - do fix if pattern found
8391 tSCC zWindiss_ValistSelect0[] =
8392 "(#include.*)diab/va_list.h";
8394 #define WINDISS_VALIST_TEST_CT 1
8395 static tTestDesc aWindiss_ValistTests[] = {
8396 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
8399 * Fix Command Arguments for Windiss_Valist
8401 static const char* apzWindiss_ValistPatch[] = { "sed",
8402 "-e", "s|diab/va_list.h|stdarg.h|",
8405 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8407 * Description of X11_Class fix
8409 tSCC zX11_ClassName[] =
8413 * File name selection pattern
8415 tSCC zX11_ClassList[] =
8418 * Machine/OS name selection pattern
8420 #define apzX11_ClassMachs (const char**)NULL
8423 * content selection pattern - do fix if pattern found
8425 tSCC zX11_ClassSelect0[] =
8426 "^([ \t]*char \\*)class;(.*)";
8429 * content bypass pattern - skip fix if pattern found
8431 tSCC zX11_ClassBypass0[] =
8434 #define X11_CLASS_TEST_CT 2
8435 static tTestDesc aX11_ClassTests[] = {
8436 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8437 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8440 * Fix Command Arguments for X11_Class
8442 static const char* apzX11_ClassPatch[] = {
8444 "#ifdef __cplusplus\n\
8451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8453 * Description of X11_Class_Usage fix
8455 tSCC zX11_Class_UsageName[] =
8459 * File name selection pattern
8461 tSCC zX11_Class_UsageList[] =
8462 "Xm/BaseClassI.h\0";
8464 * Machine/OS name selection pattern
8466 #define apzX11_Class_UsageMachs (const char**)NULL
8469 * content selection pattern - do fix if pattern found
8471 tSCC zX11_Class_UsageSelect0[] =
8475 * content bypass pattern - skip fix if pattern found
8477 tSCC zX11_Class_UsageBypass0[] =
8480 #define X11_CLASS_USAGE_TEST_CT 2
8481 static tTestDesc aX11_Class_UsageTests[] = {
8482 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8483 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8486 * Fix Command Arguments for X11_Class_Usage
8488 static const char* apzX11_Class_UsagePatch[] = {
8493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8495 * Description of X11_New fix
8497 tSCC zX11_NewName[] =
8501 * File name selection pattern
8503 tSCC zX11_NewList[] =
8506 * Machine/OS name selection pattern
8508 #define apzX11_NewMachs (const char**)NULL
8511 * content bypass pattern - skip fix if pattern found
8513 tSCC zX11_NewBypass0[] =
8516 #define X11_NEW_TEST_CT 1
8517 static tTestDesc aX11_NewTests[] = {
8518 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8521 * Fix Command Arguments for X11_New
8523 static const char* apzX11_NewPatch[] = { "sed",
8524 "-e", "/Widget\told, new;/i\\\n\
8525 #ifdef __cplusplus\\\n\
8526 \tWidget\told, c_new;\\\n\
8528 "-e", "/Widget\told, new;/a\\\n\
8530 "-e", "s/Widget new,/Widget c_new,/g",
8533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8535 * Description of X11_Sprintf fix
8537 tSCC zX11_SprintfName[] =
8541 * File name selection pattern
8543 tSCC zX11_SprintfList[] =
8544 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
8546 * Machine/OS name selection pattern
8548 #define apzX11_SprintfMachs (const char**)NULL
8551 * content selection pattern - do fix if pattern found
8553 tSCC zX11_SprintfSelect0[] =
8554 "^extern char \\*\tsprintf\\(\\);$";
8556 #define X11_SPRINTF_TEST_CT 1
8557 static tTestDesc aX11_SprintfTests[] = {
8558 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8561 * Fix Command Arguments for X11_Sprintf
8563 static const char* apzX11_SprintfPatch[] = {
8565 "#ifndef __STDC__\n\
8567 #endif /* !defined __STDC__ */",
8571 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8575 #define REGEX_COUNT 254
8576 #define MACH_LIST_SIZE_LIMIT 261
8577 #define FIX_COUNT 211
8580 * Enumerate the fixes
8583 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8584 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8585 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8586 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8587 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8588 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8589 AAB_SUN_MEMCPY_FIXIDX,
8590 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
8591 AAB_ULTRIX_LIMITS_FIXIDX,
8592 AAB_ULTRIX_MEMORY_FIXIDX,
8593 AAB_ULTRIX_STRING_FIXIDX,
8595 AIX_SYSMACHINE_FIXIDX,
8597 AIX_SYSWAIT_2_FIXIDX,
8598 AIX_VOLATILE_FIXIDX,
8599 ALPHA___ASSERT_FIXIDX,
8600 ALPHA___EXTERN_PREFIX_FIXIDX,
8601 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
8602 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
8603 ALPHA_ASSERT_FIXIDX,
8604 ALPHA_BAD_LVAL_FIXIDX,
8605 ALPHA_GETOPT_FIXIDX,
8606 ALPHA_PARENS_FIXIDX,
8607 ALPHA_PTHREAD_FIXIDX,
8608 ALPHA_PTHREAD_GCC_FIXIDX,
8609 ALPHA_PTHREAD_INIT_FIXIDX,
8612 AVOID_BOOL_DEFINE_FIXIDX,
8613 AVOID_BOOL_TYPE_FIXIDX,
8614 AVOID_WCHAR_T_TYPE_FIXIDX,
8615 BAD_STRUCT_TERM_FIXIDX,
8617 BROKEN_ASSERT_STDIO_FIXIDX,
8618 BROKEN_ASSERT_STDLIB_FIXIDX,
8621 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8622 CTRL_QUOTES_DEF_FIXIDX,
8623 CTRL_QUOTES_USE_FIXIDX,
8625 DARWIN_EXTERNC_FIXIDX,
8626 DARWIN_GCC4_BREAKAGE_FIXIDX,
8627 DARWIN_PRIVATE_EXTERN_FIXIDX,
8628 DEC_INTERN_ASM_FIXIDX,
8629 DJGPP_WCHAR_H_FIXIDX,
8631 EXCEPTION_STRUCTURE_FIXIDX,
8632 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8633 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8634 GLIBC_C99_INLINE_1_FIXIDX,
8635 GLIBC_C99_INLINE_1A_FIXIDX,
8636 GLIBC_C99_INLINE_2_FIXIDX,
8637 GLIBC_C99_INLINE_3_FIXIDX,
8638 GLIBC_C99_INLINE_4_FIXIDX,
8639 GLIBC_MUTEX_INIT_FIXIDX,
8643 HPUX10_CPP_POW_INLINE_FIXIDX,
8644 HPUX11_CPP_POW_INLINE_FIXIDX,
8645 HPPA_HPUX_FP_MACROS_FIXIDX,
8646 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8647 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8648 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8650 HPUX11_FABSF_FIXIDX,
8651 HPUX11_SIZE_T_FIXIDX,
8652 HPUX11_SNPRINTF_FIXIDX,
8653 HPUX11_UINT32_C_FIXIDX,
8654 HPUX11_VSNPRINTF_FIXIDX,
8655 HPUX8_BOGUS_INLINES_FIXIDX,
8656 HPUX_CTYPE_MACROS_FIXIDX,
8658 HPUX_LONG_DOUBLE_FIXIDX,
8659 HPUX_SYSTIME_FIXIDX,
8660 HPUX_SPU_INFO_FIXIDX,
8661 HPUX11_EXTERN_SENDFILE_FIXIDX,
8662 HPUX11_EXTERN_SENDPATH_FIXIDX,
8663 HPUX_EXTERN_ERRNO_FIXIDX,
8664 HPUX11_PTHREAD_CONST_FIXIDX,
8665 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8666 HUGE_VAL_HEX_FIXIDX,
8667 HUGE_VALF_HEX_FIXIDX,
8668 HUGE_VALL_HEX_FIXIDX,
8669 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8670 IO_QUOTES_DEF_FIXIDX,
8671 IO_QUOTES_USE_FIXIDX,
8672 IP_MISSING_SEMI_FIXIDX,
8673 IRIX___RESTRICT_FIXIDX,
8674 IRIX___GENERIC1_FIXIDX,
8675 IRIX___GENERIC2_FIXIDX,
8676 IRIX_ASM_APOSTROPHE_FIXIDX,
8677 IRIX_LIMITS_CONST_FIXIDX,
8678 IRIX_SOCKLEN_T_FIXIDX,
8679 IRIX_STDINT_C99_FIXIDX,
8680 IRIX_STDIO_VA_LIST_FIXIDX,
8681 IRIX_WCSFTIME_FIXIDX,
8683 ISC_OMITS_WITH_STDC_FIXIDX,
8684 KANDR_CONCAT_FIXIDX,
8685 LIBC1_G_VA_LIST_FIXIDX,
8686 LIBC1_IFDEFD_MEMX_FIXIDX,
8687 LINUX_IA64_UCONTEXT_FIXIDX,
8688 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8689 LYNXOS_MISSING_PUTENV_FIXIDX,
8690 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8691 MACHINE_NAME_FIXIDX,
8692 MATH_EXCEPTION_FIXIDX,
8693 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8694 NESTED_AUTH_DES_FIXIDX,
8695 NESTED_MOTOROLA_FIXIDX,
8696 NESTED_SYS_LIMITS_FIXIDX,
8697 NETBSD_C99_INLINE_1_FIXIDX,
8698 NETBSD_C99_INLINE_2_FIXIDX,
8699 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8700 NEXT_MATH_PREFIX_FIXIDX,
8701 NEXT_TEMPLATE_FIXIDX,
8702 NEXT_VOLITILE_FIXIDX,
8703 NEXT_WAIT_UNION_FIXIDX,
8704 NODEENT_SYNTAX_FIXIDX,
8705 OBSTACK_LVALUE_CAST_FIXIDX,
8706 OSF_NAMESPACE_A_FIXIDX,
8707 OSF_NAMESPACE_C_FIXIDX,
8708 PTHREAD_PAGE_SIZE_FIXIDX,
8709 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8710 READ_RET_TYPE_FIXIDX,
8711 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8712 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8713 RS6000_DOUBLE_FIXIDX,
8714 RS6000_FCHMOD_FIXIDX,
8715 RS6000_PARAM_FIXIDX,
8718 SCO_STATIC_FUNC_FIXIDX,
8720 SOLARIS_MATH_1_FIXIDX,
8721 SOLARIS_MATH_2_FIXIDX,
8722 SOLARIS_MATH_3_FIXIDX,
8723 SOLARIS_MATH_4_FIXIDX,
8724 SOLARIS_MATH_8_FIXIDX,
8725 SOLARIS_MATH_9_FIXIDX,
8726 SOLARIS_MUTEX_INIT_1_FIXIDX,
8727 SOLARIS_MUTEX_INIT_2_FIXIDX,
8728 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8729 SOLARIS_ONCE_INIT_1_FIXIDX,
8730 SOLARIS_ONCE_INIT_2_FIXIDX,
8731 SOLARIS_SOCKET_FIXIDX,
8732 SOLARIS_STDIO_TAG_FIXIDX,
8733 SOLARIS_UNISTD_FIXIDX,
8734 SOLARIS_WIDEC_FIXIDX,
8736 STDIO_STDARG_H_FIXIDX,
8737 STDIO_VA_LIST_FIXIDX,
8738 STDIO_VA_LIST_CLIENTS_FIXIDX,
8739 STRICT_ANSI_NOT_FIXIDX,
8740 STRICT_ANSI_NOT_CTD_FIXIDX,
8741 STRICT_ANSI_ONLY_FIXIDX,
8743 STRUCT_SOCKADDR_FIXIDX,
8744 SUN_AUTH_PROTO_FIXIDX,
8745 SUN_BOGUS_IFDEF_FIXIDX,
8746 SUN_CATMACRO_FIXIDX,
8748 SUN_RUSERS_SEMI_FIXIDX,
8750 SUNOS_STRLEN_FIXIDX,
8751 SVR4_DISABLE_OPT_FIXIDX,
8755 SVR4_SIGHANDLER_TYPE_FIXIDX,
8756 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8757 SYSV68_STRING_FIXIDX,
8758 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8759 THREAD_KEYWORD_FIXIDX,
8760 TINFO_CPLUSPLUS_FIXIDX,
8761 ULTRIX_ATEXIT_PARAM_FIXIDX,
8762 ULTRIX_ATOF_PARAM_FIXIDX,
8763 ULTRIX_CONST_FIXIDX,
8764 ULTRIX_CONST2_FIXIDX,
8765 ULTRIX_CONST3_FIXIDX,
8766 ULTRIX_FIX_FIXPROTO_FIXIDX,
8767 ULTRIX_IFDEF_FIXIDX,
8768 ULTRIX_LOCALE_FIXIDX,
8769 ULTRIX_MATH_IFDEF_FIXIDX,
8770 ULTRIX_NESTED_IOCTL_FIXIDX,
8771 ULTRIX_NESTED_SVC_FIXIDX,
8773 ULTRIX_STATIC_FIXIDX,
8774 ULTRIX_STDLIB_FIXIDX,
8775 ULTRIX_STRINGS_FIXIDX,
8776 ULTRIX_STRINGS2_FIXIDX,
8777 ULTRIX_SYS_TIME_FIXIDX,
8778 ULTRIX_UNISTD_FIXIDX,
8779 UNICOSMK_RESTRICT_FIXIDX,
8780 UW7_BYTEORDER_FIX_FIXIDX,
8781 VA_I960_MACRO_FIXIDX,
8783 VXWORKS_GCC_PROBLEM_FIXIDX,
8784 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8785 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8786 VXWORKS_TIME_FIXIDX,
8787 WINDISS_MATH1_FIXIDX,
8788 WINDISS_MATH2_FIXIDX,
8789 WINDISS_VALIST_FIXIDX,
8791 X11_CLASS_USAGE_FIXIDX,
8796 tFixDesc fixDescList[ FIX_COUNT ] = {
8797 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8798 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8799 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8800 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8802 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8803 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8804 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8805 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8807 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8808 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8809 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8810 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8812 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8813 apzAab_Fd_Zero_Gnu_Types_HMachs,
8814 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8815 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8817 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8818 apzAab_Fd_Zero_Selectbits_HMachs,
8819 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8820 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8822 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8823 apzAab_Solaris_Sys_Varargs_HMachs,
8824 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8825 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8827 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8828 apzAab_Sun_MemcpyMachs,
8829 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8830 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8832 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
8833 apzAab_Ultrix_Ansi_CompatMachs,
8834 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8835 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
8837 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
8838 apzAab_Ultrix_LimitsMachs,
8839 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8840 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
8842 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
8843 apzAab_Ultrix_MemoryMachs,
8844 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8845 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
8847 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
8848 apzAab_Ultrix_StringMachs,
8849 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8850 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
8852 { zAix_PthreadName, zAix_PthreadList,
8853 apzAix_PthreadMachs,
8854 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8855 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8857 { zAix_SysmachineName, zAix_SysmachineList,
8858 apzAix_SysmachineMachs,
8859 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8860 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8862 { zAix_SyswaitName, zAix_SyswaitList,
8863 apzAix_SyswaitMachs,
8864 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8865 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
8867 { zAix_Syswait_2Name, zAix_Syswait_2List,
8868 apzAix_Syswait_2Machs,
8869 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8870 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8872 { zAix_VolatileName, zAix_VolatileList,
8873 apzAix_VolatileMachs,
8874 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8875 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8877 { zAlpha___AssertName, zAlpha___AssertList,
8878 apzAlpha___AssertMachs,
8879 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8880 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8882 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8883 apzAlpha___Extern_PrefixMachs,
8884 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8885 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8887 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8888 apzAlpha___Extern_Prefix_StandardsMachs,
8889 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8890 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8892 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8893 apzAlpha___Extern_Prefix_Sys_StatMachs,
8894 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8895 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8897 { zAlpha_AssertName, zAlpha_AssertList,
8898 apzAlpha_AssertMachs,
8899 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8900 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8902 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8903 apzAlpha_Bad_LvalMachs,
8904 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8905 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8907 { zAlpha_GetoptName, zAlpha_GetoptList,
8908 apzAlpha_GetoptMachs,
8909 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8910 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8912 { zAlpha_ParensName, zAlpha_ParensList,
8913 apzAlpha_ParensMachs,
8914 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8915 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8917 { zAlpha_PthreadName, zAlpha_PthreadList,
8918 apzAlpha_PthreadMachs,
8919 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8920 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8922 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8923 apzAlpha_Pthread_GccMachs,
8924 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8925 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8927 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8928 apzAlpha_Pthread_InitMachs,
8929 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8930 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8932 { zAlpha_SbrkName, zAlpha_SbrkList,
8934 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8935 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8937 { zAlpha_WcharName, zAlpha_WcharList,
8938 apzAlpha_WcharMachs,
8939 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8940 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8942 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8943 apzAvoid_Bool_DefineMachs,
8944 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8945 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8947 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8948 apzAvoid_Bool_TypeMachs,
8949 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8950 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
8952 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
8953 apzAvoid_Wchar_T_TypeMachs,
8954 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8955 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
8957 { zBad_Struct_TermName, zBad_Struct_TermList,
8958 apzBad_Struct_TermMachs,
8959 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8960 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
8962 { zBadquoteName, zBadquoteList,
8964 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8965 aBadquoteTests, apzBadquotePatch, 0 },
8967 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
8968 apzBroken_Assert_StdioMachs,
8969 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8970 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
8972 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
8973 apzBroken_Assert_StdlibMachs,
8974 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8975 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
8977 { zBroken_CabsName, zBroken_CabsList,
8978 apzBroken_CabsMachs,
8979 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
8980 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
8982 { zBroken_NanName, zBroken_NanList,
8984 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8985 aBroken_NanTests, apzBroken_NanPatch, 0 },
8987 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
8988 apzBsd_Stdio_Attrs_ConflictMachs,
8989 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8990 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
8992 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
8993 apzCtrl_Quotes_DefMachs,
8994 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8995 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
8997 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
8998 apzCtrl_Quotes_UseMachs,
8999 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9000 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
9002 { zCxx_UnreadyName, zCxx_UnreadyList,
9003 apzCxx_UnreadyMachs,
9004 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9005 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
9007 { zDarwin_ExterncName, zDarwin_ExterncList,
9008 apzDarwin_ExterncMachs,
9009 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9010 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
9012 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
9013 apzDarwin_Gcc4_BreakageMachs,
9014 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9015 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
9017 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
9018 apzDarwin_Private_ExternMachs,
9019 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9020 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
9022 { zDec_Intern_AsmName, zDec_Intern_AsmList,
9023 apzDec_Intern_AsmMachs,
9024 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
9025 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
9027 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
9028 apzDjgpp_Wchar_HMachs,
9029 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9030 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
9032 { zEcd_CursorName, zEcd_CursorList,
9034 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9035 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
9037 { zException_StructureName, zException_StructureList,
9038 apzException_StructureMachs,
9039 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9040 aException_StructureTests, apzException_StructurePatch, 0 },
9042 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
9043 apzFreebsd_Gcc3_BreakageMachs,
9044 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9045 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
9047 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
9048 apzFreebsd_Gcc4_BreakageMachs,
9049 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9050 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
9052 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
9053 apzGlibc_C99_Inline_1Machs,
9054 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9055 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
9057 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
9058 apzGlibc_C99_Inline_1aMachs,
9059 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9060 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
9062 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
9063 apzGlibc_C99_Inline_2Machs,
9064 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
9065 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
9067 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
9068 apzGlibc_C99_Inline_3Machs,
9069 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9070 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
9072 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
9073 apzGlibc_C99_Inline_4Machs,
9074 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9075 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
9077 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
9078 apzGlibc_Mutex_InitMachs,
9079 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
9080 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
9082 { zGnu_TypesName, zGnu_TypesList,
9084 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9085 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
9087 { zHp_InlineName, zHp_InlineList,
9089 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9090 aHp_InlineTests, apzHp_InlinePatch, 0 },
9092 { zHp_SysfileName, zHp_SysfileList,
9094 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9095 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
9097 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
9098 apzHpux10_Cpp_Pow_InlineMachs,
9099 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9100 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
9102 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
9103 apzHpux11_Cpp_Pow_InlineMachs,
9104 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9105 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
9107 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
9108 apzHppa_Hpux_Fp_MacrosMachs,
9109 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9110 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
9112 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
9113 apzHpux10_Ctype_Declarations1Machs,
9114 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9115 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
9117 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
9118 apzHpux10_Ctype_Declarations2Machs,
9119 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9120 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
9122 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
9123 apzHpux10_Stdio_DeclarationsMachs,
9124 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9125 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
9127 { zHpux11_AbsName, zHpux11_AbsList,
9129 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9130 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
9132 { zHpux11_FabsfName, zHpux11_FabsfList,
9133 apzHpux11_FabsfMachs,
9134 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9135 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
9137 { zHpux11_Size_TName, zHpux11_Size_TList,
9138 apzHpux11_Size_TMachs,
9139 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9140 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
9142 { zHpux11_SnprintfName, zHpux11_SnprintfList,
9143 apzHpux11_SnprintfMachs,
9144 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9145 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
9147 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
9148 apzHpux11_Uint32_CMachs,
9149 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9150 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
9152 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
9153 apzHpux11_VsnprintfMachs,
9154 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9155 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
9157 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
9158 apzHpux8_Bogus_InlinesMachs,
9159 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
9160 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
9162 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
9163 apzHpux_Ctype_MacrosMachs,
9164 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9165 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
9167 { zHpux_HtonlName, zHpux_HtonlList,
9169 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9170 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
9172 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
9173 apzHpux_Long_DoubleMachs,
9174 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
9175 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
9177 { zHpux_SystimeName, zHpux_SystimeList,
9178 apzHpux_SystimeMachs,
9179 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9180 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
9182 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
9183 apzHpux_Spu_InfoMachs,
9184 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9185 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
9187 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
9188 apzHpux11_Extern_SendfileMachs,
9189 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9190 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
9192 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
9193 apzHpux11_Extern_SendpathMachs,
9194 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9195 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
9197 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
9198 apzHpux_Extern_ErrnoMachs,
9199 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9200 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
9202 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
9203 apzHpux11_Pthread_ConstMachs,
9204 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9205 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
9207 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
9208 apzHpux_Pthread_InitializersMachs,
9209 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
9210 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
9212 { zHuge_Val_HexName, zHuge_Val_HexList,
9213 apzHuge_Val_HexMachs,
9214 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9215 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
9217 { zHuge_Valf_HexName, zHuge_Valf_HexList,
9218 apzHuge_Valf_HexMachs,
9219 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9220 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
9222 { zHuge_Vall_HexName, zHuge_Vall_HexList,
9223 apzHuge_Vall_HexMachs,
9224 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9225 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
9227 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
9228 apzInt_Abort_Free_And_ExitMachs,
9229 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9230 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
9232 { zIo_Quotes_DefName, zIo_Quotes_DefList,
9233 apzIo_Quotes_DefMachs,
9234 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9235 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
9237 { zIo_Quotes_UseName, zIo_Quotes_UseList,
9238 apzIo_Quotes_UseMachs,
9239 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9240 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
9242 { zIp_Missing_SemiName, zIp_Missing_SemiList,
9243 apzIp_Missing_SemiMachs,
9244 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
9245 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
9247 { zIrix___RestrictName, zIrix___RestrictList,
9248 apzIrix___RestrictMachs,
9249 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9250 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
9252 { zIrix___Generic1Name, zIrix___Generic1List,
9253 apzIrix___Generic1Machs,
9254 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9255 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
9257 { zIrix___Generic2Name, zIrix___Generic2List,
9258 apzIrix___Generic2Machs,
9259 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9260 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
9262 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
9263 apzIrix_Asm_ApostropheMachs,
9264 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9265 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
9267 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
9268 apzIrix_Limits_ConstMachs,
9269 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9270 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
9272 { zIrix_Socklen_TName, zIrix_Socklen_TList,
9273 apzIrix_Socklen_TMachs,
9274 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9275 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
9277 { zIrix_Stdint_C99Name, zIrix_Stdint_C99List,
9278 apzIrix_Stdint_C99Machs,
9279 IRIX_STDINT_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9280 aIrix_Stdint_C99Tests, apzIrix_Stdint_C99Patch, 0 },
9282 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
9283 apzIrix_Stdio_Va_ListMachs,
9284 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9285 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
9287 { zIrix_WcsftimeName, zIrix_WcsftimeList,
9288 apzIrix_WcsftimeMachs,
9289 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9290 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
9292 { zIsc_FmodName, zIsc_FmodList,
9294 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9295 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
9297 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
9298 apzIsc_Omits_With_StdcMachs,
9299 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9300 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
9302 { zKandr_ConcatName, zKandr_ConcatList,
9303 apzKandr_ConcatMachs,
9304 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9305 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
9307 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
9308 apzLibc1_G_Va_ListMachs,
9309 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9310 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
9312 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
9313 apzLibc1_Ifdefd_MemxMachs,
9314 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9315 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
9317 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
9318 apzLinux_Ia64_UcontextMachs,
9319 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9320 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
9322 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
9323 apzLynxos_No_Warning_In_Sys_Time_HMachs,
9324 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9325 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
9327 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
9328 apzLynxos_Missing_PutenvMachs,
9329 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9330 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
9332 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
9333 apzMachine_Ansi_H_Va_ListMachs,
9334 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9335 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
9337 { zMachine_NameName, zMachine_NameList,
9338 apzMachine_NameMachs,
9339 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9340 aMachine_NameTests, apzMachine_NamePatch, 0 },
9342 { zMath_ExceptionName, zMath_ExceptionList,
9343 apzMath_ExceptionMachs,
9344 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9345 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
9347 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
9348 apzMath_Huge_Val_From_Dbl_MaxMachs,
9349 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
9350 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
9352 { zNested_Auth_DesName, zNested_Auth_DesList,
9353 apzNested_Auth_DesMachs,
9354 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9355 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9357 { zNested_MotorolaName, zNested_MotorolaList,
9358 apzNested_MotorolaMachs,
9359 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
9360 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
9362 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
9363 apzNested_Sys_LimitsMachs,
9364 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
9365 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
9367 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
9368 apzNetbsd_C99_Inline_1Machs,
9369 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9370 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
9372 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
9373 apzNetbsd_C99_Inline_2Machs,
9374 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9375 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
9377 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9378 apzNetbsd_Extra_SemicolonMachs,
9379 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9380 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9382 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9383 apzNext_Math_PrefixMachs,
9384 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9385 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9387 { zNext_TemplateName, zNext_TemplateList,
9388 apzNext_TemplateMachs,
9389 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9390 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9392 { zNext_VolitileName, zNext_VolitileList,
9393 apzNext_VolitileMachs,
9394 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9395 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9397 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9398 apzNext_Wait_UnionMachs,
9399 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9400 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9402 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9403 apzNodeent_SyntaxMachs,
9404 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9405 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9407 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9408 apzObstack_Lvalue_CastMachs,
9409 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9410 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9412 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9413 apzOsf_Namespace_AMachs,
9414 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9415 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9417 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9418 apzOsf_Namespace_CMachs,
9419 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9420 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9422 { zPthread_Page_SizeName, zPthread_Page_SizeList,
9423 apzPthread_Page_SizeMachs,
9424 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9425 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
9427 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9428 apzPthread_Incomplete_Struct_ArgumentMachs,
9429 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9430 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9432 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9433 apzRead_Ret_TypeMachs,
9434 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9435 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9437 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9438 apzRpc_Xdr_Lvalue_Cast_AMachs,
9439 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9440 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9442 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9443 apzRpc_Xdr_Lvalue_Cast_BMachs,
9444 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9445 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9447 { zRs6000_DoubleName, zRs6000_DoubleList,
9448 apzRs6000_DoubleMachs,
9449 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9450 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9452 { zRs6000_FchmodName, zRs6000_FchmodList,
9453 apzRs6000_FchmodMachs,
9454 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9455 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9457 { zRs6000_ParamName, zRs6000_ParamList,
9458 apzRs6000_ParamMachs,
9459 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9460 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9462 { zSco_MathName, zSco_MathList,
9464 SCO_MATH_TEST_CT, FD_MACH_ONLY,
9465 aSco_MathTests, apzSco_MathPatch, 0 },
9467 { zSco_RegsetName, zSco_RegsetList,
9469 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9470 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
9472 { zSco_Static_FuncName, zSco_Static_FuncList,
9473 apzSco_Static_FuncMachs,
9474 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
9475 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
9477 { zSco_UtimeName, zSco_UtimeList,
9479 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9480 aSco_UtimeTests, apzSco_UtimePatch, 0 },
9482 { zSolaris_Math_1Name, zSolaris_Math_1List,
9483 apzSolaris_Math_1Machs,
9484 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9485 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9487 { zSolaris_Math_2Name, zSolaris_Math_2List,
9488 apzSolaris_Math_2Machs,
9489 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9490 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9492 { zSolaris_Math_3Name, zSolaris_Math_3List,
9493 apzSolaris_Math_3Machs,
9494 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9495 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9497 { zSolaris_Math_4Name, zSolaris_Math_4List,
9498 apzSolaris_Math_4Machs,
9499 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9500 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9502 { zSolaris_Math_8Name, zSolaris_Math_8List,
9503 apzSolaris_Math_8Machs,
9504 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9505 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9507 { zSolaris_Math_9Name, zSolaris_Math_9List,
9508 apzSolaris_Math_9Machs,
9509 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9510 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9512 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
9513 apzSolaris_Mutex_Init_1Machs,
9514 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
9515 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
9517 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9518 apzSolaris_Mutex_Init_2Machs,
9519 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9520 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9522 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9523 apzSolaris_Rwlock_Init_1Machs,
9524 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9525 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9527 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9528 apzSolaris_Once_Init_1Machs,
9529 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9530 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9532 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9533 apzSolaris_Once_Init_2Machs,
9534 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9535 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9537 { zSolaris_SocketName, zSolaris_SocketList,
9538 apzSolaris_SocketMachs,
9539 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9540 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
9542 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9543 apzSolaris_Stdio_TagMachs,
9544 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9545 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9547 { zSolaris_UnistdName, zSolaris_UnistdList,
9548 apzSolaris_UnistdMachs,
9549 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9550 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
9552 { zSolaris_WidecName, zSolaris_WidecList,
9553 apzSolaris_WidecMachs,
9554 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9555 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
9557 { zStatsswtchName, zStatsswtchList,
9559 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9560 aStatsswtchTests, apzStatsswtchPatch, 0 },
9562 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9563 apzStdio_Stdarg_HMachs,
9564 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9565 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9567 { zStdio_Va_ListName, zStdio_Va_ListList,
9568 apzStdio_Va_ListMachs,
9569 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9570 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9572 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9573 apzStdio_Va_List_ClientsMachs,
9574 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9575 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9577 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9578 apzStrict_Ansi_NotMachs,
9579 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9580 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9582 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9583 apzStrict_Ansi_Not_CtdMachs,
9584 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9585 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9587 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9588 apzStrict_Ansi_OnlyMachs,
9589 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9590 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9592 { zStruct_FileName, zStruct_FileList,
9593 apzStruct_FileMachs,
9594 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9595 aStruct_FileTests, apzStruct_FilePatch, 0 },
9597 { zStruct_SockaddrName, zStruct_SockaddrList,
9598 apzStruct_SockaddrMachs,
9599 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9600 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9602 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9603 apzSun_Auth_ProtoMachs,
9604 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9605 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9607 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9608 apzSun_Bogus_IfdefMachs,
9609 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9610 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9612 { zSun_CatmacroName, zSun_CatmacroList,
9613 apzSun_CatmacroMachs,
9614 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9615 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9617 { zSun_MallocName, zSun_MallocList,
9619 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9620 aSun_MallocTests, apzSun_MallocPatch, 0 },
9622 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9623 apzSun_Rusers_SemiMachs,
9624 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9625 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9627 { zSun_SignalName, zSun_SignalList,
9629 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9630 aSun_SignalTests, apzSun_SignalPatch, 0 },
9632 { zSunos_StrlenName, zSunos_StrlenList,
9633 apzSunos_StrlenMachs,
9634 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9635 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9637 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9638 apzSvr4_Disable_OptMachs,
9639 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9640 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9642 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9643 apzSvr4_GetcwdMachs,
9644 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9645 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9647 { zSvr4_KrnlName, zSvr4_KrnlList,
9649 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9650 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
9652 { zSvr4_ProfilName, zSvr4_ProfilList,
9653 apzSvr4_ProfilMachs,
9654 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9655 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9657 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9658 apzSvr4_Sighandler_TypeMachs,
9659 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9660 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9662 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9663 apzSvr4_Undeclared_GetrngeMachs,
9664 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9665 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9667 { zSysv68_StringName, zSysv68_StringList,
9668 apzSysv68_StringMachs,
9669 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9670 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9672 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9673 apzSysz_Stdlib_For_SunMachs,
9674 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9675 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9677 { zThread_KeywordName, zThread_KeywordList,
9678 apzThread_KeywordMachs,
9679 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9680 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9682 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9683 apzTinfo_CplusplusMachs,
9684 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9685 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9687 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
9688 apzUltrix_Atexit_ParamMachs,
9689 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9690 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
9692 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
9693 apzUltrix_Atof_ParamMachs,
9694 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9695 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
9697 { zUltrix_ConstName, zUltrix_ConstList,
9698 apzUltrix_ConstMachs,
9699 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9700 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9702 { zUltrix_Const2Name, zUltrix_Const2List,
9703 apzUltrix_Const2Machs,
9704 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9705 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9707 { zUltrix_Const3Name, zUltrix_Const3List,
9708 apzUltrix_Const3Machs,
9709 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9710 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
9712 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
9713 apzUltrix_Fix_FixprotoMachs,
9714 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9715 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
9717 { zUltrix_IfdefName, zUltrix_IfdefList,
9718 apzUltrix_IfdefMachs,
9719 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9720 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
9722 { zUltrix_LocaleName, zUltrix_LocaleList,
9723 apzUltrix_LocaleMachs,
9724 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9725 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
9727 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
9728 apzUltrix_Math_IfdefMachs,
9729 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9730 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
9732 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
9733 apzUltrix_Nested_IoctlMachs,
9734 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
9735 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
9737 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
9738 apzUltrix_Nested_SvcMachs,
9739 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
9740 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
9742 { zUltrix_StatName, zUltrix_StatList,
9743 apzUltrix_StatMachs,
9744 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
9745 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
9747 { zUltrix_StaticName, zUltrix_StaticList,
9748 apzUltrix_StaticMachs,
9749 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
9750 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
9752 { zUltrix_StdlibName, zUltrix_StdlibList,
9753 apzUltrix_StdlibMachs,
9754 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
9755 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
9757 { zUltrix_StringsName, zUltrix_StringsList,
9758 apzUltrix_StringsMachs,
9759 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9760 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
9762 { zUltrix_Strings2Name, zUltrix_Strings2List,
9763 apzUltrix_Strings2Machs,
9764 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
9765 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
9767 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
9768 apzUltrix_Sys_TimeMachs,
9769 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
9770 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
9772 { zUltrix_UnistdName, zUltrix_UnistdList,
9773 apzUltrix_UnistdMachs,
9774 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
9775 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
9777 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
9778 apzUnicosmk_RestrictMachs,
9779 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9780 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
9782 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
9783 apzUw7_Byteorder_FixMachs,
9784 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9785 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
9787 { zVa_I960_MacroName, zVa_I960_MacroList,
9788 apzVa_I960_MacroMachs,
9789 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9790 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9792 { zVoid_NullName, zVoid_NullList,
9794 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9795 aVoid_NullTests, apzVoid_NullPatch, 0 },
9797 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
9798 apzVxworks_Gcc_ProblemMachs,
9799 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
9800 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
9802 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
9803 apzVxworks_Needs_VxtypesMachs,
9804 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9805 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
9807 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
9808 apzVxworks_Needs_VxworksMachs,
9809 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
9810 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
9812 { zVxworks_TimeName, zVxworks_TimeList,
9813 apzVxworks_TimeMachs,
9814 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9815 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
9817 { zWindiss_Math1Name, zWindiss_Math1List,
9818 apzWindiss_Math1Machs,
9819 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
9820 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
9822 { zWindiss_Math2Name, zWindiss_Math2List,
9823 apzWindiss_Math2Machs,
9824 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
9825 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
9827 { zWindiss_ValistName, zWindiss_ValistList,
9828 apzWindiss_ValistMachs,
9829 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
9830 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
9832 { zX11_ClassName, zX11_ClassList,
9834 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9835 aX11_ClassTests, apzX11_ClassPatch, 0 },
9837 { zX11_Class_UsageName, zX11_Class_UsageList,
9838 apzX11_Class_UsageMachs,
9839 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9840 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9842 { zX11_NewName, zX11_NewList,
9844 X11_NEW_TEST_CT, FD_MACH_ONLY,
9845 aX11_NewTests, apzX11_NewPatch, 0 },
9847 { zX11_SprintfName, zX11_SprintfList,
9848 apzX11_SprintfMachs,
9849 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9850 aX11_SprintfTests, apzX11_SprintfPatch, 0 }