1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Monday February 4, 2008 at 09:22:58 PM GMTST
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Mon Feb 4 21:22:58 GMTST 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: you can redistribute it and/or modify it
26 * under the terms of the GNU General Public License as published by the
27 * Free Software Foundation, either version 3 of the License, or
28 * (at your option) any later version.
30 * inclhack is distributed in the hope that it will be useful, but
31 * WITHOUT ANY WARRANTY; without even the implied warranty of
32 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
33 * See the GNU General Public License for more details.
35 * You should have received a copy of the GNU General Public License along
36 * with this program. If not, see <http://www.gnu.org/licenses/>.
39 /* * * * * * * * * * * * * * * * * * * * * * * * * *
41 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
43 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
44 "AAB_darwin7_9_long_double_funcs";
47 * File name selection pattern
49 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
50 "architecture/ppc/math.h\0";
52 * Machine/OS name selection pattern
54 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
59 * content bypass pattern - skip fix if pattern found
61 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
64 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
65 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
66 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
69 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
71 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
72 "/* This file prototypes the long double functions available on Mac OS\n\
75 # undef __APPLE_CC__\n\
76 # define __APPLE_CC__ 1345\n\
77 # include_next <architecture/ppc/math.h>\n\
78 # undef __APPLE_CC__\n\
79 # define __APPLE_CC__ 1\n\
80 # ifndef __LIBMLDBL_COMPAT\n\
81 # ifdef __LONG_DOUBLE_128__\n\
82 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
84 # define __LIBMLDBL_COMPAT(sym)\n\
85 # endif /* __LONG_DOUBLE_128__ */\n\
86 # endif /* __LIBMLDBL_COMPAT */\n\
87 # ifdef __cplusplus\n\
90 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
91 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
92 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
93 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
94 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
95 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
96 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
97 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
98 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
99 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
100 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
101 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
102 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
103 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
104 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
105 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
106 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
107 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
108 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
109 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
110 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
111 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
112 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
113 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
114 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
115 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
116 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
117 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
118 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
119 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
120 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
121 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
122 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
123 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
124 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
125 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
126 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
127 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
128 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
129 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
130 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
131 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
132 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
133 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
134 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
135 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
136 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
137 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
138 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
139 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
140 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
141 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
142 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
143 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
144 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
145 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
146 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
147 # ifdef __cplusplus\n\
150 #endif /* __MATH__ */",
153 /* * * * * * * * * * * * * * * * * * * * * * * * * *
155 * Description of Aab_Darwin7_9_Long_Double_Funcs_2 fix
157 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
158 "AAB_darwin7_9_long_double_funcs_2";
161 * File name selection pattern
163 tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
166 * Machine/OS name selection pattern
168 tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
173 * content selection pattern - do fix if pattern found
175 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
176 "#include[ \\t]+\\\"";
178 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
179 static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
180 { TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
183 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
185 static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
188 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
191 /* * * * * * * * * * * * * * * * * * * * * * * * * *
193 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
195 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
196 "AAB_fd_zero_asm_posix_types_h";
199 * File name selection pattern
201 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
202 "asm/posix_types.h\0";
204 * Machine/OS name selection pattern
206 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
207 "i[34567]86-*-linux*",
211 * content bypass pattern - skip fix if pattern found
213 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
215 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
218 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 2
219 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
220 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
221 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL }, };
224 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
226 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
227 "/* This file fixes a bug in the __FD_ZERO macro\n\
228 for older versions of the Linux kernel. */\n\
229 #ifndef _POSIX_TYPES_H_WRAPPER\n\
230 #include <features.h>\n\
231 #include_next <asm/posix_types.h>\n\n\
232 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
234 #define __FD_ZERO(fdsetp) \\\n\
236 int __d0, __d1; \\\n\
237 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
238 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
239 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
240 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
243 #define _POSIX_TYPES_H_WRAPPER\n\
244 #endif /* _POSIX_TYPES_H_WRAPPER */",
247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
249 * Description of Aab_Fd_Zero_Gnu_Types_H fix
251 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
252 "AAB_fd_zero_gnu_types_h";
255 * File name selection pattern
257 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
260 * Machine/OS name selection pattern
262 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
263 "i[34567]86-*-linux*",
265 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
266 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
269 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
271 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
272 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
273 #ifndef _TYPES_H_WRAPPER\n\
274 #include <features.h>\n\
275 #include_next <gnu/types.h>\n\n\
276 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
278 # define __FD_ZERO(fdsetp) \\\n\
280 int __d0, __d1; \\\n\
281 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
282 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
283 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
284 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
287 #define _TYPES_H_WRAPPER\n\
288 #endif /* _TYPES_H_WRAPPER */",
291 /* * * * * * * * * * * * * * * * * * * * * * * * * *
293 * Description of Aab_Fd_Zero_Selectbits_H fix
295 tSCC zAab_Fd_Zero_Selectbits_HName[] =
296 "AAB_fd_zero_selectbits_h";
299 * File name selection pattern
301 tSCC zAab_Fd_Zero_Selectbits_HList[] =
304 * Machine/OS name selection pattern
306 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
307 "i[34567]86-*-linux*",
309 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
310 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
313 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
315 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
316 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
317 #ifndef _SELECTBITS_H_WRAPPER\n\
318 #include <features.h>\n\
319 #include_next <selectbits.h>\n\n\
320 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
321 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
322 && __GLIBC_MINOR__ == 0\n\
324 #define __FD_ZERO(fdsetp) \\\\\n\
326 int __d0, __d1; \\\\\n\
327 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
328 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
329 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
330 / sizeof (__fd_mask)), \\\\\n\
331 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
332 : \"memory\"); \\\\\n\
335 #define _SELECTBITS_H_WRAPPER\n\
336 #endif /* _SELECTBITS_H_WRAPPER */",
339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
341 * Description of Aab_Solaris_Sys_Varargs_H fix
343 tSCC zAab_Solaris_Sys_Varargs_HName[] =
344 "AAB_solaris_sys_varargs_h";
347 * File name selection pattern
349 tSCC zAab_Solaris_Sys_Varargs_HList[] =
352 * Machine/OS name selection pattern
354 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
357 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
358 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
361 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
363 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
365 #include <stdarg.h>\n\
367 #include <varargs.h>\n\
371 /* * * * * * * * * * * * * * * * * * * * * * * * * *
373 * Description of Aab_Sun_Memcpy fix
375 tSCC zAab_Sun_MemcpyName[] =
379 * File name selection pattern
381 tSCC zAab_Sun_MemcpyList[] =
384 * Machine/OS name selection pattern
386 #define apzAab_Sun_MemcpyMachs (const char**)NULL
389 * content selection pattern - do fix if pattern found
391 tSCC zAab_Sun_MemcpySelect0[] =
392 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
394 #define AAB_SUN_MEMCPY_TEST_CT 1
395 static tTestDesc aAab_Sun_MemcpyTests[] = {
396 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
399 * Fix Command Arguments for Aab_Sun_Memcpy
401 static const char* apzAab_Sun_MemcpyPatch[] = {
402 "/* This file was generated by fixincludes */\n\
403 #ifndef __memory_h__\n\
404 #define __memory_h__\n\n\
406 extern void *memccpy();\n\
407 extern void *memchr();\n\
408 extern void *memcpy();\n\
409 extern void *memset();\n\
411 extern char *memccpy();\n\
412 extern char *memchr();\n\
413 extern char *memcpy();\n\
414 extern char *memset();\n\
415 #endif /* __STDC__ */\n\n\
416 extern int memcmp();\n\n\
417 #endif /* __memory_h__ */\n\
421 * Completely replace <sys/varargs.h> with a file that includes gcc's\n\
422 * stdarg.h or varargs.h files as appropriate.\n\
426 hackname = AAB_svr4_no_varargs;\n\
427 files = sys/varargs.h;\n\
428 replace = \"/* This file was generated by fixincludes. */\\n\"\n\
429 \"#ifndef _SYS_VARARGS_H\\n\"\n\
430 \"#define _SYS_VARARGS_H\\n\\n\"\n\n\
431 \"#ifdef __STDC__\\n\"\n\
432 \"#include <stdarg.h>\\n\"\n\
434 \"#include <varargs.h>\\n\"\n\
435 \"#endif\\n\\n\"\n\n\
436 \"#endif /* _SYS_VARARGS_H */\\n\";\n\
440 * Completely replace <sys/byteorder.h> with a file that implements gcc's\n\
441 * optimized byteswapping. (The original probably implemented some\n\
442 * incompatible optimized byteswapping.)\n\
445 hackname = AAB_svr4_replace_byteorder;\n\
446 mach = \"*-*-sysv4*\";\n\
447 mach = \"i[34567]86-*-sysv5*\";\n\
448 mach = \"i[34567]86-*-sco3.2v5*\";\n\
449 mach = \"i[34567]86-*-udk*\";\n\
450 mach = \"i[34567]86-*-solaris2.[0-4]\";\n\
451 mach = \"powerpcle-*-solaris2.[0-4]\";\n\
452 mach = \"sparc-*-solaris2.[0-4]\";\n\
453 mach = \"i[34567]86-sequent-ptx*\";\n\
454 files = sys/byteorder.h;\n\
455 replace = <<- _EndOfHeader_\n\
456 #ifndef _SYS_BYTEORDER_H\n\
457 #define _SYS_BYTEORDER_H\n\n\
458 /* Functions to convert `short' and `long' quantities from host byte order\n\
459 to (internet) network byte order (i.e. big-endian).\n\n\
460 Written by Ron Guilmette (rfg@ncd.com).\n\n\
461 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
462 For big-endian machines these functions are essentially no-ops.\n\n\
463 For little-endian machines, we define the functions using specialized\n\
464 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
465 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
466 #error You lose! This file is only useful with GNU compilers.\n\
468 #ifndef __BYTE_ORDER__\n\
469 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
470 double underscores added at the front and back. */\n\
471 #define __LITTLE_ENDIAN__ 1234\n\
472 #define __BIG_ENDIAN__ 4321\n\
473 #define __PDP_ENDIAN__ 3412\n\
476 static __inline__ unsigned long htonl (unsigned long);\n\
477 static __inline__ unsigned short htons (unsigned int);\n\
478 static __inline__ unsigned long ntohl (unsigned long);\n\
479 static __inline__ unsigned short ntohs (unsigned int);\n\
480 #endif /* defined (__STDC__) */\n\n\
481 #if defined (__i386__)\n\n\
482 #ifndef __BYTE_ORDER__\n\
483 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
485 /* Convert a host long to a network long. */\n\n\
486 /* We must use a new-style function definition, so that this will also\n\
487 be valid for C++. */\n\
488 static __inline__ unsigned long\n\
489 htonl (unsigned long __arg)\n\
491 register unsigned long __result;\n\n\
492 __asm__ (\"xchg%B0 %b0,%h0\n\
494 xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
497 /* Convert a host short to a network short. */\n\n\
498 static __inline__ unsigned short\n\
499 htons (unsigned int __arg)\n\
501 register unsigned short __result;\n\n\
502 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
505 #elif (defined (__ns32k__) || defined (__vax__) || defined (__arm__))\n\n\
506 #ifndef __BYTE_ORDER__\n\
507 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
509 /* For other little-endian machines, using C code is just as efficient as\n\
510 using assembly code. */\n\n\
511 /* Convert a host long to a network long. */\n\n\
512 static __inline__ unsigned long\n\
513 htonl (unsigned long __arg)\n\
515 register unsigned long __result;\n\n\
516 __result = (__arg >> 24) & 0x000000ff;\n\
517 __result |= (__arg >> 8) & 0x0000ff00;\n\
518 __result |= (__arg << 8) & 0x00ff0000;\n\
519 __result |= (__arg << 24) & 0xff000000;\n\
522 /* Convert a host short to a network short. */\n\n\
523 static __inline__ unsigned short\n\
524 htons (unsigned int __arg)\n\
526 register unsigned short __result;\n\n\
527 __result = (__arg << 8) & 0xff00;\n\
528 __result |= (__arg >> 8) & 0x00ff;\n\
531 #else /* must be a big-endian machine */\n\n\
532 #ifndef __BYTE_ORDER__\n\
533 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
535 /* Convert a host long to a network long. */\n\n\
536 static __inline__ unsigned long\n\
537 htonl (unsigned long __arg)\n\
541 /* Convert a host short to a network short. */\n\n\
542 static __inline__ unsigned short\n\
543 htons (unsigned int __arg)\n\
547 #endif /* big-endian */\n\n\
548 /* Convert a network long to a host long. */\n\n\
549 static __inline__ unsigned long\n\
550 ntohl (unsigned long __arg)\n\
552 return htonl (__arg);\n\
554 /* Convert a network short to a host short. */\n\n\
555 static __inline__ unsigned short\n\
556 ntohs (unsigned int __arg)\n\
558 return htons (__arg);\n\
563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
565 * Description of Aab_Ultrix_Ansi_Compat fix
567 tSCC zAab_Ultrix_Ansi_CompatName[] =
568 "AAB_ultrix_ansi_compat";
571 * File name selection pattern
573 tSCC zAab_Ultrix_Ansi_CompatList[] =
576 * Machine/OS name selection pattern
578 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
581 * content selection pattern - do fix if pattern found
583 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
586 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
587 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
588 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
591 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
593 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
594 "/* This file intentionally left blank. */\n",
597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
599 * Description of Aab_Ultrix_Limits fix
601 tSCC zAab_Ultrix_LimitsName[] =
605 * File name selection pattern
607 tSCC zAab_Ultrix_LimitsList[] =
610 * Machine/OS name selection pattern
612 tSCC* apzAab_Ultrix_LimitsMachs[] = {
615 #define AAB_ULTRIX_LIMITS_TEST_CT 0
616 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
619 * Fix Command Arguments for Aab_Ultrix_Limits
621 static const char* apzAab_Ultrix_LimitsPatch[] = {
622 "#ifndef _LIMITS_INCLUDED\n\
623 #define _LIMITS_INCLUDED\n\
624 #include <sys/limits.h>\n\
625 #endif /* _LIMITS_INCLUDED */",
628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
630 * Description of Aab_Ultrix_Memory fix
632 tSCC zAab_Ultrix_MemoryName[] =
636 * File name selection pattern
638 tSCC zAab_Ultrix_MemoryList[] =
641 * Machine/OS name selection pattern
643 tSCC* apzAab_Ultrix_MemoryMachs[] = {
646 #define AAB_ULTRIX_MEMORY_TEST_CT 0
647 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
650 * Fix Command Arguments for Aab_Ultrix_Memory
652 static const char* apzAab_Ultrix_MemoryPatch[] = {
653 "#ifndef _MEMORY_INCLUDED\n\
654 #define _MEMORY_INCLUDED\n\
655 #include <strings.h>\n\
656 #endif /* _MEMORY_INCLUDED */",
659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
661 * Description of Aab_Ultrix_String fix
663 tSCC zAab_Ultrix_StringName[] =
667 * File name selection pattern
669 tSCC zAab_Ultrix_StringList[] =
672 * Machine/OS name selection pattern
674 tSCC* apzAab_Ultrix_StringMachs[] = {
677 #define AAB_ULTRIX_STRING_TEST_CT 0
678 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
681 * Fix Command Arguments for Aab_Ultrix_String
683 static const char* apzAab_Ultrix_StringPatch[] = {
684 "#ifndef _STRING_INCLUDED\n\
685 #define _STRING_INCLUDED\n\
686 #include <strings.h>\n\
687 #endif /* _STRING_INCLUDED */",
690 /* * * * * * * * * * * * * * * * * * * * * * * * * *
692 * Description of Aix_Pthread fix
694 tSCC zAix_PthreadName[] =
698 * File name selection pattern
700 tSCC zAix_PthreadList[] =
703 * Machine/OS name selection pattern
705 #define apzAix_PthreadMachs (const char**)NULL
708 * content selection pattern - do fix if pattern found
710 tSCC zAix_PthreadSelect0[] =
711 "(#define [A-Za-z_0-9]+)(\\\\\n\
715 #define AIX_PTHREAD_TEST_CT 1
716 static tTestDesc aAix_PthreadTests[] = {
717 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
720 * Fix Command Arguments for Aix_Pthread
722 static const char* apzAix_PthreadPatch[] = {
727 /* * * * * * * * * * * * * * * * * * * * * * * * * *
729 * Description of Aix_Sysmachine fix
731 tSCC zAix_SysmachineName[] =
735 * File name selection pattern
737 tSCC zAix_SysmachineList[] =
740 * Machine/OS name selection pattern
742 #define apzAix_SysmachineMachs (const char**)NULL
745 * content selection pattern - do fix if pattern found
747 tSCC zAix_SysmachineSelect0[] =
750 #define AIX_SYSMACHINE_TEST_CT 1
751 static tTestDesc aAix_SysmachineTests[] = {
752 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
755 * Fix Command Arguments for Aix_Sysmachine
757 static const char* apzAix_SysmachinePatch[] = {
762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
764 * Description of Aix_Syswait fix
766 tSCC zAix_SyswaitName[] =
770 * File name selection pattern
772 tSCC zAix_SyswaitList[] =
775 * Machine/OS name selection pattern
777 #define apzAix_SyswaitMachs (const char**)NULL
780 * content selection pattern - do fix if pattern found
782 tSCC zAix_SyswaitSelect0[] =
783 "^extern pid_t wait3\\(\\);\n";
784 tSCC zAix_SyswaitSelect1[] =
787 #define AIX_SYSWAIT_TEST_CT 2
788 static tTestDesc aAix_SyswaitTests[] = {
789 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
790 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
793 * Fix Command Arguments for Aix_Syswait
795 static const char* apzAix_SyswaitPatch[] = {
801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
803 * Description of Aix_Syswait_2 fix
805 tSCC zAix_Syswait_2Name[] =
809 * File name selection pattern
811 tSCC zAix_Syswait_2List[] =
814 * Machine/OS name selection pattern
816 #define apzAix_Syswait_2Machs (const char**)NULL
819 * content selection pattern - do fix if pattern found
821 tSCC zAix_Syswait_2Select0[] =
822 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
824 #define AIX_SYSWAIT_2_TEST_CT 1
825 static tTestDesc aAix_Syswait_2Tests[] = {
826 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
829 * Fix Command Arguments for Aix_Syswait_2
831 static const char* apzAix_Syswait_2Patch[] = {
836 /* * * * * * * * * * * * * * * * * * * * * * * * * *
838 * Description of Aix_Volatile fix
840 tSCC zAix_VolatileName[] =
844 * File name selection pattern
846 tSCC zAix_VolatileList[] =
849 * Machine/OS name selection pattern
851 #define apzAix_VolatileMachs (const char**)NULL
854 * content selection pattern - do fix if pattern found
856 tSCC zAix_VolatileSelect0[] =
857 "typedef volatile int sig_atomic_t";
859 #define AIX_VOLATILE_TEST_CT 1
860 static tTestDesc aAix_VolatileTests[] = {
861 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
864 * Fix Command Arguments for Aix_Volatile
866 static const char* apzAix_VolatilePatch[] = {
868 "typedef int sig_atomic_t",
871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
873 * Description of Alpha___Assert fix
875 tSCC zAlpha___AssertName[] =
879 * File name selection pattern
881 tSCC zAlpha___AssertList[] =
884 * Machine/OS name selection pattern
886 #define apzAlpha___AssertMachs (const char**)NULL
889 * content selection pattern - do fix if pattern found
891 tSCC zAlpha___AssertSelect0[] =
892 "__assert\\(char \\*, char \\*, int\\)";
894 #define ALPHA___ASSERT_TEST_CT 1
895 static tTestDesc aAlpha___AssertTests[] = {
896 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
899 * Fix Command Arguments for Alpha___Assert
901 static const char* apzAlpha___AssertPatch[] = {
903 "__assert(const char *, const char *, int)",
906 /* * * * * * * * * * * * * * * * * * * * * * * * * *
908 * Description of Alpha___Extern_Prefix fix
910 tSCC zAlpha___Extern_PrefixName[] =
911 "alpha___extern_prefix";
914 * File name selection pattern
916 #define zAlpha___Extern_PrefixList (char*)NULL
918 * Machine/OS name selection pattern
920 tSCC* apzAlpha___Extern_PrefixMachs[] = {
925 * content selection pattern - do fix if pattern found
927 tSCC zAlpha___Extern_PrefixSelect0[] =
928 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
929 (#[ \t]*pragma[ \t]*extern_prefix.*)";
931 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
932 static tTestDesc aAlpha___Extern_PrefixTests[] = {
933 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
936 * Fix Command Arguments for Alpha___Extern_Prefix
938 static const char* apzAlpha___Extern_PrefixPatch[] = {
940 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
944 /* * * * * * * * * * * * * * * * * * * * * * * * * *
946 * Description of Alpha___Extern_Prefix_Standards fix
948 tSCC zAlpha___Extern_Prefix_StandardsName[] =
949 "alpha___extern_prefix_standards";
952 * File name selection pattern
954 tSCC zAlpha___Extern_Prefix_StandardsList[] =
957 * Machine/OS name selection pattern
959 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
964 * content selection pattern - do fix if pattern found
966 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
967 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
969 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
970 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
971 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
974 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
976 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
978 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
981 /* * * * * * * * * * * * * * * * * * * * * * * * * *
983 * Description of Alpha___Extern_Prefix_Sys_Stat fix
985 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
986 "alpha___extern_prefix_sys_stat";
989 * File name selection pattern
991 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
992 "sys/stat.h\0sys/mount.h\0";
994 * Machine/OS name selection pattern
996 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
1001 * content selection pattern - do fix if pattern found
1003 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
1004 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
1006 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
1007 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
1008 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
1011 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
1013 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
1015 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
1018 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1020 * Description of Alpha_Assert fix
1022 tSCC zAlpha_AssertName[] =
1026 * File name selection pattern
1028 tSCC zAlpha_AssertList[] =
1031 * Machine/OS name selection pattern
1033 #define apzAlpha_AssertMachs (const char**)NULL
1036 * content selection pattern - do fix if pattern found
1038 tSCC zAlpha_AssertSelect0[] =
1039 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1041 #define ALPHA_ASSERT_TEST_CT 1
1042 static tTestDesc aAlpha_AssertTests[] = {
1043 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1046 * Fix Command Arguments for Alpha_Assert
1048 static const char* apzAlpha_AssertPatch[] = {
1053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1055 * Description of Alpha_Bad_Lval fix
1057 tSCC zAlpha_Bad_LvalName[] =
1061 * File name selection pattern
1063 #define zAlpha_Bad_LvalList (char*)NULL
1065 * Machine/OS name selection pattern
1067 tSCC* apzAlpha_Bad_LvalMachs[] = {
1069 (const char*)NULL };
1072 * content selection pattern - do fix if pattern found
1074 tSCC zAlpha_Bad_LvalSelect0[] =
1075 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1077 #define ALPHA_BAD_LVAL_TEST_CT 1
1078 static tTestDesc aAlpha_Bad_LvalTests[] = {
1079 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
1082 * Fix Command Arguments for Alpha_Bad_Lval
1084 static const char* apzAlpha_Bad_LvalPatch[] = { "sed",
1085 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1088 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1090 * Description of Alpha_Getopt fix
1092 tSCC zAlpha_GetoptName[] =
1096 * File name selection pattern
1098 tSCC zAlpha_GetoptList[] =
1099 "stdio.h\0stdlib.h\0";
1101 * Machine/OS name selection pattern
1103 #define apzAlpha_GetoptMachs (const char**)NULL
1106 * content selection pattern - do fix if pattern found
1108 tSCC zAlpha_GetoptSelect0[] =
1109 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1111 #define ALPHA_GETOPT_TEST_CT 1
1112 static tTestDesc aAlpha_GetoptTests[] = {
1113 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1116 * Fix Command Arguments for Alpha_Getopt
1118 static const char* apzAlpha_GetoptPatch[] = {
1120 "getopt(int, char *const[], const char *)",
1123 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1125 * Description of Alpha_Parens fix
1127 tSCC zAlpha_ParensName[] =
1131 * File name selection pattern
1133 tSCC zAlpha_ParensList[] =
1136 * Machine/OS name selection pattern
1138 #define apzAlpha_ParensMachs (const char**)NULL
1141 * content selection pattern - do fix if pattern found
1143 tSCC zAlpha_ParensSelect0[] =
1144 "#ifndef\\(__mips64\\)";
1146 #define ALPHA_PARENS_TEST_CT 1
1147 static tTestDesc aAlpha_ParensTests[] = {
1148 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1151 * Fix Command Arguments for Alpha_Parens
1153 static const char* apzAlpha_ParensPatch[] = {
1158 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1160 * Description of Alpha_Pthread fix
1162 tSCC zAlpha_PthreadName[] =
1166 * File name selection pattern
1168 tSCC zAlpha_PthreadList[] =
1171 * Machine/OS name selection pattern
1173 tSCC* apzAlpha_PthreadMachs[] = {
1175 (const char*)NULL };
1178 * content selection pattern - do fix if pattern found
1180 tSCC zAlpha_PthreadSelect0[] =
1181 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
1182 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
1184 #define ALPHA_PTHREAD_TEST_CT 1
1185 static tTestDesc aAlpha_PthreadTests[] = {
1186 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
1189 * Fix Command Arguments for Alpha_Pthread
1191 static const char* apzAlpha_PthreadPatch[] = {
1193 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
1197 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1199 * Description of Alpha_Pthread_Gcc fix
1201 tSCC zAlpha_Pthread_GccName[] =
1202 "alpha_pthread_gcc";
1205 * File name selection pattern
1207 tSCC zAlpha_Pthread_GccList[] =
1210 * Machine/OS name selection pattern
1212 tSCC* apzAlpha_Pthread_GccMachs[] = {
1214 (const char*)NULL };
1217 * content selection pattern - do fix if pattern found
1219 tSCC zAlpha_Pthread_GccSelect0[] =
1221 # error <pthread.h>: unrecognized compiler.";
1223 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1224 static tTestDesc aAlpha_Pthread_GccTests[] = {
1225 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1228 * Fix Command Arguments for Alpha_Pthread_Gcc
1230 static const char* apzAlpha_Pthread_GccPatch[] = {
1232 "#elif defined (__GNUC__)\n\
1233 # define _PTHREAD_ENV_GCC\n\
1237 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1239 * Description of Alpha_Pthread_Init fix
1241 tSCC zAlpha_Pthread_InitName[] =
1242 "alpha_pthread_init";
1245 * File name selection pattern
1247 tSCC zAlpha_Pthread_InitList[] =
1250 * Machine/OS name selection pattern
1252 tSCC* apzAlpha_Pthread_InitMachs[] = {
1254 (const char*)NULL };
1257 * content selection pattern - do fix if pattern found
1259 tSCC zAlpha_Pthread_InitSelect0[] =
1260 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1262 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1263 static tTestDesc aAlpha_Pthread_InitTests[] = {
1264 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1267 * Fix Command Arguments for Alpha_Pthread_Init
1269 static const char* apzAlpha_Pthread_InitPatch[] = { "sed",
1270 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1271 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1272 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1273 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1274 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1275 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1278 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1280 * Description of Alpha_Sbrk fix
1282 tSCC zAlpha_SbrkName[] =
1286 * File name selection pattern
1288 tSCC zAlpha_SbrkList[] =
1291 * Machine/OS name selection pattern
1293 #define apzAlpha_SbrkMachs (const char**)NULL
1296 * content selection pattern - do fix if pattern found
1298 tSCC zAlpha_SbrkSelect0[] =
1299 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1301 #define ALPHA_SBRK_TEST_CT 1
1302 static tTestDesc aAlpha_SbrkTests[] = {
1303 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1306 * Fix Command Arguments for Alpha_Sbrk
1308 static const char* apzAlpha_SbrkPatch[] = {
1313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1315 * Description of Alpha_Wchar fix
1317 tSCC zAlpha_WcharName[] =
1321 * File name selection pattern
1323 tSCC zAlpha_WcharList[] =
1326 * Machine/OS name selection pattern
1328 tSCC* apzAlpha_WcharMachs[] = {
1330 (const char*)NULL };
1333 * content selection pattern - do fix if pattern found
1335 tSCC zAlpha_WcharSelect0[] =
1336 "#define wcstok wcstok_r";
1338 #define ALPHA_WCHAR_TEST_CT 1
1339 static tTestDesc aAlpha_WcharTests[] = {
1340 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1343 * Fix Command Arguments for Alpha_Wchar
1345 static const char* apzAlpha_WcharPatch[] = { "sed",
1346 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1347 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1350 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1352 * Description of Avoid_Bool_Define fix
1354 tSCC zAvoid_Bool_DefineName[] =
1355 "avoid_bool_define";
1358 * File name selection pattern
1360 tSCC zAvoid_Bool_DefineList[] =
1361 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1363 * Machine/OS name selection pattern
1365 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1368 * content selection pattern - do fix if pattern found
1370 tSCC zAvoid_Bool_DefineSelect0[] =
1371 "#[ \t]*define[ \t]+bool[ \t]";
1374 * content bypass pattern - skip fix if pattern found
1376 tSCC zAvoid_Bool_DefineBypass0[] =
1379 #define AVOID_BOOL_DEFINE_TEST_CT 2
1380 static tTestDesc aAvoid_Bool_DefineTests[] = {
1381 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1382 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1385 * Fix Command Arguments for Avoid_Bool_Define
1387 static const char* apzAvoid_Bool_DefinePatch[] = {
1389 "#ifndef __cplusplus\n\
1392 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1397 * Description of Avoid_Bool_Type fix
1399 tSCC zAvoid_Bool_TypeName[] =
1403 * File name selection pattern
1405 tSCC zAvoid_Bool_TypeList[] =
1406 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1408 * Machine/OS name selection pattern
1410 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1413 * content selection pattern - do fix if pattern found
1415 tSCC zAvoid_Bool_TypeSelect0[] =
1416 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1419 * content bypass pattern - skip fix if pattern found
1421 tSCC zAvoid_Bool_TypeBypass0[] =
1424 #define AVOID_BOOL_TYPE_TEST_CT 2
1425 static tTestDesc aAvoid_Bool_TypeTests[] = {
1426 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1427 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1430 * Fix Command Arguments for Avoid_Bool_Type
1432 static const char* apzAvoid_Bool_TypePatch[] = {
1434 "#ifndef __cplusplus\n\
1439 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1441 * Description of Avoid_Wchar_T_Type fix
1443 tSCC zAvoid_Wchar_T_TypeName[] =
1444 "avoid_wchar_t_type";
1447 * File name selection pattern
1449 #define zAvoid_Wchar_T_TypeList (char*)NULL
1451 * Machine/OS name selection pattern
1453 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1456 * content selection pattern - do fix if pattern found
1458 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1459 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1462 * content bypass pattern - skip fix if pattern found
1464 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1466 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1468 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1469 "XFree86: xc/lib/X11/Xlib\\.h";
1471 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1472 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1473 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1474 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1475 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1476 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1479 * Fix Command Arguments for Avoid_Wchar_T_Type
1481 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1483 "#ifndef __cplusplus\n\
1488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1490 * Description of Bad_Struct_Term fix
1492 tSCC zBad_Struct_TermName[] =
1496 * File name selection pattern
1498 tSCC zBad_Struct_TermList[] =
1501 * Machine/OS name selection pattern
1503 #define apzBad_Struct_TermMachs (const char**)NULL
1506 * content selection pattern - do fix if pattern found
1508 tSCC zBad_Struct_TermSelect0[] =
1509 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1511 #define BAD_STRUCT_TERM_TEST_CT 1
1512 static tTestDesc aBad_Struct_TermTests[] = {
1513 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1516 * Fix Command Arguments for Bad_Struct_Term
1518 static const char* apzBad_Struct_TermPatch[] = {
1523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1525 * Description of Badquote fix
1527 tSCC zBadquoteName[] =
1531 * File name selection pattern
1533 tSCC zBadquoteList[] =
1534 "sundev/vuid_event.h\0";
1536 * Machine/OS name selection pattern
1538 #define apzBadquoteMachs (const char**)NULL
1541 * content selection pattern - do fix if pattern found
1543 tSCC zBadquoteSelect0[] =
1546 #define BADQUOTE_TEST_CT 1
1547 static tTestDesc aBadquoteTests[] = {
1548 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1551 * Fix Command Arguments for Badquote
1553 static const char* apzBadquotePatch[] = {
1558 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1560 * Description of Broken_Assert_Stdio fix
1562 tSCC zBroken_Assert_StdioName[] =
1563 "broken_assert_stdio";
1566 * File name selection pattern
1568 tSCC zBroken_Assert_StdioList[] =
1571 * Machine/OS name selection pattern
1573 #define apzBroken_Assert_StdioMachs (const char**)NULL
1576 * content selection pattern - do fix if pattern found
1578 tSCC zBroken_Assert_StdioSelect0[] =
1582 * content bypass pattern - skip fix if pattern found
1584 tSCC zBroken_Assert_StdioBypass0[] =
1585 "include.*stdio\\.h";
1587 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1588 static tTestDesc aBroken_Assert_StdioTests[] = {
1589 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1590 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1593 * Fix Command Arguments for Broken_Assert_Stdio
1595 static const char* apzBroken_Assert_StdioPatch[] = {
1597 "#include <stdio.h>\n",
1600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1602 * Description of Broken_Assert_Stdlib fix
1604 tSCC zBroken_Assert_StdlibName[] =
1605 "broken_assert_stdlib";
1608 * File name selection pattern
1610 tSCC zBroken_Assert_StdlibList[] =
1613 * Machine/OS name selection pattern
1615 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1618 * content selection pattern - do fix if pattern found
1620 tSCC zBroken_Assert_StdlibSelect0[] =
1621 "exit *\\(|abort *\\(";
1624 * content bypass pattern - skip fix if pattern found
1626 tSCC zBroken_Assert_StdlibBypass0[] =
1627 "include.*stdlib\\.h";
1629 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1630 static tTestDesc aBroken_Assert_StdlibTests[] = {
1631 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1632 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1635 * Fix Command Arguments for Broken_Assert_Stdlib
1637 static const char* apzBroken_Assert_StdlibPatch[] = {
1639 "#ifdef __cplusplus\n\
1640 #include <stdlib.h>\n\
1644 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1646 * Description of Broken_Cabs fix
1648 tSCC zBroken_CabsName[] =
1652 * File name selection pattern
1654 tSCC zBroken_CabsList[] =
1655 "math.h\0architecture/*/math.h\0";
1657 * Machine/OS name selection pattern
1659 #define apzBroken_CabsMachs (const char**)NULL
1662 * content selection pattern - do fix if pattern found
1664 tSCC zBroken_CabsSelect0[] =
1665 "^extern[ \t]+double[ \t]+cabs";
1667 #define BROKEN_CABS_TEST_CT 1
1668 static tTestDesc aBroken_CabsTests[] = {
1669 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1672 * Fix Command Arguments for Broken_Cabs
1674 static const char* apzBroken_CabsPatch[] = { "sed",
1675 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1676 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1679 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1681 * Description of Broken_Nan fix
1683 tSCC zBroken_NanName[] =
1687 * File name selection pattern
1689 tSCC zBroken_NanList[] =
1690 "architecture/ppc/math.h\0architecture/*/math.h\0";
1692 * Machine/OS name selection pattern
1694 #define apzBroken_NanMachs (const char**)NULL
1697 * content selection pattern - do fix if pattern found
1699 tSCC zBroken_NanSelect0[] =
1700 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1703 * content bypass pattern - skip fix if pattern found
1705 tSCC zBroken_NanBypass0[] =
1708 #define BROKEN_NAN_TEST_CT 2
1709 static tTestDesc aBroken_NanTests[] = {
1710 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1711 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1714 * Fix Command Arguments for Broken_Nan
1716 static const char* apzBroken_NanPatch[] = {
1721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1723 * Description of Bsd_Stdio_Attrs_Conflict fix
1725 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1726 "bsd_stdio_attrs_conflict";
1729 * File name selection pattern
1731 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1734 * Machine/OS name selection pattern
1736 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1739 (const char*)NULL };
1742 * content selection pattern - do fix if pattern found
1744 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1745 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1747 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1748 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1749 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1752 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1754 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1756 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1757 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1758 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1761 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1763 * Description of Ctrl_Quotes_Def fix
1765 tSCC zCtrl_Quotes_DefName[] =
1769 * File name selection pattern
1771 #define zCtrl_Quotes_DefList (char*)NULL
1773 * Machine/OS name selection pattern
1775 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1778 * content selection pattern - do fix if pattern found
1780 tSCC zCtrl_Quotes_DefSelect0[] =
1781 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1783 #define CTRL_QUOTES_DEF_TEST_CT 1
1784 static tTestDesc aCtrl_Quotes_DefTests[] = {
1785 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1788 * Fix Command Arguments for Ctrl_Quotes_Def
1790 static const char* apzCtrl_Quotes_DefPatch[] = {
1795 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1797 * Description of Ctrl_Quotes_Use fix
1799 tSCC zCtrl_Quotes_UseName[] =
1803 * File name selection pattern
1805 #define zCtrl_Quotes_UseList (char*)NULL
1807 * Machine/OS name selection pattern
1809 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1812 * content selection pattern - do fix if pattern found
1814 tSCC zCtrl_Quotes_UseSelect0[] =
1815 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1817 #define CTRL_QUOTES_USE_TEST_CT 1
1818 static tTestDesc aCtrl_Quotes_UseTests[] = {
1819 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1822 * Fix Command Arguments for Ctrl_Quotes_Use
1824 static const char* apzCtrl_Quotes_UsePatch[] = {
1829 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1831 * Description of Cxx_Unready fix
1833 tSCC zCxx_UnreadyName[] =
1837 * File name selection pattern
1839 tSCC zCxx_UnreadyList[] =
1840 "sys/mman.h\0rpc/types.h\0";
1842 * Machine/OS name selection pattern
1844 #define apzCxx_UnreadyMachs (const char**)NULL
1847 * content selection pattern - do fix if pattern found
1849 tSCC zCxx_UnreadySelect0[] =
1853 * content bypass pattern - skip fix if pattern found
1855 tSCC zCxx_UnreadyBypass0[] =
1856 "\"C\"|__BEGIN_DECLS";
1858 #define CXX_UNREADY_TEST_CT 2
1859 static tTestDesc aCxx_UnreadyTests[] = {
1860 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1861 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1864 * Fix Command Arguments for Cxx_Unready
1866 static const char* apzCxx_UnreadyPatch[] = {
1868 "#ifdef __cplusplus\n\
1871 "#ifdef __cplusplus\n\
1876 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1878 * Description of Darwin_Externc fix
1880 tSCC zDarwin_ExterncName[] =
1884 * File name selection pattern
1886 tSCC zDarwin_ExterncList[] =
1887 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
1889 * Machine/OS name selection pattern
1891 tSCC* apzDarwin_ExterncMachs[] = {
1893 (const char*)NULL };
1896 * content bypass pattern - skip fix if pattern found
1898 tSCC zDarwin_ExterncBypass0[] =
1900 tSCC zDarwin_ExterncBypass1[] =
1903 #define DARWIN_EXTERNC_TEST_CT 2
1904 static tTestDesc aDarwin_ExterncTests[] = {
1905 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
1906 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
1909 * Fix Command Arguments for Darwin_Externc
1911 static const char* apzDarwin_ExterncPatch[] = {
1913 "#ifdef __cplusplus\n\
1916 "#ifdef __cplusplus\n\
1921 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1923 * Description of Darwin_Gcc4_Breakage fix
1925 tSCC zDarwin_Gcc4_BreakageName[] =
1926 "darwin_gcc4_breakage";
1929 * File name selection pattern
1931 tSCC zDarwin_Gcc4_BreakageList[] =
1932 "AvailabilityMacros.h\0";
1934 * Machine/OS name selection pattern
1936 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1938 (const char*)NULL };
1941 * content selection pattern - do fix if pattern found
1943 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1944 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1946 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1947 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1948 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1951 * Fix Command Arguments for Darwin_Gcc4_Breakage
1953 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1955 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1958 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1960 * Description of Darwin_Private_Extern fix
1962 tSCC zDarwin_Private_ExternName[] =
1963 "darwin_private_extern";
1966 * File name selection pattern
1968 tSCC zDarwin_Private_ExternList[] =
1971 * Machine/OS name selection pattern
1973 tSCC* apzDarwin_Private_ExternMachs[] = {
1975 (const char*)NULL };
1978 * content selection pattern - do fix if pattern found
1980 tSCC zDarwin_Private_ExternSelect0[] =
1981 "__private_extern__ [a-z_]+ _dyld_";
1983 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1984 static tTestDesc aDarwin_Private_ExternTests[] = {
1985 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1988 * Fix Command Arguments for Darwin_Private_Extern
1990 static const char* apzDarwin_Private_ExternPatch[] = {
1993 "__private_extern__",
1996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1998 * Description of Dec_Intern_Asm fix
2000 tSCC zDec_Intern_AsmName[] =
2004 * File name selection pattern
2006 tSCC zDec_Intern_AsmList[] =
2009 * Machine/OS name selection pattern
2011 #define apzDec_Intern_AsmMachs (const char**)NULL
2012 #define DEC_INTERN_ASM_TEST_CT 0
2013 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2016 * Fix Command Arguments for Dec_Intern_Asm
2018 static const char* apzDec_Intern_AsmPatch[] = { "sed",
2019 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2021 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2025 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2027 * Description of Djgpp_Wchar_H fix
2029 tSCC zDjgpp_Wchar_HName[] =
2033 * File name selection pattern
2035 #define zDjgpp_Wchar_HList (char*)NULL
2037 * Machine/OS name selection pattern
2039 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2042 * content selection pattern - do fix if pattern found
2044 tSCC zDjgpp_Wchar_HSelect0[] =
2048 * content bypass pattern - skip fix if pattern found
2050 tSCC zDjgpp_Wchar_HBypass0[] =
2053 #define DJGPP_WCHAR_H_TEST_CT 2
2054 static tTestDesc aDjgpp_Wchar_HTests[] = {
2055 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2056 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2059 * Fix Command Arguments for Djgpp_Wchar_H
2061 static const char* apzDjgpp_Wchar_HPatch[] = {
2064 #include <sys/djtypes.h>",
2065 "#include <stddef.h>",
2068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2070 * Description of Ecd_Cursor fix
2072 tSCC zEcd_CursorName[] =
2076 * File name selection pattern
2078 tSCC zEcd_CursorList[] =
2079 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2081 * Machine/OS name selection pattern
2083 #define apzEcd_CursorMachs (const char**)NULL
2086 * content selection pattern - do fix if pattern found
2088 tSCC zEcd_CursorSelect0[] =
2091 #define ECD_CURSOR_TEST_CT 1
2092 static tTestDesc aEcd_CursorTests[] = {
2093 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2096 * Fix Command Arguments for Ecd_Cursor
2098 static const char* apzEcd_CursorPatch[] = {
2103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2105 * Description of Exception_Structure fix
2107 tSCC zException_StructureName[] =
2108 "exception_structure";
2111 * File name selection pattern
2113 tSCC zException_StructureList[] =
2116 * Machine/OS name selection pattern
2118 #define apzException_StructureMachs (const char**)NULL
2121 * content selection pattern - do fix if pattern found
2123 tSCC zException_StructureSelect0[] =
2127 * content bypass pattern - skip fix if pattern found
2129 tSCC zException_StructureBypass0[] =
2130 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
2132 #define EXCEPTION_STRUCTURE_TEST_CT 2
2133 static tTestDesc aException_StructureTests[] = {
2134 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
2135 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
2138 * Fix Command Arguments for Exception_Structure
2140 static const char* apzException_StructurePatch[] = {
2142 "struct exception;\n",
2145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2147 * Description of Freebsd_Gcc3_Breakage fix
2149 tSCC zFreebsd_Gcc3_BreakageName[] =
2150 "freebsd_gcc3_breakage";
2153 * File name selection pattern
2155 tSCC zFreebsd_Gcc3_BreakageList[] =
2158 * Machine/OS name selection pattern
2160 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2162 (const char*)NULL };
2165 * content selection pattern - do fix if pattern found
2167 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2168 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2171 * content bypass pattern - skip fix if pattern found
2173 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2174 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2176 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2177 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2178 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2179 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2182 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2184 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2186 "%0 || __GNUC__ >= 3",
2189 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2191 * Description of Freebsd_Gcc4_Breakage fix
2193 tSCC zFreebsd_Gcc4_BreakageName[] =
2194 "freebsd_gcc4_breakage";
2197 * File name selection pattern
2199 tSCC zFreebsd_Gcc4_BreakageList[] =
2202 * Machine/OS name selection pattern
2204 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2206 (const char*)NULL };
2209 * content selection pattern - do fix if pattern found
2211 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2212 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2214 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2215 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2216 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2219 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2221 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2223 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2226 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2228 * Description of Glibc_C99_Inline_1 fix
2230 tSCC zGlibc_C99_Inline_1Name[] =
2231 "glibc_c99_inline_1";
2234 * File name selection pattern
2236 tSCC zGlibc_C99_Inline_1List[] =
2237 "features.h\0*/features.h\0";
2239 * Machine/OS name selection pattern
2241 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2244 * content selection pattern - do fix if pattern found
2246 tSCC zGlibc_C99_Inline_1Select0[] =
2247 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2249 #define GLIBC_C99_INLINE_1_TEST_CT 1
2250 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2251 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2254 * Fix Command Arguments for Glibc_C99_Inline_1
2256 static const char* apzGlibc_C99_Inline_1Patch[] = {
2258 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2261 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2263 * Description of Glibc_C99_Inline_1a fix
2265 tSCC zGlibc_C99_Inline_1aName[] =
2266 "glibc_c99_inline_1a";
2269 * File name selection pattern
2271 tSCC zGlibc_C99_Inline_1aList[] =
2272 "features.h\0*/features.h\0";
2274 * Machine/OS name selection pattern
2276 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2279 * content selection pattern - do fix if pattern found
2281 tSCC zGlibc_C99_Inline_1aSelect0[] =
2282 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2283 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2285 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2286 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2287 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2290 * Fix Command Arguments for Glibc_C99_Inline_1a
2292 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2294 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2300 * Description of Glibc_C99_Inline_2 fix
2302 tSCC zGlibc_C99_Inline_2Name[] =
2303 "glibc_c99_inline_2";
2306 * File name selection pattern
2308 tSCC zGlibc_C99_Inline_2List[] =
2309 "sys/stat.h\0*/sys/stat.h\0";
2311 * Machine/OS name selection pattern
2313 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2316 * content selection pattern - do fix if pattern found
2318 tSCC zGlibc_C99_Inline_2Select0[] =
2319 "extern __inline__ int";
2321 #define GLIBC_C99_INLINE_2_TEST_CT 1
2322 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2323 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2326 * Fix Command Arguments for Glibc_C99_Inline_2
2328 static const char* apzGlibc_C99_Inline_2Patch[] = { "sed",
2329 "-e", "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2332 __inline__ int \\1/",
2333 "-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2336 __inline__ int __REDIRECT\\1 (\\2/",
2337 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
2343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2345 * Description of Glibc_C99_Inline_3 fix
2347 tSCC zGlibc_C99_Inline_3Name[] =
2348 "glibc_c99_inline_3";
2351 * File name selection pattern
2353 tSCC zGlibc_C99_Inline_3List[] =
2354 "bits/string2.h\0*/bits/string2.h\0";
2356 * Machine/OS name selection pattern
2358 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2361 * content selection pattern - do fix if pattern found
2363 tSCC zGlibc_C99_Inline_3Select0[] =
2367 * content bypass pattern - skip fix if pattern found
2369 tSCC zGlibc_C99_Inline_3Bypass0[] =
2370 "__extern_inline|__GNU_STDC_INLINE__";
2372 #define GLIBC_C99_INLINE_3_TEST_CT 2
2373 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2374 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
2375 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
2378 * Fix Command Arguments for Glibc_C99_Inline_3
2380 static const char* apzGlibc_C99_Inline_3Patch[] = {
2382 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
2383 "^# ifdef __cplusplus$",
2386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2388 * Description of Glibc_C99_Inline_4 fix
2390 tSCC zGlibc_C99_Inline_4Name[] =
2391 "glibc_c99_inline_4";
2394 * File name selection pattern
2396 tSCC zGlibc_C99_Inline_4List[] =
2397 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
2399 * Machine/OS name selection pattern
2401 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2404 * content selection pattern - do fix if pattern found
2406 tSCC zGlibc_C99_Inline_4Select0[] =
2407 "(^| )extern __inline";
2410 * content bypass pattern - skip fix if pattern found
2412 tSCC zGlibc_C99_Inline_4Bypass0[] =
2413 "__extern_inline|__gnu_inline__";
2415 #define GLIBC_C99_INLINE_4_TEST_CT 2
2416 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2417 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
2418 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
2421 * Fix Command Arguments for Glibc_C99_Inline_4
2423 static const char* apzGlibc_C99_Inline_4Patch[] = {
2425 "%0 __attribute__ ((__gnu_inline__))",
2428 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2430 * Description of Glibc_Mutex_Init fix
2432 tSCC zGlibc_Mutex_InitName[] =
2436 * File name selection pattern
2438 tSCC zGlibc_Mutex_InitList[] =
2441 * Machine/OS name selection pattern
2443 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2446 * content selection pattern - do fix if pattern found
2448 tSCC zGlibc_Mutex_InitSelect0[] =
2449 "\\{ *\\{ *0, *\\} *\\}";
2451 #define GLIBC_MUTEX_INIT_TEST_CT 1
2452 static tTestDesc aGlibc_Mutex_InitTests[] = {
2453 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2456 * Fix Command Arguments for Glibc_Mutex_Init
2458 static const char* apzGlibc_Mutex_InitPatch[] = { "sed",
2459 "-e", "/define[ \t]\\+PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/,+1s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/",
2460 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2461 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2462 "-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/",
2463 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2464 "-e", "/define[ \t]\\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2467 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2469 * Description of Gnu_Types fix
2471 tSCC zGnu_TypesName[] =
2475 * File name selection pattern
2477 tSCC zGnu_TypesList[] =
2478 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2480 * Machine/OS name selection pattern
2482 tSCC* apzGnu_TypesMachs[] = {
2483 "*-*-solaris2.1[0-9]*",
2484 (const char*)NULL };
2487 * content selection pattern - do fix if pattern found
2489 tSCC zGnu_TypesSelect0[] =
2490 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2493 * content bypass pattern - skip fix if pattern found
2495 tSCC zGnu_TypesBypass0[] =
2496 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2498 #define GNU_TYPES_TEST_CT 2
2499 static tTestDesc aGnu_TypesTests[] = {
2500 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2501 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2504 * Fix Command Arguments for Gnu_Types
2506 static const char* apzGnu_TypesPatch[] = {
2510 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2512 * Description of Hp_Inline fix
2514 tSCC zHp_InlineName[] =
2518 * File name selection pattern
2520 tSCC zHp_InlineList[] =
2521 "sys/spinlock.h\0machine/machparam.h\0";
2523 * Machine/OS name selection pattern
2525 #define apzHp_InlineMachs (const char**)NULL
2528 * content selection pattern - do fix if pattern found
2530 tSCC zHp_InlineSelect0[] =
2531 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2533 #define HP_INLINE_TEST_CT 1
2534 static tTestDesc aHp_InlineTests[] = {
2535 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2538 * Fix Command Arguments for Hp_Inline
2540 static const char* apzHp_InlinePatch[] = {
2543 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2546 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2548 * Description of Hp_Sysfile fix
2550 tSCC zHp_SysfileName[] =
2554 * File name selection pattern
2556 tSCC zHp_SysfileList[] =
2559 * Machine/OS name selection pattern
2561 #define apzHp_SysfileMachs (const char**)NULL
2564 * content selection pattern - do fix if pattern found
2566 tSCC zHp_SysfileSelect0[] =
2569 #define HP_SYSFILE_TEST_CT 1
2570 static tTestDesc aHp_SysfileTests[] = {
2571 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2574 * Fix Command Arguments for Hp_Sysfile
2576 static const char* apzHp_SysfilePatch[] = {
2578 "(struct file *, ...)",
2582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2584 * Description of Hpux10_Cpp_Pow_Inline fix
2586 tSCC zHpux10_Cpp_Pow_InlineName[] =
2587 "hpux10_cpp_pow_inline";
2590 * File name selection pattern
2592 tSCC zHpux10_Cpp_Pow_InlineList[] =
2593 "fixinc-test-limits.h\0math.h\0";
2595 * Machine/OS name selection pattern
2597 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2600 * content selection pattern - do fix if pattern found
2602 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2603 "^# +ifdef +__cplusplus\n\
2605 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2606 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2608 +extern +\"C\" +\\{\n\
2612 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2613 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2614 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2617 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2619 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2624 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2626 * Description of Hpux11_Cpp_Pow_Inline fix
2628 tSCC zHpux11_Cpp_Pow_InlineName[] =
2629 "hpux11_cpp_pow_inline";
2632 * File name selection pattern
2634 tSCC zHpux11_Cpp_Pow_InlineList[] =
2637 * Machine/OS name selection pattern
2639 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2642 * content selection pattern - do fix if pattern found
2644 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2645 " +inline double pow\\(double d,int expon\\) \\{\n\
2646 +return pow\\(d, \\(double\\)expon\\);\n\
2649 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2650 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2651 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2654 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2656 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2661 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2663 * Description of Hppa_Hpux_Fp_Macros fix
2665 tSCC zHppa_Hpux_Fp_MacrosName[] =
2666 "hppa_hpux_fp_macros";
2669 * File name selection pattern
2671 tSCC zHppa_Hpux_Fp_MacrosList[] =
2674 * Machine/OS name selection pattern
2676 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
2678 (const char*)NULL };
2681 * content selection pattern - do fix if pattern found
2683 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
2684 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
2685 #[ \t]*define[ \t]*FP_ZERO.*\n\
2686 #[ \t]*define[ \t]*FP_INFINITE.*\n\
2687 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
2688 #[ \t]*define[ \t]*FP_NAN.*\n";
2690 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
2691 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
2692 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
2695 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
2697 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
2699 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
2700 #if defined(_INCLUDE_HPUX_SOURCE) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
2702 #ifdef _INCLUDE_HPUX_SOURCE\n",
2705 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2707 * Description of Hpux10_Ctype_Declarations1 fix
2709 tSCC zHpux10_Ctype_Declarations1Name[] =
2710 "hpux10_ctype_declarations1";
2713 * File name selection pattern
2715 tSCC zHpux10_Ctype_Declarations1List[] =
2718 * Machine/OS name selection pattern
2720 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2723 * content selection pattern - do fix if pattern found
2725 tSCC zHpux10_Ctype_Declarations1Select0[] =
2726 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2729 * content bypass pattern - skip fix if pattern found
2731 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2732 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2734 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2735 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2736 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2737 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2740 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2742 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2744 "#ifdef _PROTOTYPES\n\
2745 extern int __tolower(int);\n\
2746 extern int __toupper(int);\n\
2747 #else /* NOT _PROTOTYPES */\n\
2748 extern int __tolower();\n\
2749 extern int __toupper();\n\
2750 #endif /* _PROTOTYPES */\n\n\
2754 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2756 * Description of Hpux10_Ctype_Declarations2 fix
2758 tSCC zHpux10_Ctype_Declarations2Name[] =
2759 "hpux10_ctype_declarations2";
2762 * File name selection pattern
2764 tSCC zHpux10_Ctype_Declarations2List[] =
2767 * Machine/OS name selection pattern
2769 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2772 * content selection pattern - do fix if pattern found
2774 tSCC zHpux10_Ctype_Declarations2Select0[] =
2775 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2778 * content bypass pattern - skip fix if pattern found
2780 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2781 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2783 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2784 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2785 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2786 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2789 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2791 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2794 #ifdef _PROTOTYPES\n\
2795 extern int _isalnum(int);\n\
2796 extern int _isalpha(int);\n\
2797 extern int _iscntrl(int);\n\
2798 extern int _isdigit(int);\n\
2799 extern int _isgraph(int);\n\
2800 extern int _islower(int);\n\
2801 extern int _isprint(int);\n\
2802 extern int _ispunct(int);\n\
2803 extern int _isspace(int);\n\
2804 extern int _isupper(int);\n\
2805 extern int _isxdigit(int);\n\
2806 # else /* not _PROTOTYPES */\n\
2807 extern int _isalnum();\n\
2808 extern int _isalpha();\n\
2809 extern int _iscntrl();\n\
2810 extern int _isdigit();\n\
2811 extern int _isgraph();\n\
2812 extern int _islower();\n\
2813 extern int _isprint();\n\
2814 extern int _ispunct();\n\
2815 extern int _isspace();\n\
2816 extern int _isupper();\n\
2817 extern int _isxdigit();\n\
2818 #endif /* _PROTOTYPES */\n",
2821 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2823 * Description of Hpux10_Stdio_Declarations fix
2825 tSCC zHpux10_Stdio_DeclarationsName[] =
2826 "hpux10_stdio_declarations";
2829 * File name selection pattern
2831 tSCC zHpux10_Stdio_DeclarationsList[] =
2834 * Machine/OS name selection pattern
2836 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2839 * content selection pattern - do fix if pattern found
2841 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2842 "^#[ \t]*define _iob[ \t]*__iob";
2845 * content bypass pattern - skip fix if pattern found
2847 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2848 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2850 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2851 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2852 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2853 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2856 * Fix Command Arguments for Hpux10_Stdio_Declarations
2858 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2861 # if defined(__STDC__) || defined(__cplusplus)\n\
2862 extern int snprintf(char *, size_t, const char *, ...);\n\
2863 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2864 # else /* not __STDC__) || __cplusplus */\n\
2865 extern int snprintf();\n\
2866 extern int vsnprintf();\n\
2867 # endif /* __STDC__) || __cplusplus */\n",
2870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2872 * Description of Hpux11_Abs fix
2874 tSCC zHpux11_AbsName[] =
2878 * File name selection pattern
2880 tSCC zHpux11_AbsList[] =
2883 * Machine/OS name selection pattern
2885 tSCC* apzHpux11_AbsMachs[] = {
2887 (const char*)NULL };
2890 * content selection pattern - do fix if pattern found
2892 tSCC zHpux11_AbsSelect0[] =
2893 "ifndef _MATH_INCLUDED";
2895 #define HPUX11_ABS_TEST_CT 1
2896 static tTestDesc aHpux11_AbsTests[] = {
2897 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2900 * Fix Command Arguments for Hpux11_Abs
2902 static const char* apzHpux11_AbsPatch[] = {
2904 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2909 * Description of Hpux11_Fabsf fix
2911 tSCC zHpux11_FabsfName[] =
2915 * File name selection pattern
2917 tSCC zHpux11_FabsfList[] =
2920 * Machine/OS name selection pattern
2922 #define apzHpux11_FabsfMachs (const char**)NULL
2925 * content selection pattern - do fix if pattern found
2927 tSCC zHpux11_FabsfSelect0[] =
2928 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2931 * content bypass pattern - skip fix if pattern found
2933 tSCC zHpux11_FabsfBypass0[] =
2936 #define HPUX11_FABSF_TEST_CT 2
2937 static tTestDesc aHpux11_FabsfTests[] = {
2938 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2939 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2942 * Fix Command Arguments for Hpux11_Fabsf
2944 static const char* apzHpux11_FabsfPatch[] = {
2946 "#ifndef __cplusplus\n\
2951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2953 * Description of Hpux11_Size_T fix
2955 tSCC zHpux11_Size_TName[] =
2959 * File name selection pattern
2961 #define zHpux11_Size_TList (char*)NULL
2963 * Machine/OS name selection pattern
2965 tSCC* apzHpux11_Size_TMachs[] = {
2967 (const char*)NULL };
2970 * content selection pattern - do fix if pattern found
2972 tSCC zHpux11_Size_TSelect0[] =
2975 #define HPUX11_SIZE_T_TEST_CT 1
2976 static tTestDesc aHpux11_Size_TTests[] = {
2977 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2980 * Fix Command Arguments for Hpux11_Size_T
2982 static const char* apzHpux11_Size_TPatch[] = {
2987 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2989 * Description of Hpux11_Snprintf fix
2991 tSCC zHpux11_SnprintfName[] =
2995 * File name selection pattern
2997 tSCC zHpux11_SnprintfList[] =
3000 * Machine/OS name selection pattern
3002 #define apzHpux11_SnprintfMachs (const char**)NULL
3005 * content selection pattern - do fix if pattern found
3007 tSCC zHpux11_SnprintfSelect0[] =
3008 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3010 #define HPUX11_SNPRINTF_TEST_CT 1
3011 static tTestDesc aHpux11_SnprintfTests[] = {
3012 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3015 * Fix Command Arguments for Hpux11_Snprintf
3017 static const char* apzHpux11_SnprintfPatch[] = {
3022 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3024 * Description of Hpux11_Uint32_C fix
3026 tSCC zHpux11_Uint32_CName[] =
3030 * File name selection pattern
3032 tSCC zHpux11_Uint32_CList[] =
3035 * Machine/OS name selection pattern
3037 #define apzHpux11_Uint32_CMachs (const char**)NULL
3040 * content selection pattern - do fix if pattern found
3042 tSCC zHpux11_Uint32_CSelect0[] =
3043 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
3045 #define HPUX11_UINT32_C_TEST_CT 1
3046 static tTestDesc aHpux11_Uint32_CTests[] = {
3047 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
3050 * Fix Command Arguments for Hpux11_Uint32_C
3052 static const char* apzHpux11_Uint32_CPatch[] = {
3054 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
3057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3059 * Description of Hpux11_Vsnprintf fix
3061 tSCC zHpux11_VsnprintfName[] =
3065 * File name selection pattern
3067 tSCC zHpux11_VsnprintfList[] =
3070 * Machine/OS name selection pattern
3072 #define apzHpux11_VsnprintfMachs (const char**)NULL
3075 * content selection pattern - do fix if pattern found
3077 tSCC zHpux11_VsnprintfSelect0[] =
3078 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3080 #define HPUX11_VSNPRINTF_TEST_CT 1
3081 static tTestDesc aHpux11_VsnprintfTests[] = {
3082 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3085 * Fix Command Arguments for Hpux11_Vsnprintf
3087 static const char* apzHpux11_VsnprintfPatch[] = {
3092 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3094 * Description of Hpux8_Bogus_Inlines fix
3096 tSCC zHpux8_Bogus_InlinesName[] =
3097 "hpux8_bogus_inlines";
3100 * File name selection pattern
3102 tSCC zHpux8_Bogus_InlinesList[] =
3105 * Machine/OS name selection pattern
3107 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3110 * content selection pattern - do fix if pattern found
3112 tSCC zHpux8_Bogus_InlinesSelect0[] =
3116 * content bypass pattern - skip fix if pattern found
3118 tSCC zHpux8_Bogus_InlinesBypass0[] =
3121 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3122 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3123 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3124 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3127 * Fix Command Arguments for Hpux8_Bogus_Inlines
3129 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
3130 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3131 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3132 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3133 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3136 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3138 * Description of Hpux_Ctype_Macros fix
3140 tSCC zHpux_Ctype_MacrosName[] =
3141 "hpux_ctype_macros";
3144 * File name selection pattern
3146 tSCC zHpux_Ctype_MacrosList[] =
3149 * Machine/OS name selection pattern
3151 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3154 * content selection pattern - do fix if pattern found
3156 tSCC zHpux_Ctype_MacrosSelect0[] =
3157 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3159 #define HPUX_CTYPE_MACROS_TEST_CT 1
3160 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3161 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3164 * Fix Command Arguments for Hpux_Ctype_Macros
3166 static const char* apzHpux_Ctype_MacrosPatch[] = {
3171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3173 * Description of Hpux_Htonl fix
3175 tSCC zHpux_HtonlName[] =
3179 * File name selection pattern
3181 tSCC zHpux_HtonlList[] =
3184 * Machine/OS name selection pattern
3186 #define apzHpux_HtonlMachs (const char**)NULL
3189 * content selection pattern - do fix if pattern found
3191 tSCC zHpux_HtonlSelect0[] =
3192 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
3194 \\* Macros for number representation conversion\\.\n\
3198 #define HPUX_HTONL_TEST_CT 1
3199 static tTestDesc aHpux_HtonlTests[] = {
3200 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3203 * Fix Command Arguments for Hpux_Htonl
3205 static const char* apzHpux_HtonlPatch[] = {
3211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3213 * Description of Hpux_Long_Double fix
3215 tSCC zHpux_Long_DoubleName[] =
3219 * File name selection pattern
3221 tSCC zHpux_Long_DoubleList[] =
3224 * Machine/OS name selection pattern
3226 #define apzHpux_Long_DoubleMachs (const char**)NULL
3229 * content selection pattern - do fix if pattern found
3231 tSCC zHpux_Long_DoubleSelect0[] =
3232 "extern[ \t]long_double[ \t]strtold";
3235 * content bypass pattern - skip fix if pattern found
3237 tSCC zHpux_Long_DoubleBypass0[] =
3240 #define HPUX_LONG_DOUBLE_TEST_CT 2
3241 static tTestDesc aHpux_Long_DoubleTests[] = {
3242 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3243 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3246 * Fix Command Arguments for Hpux_Long_Double
3248 static const char* apzHpux_Long_DoublePatch[] = { "sed",
3249 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3250 "-e", "s/long_double/long double/g",
3253 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3255 * Description of Hpux_Systime fix
3257 tSCC zHpux_SystimeName[] =
3261 * File name selection pattern
3263 tSCC zHpux_SystimeList[] =
3266 * Machine/OS name selection pattern
3268 #define apzHpux_SystimeMachs (const char**)NULL
3271 * content selection pattern - do fix if pattern found
3273 tSCC zHpux_SystimeSelect0[] =
3274 "^extern struct sigevent;";
3276 #define HPUX_SYSTIME_TEST_CT 1
3277 static tTestDesc aHpux_SystimeTests[] = {
3278 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3281 * Fix Command Arguments for Hpux_Systime
3283 static const char* apzHpux_SystimePatch[] = {
3288 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3290 * Description of Hpux_Spu_Info fix
3292 tSCC zHpux_Spu_InfoName[] =
3296 * File name selection pattern
3298 tSCC zHpux_Spu_InfoList[] =
3299 "ia64/sys/getppdp.h\0";
3301 * Machine/OS name selection pattern
3303 tSCC* apzHpux_Spu_InfoMachs[] = {
3305 (const char*)NULL };
3308 * content selection pattern - do fix if pattern found
3310 tSCC zHpux_Spu_InfoSelect0[] =
3311 "^.*extern.*spu_info.*";
3313 #define HPUX_SPU_INFO_TEST_CT 1
3314 static tTestDesc aHpux_Spu_InfoTests[] = {
3315 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3318 * Fix Command Arguments for Hpux_Spu_Info
3320 static const char* apzHpux_Spu_InfoPatch[] = {
3327 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3329 * Description of Hpux11_Extern_Sendfile fix
3331 tSCC zHpux11_Extern_SendfileName[] =
3332 "hpux11_extern_sendfile";
3335 * File name selection pattern
3337 tSCC zHpux11_Extern_SendfileList[] =
3340 * Machine/OS name selection pattern
3342 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3343 "*-hp-hpux11.[12]*",
3344 (const char*)NULL };
3347 * content selection pattern - do fix if pattern found
3349 tSCC zHpux11_Extern_SendfileSelect0[] =
3350 "^[ \t]*extern sbsize_t sendfile.*\n\
3353 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3354 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3355 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3358 * Fix Command Arguments for Hpux11_Extern_Sendfile
3360 static const char* apzHpux11_Extern_SendfilePatch[] = {
3362 "#ifndef _APP32_64BIT_OFF_T\n\
3366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3368 * Description of Hpux11_Extern_Sendpath fix
3370 tSCC zHpux11_Extern_SendpathName[] =
3371 "hpux11_extern_sendpath";
3374 * File name selection pattern
3376 tSCC zHpux11_Extern_SendpathList[] =
3379 * Machine/OS name selection pattern
3381 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3382 "*-hp-hpux11.[12]*",
3383 (const char*)NULL };
3386 * content selection pattern - do fix if pattern found
3388 tSCC zHpux11_Extern_SendpathSelect0[] =
3389 "^[ \t]*extern sbsize_t sendpath.*\n\
3392 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3393 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3394 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3397 * Fix Command Arguments for Hpux11_Extern_Sendpath
3399 static const char* apzHpux11_Extern_SendpathPatch[] = {
3401 "#ifndef _APP32_64BIT_OFF_T\n\
3405 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3407 * Description of Hpux_Extern_Errno fix
3409 tSCC zHpux_Extern_ErrnoName[] =
3410 "hpux_extern_errno";
3413 * File name selection pattern
3415 tSCC zHpux_Extern_ErrnoList[] =
3418 * Machine/OS name selection pattern
3420 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3422 "*-hp-hpux11.[0-2]*",
3423 (const char*)NULL };
3426 * content selection pattern - do fix if pattern found
3428 tSCC zHpux_Extern_ErrnoSelect0[] =
3429 "^[ \t]*extern int errno;$";
3431 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3432 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3433 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3436 * Fix Command Arguments for Hpux_Extern_Errno
3438 static const char* apzHpux_Extern_ErrnoPatch[] = {
3440 "#ifdef __cplusplus\n\
3444 #ifdef __cplusplus\n\
3449 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3451 * Description of Hpux11_Pthread_Const fix
3453 tSCC zHpux11_Pthread_ConstName[] =
3454 "hpux11_pthread_const";
3457 * File name selection pattern
3459 tSCC zHpux11_Pthread_ConstList[] =
3462 * Machine/OS name selection pattern
3464 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3465 "*-hp-hpux11.[0-3]*",
3466 (const char*)NULL };
3469 * content selection pattern - do fix if pattern found
3471 tSCC zHpux11_Pthread_ConstSelect0[] =
3472 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3474 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3475 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3476 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3479 * Fix Command Arguments for Hpux11_Pthread_Const
3481 static const char* apzHpux11_Pthread_ConstPatch[] = {
3483 "#define __POINTER_SET\t\t((void *) 1L)",
3486 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3488 * Description of Hpux_Pthread_Initializers fix
3490 tSCC zHpux_Pthread_InitializersName[] =
3491 "hpux_pthread_initializers";
3494 * File name selection pattern
3496 tSCC zHpux_Pthread_InitializersList[] =
3499 * Machine/OS name selection pattern
3501 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3502 "*-hp-hpux11.[0-3]*",
3503 (const char*)NULL };
3504 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3505 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3508 * Fix Command Arguments for Hpux_Pthread_Initializers
3510 static const char* apzHpux_Pthread_InitializersPatch[] = { "sed",
3511 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3512 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3513 "-e", "/^[ \t]*0$/d",
3514 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3515 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3516 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3517 "-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\\\\@",
3518 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3519 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3520 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3521 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3522 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3523 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3528 * Description of Huge_Val_Hex fix
3530 tSCC zHuge_Val_HexName[] =
3534 * File name selection pattern
3536 tSCC zHuge_Val_HexList[] =
3537 "bits/huge_val.h\0";
3539 * Machine/OS name selection pattern
3541 #define apzHuge_Val_HexMachs (const char**)NULL
3544 * content selection pattern - do fix if pattern found
3546 tSCC zHuge_Val_HexSelect0[] =
3547 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
3550 * content bypass pattern - skip fix if pattern found
3552 tSCC zHuge_Val_HexBypass0[] =
3553 "__builtin_huge_val";
3555 #define HUGE_VAL_HEX_TEST_CT 2
3556 static tTestDesc aHuge_Val_HexTests[] = {
3557 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
3558 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
3561 * Fix Command Arguments for Huge_Val_Hex
3563 static const char* apzHuge_Val_HexPatch[] = {
3565 "#define HUGE_VAL (__builtin_huge_val())\n",
3568 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3570 * Description of Huge_Valf_Hex fix
3572 tSCC zHuge_Valf_HexName[] =
3576 * File name selection pattern
3578 tSCC zHuge_Valf_HexList[] =
3579 "bits/huge_val.h\0";
3581 * Machine/OS name selection pattern
3583 #define apzHuge_Valf_HexMachs (const char**)NULL
3586 * content selection pattern - do fix if pattern found
3588 tSCC zHuge_Valf_HexSelect0[] =
3589 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
3592 * content bypass pattern - skip fix if pattern found
3594 tSCC zHuge_Valf_HexBypass0[] =
3595 "__builtin_huge_valf";
3597 #define HUGE_VALF_HEX_TEST_CT 2
3598 static tTestDesc aHuge_Valf_HexTests[] = {
3599 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
3600 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
3603 * Fix Command Arguments for Huge_Valf_Hex
3605 static const char* apzHuge_Valf_HexPatch[] = {
3607 "#define HUGE_VALF (__builtin_huge_valf())\n",
3610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3612 * Description of Huge_Vall_Hex fix
3614 tSCC zHuge_Vall_HexName[] =
3618 * File name selection pattern
3620 tSCC zHuge_Vall_HexList[] =
3621 "bits/huge_val.h\0";
3623 * Machine/OS name selection pattern
3625 #define apzHuge_Vall_HexMachs (const char**)NULL
3628 * content selection pattern - do fix if pattern found
3630 tSCC zHuge_Vall_HexSelect0[] =
3631 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
3634 * content bypass pattern - skip fix if pattern found
3636 tSCC zHuge_Vall_HexBypass0[] =
3637 "__builtin_huge_vall";
3639 #define HUGE_VALL_HEX_TEST_CT 2
3640 static tTestDesc aHuge_Vall_HexTests[] = {
3641 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
3642 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
3645 * Fix Command Arguments for Huge_Vall_Hex
3647 static const char* apzHuge_Vall_HexPatch[] = {
3649 "#define HUGE_VALL (__builtin_huge_vall())\n",
3652 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3654 * Description of Int_Abort_Free_And_Exit fix
3656 tSCC zInt_Abort_Free_And_ExitName[] =
3657 "int_abort_free_and_exit";
3660 * File name selection pattern
3662 tSCC zInt_Abort_Free_And_ExitList[] =
3665 * Machine/OS name selection pattern
3667 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
3670 * content selection pattern - do fix if pattern found
3672 tSCC zInt_Abort_Free_And_ExitSelect0[] =
3673 "int[ \t]+(abort|free|exit)[ \t]*\\(";
3676 * content bypass pattern - skip fix if pattern found
3678 tSCC zInt_Abort_Free_And_ExitBypass0[] =
3679 "_CLASSIC_ANSI_TYPES";
3681 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
3682 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
3683 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
3684 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
3687 * Fix Command Arguments for Int_Abort_Free_And_Exit
3689 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
3694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3696 * Description of Io_Quotes_Def fix
3698 tSCC zIo_Quotes_DefName[] =
3702 * File name selection pattern
3704 #define zIo_Quotes_DefList (char*)NULL
3706 * Machine/OS name selection pattern
3708 #define apzIo_Quotes_DefMachs (const char**)NULL
3711 * content selection pattern - do fix if pattern found
3713 tSCC zIo_Quotes_DefSelect0[] =
3714 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
3716 #define IO_QUOTES_DEF_TEST_CT 1
3717 static tTestDesc aIo_Quotes_DefTests[] = {
3718 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
3721 * Fix Command Arguments for Io_Quotes_Def
3723 static const char* apzIo_Quotes_DefPatch[] = {
3728 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3730 * Description of Io_Quotes_Use fix
3732 tSCC zIo_Quotes_UseName[] =
3736 * File name selection pattern
3738 #define zIo_Quotes_UseList (char*)NULL
3740 * Machine/OS name selection pattern
3742 #define apzIo_Quotes_UseMachs (const char**)NULL
3745 * content selection pattern - do fix if pattern found
3747 tSCC zIo_Quotes_UseSelect0[] =
3748 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
3750 #define IO_QUOTES_USE_TEST_CT 1
3751 static tTestDesc aIo_Quotes_UseTests[] = {
3752 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
3755 * Fix Command Arguments for Io_Quotes_Use
3757 static const char* apzIo_Quotes_UsePatch[] = {
3762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3764 * Description of Ip_Missing_Semi fix
3766 tSCC zIp_Missing_SemiName[] =
3770 * File name selection pattern
3772 tSCC zIp_Missing_SemiList[] =
3775 * Machine/OS name selection pattern
3777 #define apzIp_Missing_SemiMachs (const char**)NULL
3780 * content selection pattern - do fix if pattern found
3782 tSCC zIp_Missing_SemiSelect0[] =
3785 #define IP_MISSING_SEMI_TEST_CT 1
3786 static tTestDesc aIp_Missing_SemiTests[] = {
3787 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
3790 * Fix Command Arguments for Ip_Missing_Semi
3792 static const char* apzIp_Missing_SemiPatch[] = { "sed",
3793 "-e", "/^struct/,/^};/s/}$/};/",
3796 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3798 * Description of Irix___Restrict fix
3800 tSCC zIrix___RestrictName[] =
3804 * File name selection pattern
3806 tSCC zIrix___RestrictList[] =
3807 "internal/sgimacros.h\0";
3809 * Machine/OS name selection pattern
3811 tSCC* apzIrix___RestrictMachs[] = {
3813 (const char*)NULL };
3816 * content selection pattern - do fix if pattern found
3818 tSCC zIrix___RestrictSelect0[] =
3820 )(#[ \t]*define __restrict restrict)";
3822 #define IRIX___RESTRICT_TEST_CT 1
3823 static tTestDesc aIrix___RestrictTests[] = {
3824 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
3827 * Fix Command Arguments for Irix___Restrict
3829 static const char* apzIrix___RestrictPatch[] = {
3831 "%1# ifndef __cplusplus\n\
3836 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3838 * Description of Irix___Generic1 fix
3840 tSCC zIrix___Generic1Name[] =
3844 * File name selection pattern
3846 tSCC zIrix___Generic1List[] =
3847 "internal/math_core.h\0";
3849 * Machine/OS name selection pattern
3851 tSCC* apzIrix___Generic1Machs[] = {
3853 (const char*)NULL };
3856 * content selection pattern - do fix if pattern found
3858 tSCC zIrix___Generic1Select0[] =
3859 "#define ([a-z]+)\\(x\\) *__generic.*";
3861 #define IRIX___GENERIC1_TEST_CT 1
3862 static tTestDesc aIrix___Generic1Tests[] = {
3863 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
3866 * Fix Command Arguments for Irix___Generic1
3868 static const char* apzIrix___Generic1Patch[] = {
3870 "extern int %1(double);\n\
3871 extern int %1f(float);\n\
3872 extern int %1l(long double);\n\
3873 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
3874 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
3878 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3880 * Description of Irix___Generic2 fix
3882 tSCC zIrix___Generic2Name[] =
3886 * File name selection pattern
3888 tSCC zIrix___Generic2List[] =
3889 "internal/math_core.h\0";
3891 * Machine/OS name selection pattern
3893 tSCC* apzIrix___Generic2Machs[] = {
3895 (const char*)NULL };
3898 * content selection pattern - do fix if pattern found
3900 tSCC zIrix___Generic2Select0[] =
3901 "#define ([a-z]+)\\(x,y\\) *__generic.*";
3903 #define IRIX___GENERIC2_TEST_CT 1
3904 static tTestDesc aIrix___Generic2Tests[] = {
3905 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
3908 * Fix Command Arguments for Irix___Generic2
3910 static const char* apzIrix___Generic2Patch[] = {
3912 "#define %1(x,y) \\\n\
3913 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
3914 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
3918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3920 * Description of Irix_Asm_Apostrophe fix
3922 tSCC zIrix_Asm_ApostropheName[] =
3923 "irix_asm_apostrophe";
3926 * File name selection pattern
3928 tSCC zIrix_Asm_ApostropheList[] =
3931 * Machine/OS name selection pattern
3933 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3936 * content selection pattern - do fix if pattern found
3938 tSCC zIrix_Asm_ApostropheSelect0[] =
3939 "^[ \t]*#.*[Ww]e're";
3941 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3942 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3943 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3946 * Fix Command Arguments for Irix_Asm_Apostrophe
3948 static const char* apzIrix_Asm_ApostrophePatch[] = {
3951 "^([ \t]*#.*[Ww]e)'re",
3954 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3956 * Description of Irix_Limits_Const fix
3958 tSCC zIrix_Limits_ConstName[] =
3959 "irix_limits_const";
3962 * File name selection pattern
3964 tSCC zIrix_Limits_ConstList[] =
3965 "fixinc-test-limits.h\0limits.h\0";
3967 * Machine/OS name selection pattern
3969 #define apzIrix_Limits_ConstMachs (const char**)NULL
3972 * content selection pattern - do fix if pattern found
3974 tSCC zIrix_Limits_ConstSelect0[] =
3977 #define IRIX_LIMITS_CONST_TEST_CT 1
3978 static tTestDesc aIrix_Limits_ConstTests[] = {
3979 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3982 * Fix Command Arguments for Irix_Limits_Const
3984 static const char* apzIrix_Limits_ConstPatch[] = {
3989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3991 * Description of Irix_Socklen_T fix
3993 tSCC zIrix_Socklen_TName[] =
3997 * File name selection pattern
3999 tSCC zIrix_Socklen_TList[] =
4002 * Machine/OS name selection pattern
4004 tSCC* apzIrix_Socklen_TMachs[] = {
4006 (const char*)NULL };
4009 * content selection pattern - do fix if pattern found
4011 tSCC zIrix_Socklen_TSelect0[] =
4012 "(#define _SOCKLEN_T\n\
4013 )(typedef u_int32_t socklen_t;)";
4015 #define IRIX_SOCKLEN_T_TEST_CT 1
4016 static tTestDesc aIrix_Socklen_TTests[] = {
4017 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
4020 * Fix Command Arguments for Irix_Socklen_T
4022 static const char* apzIrix_Socklen_TPatch[] = {
4024 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
4025 typedef int socklen_t;\n\
4028 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
4031 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4033 * Description of Irix_Stdint_C99 fix
4035 tSCC zIrix_Stdint_C99Name[] =
4039 * File name selection pattern
4041 tSCC zIrix_Stdint_C99List[] =
4044 * Machine/OS name selection pattern
4046 tSCC* apzIrix_Stdint_C99Machs[] = {
4048 (const char*)NULL };
4051 * content selection pattern - do fix if pattern found
4053 tSCC zIrix_Stdint_C99Select0[] =
4055 )(#error This header file is to be used only for c99 mode compilations)";
4057 #define IRIX_STDINT_C99_TEST_CT 1
4058 static tTestDesc aIrix_Stdint_C99Tests[] = {
4059 { TT_EGREP, zIrix_Stdint_C99Select0, (regex_t*)NULL }, };
4062 * Fix Command Arguments for Irix_Stdint_C99
4064 static const char* apzIrix_Stdint_C99Patch[] = {
4070 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4072 * Description of Irix_Stdio_Va_List fix
4074 tSCC zIrix_Stdio_Va_ListName[] =
4075 "irix_stdio_va_list";
4078 * File name selection pattern
4080 tSCC zIrix_Stdio_Va_ListList[] =
4081 "stdio.h\0internal/stdio_core.h\0";
4083 * Machine/OS name selection pattern
4085 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4088 * content selection pattern - do fix if pattern found
4090 tSCC zIrix_Stdio_Va_ListSelect0[] =
4091 "/\\* va_list \\*/ char \\*";
4093 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4094 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4095 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4098 * Fix Command Arguments for Irix_Stdio_Va_List
4100 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4107 * Description of Irix_Wcsftime fix
4109 tSCC zIrix_WcsftimeName[] =
4113 * File name selection pattern
4115 tSCC zIrix_WcsftimeList[] =
4116 "internal/wchar_core.h\0";
4118 * Machine/OS name selection pattern
4120 tSCC* apzIrix_WcsftimeMachs[] = {
4122 (const char*)NULL };
4125 * content selection pattern - do fix if pattern found
4127 tSCC zIrix_WcsftimeSelect0[] =
4129 (extern size_t[ \t]+wcsftime.*const char *.*)";
4131 #define IRIX_WCSFTIME_TEST_CT 1
4132 static tTestDesc aIrix_WcsftimeTests[] = {
4133 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
4136 * Fix Command Arguments for Irix_Wcsftime
4138 static const char* apzIrix_WcsftimePatch[] = {
4140 "#if _NO_XOPEN5 && !defined(__c99)\n\
4144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4146 * Description of Isc_Fmod fix
4148 tSCC zIsc_FmodName[] =
4152 * File name selection pattern
4154 tSCC zIsc_FmodList[] =
4157 * Machine/OS name selection pattern
4159 #define apzIsc_FmodMachs (const char**)NULL
4162 * content selection pattern - do fix if pattern found
4164 tSCC zIsc_FmodSelect0[] =
4167 #define ISC_FMOD_TEST_CT 1
4168 static tTestDesc aIsc_FmodTests[] = {
4169 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
4172 * Fix Command Arguments for Isc_Fmod
4174 static const char* apzIsc_FmodPatch[] = {
4176 "fmod(double, double)",
4179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4181 * Description of Isc_Omits_With_Stdc fix
4183 tSCC zIsc_Omits_With_StdcName[] =
4184 "isc_omits_with_stdc";
4187 * File name selection pattern
4189 tSCC zIsc_Omits_With_StdcList[] =
4190 "stdio.h\0math.h\0ctype.h\0sys/limits.h\0sys/fcntl.h\0sys/dirent.h\0";
4192 * Machine/OS name selection pattern
4194 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
4197 * content selection pattern - do fix if pattern found
4199 tSCC zIsc_Omits_With_StdcSelect0[] =
4200 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
4202 #define ISC_OMITS_WITH_STDC_TEST_CT 1
4203 static tTestDesc aIsc_Omits_With_StdcTests[] = {
4204 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
4207 * Fix Command Arguments for Isc_Omits_With_Stdc
4209 static const char* apzIsc_Omits_With_StdcPatch[] = {
4211 "!defined(_POSIX_SOURCE)",
4214 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4216 * Description of Kandr_Concat fix
4218 tSCC zKandr_ConcatName[] =
4222 * File name selection pattern
4224 tSCC zKandr_ConcatList[] =
4225 "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";
4227 * Machine/OS name selection pattern
4229 #define apzKandr_ConcatMachs (const char**)NULL
4232 * content selection pattern - do fix if pattern found
4234 tSCC zKandr_ConcatSelect0[] =
4237 #define KANDR_CONCAT_TEST_CT 1
4238 static tTestDesc aKandr_ConcatTests[] = {
4239 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4242 * Fix Command Arguments for Kandr_Concat
4244 static const char* apzKandr_ConcatPatch[] = {
4249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4251 * Description of Libc1_G_Va_List fix
4253 tSCC zLibc1_G_Va_ListName[] =
4257 * File name selection pattern
4259 tSCC zLibc1_G_Va_ListList[] =
4262 * Machine/OS name selection pattern
4264 tSCC* apzLibc1_G_Va_ListMachs[] = {
4266 (const char*)NULL };
4269 * content selection pattern - do fix if pattern found
4271 tSCC zLibc1_G_Va_ListSelect0[] =
4272 "typedef void \\* _G_va_list;";
4274 #define LIBC1_G_VA_LIST_TEST_CT 1
4275 static tTestDesc aLibc1_G_Va_ListTests[] = {
4276 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
4279 * Fix Command Arguments for Libc1_G_Va_List
4281 static const char* apzLibc1_G_Va_ListPatch[] = {
4283 "typedef __builtin_va_list _G_va_list;",
4286 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4288 * Description of Libc1_Ifdefd_Memx fix
4290 tSCC zLibc1_Ifdefd_MemxName[] =
4291 "libc1_ifdefd_memx";
4294 * File name selection pattern
4296 tSCC zLibc1_Ifdefd_MemxList[] =
4297 "testing.h\0string.h\0";
4299 * Machine/OS name selection pattern
4301 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
4304 * content selection pattern - do fix if pattern found
4306 tSCC zLibc1_Ifdefd_MemxSelect0[] =
4307 "' is a built-in function for gcc 2\\.x\\. \\*/";
4310 * content bypass pattern - skip fix if pattern found
4312 tSCC zLibc1_Ifdefd_MemxBypass0[] =
4315 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
4316 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
4317 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
4318 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
4321 * Fix Command Arguments for Libc1_Ifdefd_Memx
4323 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
4326 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
4327 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
4329 extern [a-z_]+ mem.*(\n\
4334 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4336 * Description of Linux_Ia64_Ucontext fix
4338 tSCC zLinux_Ia64_UcontextName[] =
4339 "linux_ia64_ucontext";
4342 * File name selection pattern
4344 tSCC zLinux_Ia64_UcontextList[] =
4347 * Machine/OS name selection pattern
4349 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4351 (const char*)NULL };
4354 * content selection pattern - do fix if pattern found
4356 tSCC zLinux_Ia64_UcontextSelect0[] =
4357 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4359 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4360 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4361 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4364 * Fix Command Arguments for Linux_Ia64_Ucontext
4366 static const char* apzLinux_Ia64_UcontextPatch[] = {
4368 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4371 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4373 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4375 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4376 "lynxos_no_warning_in_sys_time_h";
4379 * File name selection pattern
4381 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4384 * Machine/OS name selection pattern
4386 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4389 * content selection pattern - do fix if pattern found
4391 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4392 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4394 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4395 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4396 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4399 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4401 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4406 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4408 * Description of Lynxos_Missing_Putenv fix
4410 tSCC zLynxos_Missing_PutenvName[] =
4411 "lynxos_missing_putenv";
4414 * File name selection pattern
4416 tSCC zLynxos_Missing_PutenvList[] =
4419 * Machine/OS name selection pattern
4421 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4423 (const char*)NULL };
4426 * content selection pattern - do fix if pattern found
4428 tSCC zLynxos_Missing_PutenvSelect0[] =
4429 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4432 * content bypass pattern - skip fix if pattern found
4434 tSCC zLynxos_Missing_PutenvBypass0[] =
4437 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4438 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4439 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4440 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4443 * Fix Command Arguments for Lynxos_Missing_Putenv
4445 static const char* apzLynxos_Missing_PutenvPatch[] = {
4448 extern int putenv\t\t\t\t_AP((char *));",
4449 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4454 * Description of Machine_Ansi_H_Va_List fix
4456 tSCC zMachine_Ansi_H_Va_ListName[] =
4457 "machine_ansi_h_va_list";
4460 * File name selection pattern
4462 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4464 * Machine/OS name selection pattern
4466 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4469 * content selection pattern - do fix if pattern found
4471 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4472 "define[ \t]+_BSD_VA_LIST_[ \t]";
4475 * content bypass pattern - skip fix if pattern found
4477 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4478 "__builtin_va_list";
4480 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4481 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4482 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4483 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4486 * Fix Command Arguments for Machine_Ansi_H_Va_List
4488 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4490 "%1__builtin_va_list",
4491 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4496 * Description of Machine_Name fix
4498 tSCC zMachine_NameName[] =
4502 * File name selection pattern
4504 #define zMachine_NameList (char*)NULL
4506 * Machine/OS name selection pattern
4508 #define apzMachine_NameMachs (const char**)NULL
4511 * perform the C function call test
4513 tSCC zMachine_NameFTst0[] = "machine_name";
4515 #define MACHINE_NAME_TEST_CT 1
4516 static tTestDesc aMachine_NameTests[] = {
4517 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4520 * Fix Command Arguments for Machine_Name
4522 static const char* apzMachine_NamePatch[] = {
4526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4528 * Description of Math_Exception fix
4530 tSCC zMath_ExceptionName[] =
4534 * File name selection pattern
4536 tSCC zMath_ExceptionList[] =
4539 * Machine/OS name selection pattern
4541 #define apzMath_ExceptionMachs (const char**)NULL
4544 * content selection pattern - do fix if pattern found
4546 tSCC zMath_ExceptionSelect0[] =
4550 * content bypass pattern - skip fix if pattern found
4552 tSCC zMath_ExceptionBypass0[] =
4553 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4555 #define MATH_EXCEPTION_TEST_CT 2
4556 static tTestDesc aMath_ExceptionTests[] = {
4557 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4558 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4561 * Fix Command Arguments for Math_Exception
4563 static const char* apzMath_ExceptionPatch[] = {
4565 "#ifdef __cplusplus\n\
4566 #define exception __math_exception\n\
4568 "#ifdef __cplusplus\n\
4573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4575 * Description of Math_Huge_Val_From_Dbl_Max fix
4577 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4578 "math_huge_val_from_dbl_max";
4581 * File name selection pattern
4583 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4586 * Machine/OS name selection pattern
4588 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4591 * content selection pattern - do fix if pattern found
4593 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4594 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4597 * content bypass pattern - skip fix if pattern found
4599 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4600 "define[ \t]+DBL_MAX";
4602 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4603 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4604 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4605 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4608 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4610 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4611 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4612 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4613 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4618 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4620 * Description of Nested_Auth_Des fix
4622 tSCC zNested_Auth_DesName[] =
4626 * File name selection pattern
4628 tSCC zNested_Auth_DesList[] =
4631 * Machine/OS name selection pattern
4633 #define apzNested_Auth_DesMachs (const char**)NULL
4636 * content selection pattern - do fix if pattern found
4638 tSCC zNested_Auth_DesSelect0[] =
4639 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4641 #define NESTED_AUTH_DES_TEST_CT 1
4642 static tTestDesc aNested_Auth_DesTests[] = {
4643 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4646 * Fix Command Arguments for Nested_Auth_Des
4648 static const char* apzNested_Auth_DesPatch[] = {
4653 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4655 * Description of Nested_Motorola fix
4657 tSCC zNested_MotorolaName[] =
4661 * File name selection pattern
4663 tSCC zNested_MotorolaList[] =
4664 "sys/limits.h\0limits.h\0";
4666 * Machine/OS name selection pattern
4668 tSCC* apzNested_MotorolaMachs[] = {
4669 "m68k-motorola-sysv*",
4670 (const char*)NULL };
4673 * content selection pattern - do fix if pattern found
4675 tSCC zNested_MotorolaSelect0[] =
4676 "max # bytes atomic in write|error value returned by Math lib";
4678 #define NESTED_MOTOROLA_TEST_CT 1
4679 static tTestDesc aNested_MotorolaTests[] = {
4680 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
4683 * Fix Command Arguments for Nested_Motorola
4685 static const char* apzNested_MotorolaPatch[] = { "sed",
4686 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
4687 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
4690 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4692 * Description of Nested_Sys_Limits fix
4694 tSCC zNested_Sys_LimitsName[] =
4695 "nested_sys_limits";
4698 * File name selection pattern
4700 tSCC zNested_Sys_LimitsList[] =
4703 * Machine/OS name selection pattern
4705 #define apzNested_Sys_LimitsMachs (const char**)NULL
4708 * content selection pattern - do fix if pattern found
4710 tSCC zNested_Sys_LimitsSelect0[] =
4713 #define NESTED_SYS_LIMITS_TEST_CT 1
4714 static tTestDesc aNested_Sys_LimitsTests[] = {
4715 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
4718 * Fix Command Arguments for Nested_Sys_Limits
4720 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
4721 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
4722 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
4725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4727 * Description of Netbsd_C99_Inline_1 fix
4729 tSCC zNetbsd_C99_Inline_1Name[] =
4730 "netbsd_c99_inline_1";
4733 * File name selection pattern
4735 tSCC zNetbsd_C99_Inline_1List[] =
4738 * Machine/OS name selection pattern
4740 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
4742 (const char*)NULL };
4745 * content selection pattern - do fix if pattern found
4747 tSCC zNetbsd_C99_Inline_1Select0[] =
4748 "extern __inline int";
4750 #define NETBSD_C99_INLINE_1_TEST_CT 1
4751 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
4752 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
4755 * Fix Command Arguments for Netbsd_C99_Inline_1
4757 static const char* apzNetbsd_C99_Inline_1Patch[] = {
4760 #ifdef __GNUC_STDC_INLINE__\n\
4761 __attribute__((__gnu_inline__))\n\
4766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4768 * Description of Netbsd_C99_Inline_2 fix
4770 tSCC zNetbsd_C99_Inline_2Name[] =
4771 "netbsd_c99_inline_2";
4774 * File name selection pattern
4776 tSCC zNetbsd_C99_Inline_2List[] =
4779 * Machine/OS name selection pattern
4781 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
4783 (const char*)NULL };
4786 * content selection pattern - do fix if pattern found
4788 tSCC zNetbsd_C99_Inline_2Select0[] =
4789 "#define _SIGINLINE extern __inline";
4791 #define NETBSD_C99_INLINE_2_TEST_CT 1
4792 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
4793 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
4796 * Fix Command Arguments for Netbsd_C99_Inline_2
4798 static const char* apzNetbsd_C99_Inline_2Patch[] = {
4800 "#ifdef __GNUC_STDC_INLINE__\n\
4801 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
4807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4809 * Description of Netbsd_Extra_Semicolon fix
4811 tSCC zNetbsd_Extra_SemicolonName[] =
4812 "netbsd_extra_semicolon";
4815 * File name selection pattern
4817 tSCC zNetbsd_Extra_SemicolonList[] =
4820 * Machine/OS name selection pattern
4822 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4824 (const char*)NULL };
4827 * content selection pattern - do fix if pattern found
4829 tSCC zNetbsd_Extra_SemicolonSelect0[] =
4830 "#define[ \t]*__END_DECLS[ \t]*};";
4832 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
4833 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
4834 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
4837 * Fix Command Arguments for Netbsd_Extra_Semicolon
4839 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
4841 "#define __END_DECLS }",
4844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4846 * Description of Next_Math_Prefix fix
4848 tSCC zNext_Math_PrefixName[] =
4852 * File name selection pattern
4854 tSCC zNext_Math_PrefixList[] =
4857 * Machine/OS name selection pattern
4859 #define apzNext_Math_PrefixMachs (const char**)NULL
4862 * content selection pattern - do fix if pattern found
4864 tSCC zNext_Math_PrefixSelect0[] =
4865 "^extern[ \t]+double[ \t]+__const__[ \t]";
4867 #define NEXT_MATH_PREFIX_TEST_CT 1
4868 static tTestDesc aNext_Math_PrefixTests[] = {
4869 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
4872 * Fix Command Arguments for Next_Math_Prefix
4874 static const char* apzNext_Math_PrefixPatch[] = {
4876 "extern double %1(",
4877 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
4880 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4882 * Description of Next_Template fix
4884 tSCC zNext_TemplateName[] =
4888 * File name selection pattern
4890 tSCC zNext_TemplateList[] =
4893 * Machine/OS name selection pattern
4895 #define apzNext_TemplateMachs (const char**)NULL
4898 * content selection pattern - do fix if pattern found
4900 tSCC zNext_TemplateSelect0[] =
4903 #define NEXT_TEMPLATE_TEST_CT 1
4904 static tTestDesc aNext_TemplateTests[] = {
4905 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
4908 * Fix Command Arguments for Next_Template
4910 static const char* apzNext_TemplatePatch[] = {
4913 "\\(([^)]*)[ \t]template\\)",
4916 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4918 * Description of Next_Volitile fix
4920 tSCC zNext_VolitileName[] =
4924 * File name selection pattern
4926 tSCC zNext_VolitileList[] =
4929 * Machine/OS name selection pattern
4931 #define apzNext_VolitileMachs (const char**)NULL
4934 * content selection pattern - do fix if pattern found
4936 tSCC zNext_VolitileSelect0[] =
4937 "^extern[ \t]+volatile[ \t]+void[ \t]";
4939 #define NEXT_VOLITILE_TEST_CT 1
4940 static tTestDesc aNext_VolitileTests[] = {
4941 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
4944 * Fix Command Arguments for Next_Volitile
4946 static const char* apzNext_VolitilePatch[] = {
4949 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
4952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4954 * Description of Next_Wait_Union fix
4956 tSCC zNext_Wait_UnionName[] =
4960 * File name selection pattern
4962 tSCC zNext_Wait_UnionList[] =
4965 * Machine/OS name selection pattern
4967 #define apzNext_Wait_UnionMachs (const char**)NULL
4970 * content selection pattern - do fix if pattern found
4972 tSCC zNext_Wait_UnionSelect0[] =
4973 "wait\\(union wait";
4975 #define NEXT_WAIT_UNION_TEST_CT 1
4976 static tTestDesc aNext_Wait_UnionTests[] = {
4977 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
4980 * Fix Command Arguments for Next_Wait_Union
4982 static const char* apzNext_Wait_UnionPatch[] = {
4987 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4989 * Description of Nodeent_Syntax fix
4991 tSCC zNodeent_SyntaxName[] =
4995 * File name selection pattern
4997 tSCC zNodeent_SyntaxList[] =
4998 "netdnet/dnetdb.h\0";
5000 * Machine/OS name selection pattern
5002 #define apzNodeent_SyntaxMachs (const char**)NULL
5005 * content selection pattern - do fix if pattern found
5007 tSCC zNodeent_SyntaxSelect0[] =
5008 "char[ \t]*\\*na_addr[ \t]*$";
5010 #define NODEENT_SYNTAX_TEST_CT 1
5011 static tTestDesc aNodeent_SyntaxTests[] = {
5012 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5015 * Fix Command Arguments for Nodeent_Syntax
5017 static const char* apzNodeent_SyntaxPatch[] = {
5022 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5024 * Description of Obstack_Lvalue_Cast fix
5026 tSCC zObstack_Lvalue_CastName[] =
5027 "obstack_lvalue_cast";
5030 * File name selection pattern
5032 tSCC zObstack_Lvalue_CastList[] =
5035 * Machine/OS name selection pattern
5037 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5040 * content selection pattern - do fix if pattern found
5042 tSCC zObstack_Lvalue_CastSelect0[] =
5043 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5045 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5046 static tTestDesc aObstack_Lvalue_CastTests[] = {
5047 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5050 * Fix Command Arguments for Obstack_Lvalue_Cast
5052 static const char* apzObstack_Lvalue_CastPatch[] = {
5054 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5059 * Description of Osf_Namespace_A fix
5061 tSCC zOsf_Namespace_AName[] =
5065 * File name selection pattern
5067 tSCC zOsf_Namespace_AList[] =
5068 "reg_types.h\0sys/lc_core.h\0";
5070 * Machine/OS name selection pattern
5072 #define apzOsf_Namespace_AMachs (const char**)NULL
5075 * perform the 'test' shell command - do fix on success
5077 tSCC zOsf_Namespace_ATest0[] =
5079 tSCC zOsf_Namespace_ATest1[] =
5080 " -r sys/lc_core.h";
5081 tSCC zOsf_Namespace_ATest2[] =
5082 " -n \"`grep '} regex_t;' reg_types.h`\"";
5083 tSCC zOsf_Namespace_ATest3[] =
5084 " -z \"`grep __regex_t regex.h`\"";
5086 #define OSF_NAMESPACE_A_TEST_CT 4
5087 static tTestDesc aOsf_Namespace_ATests[] = {
5088 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5089 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5090 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5091 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5094 * Fix Command Arguments for Osf_Namespace_A
5096 static const char* apzOsf_Namespace_APatch[] = {
5099 "reg(ex|off|match)_t",
5102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5104 * Description of Osf_Namespace_C fix
5106 tSCC zOsf_Namespace_CName[] =
5110 * File name selection pattern
5112 tSCC zOsf_Namespace_CList[] =
5115 * Machine/OS name selection pattern
5117 #define apzOsf_Namespace_CMachs (const char**)NULL
5120 * content selection pattern - do fix if pattern found
5122 tSCC zOsf_Namespace_CSelect0[] =
5123 "#include <reg_types.h>.*";
5126 * perform the 'test' shell command - do fix on success
5128 tSCC zOsf_Namespace_CTest0[] =
5130 tSCC zOsf_Namespace_CTest1[] =
5131 " -r sys/lc_core.h";
5132 tSCC zOsf_Namespace_CTest2[] =
5133 " -n \"`grep '} regex_t;' reg_types.h`\"";
5134 tSCC zOsf_Namespace_CTest3[] =
5135 " -z \"`grep __regex_t regex.h`\"";
5137 #define OSF_NAMESPACE_C_TEST_CT 5
5138 static tTestDesc aOsf_Namespace_CTests[] = {
5139 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5140 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5141 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5142 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5143 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5146 * Fix Command Arguments for Osf_Namespace_C
5148 static const char* apzOsf_Namespace_CPatch[] = {
5151 typedef __regex_t\tregex_t;\n\
5152 typedef __regoff_t\tregoff_t;\n\
5153 typedef __regmatch_t\tregmatch_t;",
5156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5158 * Description of Pthread_Page_Size fix
5160 tSCC zPthread_Page_SizeName[] =
5161 "pthread_page_size";
5164 * File name selection pattern
5166 tSCC zPthread_Page_SizeList[] =
5169 * Machine/OS name selection pattern
5171 #define apzPthread_Page_SizeMachs (const char**)NULL
5174 * content selection pattern - do fix if pattern found
5176 tSCC zPthread_Page_SizeSelect0[] =
5179 #define PTHREAD_PAGE_SIZE_TEST_CT 1
5180 static tTestDesc aPthread_Page_SizeTests[] = {
5181 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
5184 * Fix Command Arguments for Pthread_Page_Size
5186 static const char* apzPthread_Page_SizePatch[] = {
5191 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5193 * Description of Pthread_Incomplete_Struct_Argument fix
5195 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5196 "pthread_incomplete_struct_argument";
5199 * File name selection pattern
5201 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5204 * Machine/OS name selection pattern
5206 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5209 * content selection pattern - do fix if pattern found
5211 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5212 "struct __jmp_buf_tag";
5214 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5215 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5216 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5219 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5221 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5224 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5229 * Description of Read_Ret_Type fix
5231 tSCC zRead_Ret_TypeName[] =
5235 * File name selection pattern
5237 tSCC zRead_Ret_TypeList[] =
5240 * Machine/OS name selection pattern
5242 #define apzRead_Ret_TypeMachs (const char**)NULL
5245 * content selection pattern - do fix if pattern found
5247 tSCC zRead_Ret_TypeSelect0[] =
5248 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5250 #define READ_RET_TYPE_TEST_CT 1
5251 static tTestDesc aRead_Ret_TypeTests[] = {
5252 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5255 * Fix Command Arguments for Read_Ret_Type
5257 static const char* apzRead_Ret_TypePatch[] = {
5259 "extern unsigned int fread(), fwrite();\n\
5261 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5266 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5268 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5269 "rpc_xdr_lvalue_cast_a";
5272 * File name selection pattern
5274 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5277 * Machine/OS name selection pattern
5279 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5282 * content selection pattern - do fix if pattern found
5284 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5285 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5288 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5289 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5290 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5293 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5295 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5297 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5300 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5302 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5304 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5305 "rpc_xdr_lvalue_cast_b";
5308 * File name selection pattern
5310 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5313 * Machine/OS name selection pattern
5315 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5318 * content selection pattern - do fix if pattern found
5320 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5321 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5324 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5325 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5326 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5329 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5331 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5333 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5338 * Description of Rs6000_Double fix
5340 tSCC zRs6000_DoubleName[] =
5344 * File name selection pattern
5346 tSCC zRs6000_DoubleList[] =
5349 * Machine/OS name selection pattern
5351 #define apzRs6000_DoubleMachs (const char**)NULL
5354 * content selection pattern - do fix if pattern found
5356 tSCC zRs6000_DoubleSelect0[] =
5357 "[^a-zA-Z_]class\\(";
5359 #define RS6000_DOUBLE_TEST_CT 1
5360 static tTestDesc aRs6000_DoubleTests[] = {
5361 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5364 * Fix Command Arguments for Rs6000_Double
5366 static const char* apzRs6000_DoublePatch[] = {
5368 "#ifndef __cplusplus\n\
5371 "^.*[^a-zA-Z_]class\\(.*",
5374 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5376 * Description of Rs6000_Fchmod fix
5378 tSCC zRs6000_FchmodName[] =
5382 * File name selection pattern
5384 tSCC zRs6000_FchmodList[] =
5387 * Machine/OS name selection pattern
5389 #define apzRs6000_FchmodMachs (const char**)NULL
5392 * content selection pattern - do fix if pattern found
5394 tSCC zRs6000_FchmodSelect0[] =
5395 "fchmod\\(char \\*";
5397 #define RS6000_FCHMOD_TEST_CT 1
5398 static tTestDesc aRs6000_FchmodTests[] = {
5399 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5402 * Fix Command Arguments for Rs6000_Fchmod
5404 static const char* apzRs6000_FchmodPatch[] = {
5409 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5411 * Description of Rs6000_Param fix
5413 tSCC zRs6000_ParamName[] =
5417 * File name selection pattern
5419 tSCC zRs6000_ParamList[] =
5420 "stdio.h\0unistd.h\0";
5422 * Machine/OS name selection pattern
5424 #define apzRs6000_ParamMachs (const char**)NULL
5427 * content selection pattern - do fix if pattern found
5429 tSCC zRs6000_ParamSelect0[] =
5430 "rename\\(const char \\*old, const char \\*new\\)";
5432 #define RS6000_PARAM_TEST_CT 1
5433 static tTestDesc aRs6000_ParamTests[] = {
5434 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5437 * Fix Command Arguments for Rs6000_Param
5439 static const char* apzRs6000_ParamPatch[] = {
5441 "rename(const char *_old, const char *_new)",
5444 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5446 * Description of Sco_Math fix
5448 tSCC zSco_MathName[] =
5452 * File name selection pattern
5454 tSCC zSco_MathList[] =
5455 "math.h\0*/math.h\0";
5457 * Machine/OS name selection pattern
5459 #define apzSco_MathMachs (const char**)NULL
5462 * content selection pattern - do fix if pattern found
5464 tSCC zSco_MathSelect0[] =
5465 "inline double abs";
5468 * content bypass pattern - skip fix if pattern found
5470 tSCC zSco_MathBypass0[] =
5473 #define SCO_MATH_TEST_CT 2
5474 static tTestDesc aSco_MathTests[] = {
5475 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
5476 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
5479 * Fix Command Arguments for Sco_Math
5481 static const char* apzSco_MathPatch[] = { "sed",
5482 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
5483 #ifndef __GNUC__\n",
5484 "-e", "/.*__builtin_generic/a\\\n\
5486 #define __fp_class(a) \\\\\\\n\
5487 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
5488 __fpclassifyl(a), \\\\\\\n\
5489 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
5490 __fpclassifyf(a),__fpclassify(a)))\\\n\
5492 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
5493 #ifndef __GNUC__\n",
5494 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
5495 #endif /* ! __GNUC__ */",
5498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5500 * Description of Sco_Regset fix
5502 tSCC zSco_RegsetName[] =
5506 * File name selection pattern
5508 tSCC zSco_RegsetList[] =
5511 * Machine/OS name selection pattern
5513 tSCC* apzSco_RegsetMachs[] = {
5515 (const char*)NULL };
5518 * content selection pattern - do fix if pattern found
5520 tSCC zSco_RegsetSelect0[] =
5521 "(struct[ \t]+.*)fpstate";
5523 #define SCO_REGSET_TEST_CT 1
5524 static tTestDesc aSco_RegsetTests[] = {
5525 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
5528 * Fix Command Arguments for Sco_Regset
5530 static const char* apzSco_RegsetPatch[] = {
5535 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5537 * Description of Sco_Static_Func fix
5539 tSCC zSco_Static_FuncName[] =
5543 * File name selection pattern
5545 tSCC zSco_Static_FuncList[] =
5548 * Machine/OS name selection pattern
5550 tSCC* apzSco_Static_FuncMachs[] = {
5552 (const char*)NULL };
5555 * content selection pattern - do fix if pattern found
5557 tSCC zSco_Static_FuncSelect0[] =
5560 #define SCO_STATIC_FUNC_TEST_CT 1
5561 static tTestDesc aSco_Static_FuncTests[] = {
5562 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
5565 * Fix Command Arguments for Sco_Static_Func
5567 static const char* apzSco_Static_FuncPatch[] = { "sed",
5568 "-e", "/^static int/i\\\n\
5569 #if __cplusplus\\\n\
5571 #endif /* __cplusplus */",
5573 #if __cplusplus\\\n\
5575 #endif /* __cplusplus */",
5578 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5580 * Description of Sco_Utime fix
5582 tSCC zSco_UtimeName[] =
5586 * File name selection pattern
5588 tSCC zSco_UtimeList[] =
5591 * Machine/OS name selection pattern
5593 tSCC* apzSco_UtimeMachs[] = {
5595 (const char*)NULL };
5598 * content selection pattern - do fix if pattern found
5600 tSCC zSco_UtimeSelect0[] =
5601 "\\(const char \\*, struct utimbuf \\*\\);";
5603 #define SCO_UTIME_TEST_CT 1
5604 static tTestDesc aSco_UtimeTests[] = {
5605 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
5608 * Fix Command Arguments for Sco_Utime
5610 static const char* apzSco_UtimePatch[] = {
5612 "(const char *, const struct utimbuf *);",
5615 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5617 * Description of Solaris_Math_1 fix
5619 tSCC zSolaris_Math_1Name[] =
5623 * File name selection pattern
5625 tSCC zSolaris_Math_1List[] =
5628 * Machine/OS name selection pattern
5630 #define apzSolaris_Math_1Machs (const char**)NULL
5633 * content selection pattern - do fix if pattern found
5635 tSCC zSolaris_Math_1Select0[] =
5636 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5639 * content bypass pattern - skip fix if pattern found
5641 tSCC zSolaris_Math_1Bypass0[] =
5644 #define SOLARIS_MATH_1_TEST_CT 2
5645 static tTestDesc aSolaris_Math_1Tests[] = {
5646 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
5647 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
5650 * Fix Command Arguments for Solaris_Math_1
5652 static const char* apzSolaris_Math_1Patch[] = {
5654 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
5655 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
5658 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5660 * Description of Solaris_Math_2 fix
5662 tSCC zSolaris_Math_2Name[] =
5666 * File name selection pattern
5668 tSCC zSolaris_Math_2List[] =
5671 * Machine/OS name selection pattern
5673 #define apzSolaris_Math_2Machs (const char**)NULL
5676 * content selection pattern - do fix if pattern found
5678 tSCC zSolaris_Math_2Select0[] =
5679 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5682 * content bypass pattern - skip fix if pattern found
5684 tSCC zSolaris_Math_2Bypass0[] =
5687 #define SOLARIS_MATH_2_TEST_CT 2
5688 static tTestDesc aSolaris_Math_2Tests[] = {
5689 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
5690 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
5693 * Fix Command Arguments for Solaris_Math_2
5695 static const char* apzSolaris_Math_2Patch[] = {
5697 "#define\tINFINITY\t(__builtin_inff())",
5698 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
5701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5703 * Description of Solaris_Math_3 fix
5705 tSCC zSolaris_Math_3Name[] =
5709 * File name selection pattern
5711 tSCC zSolaris_Math_3List[] =
5714 * Machine/OS name selection pattern
5716 #define apzSolaris_Math_3Machs (const char**)NULL
5719 * content selection pattern - do fix if pattern found
5721 tSCC zSolaris_Math_3Select0[] =
5722 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5725 * content bypass pattern - skip fix if pattern found
5727 tSCC zSolaris_Math_3Bypass0[] =
5730 #define SOLARIS_MATH_3_TEST_CT 2
5731 static tTestDesc aSolaris_Math_3Tests[] = {
5732 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
5733 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
5736 * Fix Command Arguments for Solaris_Math_3
5738 static const char* apzSolaris_Math_3Patch[] = {
5740 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
5741 "^#define[ \t]+NAN[ \t]+__builtin_nan",
5744 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5746 * Description of Solaris_Math_4 fix
5748 tSCC zSolaris_Math_4Name[] =
5752 * File name selection pattern
5754 tSCC zSolaris_Math_4List[] =
5757 * Machine/OS name selection pattern
5759 #define apzSolaris_Math_4Machs (const char**)NULL
5762 * content selection pattern - do fix if pattern found
5764 tSCC zSolaris_Math_4Select0[] =
5765 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5768 * content bypass pattern - skip fix if pattern found
5770 tSCC zSolaris_Math_4Bypass0[] =
5773 #define SOLARIS_MATH_4_TEST_CT 2
5774 static tTestDesc aSolaris_Math_4Tests[] = {
5775 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
5776 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
5779 * Fix Command Arguments for Solaris_Math_4
5781 static const char* apzSolaris_Math_4Patch[] = {
5783 "#define\tfpclassify(x) \\\n\
5784 __extension__ ({ const __typeof(x) __x_fp = (x); \\\n\
5785 \t\t isnan(__x_fp) \\\n\
5787 \t\t : isinf(__x_fp) \\\n\
5788 \t\t ? FP_INFINITE \\\n\
5789 \t\t : isnormal(__x_fp) \\\n\
5790 \t\t\t ? FP_NORMAL \\\n\
5791 \t\t\t : __x_fp == 0.0 \\\n\
5792 \t\t\t ? FP_ZERO \\\n\
5793 \t\t\t : FP_SUBNORMAL; })",
5794 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
5797 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5799 * Description of Solaris_Math_8 fix
5801 tSCC zSolaris_Math_8Name[] =
5805 * File name selection pattern
5807 tSCC zSolaris_Math_8List[] =
5810 * Machine/OS name selection pattern
5812 #define apzSolaris_Math_8Machs (const char**)NULL
5815 * content selection pattern - do fix if pattern found
5817 tSCC zSolaris_Math_8Select0[] =
5818 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5821 * content bypass pattern - skip fix if pattern found
5823 tSCC zSolaris_Math_8Bypass0[] =
5826 #define SOLARIS_MATH_8_TEST_CT 2
5827 static tTestDesc aSolaris_Math_8Tests[] = {
5828 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
5829 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
5832 * Fix Command Arguments for Solaris_Math_8
5834 static const char* apzSolaris_Math_8Patch[] = {
5836 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
5837 \t\t\t ? __builtin_signbitf(x) \\\n\
5838 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
5839 \t\t\t ? __builtin_signbitl(x) \\\n\
5840 \t\t\t : __builtin_signbit(x))",
5841 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
5844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5846 * Description of Solaris_Math_9 fix
5848 tSCC zSolaris_Math_9Name[] =
5852 * File name selection pattern
5854 tSCC zSolaris_Math_9List[] =
5857 * Machine/OS name selection pattern
5859 #define apzSolaris_Math_9Machs (const char**)NULL
5862 * content selection pattern - do fix if pattern found
5864 tSCC zSolaris_Math_9Select0[] =
5865 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5868 * content bypass pattern - skip fix if pattern found
5870 tSCC zSolaris_Math_9Bypass0[] =
5873 #define SOLARIS_MATH_9_TEST_CT 2
5874 static tTestDesc aSolaris_Math_9Tests[] = {
5875 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
5876 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
5879 * Fix Command Arguments for Solaris_Math_9
5881 static const char* apzSolaris_Math_9Patch[] = {
5883 "#define\t%1(x, y)%2__builtin_%1(x, y)",
5884 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
5887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5889 * Description of Solaris_Mutex_Init_1 fix
5891 tSCC zSolaris_Mutex_Init_1Name[] =
5892 "solaris_mutex_init_1";
5895 * File name selection pattern
5897 tSCC zSolaris_Mutex_Init_1List[] =
5900 * Machine/OS name selection pattern
5902 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
5905 * content selection pattern - do fix if pattern found
5907 tSCC zSolaris_Mutex_Init_1Select0[] =
5908 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
5910 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
5911 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
5912 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
5915 * Fix Command Arguments for Solaris_Mutex_Init_1
5917 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
5918 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
5919 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
5922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5924 * Description of Solaris_Mutex_Init_2 fix
5926 tSCC zSolaris_Mutex_Init_2Name[] =
5927 "solaris_mutex_init_2";
5930 * File name selection pattern
5932 tSCC zSolaris_Mutex_Init_2List[] =
5935 * Machine/OS name selection pattern
5937 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
5938 "*-*-solaris2.[0-9]",
5939 "*-*-solaris2.[0-9][!0-9]*",
5940 (const char*)NULL };
5943 * content selection pattern - do fix if pattern found
5945 tSCC zSolaris_Mutex_Init_2Select0[] =
5946 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5948 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
5949 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
5950 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
5953 * Fix Command Arguments for Solaris_Mutex_Init_2
5955 static const char* apzSolaris_Mutex_Init_2Patch[] = {
5957 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5962 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
5963 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
5966 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5968 * Description of Solaris_Rwlock_Init_1 fix
5970 tSCC zSolaris_Rwlock_Init_1Name[] =
5971 "solaris_rwlock_init_1";
5974 * File name selection pattern
5976 tSCC zSolaris_Rwlock_Init_1List[] =
5979 * Machine/OS name selection pattern
5981 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
5983 (const char*)NULL };
5986 * content selection pattern - do fix if pattern found
5988 tSCC zSolaris_Rwlock_Init_1Select0[] =
5989 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5991 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
5992 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
5993 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
5996 * Fix Command Arguments for Solaris_Rwlock_Init_1
5998 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6000 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6003 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6005 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6008 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6010 * Description of Solaris_Once_Init_1 fix
6012 tSCC zSolaris_Once_Init_1Name[] =
6013 "solaris_once_init_1";
6016 * File name selection pattern
6018 tSCC zSolaris_Once_Init_1List[] =
6021 * Machine/OS name selection pattern
6023 tSCC* apzSolaris_Once_Init_1Machs[] = {
6025 (const char*)NULL };
6028 * content selection pattern - do fix if pattern found
6030 tSCC zSolaris_Once_Init_1Select0[] =
6031 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6033 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6034 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6035 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6038 * Fix Command Arguments for Solaris_Once_Init_1
6040 static const char* apzSolaris_Once_Init_1Patch[] = {
6043 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6048 * Description of Solaris_Once_Init_2 fix
6050 tSCC zSolaris_Once_Init_2Name[] =
6051 "solaris_once_init_2";
6054 * File name selection pattern
6056 tSCC zSolaris_Once_Init_2List[] =
6059 * Machine/OS name selection pattern
6061 tSCC* apzSolaris_Once_Init_2Machs[] = {
6062 "*-*-solaris2.[0-9]",
6063 "*-*-solaris2.[0-9][!0-9]*",
6064 (const char*)NULL };
6067 * content selection pattern - do fix if pattern found
6069 tSCC zSolaris_Once_Init_2Select0[] =
6070 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6072 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6073 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6074 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6077 * Fix Command Arguments for Solaris_Once_Init_2
6079 static const char* apzSolaris_Once_Init_2Patch[] = {
6081 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6084 %1{0}, {0}, {0}, {%3}%4\n\
6086 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6089 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6091 * Description of Solaris_Socket fix
6093 tSCC zSolaris_SocketName[] =
6097 * File name selection pattern
6099 tSCC zSolaris_SocketList[] =
6102 * Machine/OS name selection pattern
6104 #define apzSolaris_SocketMachs (const char**)NULL
6107 * content selection pattern - do fix if pattern found
6109 tSCC zSolaris_SocketSelect0[] =
6110 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
6112 #define SOLARIS_SOCKET_TEST_CT 1
6113 static tTestDesc aSolaris_SocketTests[] = {
6114 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
6117 * Fix Command Arguments for Solaris_Socket
6119 static const char* apzSolaris_SocketPatch[] = {
6121 "extern int %1(int, %2void *, int, int);",
6122 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
6125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6127 * Description of Solaris_Stdio_Tag fix
6129 tSCC zSolaris_Stdio_TagName[] =
6130 "solaris_stdio_tag";
6133 * File name selection pattern
6135 tSCC zSolaris_Stdio_TagList[] =
6138 * Machine/OS name selection pattern
6140 #define apzSolaris_Stdio_TagMachs (const char**)NULL
6143 * content selection pattern - do fix if pattern found
6145 tSCC zSolaris_Stdio_TagSelect0[] =
6146 "__cplusplus < 54321L";
6149 * content bypass pattern - skip fix if pattern found
6151 tSCC zSolaris_Stdio_TagBypass0[] =
6154 #define SOLARIS_STDIO_TAG_TEST_CT 2
6155 static tTestDesc aSolaris_Stdio_TagTests[] = {
6156 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6157 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6160 * Fix Command Arguments for Solaris_Stdio_Tag
6162 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
6163 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6166 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6168 * Description of Solaris_Unistd fix
6170 tSCC zSolaris_UnistdName[] =
6174 * File name selection pattern
6176 tSCC zSolaris_UnistdList[] =
6179 * Machine/OS name selection pattern
6181 #define apzSolaris_UnistdMachs (const char**)NULL
6184 * content selection pattern - do fix if pattern found
6186 tSCC zSolaris_UnistdSelect0[] =
6187 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
6190 * content bypass pattern - skip fix if pattern found
6192 tSCC zSolaris_UnistdBypass0[] =
6195 #define SOLARIS_UNISTD_TEST_CT 2
6196 static tTestDesc aSolaris_UnistdTests[] = {
6197 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
6198 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
6201 * Fix Command Arguments for Solaris_Unistd
6203 static const char* apzSolaris_UnistdPatch[] = {
6205 "extern int getpagesize();\n\
6207 "^extern (pid_t|int) getpgid\\(.*\\);",
6210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6212 * Description of Solaris_Widec fix
6214 tSCC zSolaris_WidecName[] =
6218 * File name selection pattern
6220 tSCC zSolaris_WidecList[] =
6223 * Machine/OS name selection pattern
6225 tSCC* apzSolaris_WidecMachs[] = {
6226 "*-*-solaris2.[0-5]",
6227 "*-*-solaris2.[0-5].*",
6228 (const char*)NULL };
6231 * content selection pattern - do fix if pattern found
6233 tSCC zSolaris_WidecSelect0[] =
6237 * content bypass pattern - skip fix if pattern found
6239 tSCC zSolaris_WidecBypass0[] =
6240 "include.*wchar\\.h";
6242 #define SOLARIS_WIDEC_TEST_CT 2
6243 static tTestDesc aSolaris_WidecTests[] = {
6244 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
6245 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
6248 * Fix Command Arguments for Solaris_Widec
6250 static const char* apzSolaris_WidecPatch[] = {
6253 #include <wchar.h>",
6256 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6258 * Description of Statsswtch fix
6260 tSCC zStatsswtchName[] =
6264 * File name selection pattern
6266 tSCC zStatsswtchList[] =
6269 * Machine/OS name selection pattern
6271 #define apzStatsswtchMachs (const char**)NULL
6274 * content selection pattern - do fix if pattern found
6276 tSCC zStatsswtchSelect0[] =
6279 #define STATSSWTCH_TEST_CT 1
6280 static tTestDesc aStatsswtchTests[] = {
6281 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6284 * Fix Command Arguments for Statsswtch
6286 static const char* apzStatsswtchPatch[] = {
6291 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6293 * Description of Stdio_Stdarg_H fix
6295 tSCC zStdio_Stdarg_HName[] =
6299 * File name selection pattern
6301 tSCC zStdio_Stdarg_HList[] =
6304 * Machine/OS name selection pattern
6306 tSCC* apzStdio_Stdarg_HMachs[] = {
6307 "*-*-solaris2.1[0-9]*",
6308 (const char*)NULL };
6311 * content bypass pattern - skip fix if pattern found
6313 tSCC zStdio_Stdarg_HBypass0[] =
6314 "include.*(stdarg.h|machine/ansi.h)";
6316 #define STDIO_STDARG_H_TEST_CT 1
6317 static tTestDesc aStdio_Stdarg_HTests[] = {
6318 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6321 * Fix Command Arguments for Stdio_Stdarg_H
6323 static const char* apzStdio_Stdarg_HPatch[] = {
6325 "#define __need___va_list\n\
6326 #include <stdarg.h>\n",
6329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6331 * Description of Stdio_Va_List fix
6333 tSCC zStdio_Va_ListName[] =
6337 * File name selection pattern
6339 tSCC zStdio_Va_ListList[] =
6340 "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0";
6342 * Machine/OS name selection pattern
6344 tSCC* apzStdio_Va_ListMachs[] = {
6345 "*-*-solaris2.1[0-9]*",
6346 (const char*)NULL };
6349 * content bypass pattern - skip fix if pattern found
6351 tSCC zStdio_Va_ListBypass0[] =
6352 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6354 #define STDIO_VA_LIST_TEST_CT 1
6355 static tTestDesc aStdio_Va_ListTests[] = {
6356 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
6359 * Fix Command Arguments for Stdio_Va_List
6361 static const char* apzStdio_Va_ListPatch[] = { "sed",
6362 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6363 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6364 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6365 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6366 s@ va_list@ __not_va_list__@\n\
6367 s@\\*va_list@*__not_va_list__@\n\
6368 s@ __va_list)@ __gnuc_va_list)@\n\
6369 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6370 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6371 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6372 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6373 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6374 s@VA_LIST@DUMMY_VA_LIST@\n\
6375 s@_Va_LIST@_VA_LIST@",
6378 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6380 * Description of Stdio_Va_List_Clients fix
6382 tSCC zStdio_Va_List_ClientsName[] =
6383 "stdio_va_list_clients";
6386 * File name selection pattern
6388 tSCC zStdio_Va_List_ClientsList[] =
6389 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
6391 * Machine/OS name selection pattern
6393 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
6396 * content bypass pattern - skip fix if pattern found
6398 tSCC zStdio_Va_List_ClientsBypass0[] =
6399 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6400 tSCC zStdio_Va_List_ClientsBypass1[] =
6401 "include <stdarg\\.h>|#ifdef va_start";
6403 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
6404 static tTestDesc aStdio_Va_List_ClientsTests[] = {
6405 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
6406 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
6409 * Fix Command Arguments for Stdio_Va_List_Clients
6411 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
6412 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6413 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6414 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6415 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6416 s@ va_list@ __not_va_list__@\n\
6417 s@\\*va_list@*__not_va_list__@\n\
6418 s@ __va_list)@ __gnuc_va_list)@\n\
6419 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6420 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6421 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6422 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6423 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6424 s@VA_LIST@DUMMY_VA_LIST@\n\
6425 s@_Va_LIST@_VA_LIST@",
6428 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6430 * Description of Strict_Ansi_Not fix
6432 tSCC zStrict_Ansi_NotName[] =
6436 * File name selection pattern
6438 #define zStrict_Ansi_NotList (char*)NULL
6440 * Machine/OS name selection pattern
6442 #define apzStrict_Ansi_NotMachs (const char**)NULL
6445 * content selection pattern - do fix if pattern found
6447 tSCC zStrict_Ansi_NotSelect0[] =
6448 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
6451 * content bypass pattern - skip fix if pattern found
6453 tSCC zStrict_Ansi_NotBypass0[] =
6454 "GNU and MIPS C compilers define __STDC__ differently";
6455 tSCC zStrict_Ansi_NotBypass1[] =
6456 "__SCO_VERSION__.*__STDC__ != 1";
6459 * perform the C function call test
6461 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
6463 #define STRICT_ANSI_NOT_TEST_CT 4
6464 static tTestDesc aStrict_Ansi_NotTests[] = {
6465 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
6466 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
6467 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
6468 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
6471 * Fix Command Arguments for Strict_Ansi_Not
6473 static const char* apzStrict_Ansi_NotPatch[] = {
6475 "%1 !defined(__STRICT_ANSI__)",
6478 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6480 * Description of Strict_Ansi_Not_Ctd fix
6482 tSCC zStrict_Ansi_Not_CtdName[] =
6483 "strict_ansi_not_ctd";
6486 * File name selection pattern
6488 tSCC zStrict_Ansi_Not_CtdList[] =
6489 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
6491 * Machine/OS name selection pattern
6493 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
6496 * content selection pattern - do fix if pattern found
6498 tSCC zStrict_Ansi_Not_CtdSelect0[] =
6499 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
6502 * perform the C function call test
6504 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
6506 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
6507 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
6508 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
6509 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
6512 * Fix Command Arguments for Strict_Ansi_Not_Ctd
6514 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
6516 "%1 !defined(__STRICT_ANSI__)",
6519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6521 * Description of Strict_Ansi_Only fix
6523 tSCC zStrict_Ansi_OnlyName[] =
6527 * File name selection pattern
6529 #define zStrict_Ansi_OnlyList (char*)NULL
6531 * Machine/OS name selection pattern
6533 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
6536 * content selection pattern - do fix if pattern found
6538 tSCC zStrict_Ansi_OnlySelect0[] =
6539 "^([ \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)";
6542 * perform the C function call test
6544 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
6546 #define STRICT_ANSI_ONLY_TEST_CT 2
6547 static tTestDesc aStrict_Ansi_OnlyTests[] = {
6548 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
6549 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
6552 * Fix Command Arguments for Strict_Ansi_Only
6554 static const char* apzStrict_Ansi_OnlyPatch[] = {
6556 "%1 defined(__STRICT_ANSI__)",
6559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6561 * Description of Struct_File fix
6563 tSCC zStruct_FileName[] =
6567 * File name selection pattern
6569 tSCC zStruct_FileList[] =
6572 * Machine/OS name selection pattern
6574 #define apzStruct_FileMachs (const char**)NULL
6577 * content selection pattern - do fix if pattern found
6579 tSCC zStruct_FileSelect0[] =
6580 "^.*xdrstdio_create.*struct __file_s";
6582 #define STRUCT_FILE_TEST_CT 1
6583 static tTestDesc aStruct_FileTests[] = {
6584 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
6587 * Fix Command Arguments for Struct_File
6589 static const char* apzStruct_FilePatch[] = {
6591 "struct __file_s;\n\
6595 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6597 * Description of Struct_Sockaddr fix
6599 tSCC zStruct_SockaddrName[] =
6603 * File name selection pattern
6605 tSCC zStruct_SockaddrList[] =
6608 * Machine/OS name selection pattern
6610 #define apzStruct_SockaddrMachs (const char**)NULL
6613 * content selection pattern - do fix if pattern found
6615 tSCC zStruct_SockaddrSelect0[] =
6616 "^.*authdes_create.*struct sockaddr[^_]";
6619 * content bypass pattern - skip fix if pattern found
6621 tSCC zStruct_SockaddrBypass0[] =
6623 tSCC zStruct_SockaddrBypass1[] =
6624 "struct sockaddr;\n";
6626 #define STRUCT_SOCKADDR_TEST_CT 3
6627 static tTestDesc aStruct_SockaddrTests[] = {
6628 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
6629 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
6630 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
6633 * Fix Command Arguments for Struct_Sockaddr
6635 static const char* apzStruct_SockaddrPatch[] = {
6637 "struct sockaddr;\n\
6641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6643 * Description of Sun_Auth_Proto fix
6645 tSCC zSun_Auth_ProtoName[] =
6649 * File name selection pattern
6651 tSCC zSun_Auth_ProtoList[] =
6652 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
6654 * Machine/OS name selection pattern
6656 #define apzSun_Auth_ProtoMachs (const char**)NULL
6659 * content selection pattern - do fix if pattern found
6661 tSCC zSun_Auth_ProtoSelect0[] =
6662 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
6665 * content bypass pattern - skip fix if pattern found
6667 tSCC zSun_Auth_ProtoBypass0[] =
6670 #define SUN_AUTH_PROTO_TEST_CT 2
6671 static tTestDesc aSun_Auth_ProtoTests[] = {
6672 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
6673 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
6676 * Fix Command Arguments for Sun_Auth_Proto
6678 static const char* apzSun_Auth_ProtoPatch[] = {
6680 "#ifdef __cplusplus\n\
6685 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
6688 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6690 * Description of Sun_Bogus_Ifdef fix
6692 tSCC zSun_Bogus_IfdefName[] =
6696 * File name selection pattern
6698 tSCC zSun_Bogus_IfdefList[] =
6699 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
6701 * Machine/OS name selection pattern
6703 #define apzSun_Bogus_IfdefMachs (const char**)NULL
6706 * content selection pattern - do fix if pattern found
6708 tSCC zSun_Bogus_IfdefSelect0[] =
6709 "#ifdef(.*\\|\\|.*)";
6711 #define SUN_BOGUS_IFDEF_TEST_CT 1
6712 static tTestDesc aSun_Bogus_IfdefTests[] = {
6713 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
6716 * Fix Command Arguments for Sun_Bogus_Ifdef
6718 static const char* apzSun_Bogus_IfdefPatch[] = {
6723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6725 * Description of Sun_Catmacro fix
6727 tSCC zSun_CatmacroName[] =
6731 * File name selection pattern
6733 tSCC zSun_CatmacroList[] =
6734 "pixrect/memvar.h\0";
6736 * Machine/OS name selection pattern
6738 #define apzSun_CatmacroMachs (const char**)NULL
6741 * content selection pattern - do fix if pattern found
6743 tSCC zSun_CatmacroSelect0[] =
6744 "^#define[ \t]+CAT\\(a,b\\).*";
6746 #define SUN_CATMACRO_TEST_CT 1
6747 static tTestDesc aSun_CatmacroTests[] = {
6748 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
6751 * Fix Command Arguments for Sun_Catmacro
6753 static const char* apzSun_CatmacroPatch[] = {
6756 # define CAT(a,b) a##b\n\
6762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6764 * Description of Sun_Malloc fix
6766 tSCC zSun_MallocName[] =
6770 * File name selection pattern
6772 tSCC zSun_MallocList[] =
6775 * Machine/OS name selection pattern
6777 #define apzSun_MallocMachs (const char**)NULL
6780 * content bypass pattern - skip fix if pattern found
6782 tSCC zSun_MallocBypass0[] =
6783 "_CLASSIC_ANSI_TYPES";
6785 #define SUN_MALLOC_TEST_CT 1
6786 static tTestDesc aSun_MallocTests[] = {
6787 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
6790 * Fix Command Arguments for Sun_Malloc
6792 static const char* apzSun_MallocPatch[] = { "sed",
6793 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
6794 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
6795 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
6796 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
6797 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
6800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6802 * Description of Sun_Rusers_Semi fix
6804 tSCC zSun_Rusers_SemiName[] =
6808 * File name selection pattern
6810 tSCC zSun_Rusers_SemiList[] =
6811 "rpcsvc/rusers.h\0";
6813 * Machine/OS name selection pattern
6815 #define apzSun_Rusers_SemiMachs (const char**)NULL
6818 * content selection pattern - do fix if pattern found
6820 tSCC zSun_Rusers_SemiSelect0[] =
6823 #define SUN_RUSERS_SEMI_TEST_CT 1
6824 static tTestDesc aSun_Rusers_SemiTests[] = {
6825 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
6828 * Fix Command Arguments for Sun_Rusers_Semi
6830 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
6831 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
6834 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6836 * Description of Sun_Signal fix
6838 tSCC zSun_SignalName[] =
6842 * File name selection pattern
6844 tSCC zSun_SignalList[] =
6845 "sys/signal.h\0signal.h\0";
6847 * Machine/OS name selection pattern
6849 #define apzSun_SignalMachs (const char**)NULL
6852 * content selection pattern - do fix if pattern found
6854 tSCC zSun_SignalSelect0[] =
6855 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
6857 #define SUN_SIGNAL_TEST_CT 1
6858 static tTestDesc aSun_SignalTests[] = {
6859 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
6862 * Fix Command Arguments for Sun_Signal
6864 static const char* apzSun_SignalPatch[] = {
6866 "#ifdef __cplusplus\n\
6867 void\t(*signal(...))(...);\n\
6873 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6875 * Description of Sunos_Strlen fix
6877 tSCC zSunos_StrlenName[] =
6881 * File name selection pattern
6883 tSCC zSunos_StrlenList[] =
6886 * Machine/OS name selection pattern
6888 #define apzSunos_StrlenMachs (const char**)NULL
6891 * content selection pattern - do fix if pattern found
6893 tSCC zSunos_StrlenSelect0[] =
6894 "int[ \t]*strlen\\(\\);(.*)";
6896 #define SUNOS_STRLEN_TEST_CT 1
6897 static tTestDesc aSunos_StrlenTests[] = {
6898 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
6901 * Fix Command Arguments for Sunos_Strlen
6903 static const char* apzSunos_StrlenPatch[] = {
6905 "__SIZE_TYPE__ strlen();%1",
6908 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6910 * Description of Svr4_Disable_Opt fix
6912 tSCC zSvr4_Disable_OptName[] =
6916 * File name selection pattern
6918 tSCC zSvr4_Disable_OptList[] =
6921 * Machine/OS name selection pattern
6923 #define apzSvr4_Disable_OptMachs (const char**)NULL
6926 * content selection pattern - do fix if pattern found
6928 tSCC zSvr4_Disable_OptSelect0[] =
6929 "#define.*__std_hdr_";
6931 #define SVR4_DISABLE_OPT_TEST_CT 1
6932 static tTestDesc aSvr4_Disable_OptTests[] = {
6933 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
6936 * Fix Command Arguments for Svr4_Disable_Opt
6938 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
6939 "-e", "/#define.*__std_hdr_/d",
6942 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6944 * Description of Svr4_Getcwd fix
6946 tSCC zSvr4_GetcwdName[] =
6950 * File name selection pattern
6952 tSCC zSvr4_GetcwdList[] =
6953 "stdlib.h\0unistd.h\0prototypes.h\0";
6955 * Machine/OS name selection pattern
6957 #define apzSvr4_GetcwdMachs (const char**)NULL
6960 * content selection pattern - do fix if pattern found
6962 tSCC zSvr4_GetcwdSelect0[] =
6963 "getcwd\\(char \\*, int\\)";
6965 #define SVR4_GETCWD_TEST_CT 1
6966 static tTestDesc aSvr4_GetcwdTests[] = {
6967 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
6970 * Fix Command Arguments for Svr4_Getcwd
6972 static const char* apzSvr4_GetcwdPatch[] = {
6974 "getcwd(char *, size_t)",
6977 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6979 * Description of Svr4_Krnl fix
6981 tSCC zSvr4_KrnlName[] =
6985 * File name selection pattern
6987 tSCC zSvr4_KrnlList[] =
6988 "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";
6990 * Machine/OS name selection pattern
6992 tSCC* apzSvr4_KrnlMachs[] = {
6994 "i?86-sequent-ptx*",
6995 (const char*)NULL };
6998 * content bypass pattern - skip fix if pattern found
7000 tSCC zSvr4_KrnlBypass0[] =
7003 #define SVR4_KRNL_TEST_CT 1
7004 static tTestDesc aSvr4_KrnlTests[] = {
7005 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
7008 * Fix Command Arguments for Svr4_Krnl
7010 static const char* apzSvr4_KrnlPatch[] = {
7013 "#endif /* _KERNEL */\n",
7016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7018 * Description of Svr4_Profil fix
7020 tSCC zSvr4_ProfilName[] =
7024 * File name selection pattern
7026 tSCC zSvr4_ProfilList[] =
7027 "stdlib.h\0unistd.h\0";
7029 * Machine/OS name selection pattern
7031 #define apzSvr4_ProfilMachs (const char**)NULL
7034 * content selection pattern - do fix if pattern found
7036 tSCC zSvr4_ProfilSelect0[] =
7037 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7040 * content bypass pattern - skip fix if pattern found
7042 tSCC zSvr4_ProfilBypass0[] =
7045 #define SVR4_PROFIL_TEST_CT 2
7046 static tTestDesc aSvr4_ProfilTests[] = {
7047 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
7048 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7051 * Fix Command Arguments for Svr4_Profil
7053 static const char* apzSvr4_ProfilPatch[] = {
7055 "profil(unsigned short *, size_t, int, unsigned int)",
7058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7060 * Description of Svr4_Sighandler_Type fix
7062 tSCC zSvr4_Sighandler_TypeName[] =
7063 "svr4_sighandler_type";
7066 * File name selection pattern
7068 tSCC zSvr4_Sighandler_TypeList[] =
7071 * Machine/OS name selection pattern
7073 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7076 * content selection pattern - do fix if pattern found
7078 tSCC zSvr4_Sighandler_TypeSelect0[] =
7079 "void *\\(\\*\\)\\(\\)";
7081 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
7082 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
7083 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
7086 * Fix Command Arguments for Svr4_Sighandler_Type
7088 static const char* apzSvr4_Sighandler_TypePatch[] = {
7093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7095 * Description of Svr4_Undeclared_Getrnge fix
7097 tSCC zSvr4_Undeclared_GetrngeName[] =
7098 "svr4_undeclared_getrnge";
7101 * File name selection pattern
7103 tSCC zSvr4_Undeclared_GetrngeList[] =
7106 * Machine/OS name selection pattern
7108 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
7111 * content selection pattern - do fix if pattern found
7113 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
7117 * content bypass pattern - skip fix if pattern found
7119 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
7120 "static void getrnge";
7122 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
7123 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
7124 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
7125 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
7128 * Fix Command Arguments for Svr4_Undeclared_Getrnge
7130 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
7133 static int getrnge ();",
7134 "^static int[ \t]+size;",
7137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7139 * Description of Sysv68_String fix
7141 tSCC zSysv68_StringName[] =
7145 * File name selection pattern
7147 tSCC zSysv68_StringList[] =
7148 "testing.h\0string.h\0";
7150 * Machine/OS name selection pattern
7152 #define apzSysv68_StringMachs (const char**)NULL
7155 * content bypass pattern - skip fix if pattern found
7157 tSCC zSysv68_StringBypass0[] =
7158 "_CLASSIC_ANSI_TYPES";
7160 #define SYSV68_STRING_TEST_CT 1
7161 static tTestDesc aSysv68_StringTests[] = {
7162 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7165 * Fix Command Arguments for Sysv68_String
7167 static const char* apzSysv68_StringPatch[] = { "sed",
7168 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7169 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7170 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7171 "-e", "/^extern char$/N",
7172 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7173 "-e", "/^extern int$/N",
7174 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7175 "-e", "/^\tstrncmp(),$/N",
7176 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7177 extern unsigned int\\\n\
7181 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7183 * Description of Sysz_Stdlib_For_Sun fix
7185 tSCC zSysz_Stdlib_For_SunName[] =
7186 "sysz_stdlib_for_sun";
7189 * File name selection pattern
7191 tSCC zSysz_Stdlib_For_SunList[] =
7194 * Machine/OS name selection pattern
7196 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7199 * content selection pattern - do fix if pattern found
7201 tSCC zSysz_Stdlib_For_SunSelect0[] =
7202 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7205 * content bypass pattern - skip fix if pattern found
7207 tSCC zSysz_Stdlib_For_SunBypass0[] =
7208 "_CLASSIC_ANSI_TYPES";
7210 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7211 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7212 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7213 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7216 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7218 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7225 * Description of Thread_Keyword fix
7227 tSCC zThread_KeywordName[] =
7231 * File name selection pattern
7233 tSCC zThread_KeywordList[] =
7234 "pthread.h\0bits/sigthread.h\0";
7236 * Machine/OS name selection pattern
7238 #define apzThread_KeywordMachs (const char**)NULL
7241 * content selection pattern - do fix if pattern found
7243 tSCC zThread_KeywordSelect0[] =
7244 "([* ])__thread([,)])";
7246 #define THREAD_KEYWORD_TEST_CT 1
7247 static tTestDesc aThread_KeywordTests[] = {
7248 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7251 * Fix Command Arguments for Thread_Keyword
7253 static const char* apzThread_KeywordPatch[] = {
7258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7260 * Description of Tinfo_Cplusplus fix
7262 tSCC zTinfo_CplusplusName[] =
7266 * File name selection pattern
7268 tSCC zTinfo_CplusplusList[] =
7271 * Machine/OS name selection pattern
7273 #define apzTinfo_CplusplusMachs (const char**)NULL
7276 * content selection pattern - do fix if pattern found
7278 tSCC zTinfo_CplusplusSelect0[] =
7281 #define TINFO_CPLUSPLUS_TEST_CT 1
7282 static tTestDesc aTinfo_CplusplusTests[] = {
7283 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7286 * Fix Command Arguments for Tinfo_Cplusplus
7288 static const char* apzTinfo_CplusplusPatch[] = {
7293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7295 * Description of Ultrix_Atexit_Param fix
7297 tSCC zUltrix_Atexit_ParamName[] =
7298 "ultrix_atexit_param";
7301 * File name selection pattern
7303 tSCC zUltrix_Atexit_ParamList[] =
7306 * Machine/OS name selection pattern
7308 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
7311 * content selection pattern - do fix if pattern found
7313 tSCC zUltrix_Atexit_ParamSelect0[] =
7314 "atexit\\(.*\\(\\)";
7316 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
7317 static tTestDesc aUltrix_Atexit_ParamTests[] = {
7318 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
7321 * Fix Command Arguments for Ultrix_Atexit_Param
7323 static const char* apzUltrix_Atexit_ParamPatch[] = {
7325 "atexit( void (*__func)( void )",
7328 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7330 * Description of Ultrix_Atof_Param fix
7332 tSCC zUltrix_Atof_ParamName[] =
7333 "ultrix_atof_param";
7336 * File name selection pattern
7338 tSCC zUltrix_Atof_ParamList[] =
7341 * Machine/OS name selection pattern
7343 #define apzUltrix_Atof_ParamMachs (const char**)NULL
7346 * content selection pattern - do fix if pattern found
7348 tSCC zUltrix_Atof_ParamSelect0[] =
7349 "atof\\([ \t]*char";
7351 #define ULTRIX_ATOF_PARAM_TEST_CT 1
7352 static tTestDesc aUltrix_Atof_ParamTests[] = {
7353 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
7356 * Fix Command Arguments for Ultrix_Atof_Param
7358 static const char* apzUltrix_Atof_ParamPatch[] = {
7363 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7365 * Description of Ultrix_Const fix
7367 tSCC zUltrix_ConstName[] =
7371 * File name selection pattern
7373 tSCC zUltrix_ConstList[] =
7376 * Machine/OS name selection pattern
7378 #define apzUltrix_ConstMachs (const char**)NULL
7381 * content selection pattern - do fix if pattern found
7383 tSCC zUltrix_ConstSelect0[] =
7384 "perror\\( char \\*";
7386 #define ULTRIX_CONST_TEST_CT 1
7387 static tTestDesc aUltrix_ConstTests[] = {
7388 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7391 * Fix Command Arguments for Ultrix_Const
7393 static const char* apzUltrix_ConstPatch[] = {
7396 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7399 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7401 * Description of Ultrix_Const2 fix
7403 tSCC zUltrix_Const2Name[] =
7407 * File name selection pattern
7409 tSCC zUltrix_Const2List[] =
7412 * Machine/OS name selection pattern
7414 #define apzUltrix_Const2Machs (const char**)NULL
7417 * content selection pattern - do fix if pattern found
7419 tSCC zUltrix_Const2Select0[] =
7420 "\\*fopen\\( char \\*";
7422 #define ULTRIX_CONST2_TEST_CT 1
7423 static tTestDesc aUltrix_Const2Tests[] = {
7424 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7427 * Fix Command Arguments for Ultrix_Const2
7429 static const char* apzUltrix_Const2Patch[] = {
7431 "%1( const char *%3, const char *",
7432 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7435 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7437 * Description of Ultrix_Const3 fix
7439 tSCC zUltrix_Const3Name[] =
7443 * File name selection pattern
7445 tSCC zUltrix_Const3List[] =
7448 * Machine/OS name selection pattern
7450 #define apzUltrix_Const3Machs (const char**)NULL
7453 * content selection pattern - do fix if pattern found
7455 tSCC zUltrix_Const3Select0[] =
7456 "fdopen\\( .*, char \\*";
7458 #define ULTRIX_CONST3_TEST_CT 1
7459 static tTestDesc aUltrix_Const3Tests[] = {
7460 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
7463 * Fix Command Arguments for Ultrix_Const3
7465 static const char* apzUltrix_Const3Patch[] = {
7468 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
7471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7473 * Description of Ultrix_Fix_Fixproto fix
7475 tSCC zUltrix_Fix_FixprotoName[] =
7476 "ultrix_fix_fixproto";
7479 * File name selection pattern
7481 tSCC zUltrix_Fix_FixprotoList[] =
7484 * Machine/OS name selection pattern
7486 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
7489 * content selection pattern - do fix if pattern found
7491 tSCC zUltrix_Fix_FixprotoSelect0[] =
7494 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
7495 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
7496 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
7499 * Fix Command Arguments for Ultrix_Fix_Fixproto
7501 static const char* apzUltrix_Fix_FixprotoPatch[] = {
7505 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
7508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7510 * Description of Ultrix_Ifdef fix
7512 tSCC zUltrix_IfdefName[] =
7516 * File name selection pattern
7518 tSCC zUltrix_IfdefList[] =
7521 * Machine/OS name selection pattern
7523 #define apzUltrix_IfdefMachs (const char**)NULL
7526 * content selection pattern - do fix if pattern found
7528 tSCC zUltrix_IfdefSelect0[] =
7529 "^#ifdef KERNEL[ \t]+&&";
7531 #define ULTRIX_IFDEF_TEST_CT 1
7532 static tTestDesc aUltrix_IfdefTests[] = {
7533 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
7536 * Fix Command Arguments for Ultrix_Ifdef
7538 static const char* apzUltrix_IfdefPatch[] = {
7540 "#if defined(KERNEL) &&",
7543 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7545 * Description of Ultrix_Locale fix
7547 tSCC zUltrix_LocaleName[] =
7551 * File name selection pattern
7553 tSCC zUltrix_LocaleList[] =
7556 * Machine/OS name selection pattern
7558 #define apzUltrix_LocaleMachs (const char**)NULL
7561 * content selection pattern - do fix if pattern found
7563 tSCC zUltrix_LocaleSelect0[] =
7564 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
7566 #define ULTRIX_LOCALE_TEST_CT 1
7567 static tTestDesc aUltrix_LocaleTests[] = {
7568 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
7571 * Fix Command Arguments for Ultrix_Locale
7573 static const char* apzUltrix_LocalePatch[] = {
7577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7579 * Description of Ultrix_Math_Ifdef fix
7581 tSCC zUltrix_Math_IfdefName[] =
7582 "ultrix_math_ifdef";
7585 * File name selection pattern
7587 tSCC zUltrix_Math_IfdefList[] =
7588 "sys/limits.h\0float.h\0math.h\0";
7590 * Machine/OS name selection pattern
7592 #define apzUltrix_Math_IfdefMachs (const char**)NULL
7595 * content selection pattern - do fix if pattern found
7597 tSCC zUltrix_Math_IfdefSelect0[] =
7598 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
7600 #define ULTRIX_MATH_IFDEF_TEST_CT 1
7601 static tTestDesc aUltrix_Math_IfdefTests[] = {
7602 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
7605 * Fix Command Arguments for Ultrix_Math_Ifdef
7607 static const char* apzUltrix_Math_IfdefPatch[] = {
7612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7614 * Description of Ultrix_Nested_Ioctl fix
7616 tSCC zUltrix_Nested_IoctlName[] =
7617 "ultrix_nested_ioctl";
7620 * File name selection pattern
7622 tSCC zUltrix_Nested_IoctlList[] =
7625 * Machine/OS name selection pattern
7627 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
7630 * content selection pattern - do fix if pattern found
7632 tSCC zUltrix_Nested_IoctlSelect0[] =
7633 "^/\\* #define SIOCSCREEN";
7635 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
7636 static tTestDesc aUltrix_Nested_IoctlTests[] = {
7637 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
7640 * Fix Command Arguments for Ultrix_Nested_Ioctl
7642 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
7643 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
7646 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7648 * Description of Ultrix_Nested_Svc fix
7650 tSCC zUltrix_Nested_SvcName[] =
7651 "ultrix_nested_svc";
7654 * File name selection pattern
7656 tSCC zUltrix_Nested_SvcList[] =
7659 * Machine/OS name selection pattern
7661 #define apzUltrix_Nested_SvcMachs (const char**)NULL
7664 * content selection pattern - do fix if pattern found
7666 tSCC zUltrix_Nested_SvcSelect0[] =
7667 "^ \\*[ \t]*int protocol; */\\*";
7669 #define ULTRIX_NESTED_SVC_TEST_CT 1
7670 static tTestDesc aUltrix_Nested_SvcTests[] = {
7671 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
7674 * Fix Command Arguments for Ultrix_Nested_Svc
7676 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
7677 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
7680 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7682 * Description of Ultrix_Stat fix
7684 tSCC zUltrix_StatName[] =
7688 * File name selection pattern
7690 tSCC zUltrix_StatList[] =
7693 * Machine/OS name selection pattern
7695 #define apzUltrix_StatMachs (const char**)NULL
7698 * content selection pattern - do fix if pattern found
7700 tSCC zUltrix_StatSelect0[] =
7701 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
7703 #define ULTRIX_STAT_TEST_CT 1
7704 static tTestDesc aUltrix_StatTests[] = {
7705 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
7708 * Fix Command Arguments for Ultrix_Stat
7710 static const char* apzUltrix_StatPatch[] = { "sed",
7711 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
7713 /* macro to test for symbolic link */\\\n\
7714 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
7715 "-e", "/^[ \t]*fstat(),$/a\\\n\
7719 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7721 * Description of Ultrix_Static fix
7723 tSCC zUltrix_StaticName[] =
7727 * File name selection pattern
7729 tSCC zUltrix_StaticList[] =
7732 * Machine/OS name selection pattern
7734 #define apzUltrix_StaticMachs (const char**)NULL
7737 * content selection pattern - do fix if pattern found
7739 tSCC zUltrix_StaticSelect0[] =
7740 "#include \"r[34]_cpu";
7742 #define ULTRIX_STATIC_TEST_CT 1
7743 static tTestDesc aUltrix_StaticTests[] = {
7744 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
7747 * Fix Command Arguments for Ultrix_Static
7749 static const char* apzUltrix_StaticPatch[] = { "sed",
7750 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
7751 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
7752 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
7755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7757 * Description of Ultrix_Stdlib fix
7759 tSCC zUltrix_StdlibName[] =
7763 * File name selection pattern
7765 tSCC zUltrix_StdlibList[] =
7768 * Machine/OS name selection pattern
7770 #define apzUltrix_StdlibMachs (const char**)NULL
7773 * content selection pattern - do fix if pattern found
7775 tSCC zUltrix_StdlibSelect0[] =
7776 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
7778 #define ULTRIX_STDLIB_TEST_CT 1
7779 static tTestDesc aUltrix_StdlibTests[] = {
7780 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
7783 * Fix Command Arguments for Ultrix_Stdlib
7785 static const char* apzUltrix_StdlibPatch[] = { "sed",
7786 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
7787 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
7788 void\t\tunsetenv( const char *__name );\\\n\
7789 int\t\tputenv( char *__s );\n",
7790 "-e", "/^char.*getenv();.*$/a\\\n\
7792 void\tunsetenv();\\\n\
7796 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7798 * Description of Ultrix_Strings fix
7800 tSCC zUltrix_StringsName[] =
7804 * File name selection pattern
7806 tSCC zUltrix_StringsList[] =
7809 * Machine/OS name selection pattern
7811 #define apzUltrix_StringsMachs (const char**)NULL
7814 * content selection pattern - do fix if pattern found
7816 tSCC zUltrix_StringsSelect0[] =
7817 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7819 #define ULTRIX_STRINGS_TEST_CT 1
7820 static tTestDesc aUltrix_StringsTests[] = {
7821 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
7824 * Fix Command Arguments for Ultrix_Strings
7826 static const char* apzUltrix_StringsPatch[] = {
7830 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7832 * Description of Ultrix_Strings2 fix
7834 tSCC zUltrix_Strings2Name[] =
7838 * File name selection pattern
7840 tSCC zUltrix_Strings2List[] =
7843 * Machine/OS name selection pattern
7845 #define apzUltrix_Strings2Machs (const char**)NULL
7848 * content selection pattern - do fix if pattern found
7850 tSCC zUltrix_Strings2Select0[] =
7851 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7853 #define ULTRIX_STRINGS2_TEST_CT 1
7854 static tTestDesc aUltrix_Strings2Tests[] = {
7855 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
7858 * Fix Command Arguments for Ultrix_Strings2
7860 static const char* apzUltrix_Strings2Patch[] = { "sed",
7861 "-e", "/^.*strncmp( const .* );.*/a\\\n\
7864 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
7865 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
7866 "-e", "/^.*strncmp();.*/a\\\n\
7868 \tstrcasecmp(),\\\n\
7869 \tstrncasecmp();\n",
7872 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7874 * Description of Ultrix_Sys_Time fix
7876 tSCC zUltrix_Sys_TimeName[] =
7880 * File name selection pattern
7882 tSCC zUltrix_Sys_TimeList[] =
7885 * Machine/OS name selection pattern
7887 #define apzUltrix_Sys_TimeMachs (const char**)NULL
7890 * content selection pattern - do fix if pattern found
7892 tSCC zUltrix_Sys_TimeSelect0[] =
7893 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
7895 #define ULTRIX_SYS_TIME_TEST_CT 1
7896 static tTestDesc aUltrix_Sys_TimeTests[] = {
7897 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
7900 * Fix Command Arguments for Ultrix_Sys_Time
7902 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
7903 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
7905 extern int adjtime(struct timeval *, struct timeval *);\\\n\
7906 extern int getitimer(int, struct itimerval *);\\\n\
7907 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
7908 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
7909 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
7910 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
7911 extern int stime(const time_t *);\\\n\
7912 extern int utimes(const char *, const struct timeval[2]);\\\n\
7913 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
7914 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
7915 extern\tint adjtime();\\\n\
7916 extern\tint getitimer();\\\n\
7917 extern\tint setitimer();\\\n\
7918 extern\tint gettimeofday();\\\n\
7919 extern\tint settimeofday();\\\n\
7920 extern\tvoid profil();\\\n\
7921 extern\tint stime();\\\n\
7922 extern\tint utimes();\\\n\
7923 extern\tint select();\n",
7926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7928 * Description of Ultrix_Unistd fix
7930 tSCC zUltrix_UnistdName[] =
7934 * File name selection pattern
7936 tSCC zUltrix_UnistdList[] =
7939 * Machine/OS name selection pattern
7941 #define apzUltrix_UnistdMachs (const char**)NULL
7944 * content selection pattern - do fix if pattern found
7946 tSCC zUltrix_UnistdSelect0[] =
7947 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
7949 #define ULTRIX_UNISTD_TEST_CT 1
7950 static tTestDesc aUltrix_UnistdTests[] = {
7951 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
7954 * Fix Command Arguments for Ultrix_Unistd
7956 static const char* apzUltrix_UnistdPatch[] = { "sed",
7957 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
7958 \tgetpagesize(),\n",
7959 "-e", "/^[ \t]*fork(),.*$/a\\\n\
7963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7965 * Description of Unicosmk_Restrict fix
7967 tSCC zUnicosmk_RestrictName[] =
7968 "unicosmk_restrict";
7971 * File name selection pattern
7973 tSCC zUnicosmk_RestrictList[] =
7974 "stdio.h\0stdlib.h\0wchar.h\0";
7976 * Machine/OS name selection pattern
7978 tSCC* apzUnicosmk_RestrictMachs[] = {
7980 (const char*)NULL };
7983 * content selection pattern - do fix if pattern found
7985 tSCC zUnicosmk_RestrictSelect0[] =
7986 "(\\*[ \t]*)restrict([ \t]+)";
7988 #define UNICOSMK_RESTRICT_TEST_CT 1
7989 static tTestDesc aUnicosmk_RestrictTests[] = {
7990 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
7993 * Fix Command Arguments for Unicosmk_Restrict
7995 static const char* apzUnicosmk_RestrictPatch[] = {
8000 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8002 * Description of Uw7_Byteorder_Fix fix
8004 tSCC zUw7_Byteorder_FixName[] =
8005 "uw7_byteorder_fix";
8008 * File name selection pattern
8010 tSCC zUw7_Byteorder_FixList[] =
8013 * Machine/OS name selection pattern
8015 tSCC* apzUw7_Byteorder_FixMachs[] = {
8019 "i?86-*-solaris2.[0-4]",
8020 "powerpcle-*-solaris2.[0-4]",
8021 "sparc-*-solaris2.[0-4]",
8022 (const char*)NULL };
8025 * content selection pattern - do fix if pattern found
8027 tSCC zUw7_Byteorder_FixSelect0[] =
8031 * perform the 'test' shell command - do fix on success
8033 tSCC zUw7_Byteorder_FixTest0[] =
8034 "-f sys/byteorder.h";
8036 #define UW7_BYTEORDER_FIX_TEST_CT 2
8037 static tTestDesc aUw7_Byteorder_FixTests[] = {
8038 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
8039 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
8042 * Fix Command Arguments for Uw7_Byteorder_Fix
8044 static const char* apzUw7_Byteorder_FixPatch[] = {
8047 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
8050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8052 * Description of Va_I960_Macro fix
8054 tSCC zVa_I960_MacroName[] =
8058 * File name selection pattern
8060 tSCC zVa_I960_MacroList[] =
8061 "arch/i960/archI960.h\0";
8063 * Machine/OS name selection pattern
8065 #define apzVa_I960_MacroMachs (const char**)NULL
8068 * content selection pattern - do fix if pattern found
8070 tSCC zVa_I960_MacroSelect0[] =
8071 "__(vsiz|vali|vpad|alignof__)";
8073 #define VA_I960_MACRO_TEST_CT 1
8074 static tTestDesc aVa_I960_MacroTests[] = {
8075 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8078 * Fix Command Arguments for Va_I960_Macro
8080 static const char* apzVa_I960_MacroPatch[] = {
8085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8087 * Description of Void_Null fix
8089 tSCC zVoid_NullName[] =
8093 * File name selection pattern
8095 tSCC zVoid_NullList[] =
8096 "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";
8098 * Machine/OS name selection pattern
8100 #define apzVoid_NullMachs (const char**)NULL
8103 * content selection pattern - do fix if pattern found
8105 tSCC zVoid_NullSelect0[] =
8106 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8109 * content bypass pattern - skip fix if pattern found
8111 tSCC zVoid_NullBypass0[] =
8114 #define VOID_NULL_TEST_CT 2
8115 static tTestDesc aVoid_NullTests[] = {
8116 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8117 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8120 * Fix Command Arguments for Void_Null
8122 static const char* apzVoid_NullPatch[] = {
8127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8129 * Description of Vxworks_Gcc_Problem fix
8131 tSCC zVxworks_Gcc_ProblemName[] =
8132 "vxworks_gcc_problem";
8135 * File name selection pattern
8137 tSCC zVxworks_Gcc_ProblemList[] =
8138 "types/vxTypesBase.h\0";
8140 * Machine/OS name selection pattern
8142 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8145 * content selection pattern - do fix if pattern found
8147 tSCC zVxworks_Gcc_ProblemSelect0[] =
8148 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8150 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8151 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8152 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8155 * Fix Command Arguments for Vxworks_Gcc_Problem
8157 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
8158 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8159 "-e", "/[ \t]size_t/i\\\n\
8160 #ifndef _GCC_SIZE_T\\\n\
8161 #define _GCC_SIZE_T\n",
8162 "-e", "/[ \t]size_t/a\\\n\
8164 "-e", "/[ \t]ptrdiff_t/i\\\n\
8165 #ifndef _GCC_PTRDIFF_T\\\n\
8166 #define _GCC_PTRDIFF_T\n",
8167 "-e", "/[ \t]ptrdiff_t/a\\\n\
8169 "-e", "/[ \t]wchar_t/i\\\n\
8170 #ifndef _GCC_WCHAR_T\\\n\
8171 #define _GCC_WCHAR_T\n",
8172 "-e", "/[ \t]wchar_t/a\\\n\
8176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8178 * Description of Vxworks_Needs_Vxtypes fix
8180 tSCC zVxworks_Needs_VxtypesName[] =
8181 "vxworks_needs_vxtypes";
8184 * File name selection pattern
8186 tSCC zVxworks_Needs_VxtypesList[] =
8189 * Machine/OS name selection pattern
8191 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8194 * content selection pattern - do fix if pattern found
8196 tSCC zVxworks_Needs_VxtypesSelect0[] =
8197 "uint_t([ \t]+_clocks_per_sec)";
8199 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8200 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8201 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8204 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8206 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8213 * Description of Vxworks_Needs_Vxworks fix
8215 tSCC zVxworks_Needs_VxworksName[] =
8216 "vxworks_needs_vxworks";
8219 * File name selection pattern
8221 tSCC zVxworks_Needs_VxworksList[] =
8224 * Machine/OS name selection pattern
8226 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8229 * content selection pattern - do fix if pattern found
8231 tSCC zVxworks_Needs_VxworksSelect0[] =
8232 "#[ \t]define[ \t]+__INCstath";
8235 * perform the 'test' shell command - do fix on success
8237 tSCC zVxworks_Needs_VxworksTest0[] =
8238 " -r types/vxTypesOld.h";
8239 tSCC zVxworks_Needs_VxworksTest1[] =
8240 " -n \"`egrep '#include' $file`\"";
8241 tSCC zVxworks_Needs_VxworksTest2[] =
8242 " -n \"`egrep ULONG $file`\"";
8244 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8245 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8246 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8247 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8248 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8249 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8252 * Fix Command Arguments for Vxworks_Needs_Vxworks
8254 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
8255 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8256 #include <types/vxTypesOld.h>\n",
8259 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8261 * Description of Vxworks_Time fix
8263 tSCC zVxworks_TimeName[] =
8267 * File name selection pattern
8269 tSCC zVxworks_TimeList[] =
8272 * Machine/OS name selection pattern
8274 #define apzVxworks_TimeMachs (const char**)NULL
8277 * content selection pattern - do fix if pattern found
8279 tSCC zVxworks_TimeSelect0[] =
8280 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8283 * perform the 'test' shell command - do fix on success
8285 tSCC zVxworks_TimeTest0[] =
8288 #define VXWORKS_TIME_TEST_CT 2
8289 static tTestDesc aVxworks_TimeTests[] = {
8290 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8291 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8294 * Fix Command Arguments for Vxworks_Time
8296 static const char* apzVxworks_TimePatch[] = {
8298 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8299 #ifdef __cplusplus\n\
8300 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8302 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
8304 #define __gcc_VOIDFUNCPTR_defined\n\
8306 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
8309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8311 * Description of Windiss_Math1 fix
8313 tSCC zWindiss_Math1Name[] =
8317 * File name selection pattern
8319 tSCC zWindiss_Math1List[] =
8322 * Machine/OS name selection pattern
8324 tSCC* apzWindiss_Math1Machs[] = {
8326 (const char*)NULL };
8327 #define WINDISS_MATH1_TEST_CT 0
8328 #define aWindiss_Math1Tests (tTestDesc*)NULL
8331 * Fix Command Arguments for Windiss_Math1
8333 static const char* apzWindiss_Math1Patch[] = { "sed",
8334 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
8337 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8339 * Description of Windiss_Math2 fix
8341 tSCC zWindiss_Math2Name[] =
8345 * File name selection pattern
8347 tSCC zWindiss_Math2List[] =
8350 * Machine/OS name selection pattern
8352 tSCC* apzWindiss_Math2Machs[] = {
8354 (const char*)NULL };
8355 #define WINDISS_MATH2_TEST_CT 0
8356 #define aWindiss_Math2Tests (tTestDesc*)NULL
8359 * Fix Command Arguments for Windiss_Math2
8361 static const char* apzWindiss_Math2Patch[] = { "sed",
8362 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
8365 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8367 * Description of Windiss_Valist fix
8369 tSCC zWindiss_ValistName[] =
8373 * File name selection pattern
8375 #define zWindiss_ValistList (char*)NULL
8377 * Machine/OS name selection pattern
8379 tSCC* apzWindiss_ValistMachs[] = {
8381 (const char*)NULL };
8384 * content selection pattern - do fix if pattern found
8386 tSCC zWindiss_ValistSelect0[] =
8387 "(#include.*)diab/va_list.h";
8389 #define WINDISS_VALIST_TEST_CT 1
8390 static tTestDesc aWindiss_ValistTests[] = {
8391 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
8394 * Fix Command Arguments for Windiss_Valist
8396 static const char* apzWindiss_ValistPatch[] = { "sed",
8397 "-e", "s|diab/va_list.h|stdarg.h|",
8400 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8402 * Description of X11_Class fix
8404 tSCC zX11_ClassName[] =
8408 * File name selection pattern
8410 tSCC zX11_ClassList[] =
8413 * Machine/OS name selection pattern
8415 #define apzX11_ClassMachs (const char**)NULL
8418 * content selection pattern - do fix if pattern found
8420 tSCC zX11_ClassSelect0[] =
8421 "^([ \t]*char \\*)class;(.*)";
8424 * content bypass pattern - skip fix if pattern found
8426 tSCC zX11_ClassBypass0[] =
8429 #define X11_CLASS_TEST_CT 2
8430 static tTestDesc aX11_ClassTests[] = {
8431 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8432 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8435 * Fix Command Arguments for X11_Class
8437 static const char* apzX11_ClassPatch[] = {
8439 "#ifdef __cplusplus\n\
8446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8448 * Description of X11_Class_Usage fix
8450 tSCC zX11_Class_UsageName[] =
8454 * File name selection pattern
8456 tSCC zX11_Class_UsageList[] =
8457 "Xm/BaseClassI.h\0";
8459 * Machine/OS name selection pattern
8461 #define apzX11_Class_UsageMachs (const char**)NULL
8464 * content selection pattern - do fix if pattern found
8466 tSCC zX11_Class_UsageSelect0[] =
8470 * content bypass pattern - skip fix if pattern found
8472 tSCC zX11_Class_UsageBypass0[] =
8475 #define X11_CLASS_USAGE_TEST_CT 2
8476 static tTestDesc aX11_Class_UsageTests[] = {
8477 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8478 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8481 * Fix Command Arguments for X11_Class_Usage
8483 static const char* apzX11_Class_UsagePatch[] = {
8488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8490 * Description of X11_New fix
8492 tSCC zX11_NewName[] =
8496 * File name selection pattern
8498 tSCC zX11_NewList[] =
8501 * Machine/OS name selection pattern
8503 #define apzX11_NewMachs (const char**)NULL
8506 * content bypass pattern - skip fix if pattern found
8508 tSCC zX11_NewBypass0[] =
8511 #define X11_NEW_TEST_CT 1
8512 static tTestDesc aX11_NewTests[] = {
8513 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8516 * Fix Command Arguments for X11_New
8518 static const char* apzX11_NewPatch[] = { "sed",
8519 "-e", "/Widget\told, new;/i\\\n\
8520 #ifdef __cplusplus\\\n\
8521 \tWidget\told, c_new;\\\n\
8523 "-e", "/Widget\told, new;/a\\\n\
8525 "-e", "s/Widget new,/Widget c_new,/g",
8528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8530 * Description of X11_Sprintf fix
8532 tSCC zX11_SprintfName[] =
8536 * File name selection pattern
8538 tSCC zX11_SprintfList[] =
8539 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
8541 * Machine/OS name selection pattern
8543 #define apzX11_SprintfMachs (const char**)NULL
8546 * content selection pattern - do fix if pattern found
8548 tSCC zX11_SprintfSelect0[] =
8549 "^extern char \\*\tsprintf\\(\\);$";
8551 #define X11_SPRINTF_TEST_CT 1
8552 static tTestDesc aX11_SprintfTests[] = {
8553 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8556 * Fix Command Arguments for X11_Sprintf
8558 static const char* apzX11_SprintfPatch[] = {
8560 "#ifndef __STDC__\n\
8562 #endif /* !defined __STDC__ */",
8566 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8570 #define REGEX_COUNT 254
8571 #define MACH_LIST_SIZE_LIMIT 261
8572 #define FIX_COUNT 211
8575 * Enumerate the fixes
8578 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8579 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8580 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8581 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8582 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8583 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8584 AAB_SUN_MEMCPY_FIXIDX,
8585 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
8586 AAB_ULTRIX_LIMITS_FIXIDX,
8587 AAB_ULTRIX_MEMORY_FIXIDX,
8588 AAB_ULTRIX_STRING_FIXIDX,
8590 AIX_SYSMACHINE_FIXIDX,
8592 AIX_SYSWAIT_2_FIXIDX,
8593 AIX_VOLATILE_FIXIDX,
8594 ALPHA___ASSERT_FIXIDX,
8595 ALPHA___EXTERN_PREFIX_FIXIDX,
8596 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
8597 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
8598 ALPHA_ASSERT_FIXIDX,
8599 ALPHA_BAD_LVAL_FIXIDX,
8600 ALPHA_GETOPT_FIXIDX,
8601 ALPHA_PARENS_FIXIDX,
8602 ALPHA_PTHREAD_FIXIDX,
8603 ALPHA_PTHREAD_GCC_FIXIDX,
8604 ALPHA_PTHREAD_INIT_FIXIDX,
8607 AVOID_BOOL_DEFINE_FIXIDX,
8608 AVOID_BOOL_TYPE_FIXIDX,
8609 AVOID_WCHAR_T_TYPE_FIXIDX,
8610 BAD_STRUCT_TERM_FIXIDX,
8612 BROKEN_ASSERT_STDIO_FIXIDX,
8613 BROKEN_ASSERT_STDLIB_FIXIDX,
8616 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8617 CTRL_QUOTES_DEF_FIXIDX,
8618 CTRL_QUOTES_USE_FIXIDX,
8620 DARWIN_EXTERNC_FIXIDX,
8621 DARWIN_GCC4_BREAKAGE_FIXIDX,
8622 DARWIN_PRIVATE_EXTERN_FIXIDX,
8623 DEC_INTERN_ASM_FIXIDX,
8624 DJGPP_WCHAR_H_FIXIDX,
8626 EXCEPTION_STRUCTURE_FIXIDX,
8627 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8628 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8629 GLIBC_C99_INLINE_1_FIXIDX,
8630 GLIBC_C99_INLINE_1A_FIXIDX,
8631 GLIBC_C99_INLINE_2_FIXIDX,
8632 GLIBC_C99_INLINE_3_FIXIDX,
8633 GLIBC_C99_INLINE_4_FIXIDX,
8634 GLIBC_MUTEX_INIT_FIXIDX,
8638 HPUX10_CPP_POW_INLINE_FIXIDX,
8639 HPUX11_CPP_POW_INLINE_FIXIDX,
8640 HPPA_HPUX_FP_MACROS_FIXIDX,
8641 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8642 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8643 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8645 HPUX11_FABSF_FIXIDX,
8646 HPUX11_SIZE_T_FIXIDX,
8647 HPUX11_SNPRINTF_FIXIDX,
8648 HPUX11_UINT32_C_FIXIDX,
8649 HPUX11_VSNPRINTF_FIXIDX,
8650 HPUX8_BOGUS_INLINES_FIXIDX,
8651 HPUX_CTYPE_MACROS_FIXIDX,
8653 HPUX_LONG_DOUBLE_FIXIDX,
8654 HPUX_SYSTIME_FIXIDX,
8655 HPUX_SPU_INFO_FIXIDX,
8656 HPUX11_EXTERN_SENDFILE_FIXIDX,
8657 HPUX11_EXTERN_SENDPATH_FIXIDX,
8658 HPUX_EXTERN_ERRNO_FIXIDX,
8659 HPUX11_PTHREAD_CONST_FIXIDX,
8660 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8661 HUGE_VAL_HEX_FIXIDX,
8662 HUGE_VALF_HEX_FIXIDX,
8663 HUGE_VALL_HEX_FIXIDX,
8664 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8665 IO_QUOTES_DEF_FIXIDX,
8666 IO_QUOTES_USE_FIXIDX,
8667 IP_MISSING_SEMI_FIXIDX,
8668 IRIX___RESTRICT_FIXIDX,
8669 IRIX___GENERIC1_FIXIDX,
8670 IRIX___GENERIC2_FIXIDX,
8671 IRIX_ASM_APOSTROPHE_FIXIDX,
8672 IRIX_LIMITS_CONST_FIXIDX,
8673 IRIX_SOCKLEN_T_FIXIDX,
8674 IRIX_STDINT_C99_FIXIDX,
8675 IRIX_STDIO_VA_LIST_FIXIDX,
8676 IRIX_WCSFTIME_FIXIDX,
8678 ISC_OMITS_WITH_STDC_FIXIDX,
8679 KANDR_CONCAT_FIXIDX,
8680 LIBC1_G_VA_LIST_FIXIDX,
8681 LIBC1_IFDEFD_MEMX_FIXIDX,
8682 LINUX_IA64_UCONTEXT_FIXIDX,
8683 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8684 LYNXOS_MISSING_PUTENV_FIXIDX,
8685 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8686 MACHINE_NAME_FIXIDX,
8687 MATH_EXCEPTION_FIXIDX,
8688 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8689 NESTED_AUTH_DES_FIXIDX,
8690 NESTED_MOTOROLA_FIXIDX,
8691 NESTED_SYS_LIMITS_FIXIDX,
8692 NETBSD_C99_INLINE_1_FIXIDX,
8693 NETBSD_C99_INLINE_2_FIXIDX,
8694 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8695 NEXT_MATH_PREFIX_FIXIDX,
8696 NEXT_TEMPLATE_FIXIDX,
8697 NEXT_VOLITILE_FIXIDX,
8698 NEXT_WAIT_UNION_FIXIDX,
8699 NODEENT_SYNTAX_FIXIDX,
8700 OBSTACK_LVALUE_CAST_FIXIDX,
8701 OSF_NAMESPACE_A_FIXIDX,
8702 OSF_NAMESPACE_C_FIXIDX,
8703 PTHREAD_PAGE_SIZE_FIXIDX,
8704 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8705 READ_RET_TYPE_FIXIDX,
8706 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8707 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8708 RS6000_DOUBLE_FIXIDX,
8709 RS6000_FCHMOD_FIXIDX,
8710 RS6000_PARAM_FIXIDX,
8713 SCO_STATIC_FUNC_FIXIDX,
8715 SOLARIS_MATH_1_FIXIDX,
8716 SOLARIS_MATH_2_FIXIDX,
8717 SOLARIS_MATH_3_FIXIDX,
8718 SOLARIS_MATH_4_FIXIDX,
8719 SOLARIS_MATH_8_FIXIDX,
8720 SOLARIS_MATH_9_FIXIDX,
8721 SOLARIS_MUTEX_INIT_1_FIXIDX,
8722 SOLARIS_MUTEX_INIT_2_FIXIDX,
8723 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8724 SOLARIS_ONCE_INIT_1_FIXIDX,
8725 SOLARIS_ONCE_INIT_2_FIXIDX,
8726 SOLARIS_SOCKET_FIXIDX,
8727 SOLARIS_STDIO_TAG_FIXIDX,
8728 SOLARIS_UNISTD_FIXIDX,
8729 SOLARIS_WIDEC_FIXIDX,
8731 STDIO_STDARG_H_FIXIDX,
8732 STDIO_VA_LIST_FIXIDX,
8733 STDIO_VA_LIST_CLIENTS_FIXIDX,
8734 STRICT_ANSI_NOT_FIXIDX,
8735 STRICT_ANSI_NOT_CTD_FIXIDX,
8736 STRICT_ANSI_ONLY_FIXIDX,
8738 STRUCT_SOCKADDR_FIXIDX,
8739 SUN_AUTH_PROTO_FIXIDX,
8740 SUN_BOGUS_IFDEF_FIXIDX,
8741 SUN_CATMACRO_FIXIDX,
8743 SUN_RUSERS_SEMI_FIXIDX,
8745 SUNOS_STRLEN_FIXIDX,
8746 SVR4_DISABLE_OPT_FIXIDX,
8750 SVR4_SIGHANDLER_TYPE_FIXIDX,
8751 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8752 SYSV68_STRING_FIXIDX,
8753 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8754 THREAD_KEYWORD_FIXIDX,
8755 TINFO_CPLUSPLUS_FIXIDX,
8756 ULTRIX_ATEXIT_PARAM_FIXIDX,
8757 ULTRIX_ATOF_PARAM_FIXIDX,
8758 ULTRIX_CONST_FIXIDX,
8759 ULTRIX_CONST2_FIXIDX,
8760 ULTRIX_CONST3_FIXIDX,
8761 ULTRIX_FIX_FIXPROTO_FIXIDX,
8762 ULTRIX_IFDEF_FIXIDX,
8763 ULTRIX_LOCALE_FIXIDX,
8764 ULTRIX_MATH_IFDEF_FIXIDX,
8765 ULTRIX_NESTED_IOCTL_FIXIDX,
8766 ULTRIX_NESTED_SVC_FIXIDX,
8768 ULTRIX_STATIC_FIXIDX,
8769 ULTRIX_STDLIB_FIXIDX,
8770 ULTRIX_STRINGS_FIXIDX,
8771 ULTRIX_STRINGS2_FIXIDX,
8772 ULTRIX_SYS_TIME_FIXIDX,
8773 ULTRIX_UNISTD_FIXIDX,
8774 UNICOSMK_RESTRICT_FIXIDX,
8775 UW7_BYTEORDER_FIX_FIXIDX,
8776 VA_I960_MACRO_FIXIDX,
8778 VXWORKS_GCC_PROBLEM_FIXIDX,
8779 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8780 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8781 VXWORKS_TIME_FIXIDX,
8782 WINDISS_MATH1_FIXIDX,
8783 WINDISS_MATH2_FIXIDX,
8784 WINDISS_VALIST_FIXIDX,
8786 X11_CLASS_USAGE_FIXIDX,
8791 tFixDesc fixDescList[ FIX_COUNT ] = {
8792 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8793 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8794 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8795 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8797 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8798 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8799 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8800 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8802 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8803 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8804 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8805 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8807 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8808 apzAab_Fd_Zero_Gnu_Types_HMachs,
8809 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8810 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8812 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8813 apzAab_Fd_Zero_Selectbits_HMachs,
8814 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8815 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8817 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8818 apzAab_Solaris_Sys_Varargs_HMachs,
8819 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8820 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8822 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8823 apzAab_Sun_MemcpyMachs,
8824 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8825 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8827 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
8828 apzAab_Ultrix_Ansi_CompatMachs,
8829 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8830 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
8832 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
8833 apzAab_Ultrix_LimitsMachs,
8834 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8835 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
8837 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
8838 apzAab_Ultrix_MemoryMachs,
8839 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8840 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
8842 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
8843 apzAab_Ultrix_StringMachs,
8844 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8845 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
8847 { zAix_PthreadName, zAix_PthreadList,
8848 apzAix_PthreadMachs,
8849 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8850 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8852 { zAix_SysmachineName, zAix_SysmachineList,
8853 apzAix_SysmachineMachs,
8854 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8855 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8857 { zAix_SyswaitName, zAix_SyswaitList,
8858 apzAix_SyswaitMachs,
8859 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8860 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
8862 { zAix_Syswait_2Name, zAix_Syswait_2List,
8863 apzAix_Syswait_2Machs,
8864 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8865 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8867 { zAix_VolatileName, zAix_VolatileList,
8868 apzAix_VolatileMachs,
8869 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8870 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8872 { zAlpha___AssertName, zAlpha___AssertList,
8873 apzAlpha___AssertMachs,
8874 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8875 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8877 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8878 apzAlpha___Extern_PrefixMachs,
8879 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8880 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8882 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8883 apzAlpha___Extern_Prefix_StandardsMachs,
8884 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8885 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8887 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8888 apzAlpha___Extern_Prefix_Sys_StatMachs,
8889 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8890 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8892 { zAlpha_AssertName, zAlpha_AssertList,
8893 apzAlpha_AssertMachs,
8894 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8895 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8897 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8898 apzAlpha_Bad_LvalMachs,
8899 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8900 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8902 { zAlpha_GetoptName, zAlpha_GetoptList,
8903 apzAlpha_GetoptMachs,
8904 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8905 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8907 { zAlpha_ParensName, zAlpha_ParensList,
8908 apzAlpha_ParensMachs,
8909 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8910 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8912 { zAlpha_PthreadName, zAlpha_PthreadList,
8913 apzAlpha_PthreadMachs,
8914 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8915 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8917 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8918 apzAlpha_Pthread_GccMachs,
8919 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8920 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8922 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8923 apzAlpha_Pthread_InitMachs,
8924 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8925 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8927 { zAlpha_SbrkName, zAlpha_SbrkList,
8929 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8930 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8932 { zAlpha_WcharName, zAlpha_WcharList,
8933 apzAlpha_WcharMachs,
8934 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8935 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8937 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8938 apzAvoid_Bool_DefineMachs,
8939 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8940 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8942 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8943 apzAvoid_Bool_TypeMachs,
8944 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8945 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
8947 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
8948 apzAvoid_Wchar_T_TypeMachs,
8949 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8950 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
8952 { zBad_Struct_TermName, zBad_Struct_TermList,
8953 apzBad_Struct_TermMachs,
8954 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8955 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
8957 { zBadquoteName, zBadquoteList,
8959 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8960 aBadquoteTests, apzBadquotePatch, 0 },
8962 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
8963 apzBroken_Assert_StdioMachs,
8964 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8965 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
8967 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
8968 apzBroken_Assert_StdlibMachs,
8969 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8970 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
8972 { zBroken_CabsName, zBroken_CabsList,
8973 apzBroken_CabsMachs,
8974 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
8975 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
8977 { zBroken_NanName, zBroken_NanList,
8979 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8980 aBroken_NanTests, apzBroken_NanPatch, 0 },
8982 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
8983 apzBsd_Stdio_Attrs_ConflictMachs,
8984 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8985 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
8987 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
8988 apzCtrl_Quotes_DefMachs,
8989 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8990 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
8992 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
8993 apzCtrl_Quotes_UseMachs,
8994 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8995 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
8997 { zCxx_UnreadyName, zCxx_UnreadyList,
8998 apzCxx_UnreadyMachs,
8999 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9000 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
9002 { zDarwin_ExterncName, zDarwin_ExterncList,
9003 apzDarwin_ExterncMachs,
9004 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9005 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
9007 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
9008 apzDarwin_Gcc4_BreakageMachs,
9009 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9010 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
9012 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
9013 apzDarwin_Private_ExternMachs,
9014 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9015 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
9017 { zDec_Intern_AsmName, zDec_Intern_AsmList,
9018 apzDec_Intern_AsmMachs,
9019 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
9020 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
9022 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
9023 apzDjgpp_Wchar_HMachs,
9024 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9025 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
9027 { zEcd_CursorName, zEcd_CursorList,
9029 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9030 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
9032 { zException_StructureName, zException_StructureList,
9033 apzException_StructureMachs,
9034 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9035 aException_StructureTests, apzException_StructurePatch, 0 },
9037 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
9038 apzFreebsd_Gcc3_BreakageMachs,
9039 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9040 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
9042 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
9043 apzFreebsd_Gcc4_BreakageMachs,
9044 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9045 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
9047 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
9048 apzGlibc_C99_Inline_1Machs,
9049 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9050 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
9052 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
9053 apzGlibc_C99_Inline_1aMachs,
9054 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9055 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
9057 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
9058 apzGlibc_C99_Inline_2Machs,
9059 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
9060 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
9062 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
9063 apzGlibc_C99_Inline_3Machs,
9064 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9065 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
9067 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
9068 apzGlibc_C99_Inline_4Machs,
9069 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9070 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
9072 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
9073 apzGlibc_Mutex_InitMachs,
9074 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
9075 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
9077 { zGnu_TypesName, zGnu_TypesList,
9079 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9080 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
9082 { zHp_InlineName, zHp_InlineList,
9084 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9085 aHp_InlineTests, apzHp_InlinePatch, 0 },
9087 { zHp_SysfileName, zHp_SysfileList,
9089 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9090 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
9092 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
9093 apzHpux10_Cpp_Pow_InlineMachs,
9094 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9095 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
9097 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
9098 apzHpux11_Cpp_Pow_InlineMachs,
9099 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9100 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
9102 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
9103 apzHppa_Hpux_Fp_MacrosMachs,
9104 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9105 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
9107 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
9108 apzHpux10_Ctype_Declarations1Machs,
9109 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9110 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
9112 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
9113 apzHpux10_Ctype_Declarations2Machs,
9114 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9115 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
9117 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
9118 apzHpux10_Stdio_DeclarationsMachs,
9119 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9120 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
9122 { zHpux11_AbsName, zHpux11_AbsList,
9124 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9125 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
9127 { zHpux11_FabsfName, zHpux11_FabsfList,
9128 apzHpux11_FabsfMachs,
9129 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9130 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
9132 { zHpux11_Size_TName, zHpux11_Size_TList,
9133 apzHpux11_Size_TMachs,
9134 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9135 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
9137 { zHpux11_SnprintfName, zHpux11_SnprintfList,
9138 apzHpux11_SnprintfMachs,
9139 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9140 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
9142 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
9143 apzHpux11_Uint32_CMachs,
9144 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9145 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
9147 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
9148 apzHpux11_VsnprintfMachs,
9149 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9150 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
9152 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
9153 apzHpux8_Bogus_InlinesMachs,
9154 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
9155 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
9157 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
9158 apzHpux_Ctype_MacrosMachs,
9159 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9160 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
9162 { zHpux_HtonlName, zHpux_HtonlList,
9164 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9165 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
9167 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
9168 apzHpux_Long_DoubleMachs,
9169 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
9170 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
9172 { zHpux_SystimeName, zHpux_SystimeList,
9173 apzHpux_SystimeMachs,
9174 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9175 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
9177 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
9178 apzHpux_Spu_InfoMachs,
9179 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9180 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
9182 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
9183 apzHpux11_Extern_SendfileMachs,
9184 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9185 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
9187 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
9188 apzHpux11_Extern_SendpathMachs,
9189 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9190 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
9192 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
9193 apzHpux_Extern_ErrnoMachs,
9194 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9195 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
9197 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
9198 apzHpux11_Pthread_ConstMachs,
9199 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9200 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
9202 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
9203 apzHpux_Pthread_InitializersMachs,
9204 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
9205 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
9207 { zHuge_Val_HexName, zHuge_Val_HexList,
9208 apzHuge_Val_HexMachs,
9209 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9210 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
9212 { zHuge_Valf_HexName, zHuge_Valf_HexList,
9213 apzHuge_Valf_HexMachs,
9214 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9215 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
9217 { zHuge_Vall_HexName, zHuge_Vall_HexList,
9218 apzHuge_Vall_HexMachs,
9219 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9220 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
9222 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
9223 apzInt_Abort_Free_And_ExitMachs,
9224 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9225 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
9227 { zIo_Quotes_DefName, zIo_Quotes_DefList,
9228 apzIo_Quotes_DefMachs,
9229 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9230 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
9232 { zIo_Quotes_UseName, zIo_Quotes_UseList,
9233 apzIo_Quotes_UseMachs,
9234 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9235 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
9237 { zIp_Missing_SemiName, zIp_Missing_SemiList,
9238 apzIp_Missing_SemiMachs,
9239 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
9240 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
9242 { zIrix___RestrictName, zIrix___RestrictList,
9243 apzIrix___RestrictMachs,
9244 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9245 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
9247 { zIrix___Generic1Name, zIrix___Generic1List,
9248 apzIrix___Generic1Machs,
9249 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9250 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
9252 { zIrix___Generic2Name, zIrix___Generic2List,
9253 apzIrix___Generic2Machs,
9254 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9255 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
9257 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
9258 apzIrix_Asm_ApostropheMachs,
9259 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9260 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
9262 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
9263 apzIrix_Limits_ConstMachs,
9264 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9265 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
9267 { zIrix_Socklen_TName, zIrix_Socklen_TList,
9268 apzIrix_Socklen_TMachs,
9269 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9270 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
9272 { zIrix_Stdint_C99Name, zIrix_Stdint_C99List,
9273 apzIrix_Stdint_C99Machs,
9274 IRIX_STDINT_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9275 aIrix_Stdint_C99Tests, apzIrix_Stdint_C99Patch, 0 },
9277 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
9278 apzIrix_Stdio_Va_ListMachs,
9279 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9280 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
9282 { zIrix_WcsftimeName, zIrix_WcsftimeList,
9283 apzIrix_WcsftimeMachs,
9284 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9285 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
9287 { zIsc_FmodName, zIsc_FmodList,
9289 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9290 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
9292 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
9293 apzIsc_Omits_With_StdcMachs,
9294 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9295 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
9297 { zKandr_ConcatName, zKandr_ConcatList,
9298 apzKandr_ConcatMachs,
9299 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9300 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
9302 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
9303 apzLibc1_G_Va_ListMachs,
9304 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9305 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
9307 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
9308 apzLibc1_Ifdefd_MemxMachs,
9309 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9310 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
9312 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
9313 apzLinux_Ia64_UcontextMachs,
9314 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9315 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
9317 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
9318 apzLynxos_No_Warning_In_Sys_Time_HMachs,
9319 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9320 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
9322 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
9323 apzLynxos_Missing_PutenvMachs,
9324 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9325 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
9327 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
9328 apzMachine_Ansi_H_Va_ListMachs,
9329 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9330 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
9332 { zMachine_NameName, zMachine_NameList,
9333 apzMachine_NameMachs,
9334 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9335 aMachine_NameTests, apzMachine_NamePatch, 0 },
9337 { zMath_ExceptionName, zMath_ExceptionList,
9338 apzMath_ExceptionMachs,
9339 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9340 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
9342 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
9343 apzMath_Huge_Val_From_Dbl_MaxMachs,
9344 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
9345 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
9347 { zNested_Auth_DesName, zNested_Auth_DesList,
9348 apzNested_Auth_DesMachs,
9349 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9350 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9352 { zNested_MotorolaName, zNested_MotorolaList,
9353 apzNested_MotorolaMachs,
9354 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
9355 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
9357 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
9358 apzNested_Sys_LimitsMachs,
9359 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
9360 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
9362 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
9363 apzNetbsd_C99_Inline_1Machs,
9364 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9365 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
9367 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
9368 apzNetbsd_C99_Inline_2Machs,
9369 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9370 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
9372 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9373 apzNetbsd_Extra_SemicolonMachs,
9374 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9375 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9377 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9378 apzNext_Math_PrefixMachs,
9379 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9380 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9382 { zNext_TemplateName, zNext_TemplateList,
9383 apzNext_TemplateMachs,
9384 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9385 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9387 { zNext_VolitileName, zNext_VolitileList,
9388 apzNext_VolitileMachs,
9389 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9390 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9392 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9393 apzNext_Wait_UnionMachs,
9394 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9395 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9397 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9398 apzNodeent_SyntaxMachs,
9399 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9400 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9402 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9403 apzObstack_Lvalue_CastMachs,
9404 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9405 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9407 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9408 apzOsf_Namespace_AMachs,
9409 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9410 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9412 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9413 apzOsf_Namespace_CMachs,
9414 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9415 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9417 { zPthread_Page_SizeName, zPthread_Page_SizeList,
9418 apzPthread_Page_SizeMachs,
9419 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9420 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
9422 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9423 apzPthread_Incomplete_Struct_ArgumentMachs,
9424 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9425 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9427 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9428 apzRead_Ret_TypeMachs,
9429 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9430 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9432 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9433 apzRpc_Xdr_Lvalue_Cast_AMachs,
9434 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9435 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9437 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9438 apzRpc_Xdr_Lvalue_Cast_BMachs,
9439 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9440 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9442 { zRs6000_DoubleName, zRs6000_DoubleList,
9443 apzRs6000_DoubleMachs,
9444 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9445 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9447 { zRs6000_FchmodName, zRs6000_FchmodList,
9448 apzRs6000_FchmodMachs,
9449 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9450 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9452 { zRs6000_ParamName, zRs6000_ParamList,
9453 apzRs6000_ParamMachs,
9454 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9455 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9457 { zSco_MathName, zSco_MathList,
9459 SCO_MATH_TEST_CT, FD_MACH_ONLY,
9460 aSco_MathTests, apzSco_MathPatch, 0 },
9462 { zSco_RegsetName, zSco_RegsetList,
9464 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9465 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
9467 { zSco_Static_FuncName, zSco_Static_FuncList,
9468 apzSco_Static_FuncMachs,
9469 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
9470 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
9472 { zSco_UtimeName, zSco_UtimeList,
9474 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9475 aSco_UtimeTests, apzSco_UtimePatch, 0 },
9477 { zSolaris_Math_1Name, zSolaris_Math_1List,
9478 apzSolaris_Math_1Machs,
9479 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9480 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9482 { zSolaris_Math_2Name, zSolaris_Math_2List,
9483 apzSolaris_Math_2Machs,
9484 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9485 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9487 { zSolaris_Math_3Name, zSolaris_Math_3List,
9488 apzSolaris_Math_3Machs,
9489 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9490 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9492 { zSolaris_Math_4Name, zSolaris_Math_4List,
9493 apzSolaris_Math_4Machs,
9494 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9495 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9497 { zSolaris_Math_8Name, zSolaris_Math_8List,
9498 apzSolaris_Math_8Machs,
9499 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9500 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9502 { zSolaris_Math_9Name, zSolaris_Math_9List,
9503 apzSolaris_Math_9Machs,
9504 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9505 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9507 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
9508 apzSolaris_Mutex_Init_1Machs,
9509 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
9510 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
9512 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9513 apzSolaris_Mutex_Init_2Machs,
9514 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9515 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9517 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9518 apzSolaris_Rwlock_Init_1Machs,
9519 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9520 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9522 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9523 apzSolaris_Once_Init_1Machs,
9524 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9525 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9527 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9528 apzSolaris_Once_Init_2Machs,
9529 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9530 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9532 { zSolaris_SocketName, zSolaris_SocketList,
9533 apzSolaris_SocketMachs,
9534 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9535 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
9537 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9538 apzSolaris_Stdio_TagMachs,
9539 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9540 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9542 { zSolaris_UnistdName, zSolaris_UnistdList,
9543 apzSolaris_UnistdMachs,
9544 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9545 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
9547 { zSolaris_WidecName, zSolaris_WidecList,
9548 apzSolaris_WidecMachs,
9549 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9550 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
9552 { zStatsswtchName, zStatsswtchList,
9554 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9555 aStatsswtchTests, apzStatsswtchPatch, 0 },
9557 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9558 apzStdio_Stdarg_HMachs,
9559 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9560 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9562 { zStdio_Va_ListName, zStdio_Va_ListList,
9563 apzStdio_Va_ListMachs,
9564 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9565 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9567 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9568 apzStdio_Va_List_ClientsMachs,
9569 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9570 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9572 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9573 apzStrict_Ansi_NotMachs,
9574 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9575 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9577 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9578 apzStrict_Ansi_Not_CtdMachs,
9579 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9580 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9582 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9583 apzStrict_Ansi_OnlyMachs,
9584 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9585 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9587 { zStruct_FileName, zStruct_FileList,
9588 apzStruct_FileMachs,
9589 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9590 aStruct_FileTests, apzStruct_FilePatch, 0 },
9592 { zStruct_SockaddrName, zStruct_SockaddrList,
9593 apzStruct_SockaddrMachs,
9594 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9595 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9597 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9598 apzSun_Auth_ProtoMachs,
9599 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9600 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9602 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9603 apzSun_Bogus_IfdefMachs,
9604 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9605 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9607 { zSun_CatmacroName, zSun_CatmacroList,
9608 apzSun_CatmacroMachs,
9609 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9610 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9612 { zSun_MallocName, zSun_MallocList,
9614 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9615 aSun_MallocTests, apzSun_MallocPatch, 0 },
9617 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9618 apzSun_Rusers_SemiMachs,
9619 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9620 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9622 { zSun_SignalName, zSun_SignalList,
9624 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9625 aSun_SignalTests, apzSun_SignalPatch, 0 },
9627 { zSunos_StrlenName, zSunos_StrlenList,
9628 apzSunos_StrlenMachs,
9629 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9630 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9632 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9633 apzSvr4_Disable_OptMachs,
9634 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9635 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9637 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9638 apzSvr4_GetcwdMachs,
9639 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9640 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9642 { zSvr4_KrnlName, zSvr4_KrnlList,
9644 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9645 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
9647 { zSvr4_ProfilName, zSvr4_ProfilList,
9648 apzSvr4_ProfilMachs,
9649 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9650 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9652 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9653 apzSvr4_Sighandler_TypeMachs,
9654 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9655 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9657 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9658 apzSvr4_Undeclared_GetrngeMachs,
9659 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9660 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9662 { zSysv68_StringName, zSysv68_StringList,
9663 apzSysv68_StringMachs,
9664 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9665 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9667 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9668 apzSysz_Stdlib_For_SunMachs,
9669 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9670 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9672 { zThread_KeywordName, zThread_KeywordList,
9673 apzThread_KeywordMachs,
9674 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9675 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9677 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9678 apzTinfo_CplusplusMachs,
9679 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9680 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9682 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
9683 apzUltrix_Atexit_ParamMachs,
9684 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9685 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
9687 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
9688 apzUltrix_Atof_ParamMachs,
9689 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9690 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
9692 { zUltrix_ConstName, zUltrix_ConstList,
9693 apzUltrix_ConstMachs,
9694 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9695 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9697 { zUltrix_Const2Name, zUltrix_Const2List,
9698 apzUltrix_Const2Machs,
9699 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9700 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9702 { zUltrix_Const3Name, zUltrix_Const3List,
9703 apzUltrix_Const3Machs,
9704 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9705 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
9707 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
9708 apzUltrix_Fix_FixprotoMachs,
9709 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9710 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
9712 { zUltrix_IfdefName, zUltrix_IfdefList,
9713 apzUltrix_IfdefMachs,
9714 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9715 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
9717 { zUltrix_LocaleName, zUltrix_LocaleList,
9718 apzUltrix_LocaleMachs,
9719 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9720 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
9722 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
9723 apzUltrix_Math_IfdefMachs,
9724 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9725 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
9727 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
9728 apzUltrix_Nested_IoctlMachs,
9729 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
9730 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
9732 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
9733 apzUltrix_Nested_SvcMachs,
9734 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
9735 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
9737 { zUltrix_StatName, zUltrix_StatList,
9738 apzUltrix_StatMachs,
9739 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
9740 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
9742 { zUltrix_StaticName, zUltrix_StaticList,
9743 apzUltrix_StaticMachs,
9744 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
9745 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
9747 { zUltrix_StdlibName, zUltrix_StdlibList,
9748 apzUltrix_StdlibMachs,
9749 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
9750 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
9752 { zUltrix_StringsName, zUltrix_StringsList,
9753 apzUltrix_StringsMachs,
9754 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9755 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
9757 { zUltrix_Strings2Name, zUltrix_Strings2List,
9758 apzUltrix_Strings2Machs,
9759 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
9760 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
9762 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
9763 apzUltrix_Sys_TimeMachs,
9764 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
9765 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
9767 { zUltrix_UnistdName, zUltrix_UnistdList,
9768 apzUltrix_UnistdMachs,
9769 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
9770 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
9772 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
9773 apzUnicosmk_RestrictMachs,
9774 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9775 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
9777 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
9778 apzUw7_Byteorder_FixMachs,
9779 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9780 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
9782 { zVa_I960_MacroName, zVa_I960_MacroList,
9783 apzVa_I960_MacroMachs,
9784 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9785 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9787 { zVoid_NullName, zVoid_NullList,
9789 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9790 aVoid_NullTests, apzVoid_NullPatch, 0 },
9792 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
9793 apzVxworks_Gcc_ProblemMachs,
9794 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
9795 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
9797 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
9798 apzVxworks_Needs_VxtypesMachs,
9799 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9800 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
9802 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
9803 apzVxworks_Needs_VxworksMachs,
9804 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
9805 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
9807 { zVxworks_TimeName, zVxworks_TimeList,
9808 apzVxworks_TimeMachs,
9809 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9810 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
9812 { zWindiss_Math1Name, zWindiss_Math1List,
9813 apzWindiss_Math1Machs,
9814 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
9815 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
9817 { zWindiss_Math2Name, zWindiss_Math2List,
9818 apzWindiss_Math2Machs,
9819 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
9820 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
9822 { zWindiss_ValistName, zWindiss_ValistList,
9823 apzWindiss_ValistMachs,
9824 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
9825 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
9827 { zX11_ClassName, zX11_ClassList,
9829 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9830 aX11_ClassTests, apzX11_ClassPatch, 0 },
9832 { zX11_Class_UsageName, zX11_Class_UsageList,
9833 apzX11_Class_UsageMachs,
9834 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9835 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9837 { zX11_NewName, zX11_NewList,
9839 X11_NEW_TEST_CT, FD_MACH_ONLY,
9840 aX11_NewTests, apzX11_NewPatch, 0 },
9842 { zX11_SprintfName, zX11_SprintfList,
9843 apzX11_SprintfMachs,
9844 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9845 aX11_SprintfTests, apzX11_SprintfPatch, 0 }