1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Friday August 3, 2007 at 09:50:46 PM EDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Fri Aug 3 21:50:46 EDT 2007
11 * You must regenerate it. Use the ./genfixes script.
14 * This is part of the fixincl program used to install modified versions of
15 * certain ANSI-incompatible system header files which are fixed to work
16 * correctly with ANSI C and placed in a directory that GNU C will search.
18 * This file contains 208 fixup descriptions.
20 * See README for more information.
22 * inclhack copyright (c) 1998, 1999, 2000, 2001
23 * The Free Software Foundation, Inc.
25 * inclhack is free software.
27 * You may redistribute it and/or modify it under the terms of the
28 * GNU General Public License, as published by the Free Software
29 * Foundation; either version 2, or (at your option) any later version.
31 * inclhack is distributed in the hope that it will be useful,
32 * but WITHOUT ANY WARRANTY; without even the implied warranty of
33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
34 * See the GNU General Public License for more details.
36 * You should have received a copy of the GNU General Public License
37 * along with inclhack. See the file "COPYING". If not,
38 * write to: The Free Software Foundation, Inc.,
39 * 59 Temple Place - Suite 330,
40 * Boston, MA 02111-1307, USA.
43 /* * * * * * * * * * * * * * * * * * * * * * * * * *
45 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
47 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
48 "AAB_darwin7_9_long_double_funcs";
51 * File name selection pattern
53 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
54 "architecture/ppc/math.h\0";
56 * Machine/OS name selection pattern
58 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
63 * content bypass pattern - skip fix if pattern found
65 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
68 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
69 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
70 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
73 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
75 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
76 "/* This file prototypes the long double functions available on Mac OS\n\
79 # undef __APPLE_CC__\n\
80 # define __APPLE_CC__ 1345\n\
81 # include_next <architecture/ppc/math.h>\n\
82 # undef __APPLE_CC__\n\
83 # define __APPLE_CC__ 1\n\
84 # ifndef __LIBMLDBL_COMPAT\n\
85 # ifdef __LONG_DOUBLE_128__\n\
86 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
88 # define __LIBMLDBL_COMPAT(sym)\n\
89 # endif /* __LONG_DOUBLE_128__ */\n\
90 # endif /* __LIBMLDBL_COMPAT */\n\
91 # ifdef __cplusplus\n\
94 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
95 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
96 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
97 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
98 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
99 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
100 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
101 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
102 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
103 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
104 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
105 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
106 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
107 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
108 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
109 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
110 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
111 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
112 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
113 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
114 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
115 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
116 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
117 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
118 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
119 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
120 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
121 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
122 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
123 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
124 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
125 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
126 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
127 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
128 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
129 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
130 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
131 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
132 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
133 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
134 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
135 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
136 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
137 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
138 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
139 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
140 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
141 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
142 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
143 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
144 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
145 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
146 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
147 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
148 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
149 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
150 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
151 # ifdef __cplusplus\n\
154 #endif /* __MATH__ */",
157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
159 * Description of Aab_Darwin7_9_Long_Double_Funcs_2 fix
161 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
162 "AAB_darwin7_9_long_double_funcs_2";
165 * File name selection pattern
167 tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
170 * Machine/OS name selection pattern
172 tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
177 * content selection pattern - do fix if pattern found
179 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
180 "#include[ \\t]+\\\"";
182 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
183 static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
184 { TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
187 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
189 static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
192 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
195 /* * * * * * * * * * * * * * * * * * * * * * * * * *
197 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
199 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
200 "AAB_fd_zero_asm_posix_types_h";
203 * File name selection pattern
205 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
206 "asm/posix_types.h\0";
208 * Machine/OS name selection pattern
210 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
211 "i[34567]86-*-linux*",
215 * content bypass pattern - skip fix if pattern found
217 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
219 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
222 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 2
223 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
224 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
225 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL }, };
228 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
230 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
231 "/* This file fixes a bug in the __FD_ZERO macro\n\
232 for older versions of the Linux kernel. */\n\
233 #ifndef _POSIX_TYPES_H_WRAPPER\n\
234 #include <features.h>\n\
235 #include_next <asm/posix_types.h>\n\n\
236 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
238 #define __FD_ZERO(fdsetp) \\\n\
240 int __d0, __d1; \\\n\
241 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
242 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
243 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
244 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
247 #define _POSIX_TYPES_H_WRAPPER\n\
248 #endif /* _POSIX_TYPES_H_WRAPPER */",
251 /* * * * * * * * * * * * * * * * * * * * * * * * * *
253 * Description of Aab_Fd_Zero_Gnu_Types_H fix
255 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
256 "AAB_fd_zero_gnu_types_h";
259 * File name selection pattern
261 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
264 * Machine/OS name selection pattern
266 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
267 "i[34567]86-*-linux*",
269 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
270 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
273 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
275 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
276 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
277 #ifndef _TYPES_H_WRAPPER\n\
278 #include <features.h>\n\
279 #include_next <gnu/types.h>\n\n\
280 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
282 # define __FD_ZERO(fdsetp) \\\n\
284 int __d0, __d1; \\\n\
285 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
286 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
287 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
288 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
291 #define _TYPES_H_WRAPPER\n\
292 #endif /* _TYPES_H_WRAPPER */",
295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
297 * Description of Aab_Fd_Zero_Selectbits_H fix
299 tSCC zAab_Fd_Zero_Selectbits_HName[] =
300 "AAB_fd_zero_selectbits_h";
303 * File name selection pattern
305 tSCC zAab_Fd_Zero_Selectbits_HList[] =
308 * Machine/OS name selection pattern
310 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
311 "i[34567]86-*-linux*",
313 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
314 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
317 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
319 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
320 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
321 #ifndef _SELECTBITS_H_WRAPPER\n\
322 #include <features.h>\n\
323 #include_next <selectbits.h>\n\n\
324 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
325 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
326 && __GLIBC_MINOR__ == 0\n\
328 #define __FD_ZERO(fdsetp) \\\\\n\
330 int __d0, __d1; \\\\\n\
331 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
332 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
333 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
334 / sizeof (__fd_mask)), \\\\\n\
335 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
336 : \"memory\"); \\\\\n\
339 #define _SELECTBITS_H_WRAPPER\n\
340 #endif /* _SELECTBITS_H_WRAPPER */",
343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
345 * Description of Aab_Solaris_Sys_Varargs_H fix
347 tSCC zAab_Solaris_Sys_Varargs_HName[] =
348 "AAB_solaris_sys_varargs_h";
351 * File name selection pattern
353 tSCC zAab_Solaris_Sys_Varargs_HList[] =
356 * Machine/OS name selection pattern
358 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
361 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
362 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
365 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
367 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
369 #include <stdarg.h>\n\
371 #include <varargs.h>\n\
375 /* * * * * * * * * * * * * * * * * * * * * * * * * *
377 * Description of Aab_Sun_Memcpy fix
379 tSCC zAab_Sun_MemcpyName[] =
383 * File name selection pattern
385 tSCC zAab_Sun_MemcpyList[] =
388 * Machine/OS name selection pattern
390 #define apzAab_Sun_MemcpyMachs (const char**)NULL
393 * content selection pattern - do fix if pattern found
395 tSCC zAab_Sun_MemcpySelect0[] =
396 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
398 #define AAB_SUN_MEMCPY_TEST_CT 1
399 static tTestDesc aAab_Sun_MemcpyTests[] = {
400 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
403 * Fix Command Arguments for Aab_Sun_Memcpy
405 static const char* apzAab_Sun_MemcpyPatch[] = {
406 "/* This file was generated by fixincludes */\n\
407 #ifndef __memory_h__\n\
408 #define __memory_h__\n\n\
410 extern void *memccpy();\n\
411 extern void *memchr();\n\
412 extern void *memcpy();\n\
413 extern void *memset();\n\
415 extern char *memccpy();\n\
416 extern char *memchr();\n\
417 extern char *memcpy();\n\
418 extern char *memset();\n\
419 #endif /* __STDC__ */\n\n\
420 extern int memcmp();\n\n\
421 #endif /* __memory_h__ */\n\
425 * Completely replace <sys/varargs.h> with a file that includes gcc's\n\
426 * stdarg.h or varargs.h files as appropriate.\n\
430 hackname = AAB_svr4_no_varargs;\n\
431 files = sys/varargs.h;\n\
432 replace = \"/* This file was generated by fixincludes. */\\n\"\n\
433 \"#ifndef _SYS_VARARGS_H\\n\"\n\
434 \"#define _SYS_VARARGS_H\\n\\n\"\n\n\
435 \"#ifdef __STDC__\\n\"\n\
436 \"#include <stdarg.h>\\n\"\n\
438 \"#include <varargs.h>\\n\"\n\
439 \"#endif\\n\\n\"\n\n\
440 \"#endif /* _SYS_VARARGS_H */\\n\";\n\
444 * Completely replace <sys/byteorder.h> with a file that implements gcc's\n\
445 * optimized byteswapping. (The original probably implemented some\n\
446 * incompatible optimized byteswapping.)\n\
449 hackname = AAB_svr4_replace_byteorder;\n\
450 mach = \"*-*-sysv4*\";\n\
451 mach = \"i[34567]86-*-sysv5*\";\n\
452 mach = \"i[34567]86-*-sco3.2v5*\";\n\
453 mach = \"i[34567]86-*-udk*\";\n\
454 mach = \"i[34567]86-*-solaris2.[0-4]\";\n\
455 mach = \"powerpcle-*-solaris2.[0-4]\";\n\
456 mach = \"sparc-*-solaris2.[0-4]\";\n\
457 mach = \"i[34567]86-sequent-ptx*\";\n\
458 files = sys/byteorder.h;\n\
459 replace = <<- _EndOfHeader_\n\
460 #ifndef _SYS_BYTEORDER_H\n\
461 #define _SYS_BYTEORDER_H\n\n\
462 /* Functions to convert `short' and `long' quantities from host byte order\n\
463 to (internet) network byte order (i.e. big-endian).\n\n\
464 Written by Ron Guilmette (rfg@ncd.com).\n\n\
465 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
466 For big-endian machines these functions are essentially no-ops.\n\n\
467 For little-endian machines, we define the functions using specialized\n\
468 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
469 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
470 #error You lose! This file is only useful with GNU compilers.\n\
472 #ifndef __BYTE_ORDER__\n\
473 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
474 double underscores added at the front and back. */\n\
475 #define __LITTLE_ENDIAN__ 1234\n\
476 #define __BIG_ENDIAN__ 4321\n\
477 #define __PDP_ENDIAN__ 3412\n\
480 static __inline__ unsigned long htonl (unsigned long);\n\
481 static __inline__ unsigned short htons (unsigned int);\n\
482 static __inline__ unsigned long ntohl (unsigned long);\n\
483 static __inline__ unsigned short ntohs (unsigned int);\n\
484 #endif /* defined (__STDC__) */\n\n\
485 #if defined (__i386__)\n\n\
486 #ifndef __BYTE_ORDER__\n\
487 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
489 /* Convert a host long to a network long. */\n\n\
490 /* We must use a new-style function definition, so that this will also\n\
491 be valid for C++. */\n\
492 static __inline__ unsigned long\n\
493 htonl (unsigned long __arg)\n\
495 register unsigned long __result;\n\n\
496 __asm__ (\"xchg%B0 %b0,%h0\n\
498 xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
501 /* Convert a host short to a network short. */\n\n\
502 static __inline__ unsigned short\n\
503 htons (unsigned int __arg)\n\
505 register unsigned short __result;\n\n\
506 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
509 #elif (defined (__ns32k__) || defined (__vax__) || defined (__arm__))\n\n\
510 #ifndef __BYTE_ORDER__\n\
511 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
513 /* For other little-endian machines, using C code is just as efficient as\n\
514 using assembly code. */\n\n\
515 /* Convert a host long to a network long. */\n\n\
516 static __inline__ unsigned long\n\
517 htonl (unsigned long __arg)\n\
519 register unsigned long __result;\n\n\
520 __result = (__arg >> 24) & 0x000000ff;\n\
521 __result |= (__arg >> 8) & 0x0000ff00;\n\
522 __result |= (__arg << 8) & 0x00ff0000;\n\
523 __result |= (__arg << 24) & 0xff000000;\n\
526 /* Convert a host short to a network short. */\n\n\
527 static __inline__ unsigned short\n\
528 htons (unsigned int __arg)\n\
530 register unsigned short __result;\n\n\
531 __result = (__arg << 8) & 0xff00;\n\
532 __result |= (__arg >> 8) & 0x00ff;\n\
535 #else /* must be a big-endian machine */\n\n\
536 #ifndef __BYTE_ORDER__\n\
537 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
539 /* Convert a host long to a network long. */\n\n\
540 static __inline__ unsigned long\n\
541 htonl (unsigned long __arg)\n\
545 /* Convert a host short to a network short. */\n\n\
546 static __inline__ unsigned short\n\
547 htons (unsigned int __arg)\n\
551 #endif /* big-endian */\n\n\
552 /* Convert a network long to a host long. */\n\n\
553 static __inline__ unsigned long\n\
554 ntohl (unsigned long __arg)\n\
556 return htonl (__arg);\n\
558 /* Convert a network short to a host short. */\n\n\
559 static __inline__ unsigned short\n\
560 ntohs (unsigned int __arg)\n\
562 return htons (__arg);\n\
567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
569 * Description of Aab_Ultrix_Ansi_Compat fix
571 tSCC zAab_Ultrix_Ansi_CompatName[] =
572 "AAB_ultrix_ansi_compat";
575 * File name selection pattern
577 tSCC zAab_Ultrix_Ansi_CompatList[] =
580 * Machine/OS name selection pattern
582 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
585 * content selection pattern - do fix if pattern found
587 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
590 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
591 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
592 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
595 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
597 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
598 "/* This file intentionally left blank. */\n",
601 /* * * * * * * * * * * * * * * * * * * * * * * * * *
603 * Description of Aab_Ultrix_Limits fix
605 tSCC zAab_Ultrix_LimitsName[] =
609 * File name selection pattern
611 tSCC zAab_Ultrix_LimitsList[] =
614 * Machine/OS name selection pattern
616 tSCC* apzAab_Ultrix_LimitsMachs[] = {
619 #define AAB_ULTRIX_LIMITS_TEST_CT 0
620 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
623 * Fix Command Arguments for Aab_Ultrix_Limits
625 static const char* apzAab_Ultrix_LimitsPatch[] = {
626 "#ifndef _LIMITS_INCLUDED\n\
627 #define _LIMITS_INCLUDED\n\
628 #include <sys/limits.h>\n\
629 #endif /* _LIMITS_INCLUDED */",
632 /* * * * * * * * * * * * * * * * * * * * * * * * * *
634 * Description of Aab_Ultrix_Memory fix
636 tSCC zAab_Ultrix_MemoryName[] =
640 * File name selection pattern
642 tSCC zAab_Ultrix_MemoryList[] =
645 * Machine/OS name selection pattern
647 tSCC* apzAab_Ultrix_MemoryMachs[] = {
650 #define AAB_ULTRIX_MEMORY_TEST_CT 0
651 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
654 * Fix Command Arguments for Aab_Ultrix_Memory
656 static const char* apzAab_Ultrix_MemoryPatch[] = {
657 "#ifndef _MEMORY_INCLUDED\n\
658 #define _MEMORY_INCLUDED\n\
659 #include <strings.h>\n\
660 #endif /* _MEMORY_INCLUDED */",
663 /* * * * * * * * * * * * * * * * * * * * * * * * * *
665 * Description of Aab_Ultrix_String fix
667 tSCC zAab_Ultrix_StringName[] =
671 * File name selection pattern
673 tSCC zAab_Ultrix_StringList[] =
676 * Machine/OS name selection pattern
678 tSCC* apzAab_Ultrix_StringMachs[] = {
681 #define AAB_ULTRIX_STRING_TEST_CT 0
682 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
685 * Fix Command Arguments for Aab_Ultrix_String
687 static const char* apzAab_Ultrix_StringPatch[] = {
688 "#ifndef _STRING_INCLUDED\n\
689 #define _STRING_INCLUDED\n\
690 #include <strings.h>\n\
691 #endif /* _STRING_INCLUDED */",
694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
696 * Description of Aix_Pthread fix
698 tSCC zAix_PthreadName[] =
702 * File name selection pattern
704 tSCC zAix_PthreadList[] =
707 * Machine/OS name selection pattern
709 #define apzAix_PthreadMachs (const char**)NULL
712 * content selection pattern - do fix if pattern found
714 tSCC zAix_PthreadSelect0[] =
715 "(#define [A-Za-z_0-9]+)(\\\\\n\
719 #define AIX_PTHREAD_TEST_CT 1
720 static tTestDesc aAix_PthreadTests[] = {
721 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
724 * Fix Command Arguments for Aix_Pthread
726 static const char* apzAix_PthreadPatch[] = {
731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
733 * Description of Aix_Sysmachine fix
735 tSCC zAix_SysmachineName[] =
739 * File name selection pattern
741 tSCC zAix_SysmachineList[] =
744 * Machine/OS name selection pattern
746 #define apzAix_SysmachineMachs (const char**)NULL
749 * content selection pattern - do fix if pattern found
751 tSCC zAix_SysmachineSelect0[] =
754 #define AIX_SYSMACHINE_TEST_CT 1
755 static tTestDesc aAix_SysmachineTests[] = {
756 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
759 * Fix Command Arguments for Aix_Sysmachine
761 static const char* apzAix_SysmachinePatch[] = {
766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
768 * Description of Aix_Syswait fix
770 tSCC zAix_SyswaitName[] =
774 * File name selection pattern
776 tSCC zAix_SyswaitList[] =
779 * Machine/OS name selection pattern
781 #define apzAix_SyswaitMachs (const char**)NULL
784 * content selection pattern - do fix if pattern found
786 tSCC zAix_SyswaitSelect0[] =
787 "^extern pid_t wait3\\(\\);\n";
788 tSCC zAix_SyswaitSelect1[] =
791 #define AIX_SYSWAIT_TEST_CT 2
792 static tTestDesc aAix_SyswaitTests[] = {
793 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
794 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
797 * Fix Command Arguments for Aix_Syswait
799 static const char* apzAix_SyswaitPatch[] = {
805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
807 * Description of Aix_Syswait_2 fix
809 tSCC zAix_Syswait_2Name[] =
813 * File name selection pattern
815 tSCC zAix_Syswait_2List[] =
818 * Machine/OS name selection pattern
820 #define apzAix_Syswait_2Machs (const char**)NULL
823 * content selection pattern - do fix if pattern found
825 tSCC zAix_Syswait_2Select0[] =
826 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
828 #define AIX_SYSWAIT_2_TEST_CT 1
829 static tTestDesc aAix_Syswait_2Tests[] = {
830 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
833 * Fix Command Arguments for Aix_Syswait_2
835 static const char* apzAix_Syswait_2Patch[] = {
840 /* * * * * * * * * * * * * * * * * * * * * * * * * *
842 * Description of Aix_Volatile fix
844 tSCC zAix_VolatileName[] =
848 * File name selection pattern
850 tSCC zAix_VolatileList[] =
853 * Machine/OS name selection pattern
855 #define apzAix_VolatileMachs (const char**)NULL
858 * content selection pattern - do fix if pattern found
860 tSCC zAix_VolatileSelect0[] =
861 "typedef volatile int sig_atomic_t";
863 #define AIX_VOLATILE_TEST_CT 1
864 static tTestDesc aAix_VolatileTests[] = {
865 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
868 * Fix Command Arguments for Aix_Volatile
870 static const char* apzAix_VolatilePatch[] = {
872 "typedef int sig_atomic_t",
875 /* * * * * * * * * * * * * * * * * * * * * * * * * *
877 * Description of Alpha___Assert fix
879 tSCC zAlpha___AssertName[] =
883 * File name selection pattern
885 tSCC zAlpha___AssertList[] =
888 * Machine/OS name selection pattern
890 #define apzAlpha___AssertMachs (const char**)NULL
893 * content selection pattern - do fix if pattern found
895 tSCC zAlpha___AssertSelect0[] =
896 "__assert\\(char \\*, char \\*, int\\)";
898 #define ALPHA___ASSERT_TEST_CT 1
899 static tTestDesc aAlpha___AssertTests[] = {
900 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
903 * Fix Command Arguments for Alpha___Assert
905 static const char* apzAlpha___AssertPatch[] = {
907 "__assert(const char *, const char *, int)",
910 /* * * * * * * * * * * * * * * * * * * * * * * * * *
912 * Description of Alpha___Extern_Prefix fix
914 tSCC zAlpha___Extern_PrefixName[] =
915 "alpha___extern_prefix";
918 * File name selection pattern
920 #define zAlpha___Extern_PrefixList (char*)NULL
922 * Machine/OS name selection pattern
924 tSCC* apzAlpha___Extern_PrefixMachs[] = {
929 * content selection pattern - do fix if pattern found
931 tSCC zAlpha___Extern_PrefixSelect0[] =
932 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
933 (#[ \t]*pragma[ \t]*extern_prefix.*)";
935 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
936 static tTestDesc aAlpha___Extern_PrefixTests[] = {
937 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
940 * Fix Command Arguments for Alpha___Extern_Prefix
942 static const char* apzAlpha___Extern_PrefixPatch[] = {
944 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
948 /* * * * * * * * * * * * * * * * * * * * * * * * * *
950 * Description of Alpha___Extern_Prefix_Standards fix
952 tSCC zAlpha___Extern_Prefix_StandardsName[] =
953 "alpha___extern_prefix_standards";
956 * File name selection pattern
958 tSCC zAlpha___Extern_Prefix_StandardsList[] =
961 * Machine/OS name selection pattern
963 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
968 * content selection pattern - do fix if pattern found
970 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
971 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
973 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
974 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
975 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
978 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
980 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
982 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
985 /* * * * * * * * * * * * * * * * * * * * * * * * * *
987 * Description of Alpha___Extern_Prefix_Sys_Stat fix
989 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
990 "alpha___extern_prefix_sys_stat";
993 * File name selection pattern
995 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
996 "sys/stat.h\0sys/mount.h\0";
998 * Machine/OS name selection pattern
1000 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
1002 (const char*)NULL };
1005 * content selection pattern - do fix if pattern found
1007 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
1008 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
1010 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
1011 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
1012 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
1015 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
1017 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
1019 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
1022 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1024 * Description of Alpha_Assert fix
1026 tSCC zAlpha_AssertName[] =
1030 * File name selection pattern
1032 tSCC zAlpha_AssertList[] =
1035 * Machine/OS name selection pattern
1037 #define apzAlpha_AssertMachs (const char**)NULL
1040 * content selection pattern - do fix if pattern found
1042 tSCC zAlpha_AssertSelect0[] =
1043 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1045 #define ALPHA_ASSERT_TEST_CT 1
1046 static tTestDesc aAlpha_AssertTests[] = {
1047 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1050 * Fix Command Arguments for Alpha_Assert
1052 static const char* apzAlpha_AssertPatch[] = {
1057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1059 * Description of Alpha_Bad_Lval fix
1061 tSCC zAlpha_Bad_LvalName[] =
1065 * File name selection pattern
1067 #define zAlpha_Bad_LvalList (char*)NULL
1069 * Machine/OS name selection pattern
1071 tSCC* apzAlpha_Bad_LvalMachs[] = {
1073 (const char*)NULL };
1076 * content selection pattern - do fix if pattern found
1078 tSCC zAlpha_Bad_LvalSelect0[] =
1079 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1081 #define ALPHA_BAD_LVAL_TEST_CT 1
1082 static tTestDesc aAlpha_Bad_LvalTests[] = {
1083 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
1086 * Fix Command Arguments for Alpha_Bad_Lval
1088 static const char* apzAlpha_Bad_LvalPatch[] = { "sed",
1089 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1092 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1094 * Description of Alpha_Getopt fix
1096 tSCC zAlpha_GetoptName[] =
1100 * File name selection pattern
1102 tSCC zAlpha_GetoptList[] =
1103 "stdio.h\0stdlib.h\0";
1105 * Machine/OS name selection pattern
1107 #define apzAlpha_GetoptMachs (const char**)NULL
1110 * content selection pattern - do fix if pattern found
1112 tSCC zAlpha_GetoptSelect0[] =
1113 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1115 #define ALPHA_GETOPT_TEST_CT 1
1116 static tTestDesc aAlpha_GetoptTests[] = {
1117 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1120 * Fix Command Arguments for Alpha_Getopt
1122 static const char* apzAlpha_GetoptPatch[] = {
1124 "getopt(int, char *const[], const char *)",
1127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1129 * Description of Alpha_Parens fix
1131 tSCC zAlpha_ParensName[] =
1135 * File name selection pattern
1137 tSCC zAlpha_ParensList[] =
1140 * Machine/OS name selection pattern
1142 #define apzAlpha_ParensMachs (const char**)NULL
1145 * content selection pattern - do fix if pattern found
1147 tSCC zAlpha_ParensSelect0[] =
1148 "#ifndef\\(__mips64\\)";
1150 #define ALPHA_PARENS_TEST_CT 1
1151 static tTestDesc aAlpha_ParensTests[] = {
1152 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1155 * Fix Command Arguments for Alpha_Parens
1157 static const char* apzAlpha_ParensPatch[] = {
1162 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1164 * Description of Alpha_Pthread fix
1166 tSCC zAlpha_PthreadName[] =
1170 * File name selection pattern
1172 tSCC zAlpha_PthreadList[] =
1175 * Machine/OS name selection pattern
1177 tSCC* apzAlpha_PthreadMachs[] = {
1179 (const char*)NULL };
1182 * content selection pattern - do fix if pattern found
1184 tSCC zAlpha_PthreadSelect0[] =
1185 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
1186 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
1188 #define ALPHA_PTHREAD_TEST_CT 1
1189 static tTestDesc aAlpha_PthreadTests[] = {
1190 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
1193 * Fix Command Arguments for Alpha_Pthread
1195 static const char* apzAlpha_PthreadPatch[] = {
1197 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
1201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1203 * Description of Alpha_Pthread_Gcc fix
1205 tSCC zAlpha_Pthread_GccName[] =
1206 "alpha_pthread_gcc";
1209 * File name selection pattern
1211 tSCC zAlpha_Pthread_GccList[] =
1214 * Machine/OS name selection pattern
1216 tSCC* apzAlpha_Pthread_GccMachs[] = {
1218 (const char*)NULL };
1221 * content selection pattern - do fix if pattern found
1223 tSCC zAlpha_Pthread_GccSelect0[] =
1225 # error <pthread.h>: unrecognized compiler.";
1227 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1228 static tTestDesc aAlpha_Pthread_GccTests[] = {
1229 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1232 * Fix Command Arguments for Alpha_Pthread_Gcc
1234 static const char* apzAlpha_Pthread_GccPatch[] = {
1236 "#elif defined (__GNUC__)\n\
1237 # define _PTHREAD_ENV_GCC\n\
1241 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1243 * Description of Alpha_Pthread_Init fix
1245 tSCC zAlpha_Pthread_InitName[] =
1246 "alpha_pthread_init";
1249 * File name selection pattern
1251 tSCC zAlpha_Pthread_InitList[] =
1254 * Machine/OS name selection pattern
1256 tSCC* apzAlpha_Pthread_InitMachs[] = {
1258 (const char*)NULL };
1261 * content selection pattern - do fix if pattern found
1263 tSCC zAlpha_Pthread_InitSelect0[] =
1264 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1266 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1267 static tTestDesc aAlpha_Pthread_InitTests[] = {
1268 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1271 * Fix Command Arguments for Alpha_Pthread_Init
1273 static const char* apzAlpha_Pthread_InitPatch[] = { "sed",
1274 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1275 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1276 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1277 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1278 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1279 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1284 * Description of Alpha_Sbrk fix
1286 tSCC zAlpha_SbrkName[] =
1290 * File name selection pattern
1292 tSCC zAlpha_SbrkList[] =
1295 * Machine/OS name selection pattern
1297 #define apzAlpha_SbrkMachs (const char**)NULL
1300 * content selection pattern - do fix if pattern found
1302 tSCC zAlpha_SbrkSelect0[] =
1303 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1305 #define ALPHA_SBRK_TEST_CT 1
1306 static tTestDesc aAlpha_SbrkTests[] = {
1307 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1310 * Fix Command Arguments for Alpha_Sbrk
1312 static const char* apzAlpha_SbrkPatch[] = {
1317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1319 * Description of Alpha_Wchar fix
1321 tSCC zAlpha_WcharName[] =
1325 * File name selection pattern
1327 tSCC zAlpha_WcharList[] =
1330 * Machine/OS name selection pattern
1332 tSCC* apzAlpha_WcharMachs[] = {
1334 (const char*)NULL };
1337 * content selection pattern - do fix if pattern found
1339 tSCC zAlpha_WcharSelect0[] =
1340 "#define wcstok wcstok_r";
1342 #define ALPHA_WCHAR_TEST_CT 1
1343 static tTestDesc aAlpha_WcharTests[] = {
1344 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1347 * Fix Command Arguments for Alpha_Wchar
1349 static const char* apzAlpha_WcharPatch[] = { "sed",
1350 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1351 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1356 * Description of Avoid_Bool_Define fix
1358 tSCC zAvoid_Bool_DefineName[] =
1359 "avoid_bool_define";
1362 * File name selection pattern
1364 tSCC zAvoid_Bool_DefineList[] =
1365 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1367 * Machine/OS name selection pattern
1369 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1372 * content selection pattern - do fix if pattern found
1374 tSCC zAvoid_Bool_DefineSelect0[] =
1375 "#[ \t]*define[ \t]+bool[ \t]";
1378 * content bypass pattern - skip fix if pattern found
1380 tSCC zAvoid_Bool_DefineBypass0[] =
1383 #define AVOID_BOOL_DEFINE_TEST_CT 2
1384 static tTestDesc aAvoid_Bool_DefineTests[] = {
1385 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1386 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1389 * Fix Command Arguments for Avoid_Bool_Define
1391 static const char* apzAvoid_Bool_DefinePatch[] = {
1393 "#ifndef __cplusplus\n\
1396 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1399 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1401 * Description of Avoid_Bool_Type fix
1403 tSCC zAvoid_Bool_TypeName[] =
1407 * File name selection pattern
1409 tSCC zAvoid_Bool_TypeList[] =
1410 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1412 * Machine/OS name selection pattern
1414 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1417 * content selection pattern - do fix if pattern found
1419 tSCC zAvoid_Bool_TypeSelect0[] =
1420 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1423 * content bypass pattern - skip fix if pattern found
1425 tSCC zAvoid_Bool_TypeBypass0[] =
1428 #define AVOID_BOOL_TYPE_TEST_CT 2
1429 static tTestDesc aAvoid_Bool_TypeTests[] = {
1430 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1431 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1434 * Fix Command Arguments for Avoid_Bool_Type
1436 static const char* apzAvoid_Bool_TypePatch[] = {
1438 "#ifndef __cplusplus\n\
1443 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1445 * Description of Avoid_Wchar_T_Type fix
1447 tSCC zAvoid_Wchar_T_TypeName[] =
1448 "avoid_wchar_t_type";
1451 * File name selection pattern
1453 #define zAvoid_Wchar_T_TypeList (char*)NULL
1455 * Machine/OS name selection pattern
1457 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1460 * content selection pattern - do fix if pattern found
1462 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1463 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1466 * content bypass pattern - skip fix if pattern found
1468 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1470 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1472 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1473 "XFree86: xc/lib/X11/Xlib\\.h";
1475 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1476 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1477 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1478 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1479 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1480 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1483 * Fix Command Arguments for Avoid_Wchar_T_Type
1485 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1487 "#ifndef __cplusplus\n\
1492 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1494 * Description of Bad_Struct_Term fix
1496 tSCC zBad_Struct_TermName[] =
1500 * File name selection pattern
1502 tSCC zBad_Struct_TermList[] =
1505 * Machine/OS name selection pattern
1507 #define apzBad_Struct_TermMachs (const char**)NULL
1510 * content selection pattern - do fix if pattern found
1512 tSCC zBad_Struct_TermSelect0[] =
1513 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1515 #define BAD_STRUCT_TERM_TEST_CT 1
1516 static tTestDesc aBad_Struct_TermTests[] = {
1517 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1520 * Fix Command Arguments for Bad_Struct_Term
1522 static const char* apzBad_Struct_TermPatch[] = {
1527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1529 * Description of Badquote fix
1531 tSCC zBadquoteName[] =
1535 * File name selection pattern
1537 tSCC zBadquoteList[] =
1538 "sundev/vuid_event.h\0";
1540 * Machine/OS name selection pattern
1542 #define apzBadquoteMachs (const char**)NULL
1545 * content selection pattern - do fix if pattern found
1547 tSCC zBadquoteSelect0[] =
1550 #define BADQUOTE_TEST_CT 1
1551 static tTestDesc aBadquoteTests[] = {
1552 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1555 * Fix Command Arguments for Badquote
1557 static const char* apzBadquotePatch[] = {
1562 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1564 * Description of Broken_Assert_Stdio fix
1566 tSCC zBroken_Assert_StdioName[] =
1567 "broken_assert_stdio";
1570 * File name selection pattern
1572 tSCC zBroken_Assert_StdioList[] =
1575 * Machine/OS name selection pattern
1577 #define apzBroken_Assert_StdioMachs (const char**)NULL
1580 * content selection pattern - do fix if pattern found
1582 tSCC zBroken_Assert_StdioSelect0[] =
1586 * content bypass pattern - skip fix if pattern found
1588 tSCC zBroken_Assert_StdioBypass0[] =
1589 "include.*stdio\\.h";
1591 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1592 static tTestDesc aBroken_Assert_StdioTests[] = {
1593 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1594 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1597 * Fix Command Arguments for Broken_Assert_Stdio
1599 static const char* apzBroken_Assert_StdioPatch[] = {
1601 "#include <stdio.h>\n",
1604 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1606 * Description of Broken_Assert_Stdlib fix
1608 tSCC zBroken_Assert_StdlibName[] =
1609 "broken_assert_stdlib";
1612 * File name selection pattern
1614 tSCC zBroken_Assert_StdlibList[] =
1617 * Machine/OS name selection pattern
1619 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1622 * content selection pattern - do fix if pattern found
1624 tSCC zBroken_Assert_StdlibSelect0[] =
1625 "exit *\\(|abort *\\(";
1628 * content bypass pattern - skip fix if pattern found
1630 tSCC zBroken_Assert_StdlibBypass0[] =
1631 "include.*stdlib\\.h";
1633 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1634 static tTestDesc aBroken_Assert_StdlibTests[] = {
1635 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1636 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1639 * Fix Command Arguments for Broken_Assert_Stdlib
1641 static const char* apzBroken_Assert_StdlibPatch[] = {
1643 "#ifdef __cplusplus\n\
1644 #include <stdlib.h>\n\
1648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1650 * Description of Broken_Cabs fix
1652 tSCC zBroken_CabsName[] =
1656 * File name selection pattern
1658 tSCC zBroken_CabsList[] =
1659 "math.h\0architecture/*/math.h\0";
1661 * Machine/OS name selection pattern
1663 #define apzBroken_CabsMachs (const char**)NULL
1666 * content selection pattern - do fix if pattern found
1668 tSCC zBroken_CabsSelect0[] =
1669 "^extern[ \t]+double[ \t]+cabs";
1671 #define BROKEN_CABS_TEST_CT 1
1672 static tTestDesc aBroken_CabsTests[] = {
1673 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1676 * Fix Command Arguments for Broken_Cabs
1678 static const char* apzBroken_CabsPatch[] = { "sed",
1679 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1680 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1683 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1685 * Description of Broken_Nan fix
1687 tSCC zBroken_NanName[] =
1691 * File name selection pattern
1693 tSCC zBroken_NanList[] =
1694 "architecture/ppc/math.h\0architecture/*/math.h\0";
1696 * Machine/OS name selection pattern
1698 #define apzBroken_NanMachs (const char**)NULL
1701 * content selection pattern - do fix if pattern found
1703 tSCC zBroken_NanSelect0[] =
1704 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1707 * content bypass pattern - skip fix if pattern found
1709 tSCC zBroken_NanBypass0[] =
1712 #define BROKEN_NAN_TEST_CT 2
1713 static tTestDesc aBroken_NanTests[] = {
1714 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1715 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1718 * Fix Command Arguments for Broken_Nan
1720 static const char* apzBroken_NanPatch[] = {
1725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1727 * Description of Bsd_Stdio_Attrs_Conflict fix
1729 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1730 "bsd_stdio_attrs_conflict";
1733 * File name selection pattern
1735 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1738 * Machine/OS name selection pattern
1740 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1743 (const char*)NULL };
1746 * content selection pattern - do fix if pattern found
1748 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1749 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1751 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1752 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1753 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1756 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1758 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1760 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1761 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1762 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1765 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1767 * Description of Ctrl_Quotes_Def fix
1769 tSCC zCtrl_Quotes_DefName[] =
1773 * File name selection pattern
1775 #define zCtrl_Quotes_DefList (char*)NULL
1777 * Machine/OS name selection pattern
1779 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1782 * content selection pattern - do fix if pattern found
1784 tSCC zCtrl_Quotes_DefSelect0[] =
1785 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1787 #define CTRL_QUOTES_DEF_TEST_CT 1
1788 static tTestDesc aCtrl_Quotes_DefTests[] = {
1789 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1792 * Fix Command Arguments for Ctrl_Quotes_Def
1794 static const char* apzCtrl_Quotes_DefPatch[] = {
1799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1801 * Description of Ctrl_Quotes_Use fix
1803 tSCC zCtrl_Quotes_UseName[] =
1807 * File name selection pattern
1809 #define zCtrl_Quotes_UseList (char*)NULL
1811 * Machine/OS name selection pattern
1813 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1816 * content selection pattern - do fix if pattern found
1818 tSCC zCtrl_Quotes_UseSelect0[] =
1819 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1821 #define CTRL_QUOTES_USE_TEST_CT 1
1822 static tTestDesc aCtrl_Quotes_UseTests[] = {
1823 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1826 * Fix Command Arguments for Ctrl_Quotes_Use
1828 static const char* apzCtrl_Quotes_UsePatch[] = {
1833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1835 * Description of Cxx_Unready fix
1837 tSCC zCxx_UnreadyName[] =
1841 * File name selection pattern
1843 tSCC zCxx_UnreadyList[] =
1844 "sys/mman.h\0rpc/types.h\0";
1846 * Machine/OS name selection pattern
1848 #define apzCxx_UnreadyMachs (const char**)NULL
1851 * content selection pattern - do fix if pattern found
1853 tSCC zCxx_UnreadySelect0[] =
1857 * content bypass pattern - skip fix if pattern found
1859 tSCC zCxx_UnreadyBypass0[] =
1860 "\"C\"|__BEGIN_DECLS";
1862 #define CXX_UNREADY_TEST_CT 2
1863 static tTestDesc aCxx_UnreadyTests[] = {
1864 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1865 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1868 * Fix Command Arguments for Cxx_Unready
1870 static const char* apzCxx_UnreadyPatch[] = {
1872 "#ifdef __cplusplus\n\
1875 "#ifdef __cplusplus\n\
1880 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1882 * Description of Darwin_Gcc4_Breakage fix
1884 tSCC zDarwin_Gcc4_BreakageName[] =
1885 "darwin_gcc4_breakage";
1888 * File name selection pattern
1890 tSCC zDarwin_Gcc4_BreakageList[] =
1891 "AvailabilityMacros.h\0";
1893 * Machine/OS name selection pattern
1895 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1897 (const char*)NULL };
1900 * content selection pattern - do fix if pattern found
1902 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1903 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1905 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1906 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1907 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1910 * Fix Command Arguments for Darwin_Gcc4_Breakage
1912 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1914 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1917 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1919 * Description of Darwin_Private_Extern fix
1921 tSCC zDarwin_Private_ExternName[] =
1922 "darwin_private_extern";
1925 * File name selection pattern
1927 tSCC zDarwin_Private_ExternList[] =
1930 * Machine/OS name selection pattern
1932 tSCC* apzDarwin_Private_ExternMachs[] = {
1934 (const char*)NULL };
1937 * content selection pattern - do fix if pattern found
1939 tSCC zDarwin_Private_ExternSelect0[] =
1940 "__private_extern__ [a-z_]+ _dyld_";
1942 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1943 static tTestDesc aDarwin_Private_ExternTests[] = {
1944 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1947 * Fix Command Arguments for Darwin_Private_Extern
1949 static const char* apzDarwin_Private_ExternPatch[] = {
1952 "__private_extern__",
1955 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1957 * Description of Dec_Intern_Asm fix
1959 tSCC zDec_Intern_AsmName[] =
1963 * File name selection pattern
1965 tSCC zDec_Intern_AsmList[] =
1968 * Machine/OS name selection pattern
1970 #define apzDec_Intern_AsmMachs (const char**)NULL
1971 #define DEC_INTERN_ASM_TEST_CT 0
1972 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1975 * Fix Command Arguments for Dec_Intern_Asm
1977 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1978 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1980 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1986 * Description of Djgpp_Wchar_H fix
1988 tSCC zDjgpp_Wchar_HName[] =
1992 * File name selection pattern
1994 #define zDjgpp_Wchar_HList (char*)NULL
1996 * Machine/OS name selection pattern
1998 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2001 * content selection pattern - do fix if pattern found
2003 tSCC zDjgpp_Wchar_HSelect0[] =
2007 * content bypass pattern - skip fix if pattern found
2009 tSCC zDjgpp_Wchar_HBypass0[] =
2012 #define DJGPP_WCHAR_H_TEST_CT 2
2013 static tTestDesc aDjgpp_Wchar_HTests[] = {
2014 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2015 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2018 * Fix Command Arguments for Djgpp_Wchar_H
2020 static const char* apzDjgpp_Wchar_HPatch[] = {
2023 #include <sys/djtypes.h>",
2024 "#include <stddef.h>",
2027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2029 * Description of Ecd_Cursor fix
2031 tSCC zEcd_CursorName[] =
2035 * File name selection pattern
2037 tSCC zEcd_CursorList[] =
2038 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2040 * Machine/OS name selection pattern
2042 #define apzEcd_CursorMachs (const char**)NULL
2045 * content selection pattern - do fix if pattern found
2047 tSCC zEcd_CursorSelect0[] =
2050 #define ECD_CURSOR_TEST_CT 1
2051 static tTestDesc aEcd_CursorTests[] = {
2052 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2055 * Fix Command Arguments for Ecd_Cursor
2057 static const char* apzEcd_CursorPatch[] = {
2062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2064 * Description of Exception_Structure fix
2066 tSCC zException_StructureName[] =
2067 "exception_structure";
2070 * File name selection pattern
2072 tSCC zException_StructureList[] =
2075 * Machine/OS name selection pattern
2077 #define apzException_StructureMachs (const char**)NULL
2080 * content selection pattern - do fix if pattern found
2082 tSCC zException_StructureSelect0[] =
2086 * content bypass pattern - skip fix if pattern found
2088 tSCC zException_StructureBypass0[] =
2089 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
2091 #define EXCEPTION_STRUCTURE_TEST_CT 2
2092 static tTestDesc aException_StructureTests[] = {
2093 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
2094 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
2097 * Fix Command Arguments for Exception_Structure
2099 static const char* apzException_StructurePatch[] = {
2101 "struct exception;\n",
2104 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2106 * Description of Freebsd_Gcc3_Breakage fix
2108 tSCC zFreebsd_Gcc3_BreakageName[] =
2109 "freebsd_gcc3_breakage";
2112 * File name selection pattern
2114 tSCC zFreebsd_Gcc3_BreakageList[] =
2117 * Machine/OS name selection pattern
2119 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2121 (const char*)NULL };
2124 * content selection pattern - do fix if pattern found
2126 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2127 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2130 * content bypass pattern - skip fix if pattern found
2132 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2133 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2135 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2136 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2137 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2138 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2141 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2143 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2145 "%0 || __GNUC__ >= 3",
2148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2150 * Description of Freebsd_Gcc4_Breakage fix
2152 tSCC zFreebsd_Gcc4_BreakageName[] =
2153 "freebsd_gcc4_breakage";
2156 * File name selection pattern
2158 tSCC zFreebsd_Gcc4_BreakageList[] =
2161 * Machine/OS name selection pattern
2163 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2165 (const char*)NULL };
2168 * content selection pattern - do fix if pattern found
2170 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2171 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2173 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2174 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2175 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2178 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2180 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2182 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2185 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2187 * Description of Glibc_C99_Inline_1 fix
2189 tSCC zGlibc_C99_Inline_1Name[] =
2190 "glibc_c99_inline_1";
2193 * File name selection pattern
2195 tSCC zGlibc_C99_Inline_1List[] =
2196 "features.h\0*/features.h\0";
2198 * Machine/OS name selection pattern
2200 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2203 * content selection pattern - do fix if pattern found
2205 tSCC zGlibc_C99_Inline_1Select0[] =
2206 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2208 #define GLIBC_C99_INLINE_1_TEST_CT 1
2209 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2210 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2213 * Fix Command Arguments for Glibc_C99_Inline_1
2215 static const char* apzGlibc_C99_Inline_1Patch[] = {
2217 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2220 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2222 * Description of Glibc_C99_Inline_2 fix
2224 tSCC zGlibc_C99_Inline_2Name[] =
2225 "glibc_c99_inline_2";
2228 * File name selection pattern
2230 tSCC zGlibc_C99_Inline_2List[] =
2231 "sys/stat.h\0*/sys/stat.h\0";
2233 * Machine/OS name selection pattern
2235 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2238 * content selection pattern - do fix if pattern found
2240 tSCC zGlibc_C99_Inline_2Select0[] =
2241 "extern __inline__ int";
2243 #define GLIBC_C99_INLINE_2_TEST_CT 1
2244 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2245 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2248 * Fix Command Arguments for Glibc_C99_Inline_2
2250 static const char* apzGlibc_C99_Inline_2Patch[] = { "sed",
2251 "-e", "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2254 __inline__ int \\1/",
2255 "-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2258 __inline__ int __REDIRECT\\1 (\\2/",
2259 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
2265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2267 * Description of Glibc_C99_Inline_3 fix
2269 tSCC zGlibc_C99_Inline_3Name[] =
2270 "glibc_c99_inline_3";
2273 * File name selection pattern
2275 tSCC zGlibc_C99_Inline_3List[] =
2276 "bits/string2.h\0*/bits/string2.h\0";
2278 * Machine/OS name selection pattern
2280 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2283 * content selection pattern - do fix if pattern found
2285 tSCC zGlibc_C99_Inline_3Select0[] =
2289 * content bypass pattern - skip fix if pattern found
2291 tSCC zGlibc_C99_Inline_3Bypass0[] =
2294 #define GLIBC_C99_INLINE_3_TEST_CT 2
2295 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2296 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
2297 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
2300 * Fix Command Arguments for Glibc_C99_Inline_3
2302 static const char* apzGlibc_C99_Inline_3Patch[] = {
2304 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
2305 "^# ifdef __cplusplus$",
2308 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2310 * Description of Glibc_C99_Inline_4 fix
2312 tSCC zGlibc_C99_Inline_4Name[] =
2313 "glibc_c99_inline_4";
2316 * File name selection pattern
2318 tSCC zGlibc_C99_Inline_4List[] =
2319 "sys/sysmacros.h\0*/sys/sysmacros.h\0";
2321 * Machine/OS name selection pattern
2323 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2326 * content selection pattern - do fix if pattern found
2328 tSCC zGlibc_C99_Inline_4Select0[] =
2332 * content bypass pattern - skip fix if pattern found
2334 tSCC zGlibc_C99_Inline_4Bypass0[] =
2337 #define GLIBC_C99_INLINE_4_TEST_CT 2
2338 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2339 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
2340 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
2343 * Fix Command Arguments for Glibc_C99_Inline_4
2345 static const char* apzGlibc_C99_Inline_4Patch[] = {
2348 #ifdef __GNUC_GNU_INLINE__\n\
2354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2356 * Description of Glibc_Mutex_Init fix
2358 tSCC zGlibc_Mutex_InitName[] =
2362 * File name selection pattern
2364 tSCC zGlibc_Mutex_InitList[] =
2367 * Machine/OS name selection pattern
2369 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2372 * content selection pattern - do fix if pattern found
2374 tSCC zGlibc_Mutex_InitSelect0[] =
2375 "\\{ *\\{ *0, *\\} *\\}";
2377 #define GLIBC_MUTEX_INIT_TEST_CT 1
2378 static tTestDesc aGlibc_Mutex_InitTests[] = {
2379 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2382 * Fix Command Arguments for Glibc_Mutex_Init
2384 static const char* apzGlibc_Mutex_InitPatch[] = { "sed",
2385 "-e", "/define[ \t]\\+PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/,+1s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/",
2386 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2387 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2388 "-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/",
2389 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2390 "-e", "/define[ \t]\\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2393 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2395 * Description of Gnu_Types fix
2397 tSCC zGnu_TypesName[] =
2401 * File name selection pattern
2403 tSCC zGnu_TypesList[] =
2404 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2406 * Machine/OS name selection pattern
2408 tSCC* apzGnu_TypesMachs[] = {
2409 "*-*-solaris2.1[0-9]*",
2410 (const char*)NULL };
2413 * content selection pattern - do fix if pattern found
2415 tSCC zGnu_TypesSelect0[] =
2416 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2419 * content bypass pattern - skip fix if pattern found
2421 tSCC zGnu_TypesBypass0[] =
2422 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2424 #define GNU_TYPES_TEST_CT 2
2425 static tTestDesc aGnu_TypesTests[] = {
2426 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2427 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2430 * Fix Command Arguments for Gnu_Types
2432 static const char* apzGnu_TypesPatch[] = {
2436 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2438 * Description of Hp_Inline fix
2440 tSCC zHp_InlineName[] =
2444 * File name selection pattern
2446 tSCC zHp_InlineList[] =
2447 "sys/spinlock.h\0machine/machparam.h\0";
2449 * Machine/OS name selection pattern
2451 #define apzHp_InlineMachs (const char**)NULL
2454 * content selection pattern - do fix if pattern found
2456 tSCC zHp_InlineSelect0[] =
2457 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2459 #define HP_INLINE_TEST_CT 1
2460 static tTestDesc aHp_InlineTests[] = {
2461 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2464 * Fix Command Arguments for Hp_Inline
2466 static const char* apzHp_InlinePatch[] = {
2469 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2474 * Description of Hp_Sysfile fix
2476 tSCC zHp_SysfileName[] =
2480 * File name selection pattern
2482 tSCC zHp_SysfileList[] =
2485 * Machine/OS name selection pattern
2487 #define apzHp_SysfileMachs (const char**)NULL
2490 * content selection pattern - do fix if pattern found
2492 tSCC zHp_SysfileSelect0[] =
2495 #define HP_SYSFILE_TEST_CT 1
2496 static tTestDesc aHp_SysfileTests[] = {
2497 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2500 * Fix Command Arguments for Hp_Sysfile
2502 static const char* apzHp_SysfilePatch[] = {
2504 "(struct file *, ...)",
2508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2510 * Description of Hpux10_Cpp_Pow_Inline fix
2512 tSCC zHpux10_Cpp_Pow_InlineName[] =
2513 "hpux10_cpp_pow_inline";
2516 * File name selection pattern
2518 tSCC zHpux10_Cpp_Pow_InlineList[] =
2519 "fixinc-test-limits.h\0math.h\0";
2521 * Machine/OS name selection pattern
2523 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2526 * content selection pattern - do fix if pattern found
2528 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2529 "^# +ifdef +__cplusplus\n\
2531 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2532 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2534 +extern +\"C\" +\\{\n\
2538 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2539 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2540 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2543 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2545 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2552 * Description of Hpux11_Cpp_Pow_Inline fix
2554 tSCC zHpux11_Cpp_Pow_InlineName[] =
2555 "hpux11_cpp_pow_inline";
2558 * File name selection pattern
2560 tSCC zHpux11_Cpp_Pow_InlineList[] =
2563 * Machine/OS name selection pattern
2565 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2568 * content selection pattern - do fix if pattern found
2570 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2571 " +inline double pow\\(double d,int expon\\) \\{\n\
2572 +return pow\\(d, \\(double\\)expon\\);\n\
2575 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2576 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2577 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2580 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2582 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2589 * Description of Hppa_Hpux_Fp_Macros fix
2591 tSCC zHppa_Hpux_Fp_MacrosName[] =
2592 "hppa_hpux_fp_macros";
2595 * File name selection pattern
2597 tSCC zHppa_Hpux_Fp_MacrosList[] =
2600 * Machine/OS name selection pattern
2602 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
2604 (const char*)NULL };
2607 * content selection pattern - do fix if pattern found
2609 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
2610 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
2611 #[ \t]*define[ \t]*FP_ZERO.*\n\
2612 #[ \t]*define[ \t]*FP_INFINITE.*\n\
2613 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
2614 #[ \t]*define[ \t]*FP_NAN.*\n";
2616 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
2617 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
2618 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
2621 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
2623 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
2625 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
2626 #if defined(_INCLUDE_HPUX_SOURCE) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
2628 #ifdef _INCLUDE_HPUX_SOURCE\n",
2631 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2633 * Description of Hpux10_Ctype_Declarations1 fix
2635 tSCC zHpux10_Ctype_Declarations1Name[] =
2636 "hpux10_ctype_declarations1";
2639 * File name selection pattern
2641 tSCC zHpux10_Ctype_Declarations1List[] =
2644 * Machine/OS name selection pattern
2646 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2649 * content selection pattern - do fix if pattern found
2651 tSCC zHpux10_Ctype_Declarations1Select0[] =
2652 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2655 * content bypass pattern - skip fix if pattern found
2657 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2658 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2660 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2661 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2662 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2663 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2666 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2668 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2670 "#ifdef _PROTOTYPES\n\
2671 extern int __tolower(int);\n\
2672 extern int __toupper(int);\n\
2673 #else /* NOT _PROTOTYPES */\n\
2674 extern int __tolower();\n\
2675 extern int __toupper();\n\
2676 #endif /* _PROTOTYPES */\n\n\
2680 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2682 * Description of Hpux10_Ctype_Declarations2 fix
2684 tSCC zHpux10_Ctype_Declarations2Name[] =
2685 "hpux10_ctype_declarations2";
2688 * File name selection pattern
2690 tSCC zHpux10_Ctype_Declarations2List[] =
2693 * Machine/OS name selection pattern
2695 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2698 * content selection pattern - do fix if pattern found
2700 tSCC zHpux10_Ctype_Declarations2Select0[] =
2701 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2704 * content bypass pattern - skip fix if pattern found
2706 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2707 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2709 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2710 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2711 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2712 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2715 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2717 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2720 #ifdef _PROTOTYPES\n\
2721 extern int _isalnum(int);\n\
2722 extern int _isalpha(int);\n\
2723 extern int _iscntrl(int);\n\
2724 extern int _isdigit(int);\n\
2725 extern int _isgraph(int);\n\
2726 extern int _islower(int);\n\
2727 extern int _isprint(int);\n\
2728 extern int _ispunct(int);\n\
2729 extern int _isspace(int);\n\
2730 extern int _isupper(int);\n\
2731 extern int _isxdigit(int);\n\
2732 # else /* not _PROTOTYPES */\n\
2733 extern int _isalnum();\n\
2734 extern int _isalpha();\n\
2735 extern int _iscntrl();\n\
2736 extern int _isdigit();\n\
2737 extern int _isgraph();\n\
2738 extern int _islower();\n\
2739 extern int _isprint();\n\
2740 extern int _ispunct();\n\
2741 extern int _isspace();\n\
2742 extern int _isupper();\n\
2743 extern int _isxdigit();\n\
2744 #endif /* _PROTOTYPES */\n",
2747 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2749 * Description of Hpux10_Stdio_Declarations fix
2751 tSCC zHpux10_Stdio_DeclarationsName[] =
2752 "hpux10_stdio_declarations";
2755 * File name selection pattern
2757 tSCC zHpux10_Stdio_DeclarationsList[] =
2760 * Machine/OS name selection pattern
2762 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2765 * content selection pattern - do fix if pattern found
2767 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2768 "^#[ \t]*define _iob[ \t]*__iob";
2771 * content bypass pattern - skip fix if pattern found
2773 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2774 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2776 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2777 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2778 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2779 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2782 * Fix Command Arguments for Hpux10_Stdio_Declarations
2784 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2787 # if defined(__STDC__) || defined(__cplusplus)\n\
2788 extern int snprintf(char *, size_t, const char *, ...);\n\
2789 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2790 # else /* not __STDC__) || __cplusplus */\n\
2791 extern int snprintf();\n\
2792 extern int vsnprintf();\n\
2793 # endif /* __STDC__) || __cplusplus */\n",
2796 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2798 * Description of Hpux11_Abs fix
2800 tSCC zHpux11_AbsName[] =
2804 * File name selection pattern
2806 tSCC zHpux11_AbsList[] =
2809 * Machine/OS name selection pattern
2811 tSCC* apzHpux11_AbsMachs[] = {
2813 (const char*)NULL };
2816 * content selection pattern - do fix if pattern found
2818 tSCC zHpux11_AbsSelect0[] =
2819 "ifndef _MATH_INCLUDED";
2821 #define HPUX11_ABS_TEST_CT 1
2822 static tTestDesc aHpux11_AbsTests[] = {
2823 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2826 * Fix Command Arguments for Hpux11_Abs
2828 static const char* apzHpux11_AbsPatch[] = {
2830 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2835 * Description of Hpux11_Fabsf fix
2837 tSCC zHpux11_FabsfName[] =
2841 * File name selection pattern
2843 tSCC zHpux11_FabsfList[] =
2846 * Machine/OS name selection pattern
2848 #define apzHpux11_FabsfMachs (const char**)NULL
2851 * content selection pattern - do fix if pattern found
2853 tSCC zHpux11_FabsfSelect0[] =
2854 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2857 * content bypass pattern - skip fix if pattern found
2859 tSCC zHpux11_FabsfBypass0[] =
2862 #define HPUX11_FABSF_TEST_CT 2
2863 static tTestDesc aHpux11_FabsfTests[] = {
2864 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2865 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2868 * Fix Command Arguments for Hpux11_Fabsf
2870 static const char* apzHpux11_FabsfPatch[] = {
2872 "#ifndef __cplusplus\n\
2877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2879 * Description of Hpux11_Size_T fix
2881 tSCC zHpux11_Size_TName[] =
2885 * File name selection pattern
2887 #define zHpux11_Size_TList (char*)NULL
2889 * Machine/OS name selection pattern
2891 tSCC* apzHpux11_Size_TMachs[] = {
2893 (const char*)NULL };
2896 * content selection pattern - do fix if pattern found
2898 tSCC zHpux11_Size_TSelect0[] =
2901 #define HPUX11_SIZE_T_TEST_CT 1
2902 static tTestDesc aHpux11_Size_TTests[] = {
2903 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2906 * Fix Command Arguments for Hpux11_Size_T
2908 static const char* apzHpux11_Size_TPatch[] = {
2913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2915 * Description of Hpux11_Snprintf fix
2917 tSCC zHpux11_SnprintfName[] =
2921 * File name selection pattern
2923 tSCC zHpux11_SnprintfList[] =
2926 * Machine/OS name selection pattern
2928 #define apzHpux11_SnprintfMachs (const char**)NULL
2931 * content selection pattern - do fix if pattern found
2933 tSCC zHpux11_SnprintfSelect0[] =
2934 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2936 #define HPUX11_SNPRINTF_TEST_CT 1
2937 static tTestDesc aHpux11_SnprintfTests[] = {
2938 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2941 * Fix Command Arguments for Hpux11_Snprintf
2943 static const char* apzHpux11_SnprintfPatch[] = {
2948 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2950 * Description of Hpux11_Uint32_C fix
2952 tSCC zHpux11_Uint32_CName[] =
2956 * File name selection pattern
2958 tSCC zHpux11_Uint32_CList[] =
2961 * Machine/OS name selection pattern
2963 #define apzHpux11_Uint32_CMachs (const char**)NULL
2966 * content selection pattern - do fix if pattern found
2968 tSCC zHpux11_Uint32_CSelect0[] =
2969 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2971 #define HPUX11_UINT32_C_TEST_CT 1
2972 static tTestDesc aHpux11_Uint32_CTests[] = {
2973 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2976 * Fix Command Arguments for Hpux11_Uint32_C
2978 static const char* apzHpux11_Uint32_CPatch[] = {
2980 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2983 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2985 * Description of Hpux11_Vsnprintf fix
2987 tSCC zHpux11_VsnprintfName[] =
2991 * File name selection pattern
2993 tSCC zHpux11_VsnprintfList[] =
2996 * Machine/OS name selection pattern
2998 #define apzHpux11_VsnprintfMachs (const char**)NULL
3001 * content selection pattern - do fix if pattern found
3003 tSCC zHpux11_VsnprintfSelect0[] =
3004 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3006 #define HPUX11_VSNPRINTF_TEST_CT 1
3007 static tTestDesc aHpux11_VsnprintfTests[] = {
3008 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3011 * Fix Command Arguments for Hpux11_Vsnprintf
3013 static const char* apzHpux11_VsnprintfPatch[] = {
3018 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3020 * Description of Hpux8_Bogus_Inlines fix
3022 tSCC zHpux8_Bogus_InlinesName[] =
3023 "hpux8_bogus_inlines";
3026 * File name selection pattern
3028 tSCC zHpux8_Bogus_InlinesList[] =
3031 * Machine/OS name selection pattern
3033 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3036 * content selection pattern - do fix if pattern found
3038 tSCC zHpux8_Bogus_InlinesSelect0[] =
3042 * content bypass pattern - skip fix if pattern found
3044 tSCC zHpux8_Bogus_InlinesBypass0[] =
3047 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3048 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3049 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3050 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3053 * Fix Command Arguments for Hpux8_Bogus_Inlines
3055 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
3056 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3057 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3058 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3059 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3064 * Description of Hpux_Ctype_Macros fix
3066 tSCC zHpux_Ctype_MacrosName[] =
3067 "hpux_ctype_macros";
3070 * File name selection pattern
3072 tSCC zHpux_Ctype_MacrosList[] =
3075 * Machine/OS name selection pattern
3077 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3080 * content selection pattern - do fix if pattern found
3082 tSCC zHpux_Ctype_MacrosSelect0[] =
3083 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3085 #define HPUX_CTYPE_MACROS_TEST_CT 1
3086 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3087 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3090 * Fix Command Arguments for Hpux_Ctype_Macros
3092 static const char* apzHpux_Ctype_MacrosPatch[] = {
3097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3099 * Description of Hpux_Htonl fix
3101 tSCC zHpux_HtonlName[] =
3105 * File name selection pattern
3107 tSCC zHpux_HtonlList[] =
3110 * Machine/OS name selection pattern
3112 #define apzHpux_HtonlMachs (const char**)NULL
3115 * content selection pattern - do fix if pattern found
3117 tSCC zHpux_HtonlSelect0[] =
3118 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
3120 \\* Macros for number representation conversion\\.\n\
3124 #define HPUX_HTONL_TEST_CT 1
3125 static tTestDesc aHpux_HtonlTests[] = {
3126 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3129 * Fix Command Arguments for Hpux_Htonl
3131 static const char* apzHpux_HtonlPatch[] = {
3137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3139 * Description of Hpux_Long_Double fix
3141 tSCC zHpux_Long_DoubleName[] =
3145 * File name selection pattern
3147 tSCC zHpux_Long_DoubleList[] =
3150 * Machine/OS name selection pattern
3152 #define apzHpux_Long_DoubleMachs (const char**)NULL
3155 * content selection pattern - do fix if pattern found
3157 tSCC zHpux_Long_DoubleSelect0[] =
3158 "extern[ \t]long_double[ \t]strtold";
3161 * content bypass pattern - skip fix if pattern found
3163 tSCC zHpux_Long_DoubleBypass0[] =
3166 #define HPUX_LONG_DOUBLE_TEST_CT 2
3167 static tTestDesc aHpux_Long_DoubleTests[] = {
3168 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3169 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3172 * Fix Command Arguments for Hpux_Long_Double
3174 static const char* apzHpux_Long_DoublePatch[] = { "sed",
3175 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3176 "-e", "s/long_double/long double/g",
3179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3181 * Description of Hpux_Systime fix
3183 tSCC zHpux_SystimeName[] =
3187 * File name selection pattern
3189 tSCC zHpux_SystimeList[] =
3192 * Machine/OS name selection pattern
3194 #define apzHpux_SystimeMachs (const char**)NULL
3197 * content selection pattern - do fix if pattern found
3199 tSCC zHpux_SystimeSelect0[] =
3200 "^extern struct sigevent;";
3202 #define HPUX_SYSTIME_TEST_CT 1
3203 static tTestDesc aHpux_SystimeTests[] = {
3204 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3207 * Fix Command Arguments for Hpux_Systime
3209 static const char* apzHpux_SystimePatch[] = {
3214 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3216 * Description of Hpux_Spu_Info fix
3218 tSCC zHpux_Spu_InfoName[] =
3222 * File name selection pattern
3224 tSCC zHpux_Spu_InfoList[] =
3225 "ia64/sys/getppdp.h\0";
3227 * Machine/OS name selection pattern
3229 tSCC* apzHpux_Spu_InfoMachs[] = {
3231 (const char*)NULL };
3234 * content selection pattern - do fix if pattern found
3236 tSCC zHpux_Spu_InfoSelect0[] =
3237 "^.*extern.*spu_info.*";
3239 #define HPUX_SPU_INFO_TEST_CT 1
3240 static tTestDesc aHpux_Spu_InfoTests[] = {
3241 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3244 * Fix Command Arguments for Hpux_Spu_Info
3246 static const char* apzHpux_Spu_InfoPatch[] = {
3253 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3255 * Description of Hpux11_Extern_Sendfile fix
3257 tSCC zHpux11_Extern_SendfileName[] =
3258 "hpux11_extern_sendfile";
3261 * File name selection pattern
3263 tSCC zHpux11_Extern_SendfileList[] =
3266 * Machine/OS name selection pattern
3268 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3269 "*-hp-hpux11.[12]*",
3270 (const char*)NULL };
3273 * content selection pattern - do fix if pattern found
3275 tSCC zHpux11_Extern_SendfileSelect0[] =
3276 "^[ \t]*extern sbsize_t sendfile.*\n\
3279 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3280 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3281 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3284 * Fix Command Arguments for Hpux11_Extern_Sendfile
3286 static const char* apzHpux11_Extern_SendfilePatch[] = {
3288 "#ifndef _APP32_64BIT_OFF_T\n\
3292 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3294 * Description of Hpux11_Extern_Sendpath fix
3296 tSCC zHpux11_Extern_SendpathName[] =
3297 "hpux11_extern_sendpath";
3300 * File name selection pattern
3302 tSCC zHpux11_Extern_SendpathList[] =
3305 * Machine/OS name selection pattern
3307 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3308 "*-hp-hpux11.[12]*",
3309 (const char*)NULL };
3312 * content selection pattern - do fix if pattern found
3314 tSCC zHpux11_Extern_SendpathSelect0[] =
3315 "^[ \t]*extern sbsize_t sendpath.*\n\
3318 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3319 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3320 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3323 * Fix Command Arguments for Hpux11_Extern_Sendpath
3325 static const char* apzHpux11_Extern_SendpathPatch[] = {
3327 "#ifndef _APP32_64BIT_OFF_T\n\
3331 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3333 * Description of Hpux_Extern_Errno fix
3335 tSCC zHpux_Extern_ErrnoName[] =
3336 "hpux_extern_errno";
3339 * File name selection pattern
3341 tSCC zHpux_Extern_ErrnoList[] =
3344 * Machine/OS name selection pattern
3346 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3348 "*-hp-hpux11.[0-2]*",
3349 (const char*)NULL };
3352 * content selection pattern - do fix if pattern found
3354 tSCC zHpux_Extern_ErrnoSelect0[] =
3355 "^[ \t]*extern int errno;$";
3357 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3358 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3359 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3362 * Fix Command Arguments for Hpux_Extern_Errno
3364 static const char* apzHpux_Extern_ErrnoPatch[] = {
3366 "#ifdef __cplusplus\n\
3370 #ifdef __cplusplus\n\
3375 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3377 * Description of Hpux_Pthread_Initializers fix
3379 tSCC zHpux_Pthread_InitializersName[] =
3380 "hpux_pthread_initializers";
3383 * File name selection pattern
3385 tSCC zHpux_Pthread_InitializersList[] =
3388 * Machine/OS name selection pattern
3390 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3391 "*-hp-hpux11.[0-3]*",
3392 (const char*)NULL };
3393 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3394 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3397 * Fix Command Arguments for Hpux_Pthread_Initializers
3399 static const char* apzHpux_Pthread_InitializersPatch[] = { "sed",
3400 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3401 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3402 "-e", "/^[ \t]*0$/d",
3403 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3404 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3405 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3406 "-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\\\\@",
3407 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3408 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3409 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3410 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3411 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3412 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3417 * Description of Huge_Val_Hex fix
3419 tSCC zHuge_Val_HexName[] =
3423 * File name selection pattern
3425 tSCC zHuge_Val_HexList[] =
3426 "bits/huge_val.h\0";
3428 * Machine/OS name selection pattern
3430 #define apzHuge_Val_HexMachs (const char**)NULL
3433 * content selection pattern - do fix if pattern found
3435 tSCC zHuge_Val_HexSelect0[] =
3436 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
3439 * content bypass pattern - skip fix if pattern found
3441 tSCC zHuge_Val_HexBypass0[] =
3442 "__builtin_huge_val";
3444 #define HUGE_VAL_HEX_TEST_CT 2
3445 static tTestDesc aHuge_Val_HexTests[] = {
3446 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
3447 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
3450 * Fix Command Arguments for Huge_Val_Hex
3452 static const char* apzHuge_Val_HexPatch[] = {
3454 "#define HUGE_VAL (__builtin_huge_val())\n",
3457 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3459 * Description of Huge_Valf_Hex fix
3461 tSCC zHuge_Valf_HexName[] =
3465 * File name selection pattern
3467 tSCC zHuge_Valf_HexList[] =
3468 "bits/huge_val.h\0";
3470 * Machine/OS name selection pattern
3472 #define apzHuge_Valf_HexMachs (const char**)NULL
3475 * content selection pattern - do fix if pattern found
3477 tSCC zHuge_Valf_HexSelect0[] =
3478 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
3481 * content bypass pattern - skip fix if pattern found
3483 tSCC zHuge_Valf_HexBypass0[] =
3484 "__builtin_huge_valf";
3486 #define HUGE_VALF_HEX_TEST_CT 2
3487 static tTestDesc aHuge_Valf_HexTests[] = {
3488 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
3489 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
3492 * Fix Command Arguments for Huge_Valf_Hex
3494 static const char* apzHuge_Valf_HexPatch[] = {
3496 "#define HUGE_VALF (__builtin_huge_valf())\n",
3499 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3501 * Description of Huge_Vall_Hex fix
3503 tSCC zHuge_Vall_HexName[] =
3507 * File name selection pattern
3509 tSCC zHuge_Vall_HexList[] =
3510 "bits/huge_val.h\0";
3512 * Machine/OS name selection pattern
3514 #define apzHuge_Vall_HexMachs (const char**)NULL
3517 * content selection pattern - do fix if pattern found
3519 tSCC zHuge_Vall_HexSelect0[] =
3520 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
3523 * content bypass pattern - skip fix if pattern found
3525 tSCC zHuge_Vall_HexBypass0[] =
3526 "__builtin_huge_vall";
3528 #define HUGE_VALL_HEX_TEST_CT 2
3529 static tTestDesc aHuge_Vall_HexTests[] = {
3530 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
3531 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
3534 * Fix Command Arguments for Huge_Vall_Hex
3536 static const char* apzHuge_Vall_HexPatch[] = {
3538 "#define HUGE_VALL (__builtin_huge_vall())\n",
3541 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3543 * Description of Int_Abort_Free_And_Exit fix
3545 tSCC zInt_Abort_Free_And_ExitName[] =
3546 "int_abort_free_and_exit";
3549 * File name selection pattern
3551 tSCC zInt_Abort_Free_And_ExitList[] =
3554 * Machine/OS name selection pattern
3556 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
3559 * content selection pattern - do fix if pattern found
3561 tSCC zInt_Abort_Free_And_ExitSelect0[] =
3562 "int[ \t]+(abort|free|exit)[ \t]*\\(";
3565 * content bypass pattern - skip fix if pattern found
3567 tSCC zInt_Abort_Free_And_ExitBypass0[] =
3568 "_CLASSIC_ANSI_TYPES";
3570 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
3571 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
3572 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
3573 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
3576 * Fix Command Arguments for Int_Abort_Free_And_Exit
3578 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
3583 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3585 * Description of Io_Quotes_Def fix
3587 tSCC zIo_Quotes_DefName[] =
3591 * File name selection pattern
3593 #define zIo_Quotes_DefList (char*)NULL
3595 * Machine/OS name selection pattern
3597 #define apzIo_Quotes_DefMachs (const char**)NULL
3600 * content selection pattern - do fix if pattern found
3602 tSCC zIo_Quotes_DefSelect0[] =
3603 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
3605 #define IO_QUOTES_DEF_TEST_CT 1
3606 static tTestDesc aIo_Quotes_DefTests[] = {
3607 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
3610 * Fix Command Arguments for Io_Quotes_Def
3612 static const char* apzIo_Quotes_DefPatch[] = {
3617 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3619 * Description of Io_Quotes_Use fix
3621 tSCC zIo_Quotes_UseName[] =
3625 * File name selection pattern
3627 #define zIo_Quotes_UseList (char*)NULL
3629 * Machine/OS name selection pattern
3631 #define apzIo_Quotes_UseMachs (const char**)NULL
3634 * content selection pattern - do fix if pattern found
3636 tSCC zIo_Quotes_UseSelect0[] =
3637 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
3639 #define IO_QUOTES_USE_TEST_CT 1
3640 static tTestDesc aIo_Quotes_UseTests[] = {
3641 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
3644 * Fix Command Arguments for Io_Quotes_Use
3646 static const char* apzIo_Quotes_UsePatch[] = {
3651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3653 * Description of Ip_Missing_Semi fix
3655 tSCC zIp_Missing_SemiName[] =
3659 * File name selection pattern
3661 tSCC zIp_Missing_SemiList[] =
3664 * Machine/OS name selection pattern
3666 #define apzIp_Missing_SemiMachs (const char**)NULL
3669 * content selection pattern - do fix if pattern found
3671 tSCC zIp_Missing_SemiSelect0[] =
3674 #define IP_MISSING_SEMI_TEST_CT 1
3675 static tTestDesc aIp_Missing_SemiTests[] = {
3676 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
3679 * Fix Command Arguments for Ip_Missing_Semi
3681 static const char* apzIp_Missing_SemiPatch[] = { "sed",
3682 "-e", "/^struct/,/^};/s/}$/};/",
3685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3687 * Description of Irix___Restrict fix
3689 tSCC zIrix___RestrictName[] =
3693 * File name selection pattern
3695 tSCC zIrix___RestrictList[] =
3696 "internal/sgimacros.h\0";
3698 * Machine/OS name selection pattern
3700 tSCC* apzIrix___RestrictMachs[] = {
3702 (const char*)NULL };
3705 * content selection pattern - do fix if pattern found
3707 tSCC zIrix___RestrictSelect0[] =
3709 )(#[ \t]*define __restrict restrict)";
3711 #define IRIX___RESTRICT_TEST_CT 1
3712 static tTestDesc aIrix___RestrictTests[] = {
3713 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
3716 * Fix Command Arguments for Irix___Restrict
3718 static const char* apzIrix___RestrictPatch[] = {
3720 "%1# ifndef __cplusplus\n\
3725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3727 * Description of Irix___Generic1 fix
3729 tSCC zIrix___Generic1Name[] =
3733 * File name selection pattern
3735 tSCC zIrix___Generic1List[] =
3736 "internal/math_core.h\0";
3738 * Machine/OS name selection pattern
3740 tSCC* apzIrix___Generic1Machs[] = {
3742 (const char*)NULL };
3745 * content selection pattern - do fix if pattern found
3747 tSCC zIrix___Generic1Select0[] =
3748 "#define ([a-z]+)\\(x\\) *__generic.*";
3750 #define IRIX___GENERIC1_TEST_CT 1
3751 static tTestDesc aIrix___Generic1Tests[] = {
3752 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
3755 * Fix Command Arguments for Irix___Generic1
3757 static const char* apzIrix___Generic1Patch[] = {
3759 "extern int %1(double);\n\
3760 extern int %1f(float);\n\
3761 extern int %1l(long double);\n\
3762 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
3763 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
3767 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3769 * Description of Irix___Generic2 fix
3771 tSCC zIrix___Generic2Name[] =
3775 * File name selection pattern
3777 tSCC zIrix___Generic2List[] =
3778 "internal/math_core.h\0";
3780 * Machine/OS name selection pattern
3782 tSCC* apzIrix___Generic2Machs[] = {
3784 (const char*)NULL };
3787 * content selection pattern - do fix if pattern found
3789 tSCC zIrix___Generic2Select0[] =
3790 "#define ([a-z]+)\\(x,y\\) *__generic.*";
3792 #define IRIX___GENERIC2_TEST_CT 1
3793 static tTestDesc aIrix___Generic2Tests[] = {
3794 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
3797 * Fix Command Arguments for Irix___Generic2
3799 static const char* apzIrix___Generic2Patch[] = {
3801 "#define %1(x,y) \\\n\
3802 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
3803 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
3807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3809 * Description of Irix_Asm_Apostrophe fix
3811 tSCC zIrix_Asm_ApostropheName[] =
3812 "irix_asm_apostrophe";
3815 * File name selection pattern
3817 tSCC zIrix_Asm_ApostropheList[] =
3820 * Machine/OS name selection pattern
3822 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3825 * content selection pattern - do fix if pattern found
3827 tSCC zIrix_Asm_ApostropheSelect0[] =
3828 "^[ \t]*#.*[Ww]e're";
3830 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3831 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3832 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3835 * Fix Command Arguments for Irix_Asm_Apostrophe
3837 static const char* apzIrix_Asm_ApostrophePatch[] = {
3840 "^([ \t]*#.*[Ww]e)'re",
3843 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3845 * Description of Irix_Limits_Const fix
3847 tSCC zIrix_Limits_ConstName[] =
3848 "irix_limits_const";
3851 * File name selection pattern
3853 tSCC zIrix_Limits_ConstList[] =
3854 "fixinc-test-limits.h\0limits.h\0";
3856 * Machine/OS name selection pattern
3858 #define apzIrix_Limits_ConstMachs (const char**)NULL
3861 * content selection pattern - do fix if pattern found
3863 tSCC zIrix_Limits_ConstSelect0[] =
3866 #define IRIX_LIMITS_CONST_TEST_CT 1
3867 static tTestDesc aIrix_Limits_ConstTests[] = {
3868 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3871 * Fix Command Arguments for Irix_Limits_Const
3873 static const char* apzIrix_Limits_ConstPatch[] = {
3878 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3880 * Description of Irix_Socklen_T fix
3882 tSCC zIrix_Socklen_TName[] =
3886 * File name selection pattern
3888 tSCC zIrix_Socklen_TList[] =
3891 * Machine/OS name selection pattern
3893 tSCC* apzIrix_Socklen_TMachs[] = {
3895 (const char*)NULL };
3898 * content selection pattern - do fix if pattern found
3900 tSCC zIrix_Socklen_TSelect0[] =
3901 "(#define _SOCKLEN_T\n\
3902 )(typedef u_int32_t socklen_t;)";
3904 #define IRIX_SOCKLEN_T_TEST_CT 1
3905 static tTestDesc aIrix_Socklen_TTests[] = {
3906 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3909 * Fix Command Arguments for Irix_Socklen_T
3911 static const char* apzIrix_Socklen_TPatch[] = {
3913 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3914 typedef int socklen_t;\n\
3917 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3920 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3922 * Description of Irix_Stdint_C99 fix
3924 tSCC zIrix_Stdint_C99Name[] =
3928 * File name selection pattern
3930 tSCC zIrix_Stdint_C99List[] =
3933 * Machine/OS name selection pattern
3935 tSCC* apzIrix_Stdint_C99Machs[] = {
3937 (const char*)NULL };
3940 * content selection pattern - do fix if pattern found
3942 tSCC zIrix_Stdint_C99Select0[] =
3944 )(#error This header file is to be used only for c99 mode compilations)";
3946 #define IRIX_STDINT_C99_TEST_CT 1
3947 static tTestDesc aIrix_Stdint_C99Tests[] = {
3948 { TT_EGREP, zIrix_Stdint_C99Select0, (regex_t*)NULL }, };
3951 * Fix Command Arguments for Irix_Stdint_C99
3953 static const char* apzIrix_Stdint_C99Patch[] = {
3959 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3961 * Description of Irix_Stdio_Va_List fix
3963 tSCC zIrix_Stdio_Va_ListName[] =
3964 "irix_stdio_va_list";
3967 * File name selection pattern
3969 tSCC zIrix_Stdio_Va_ListList[] =
3970 "stdio.h\0internal/stdio_core.h\0";
3972 * Machine/OS name selection pattern
3974 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3977 * content selection pattern - do fix if pattern found
3979 tSCC zIrix_Stdio_Va_ListSelect0[] =
3980 "/\\* va_list \\*/ char \\*";
3982 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3983 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3984 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3987 * Fix Command Arguments for Irix_Stdio_Va_List
3989 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3994 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3996 * Description of Irix_Wcsftime fix
3998 tSCC zIrix_WcsftimeName[] =
4002 * File name selection pattern
4004 tSCC zIrix_WcsftimeList[] =
4005 "internal/wchar_core.h\0";
4007 * Machine/OS name selection pattern
4009 tSCC* apzIrix_WcsftimeMachs[] = {
4011 (const char*)NULL };
4014 * content selection pattern - do fix if pattern found
4016 tSCC zIrix_WcsftimeSelect0[] =
4018 (extern size_t[ \t]+wcsftime.*const char *.*)";
4020 #define IRIX_WCSFTIME_TEST_CT 1
4021 static tTestDesc aIrix_WcsftimeTests[] = {
4022 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
4025 * Fix Command Arguments for Irix_Wcsftime
4027 static const char* apzIrix_WcsftimePatch[] = {
4029 "#if _NO_XOPEN5 && !defined(__c99)\n\
4033 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4035 * Description of Isc_Fmod fix
4037 tSCC zIsc_FmodName[] =
4041 * File name selection pattern
4043 tSCC zIsc_FmodList[] =
4046 * Machine/OS name selection pattern
4048 #define apzIsc_FmodMachs (const char**)NULL
4051 * content selection pattern - do fix if pattern found
4053 tSCC zIsc_FmodSelect0[] =
4056 #define ISC_FMOD_TEST_CT 1
4057 static tTestDesc aIsc_FmodTests[] = {
4058 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
4061 * Fix Command Arguments for Isc_Fmod
4063 static const char* apzIsc_FmodPatch[] = {
4065 "fmod(double, double)",
4068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4070 * Description of Isc_Omits_With_Stdc fix
4072 tSCC zIsc_Omits_With_StdcName[] =
4073 "isc_omits_with_stdc";
4076 * File name selection pattern
4078 tSCC zIsc_Omits_With_StdcList[] =
4079 "stdio.h\0math.h\0ctype.h\0sys/limits.h\0sys/fcntl.h\0sys/dirent.h\0";
4081 * Machine/OS name selection pattern
4083 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
4086 * content selection pattern - do fix if pattern found
4088 tSCC zIsc_Omits_With_StdcSelect0[] =
4089 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
4091 #define ISC_OMITS_WITH_STDC_TEST_CT 1
4092 static tTestDesc aIsc_Omits_With_StdcTests[] = {
4093 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
4096 * Fix Command Arguments for Isc_Omits_With_Stdc
4098 static const char* apzIsc_Omits_With_StdcPatch[] = {
4100 "!defined(_POSIX_SOURCE)",
4103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4105 * Description of Kandr_Concat fix
4107 tSCC zKandr_ConcatName[] =
4111 * File name selection pattern
4113 tSCC zKandr_ConcatList[] =
4114 "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";
4116 * Machine/OS name selection pattern
4118 #define apzKandr_ConcatMachs (const char**)NULL
4121 * content selection pattern - do fix if pattern found
4123 tSCC zKandr_ConcatSelect0[] =
4126 #define KANDR_CONCAT_TEST_CT 1
4127 static tTestDesc aKandr_ConcatTests[] = {
4128 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4131 * Fix Command Arguments for Kandr_Concat
4133 static const char* apzKandr_ConcatPatch[] = {
4138 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4140 * Description of Libc1_G_Va_List fix
4142 tSCC zLibc1_G_Va_ListName[] =
4146 * File name selection pattern
4148 tSCC zLibc1_G_Va_ListList[] =
4151 * Machine/OS name selection pattern
4153 tSCC* apzLibc1_G_Va_ListMachs[] = {
4155 (const char*)NULL };
4158 * content selection pattern - do fix if pattern found
4160 tSCC zLibc1_G_Va_ListSelect0[] =
4161 "typedef void \\* _G_va_list;";
4163 #define LIBC1_G_VA_LIST_TEST_CT 1
4164 static tTestDesc aLibc1_G_Va_ListTests[] = {
4165 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
4168 * Fix Command Arguments for Libc1_G_Va_List
4170 static const char* apzLibc1_G_Va_ListPatch[] = {
4172 "typedef __builtin_va_list _G_va_list;",
4175 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4177 * Description of Libc1_Ifdefd_Memx fix
4179 tSCC zLibc1_Ifdefd_MemxName[] =
4180 "libc1_ifdefd_memx";
4183 * File name selection pattern
4185 tSCC zLibc1_Ifdefd_MemxList[] =
4186 "testing.h\0string.h\0";
4188 * Machine/OS name selection pattern
4190 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
4193 * content selection pattern - do fix if pattern found
4195 tSCC zLibc1_Ifdefd_MemxSelect0[] =
4196 "' is a built-in function for gcc 2\\.x\\. \\*/";
4199 * content bypass pattern - skip fix if pattern found
4201 tSCC zLibc1_Ifdefd_MemxBypass0[] =
4204 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
4205 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
4206 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
4207 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
4210 * Fix Command Arguments for Libc1_Ifdefd_Memx
4212 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
4215 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
4216 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
4218 extern [a-z_]+ mem.*(\n\
4223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4225 * Description of Linux_Ia64_Ucontext fix
4227 tSCC zLinux_Ia64_UcontextName[] =
4228 "linux_ia64_ucontext";
4231 * File name selection pattern
4233 tSCC zLinux_Ia64_UcontextList[] =
4236 * Machine/OS name selection pattern
4238 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4240 (const char*)NULL };
4243 * content selection pattern - do fix if pattern found
4245 tSCC zLinux_Ia64_UcontextSelect0[] =
4246 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4248 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4249 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4250 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4253 * Fix Command Arguments for Linux_Ia64_Ucontext
4255 static const char* apzLinux_Ia64_UcontextPatch[] = {
4257 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4260 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4262 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4264 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4265 "lynxos_no_warning_in_sys_time_h";
4268 * File name selection pattern
4270 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4273 * Machine/OS name selection pattern
4275 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4278 * content selection pattern - do fix if pattern found
4280 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4281 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4283 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4284 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4285 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4288 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4290 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4297 * Description of Lynxos_Missing_Putenv fix
4299 tSCC zLynxos_Missing_PutenvName[] =
4300 "lynxos_missing_putenv";
4303 * File name selection pattern
4305 tSCC zLynxos_Missing_PutenvList[] =
4308 * Machine/OS name selection pattern
4310 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4312 (const char*)NULL };
4315 * content selection pattern - do fix if pattern found
4317 tSCC zLynxos_Missing_PutenvSelect0[] =
4318 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4321 * content bypass pattern - skip fix if pattern found
4323 tSCC zLynxos_Missing_PutenvBypass0[] =
4326 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4327 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4328 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4329 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4332 * Fix Command Arguments for Lynxos_Missing_Putenv
4334 static const char* apzLynxos_Missing_PutenvPatch[] = {
4337 extern int putenv\t\t\t\t_AP((char *));",
4338 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4343 * Description of Machine_Ansi_H_Va_List fix
4345 tSCC zMachine_Ansi_H_Va_ListName[] =
4346 "machine_ansi_h_va_list";
4349 * File name selection pattern
4351 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4353 * Machine/OS name selection pattern
4355 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4358 * content selection pattern - do fix if pattern found
4360 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4361 "define[ \t]+_BSD_VA_LIST_[ \t]";
4364 * content bypass pattern - skip fix if pattern found
4366 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4367 "__builtin_va_list";
4369 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4370 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4371 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4372 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4375 * Fix Command Arguments for Machine_Ansi_H_Va_List
4377 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4379 "%1__builtin_va_list",
4380 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4385 * Description of Machine_Name fix
4387 tSCC zMachine_NameName[] =
4391 * File name selection pattern
4393 #define zMachine_NameList (char*)NULL
4395 * Machine/OS name selection pattern
4397 #define apzMachine_NameMachs (const char**)NULL
4400 * perform the C function call test
4402 tSCC zMachine_NameFTst0[] = "machine_name";
4404 #define MACHINE_NAME_TEST_CT 1
4405 static tTestDesc aMachine_NameTests[] = {
4406 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4409 * Fix Command Arguments for Machine_Name
4411 static const char* apzMachine_NamePatch[] = {
4415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4417 * Description of Math_Exception fix
4419 tSCC zMath_ExceptionName[] =
4423 * File name selection pattern
4425 tSCC zMath_ExceptionList[] =
4428 * Machine/OS name selection pattern
4430 #define apzMath_ExceptionMachs (const char**)NULL
4433 * content selection pattern - do fix if pattern found
4435 tSCC zMath_ExceptionSelect0[] =
4439 * content bypass pattern - skip fix if pattern found
4441 tSCC zMath_ExceptionBypass0[] =
4442 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4444 #define MATH_EXCEPTION_TEST_CT 2
4445 static tTestDesc aMath_ExceptionTests[] = {
4446 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4447 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4450 * Fix Command Arguments for Math_Exception
4452 static const char* apzMath_ExceptionPatch[] = {
4454 "#ifdef __cplusplus\n\
4455 #define exception __math_exception\n\
4457 "#ifdef __cplusplus\n\
4462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4464 * Description of Math_Huge_Val_From_Dbl_Max fix
4466 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4467 "math_huge_val_from_dbl_max";
4470 * File name selection pattern
4472 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4475 * Machine/OS name selection pattern
4477 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4480 * content selection pattern - do fix if pattern found
4482 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4483 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4486 * content bypass pattern - skip fix if pattern found
4488 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4489 "define[ \t]+DBL_MAX";
4491 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4492 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4493 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4494 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4497 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4499 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4500 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4501 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4502 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4507 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4509 * Description of Nested_Auth_Des fix
4511 tSCC zNested_Auth_DesName[] =
4515 * File name selection pattern
4517 tSCC zNested_Auth_DesList[] =
4520 * Machine/OS name selection pattern
4522 #define apzNested_Auth_DesMachs (const char**)NULL
4525 * content selection pattern - do fix if pattern found
4527 tSCC zNested_Auth_DesSelect0[] =
4528 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4530 #define NESTED_AUTH_DES_TEST_CT 1
4531 static tTestDesc aNested_Auth_DesTests[] = {
4532 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4535 * Fix Command Arguments for Nested_Auth_Des
4537 static const char* apzNested_Auth_DesPatch[] = {
4542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4544 * Description of Nested_Motorola fix
4546 tSCC zNested_MotorolaName[] =
4550 * File name selection pattern
4552 tSCC zNested_MotorolaList[] =
4553 "sys/limits.h\0limits.h\0";
4555 * Machine/OS name selection pattern
4557 tSCC* apzNested_MotorolaMachs[] = {
4558 "m68k-motorola-sysv*",
4559 (const char*)NULL };
4562 * content selection pattern - do fix if pattern found
4564 tSCC zNested_MotorolaSelect0[] =
4565 "max # bytes atomic in write|error value returned by Math lib";
4567 #define NESTED_MOTOROLA_TEST_CT 1
4568 static tTestDesc aNested_MotorolaTests[] = {
4569 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
4572 * Fix Command Arguments for Nested_Motorola
4574 static const char* apzNested_MotorolaPatch[] = { "sed",
4575 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
4576 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
4579 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4581 * Description of Nested_Sys_Limits fix
4583 tSCC zNested_Sys_LimitsName[] =
4584 "nested_sys_limits";
4587 * File name selection pattern
4589 tSCC zNested_Sys_LimitsList[] =
4592 * Machine/OS name selection pattern
4594 #define apzNested_Sys_LimitsMachs (const char**)NULL
4597 * content selection pattern - do fix if pattern found
4599 tSCC zNested_Sys_LimitsSelect0[] =
4602 #define NESTED_SYS_LIMITS_TEST_CT 1
4603 static tTestDesc aNested_Sys_LimitsTests[] = {
4604 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
4607 * Fix Command Arguments for Nested_Sys_Limits
4609 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
4610 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
4611 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
4614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4616 * Description of Netbsd_C99_Inline_1 fix
4618 tSCC zNetbsd_C99_Inline_1Name[] =
4619 "netbsd_c99_inline_1";
4622 * File name selection pattern
4624 tSCC zNetbsd_C99_Inline_1List[] =
4627 * Machine/OS name selection pattern
4629 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
4631 (const char*)NULL };
4634 * content selection pattern - do fix if pattern found
4636 tSCC zNetbsd_C99_Inline_1Select0[] =
4637 "extern __inline int";
4639 #define NETBSD_C99_INLINE_1_TEST_CT 1
4640 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
4641 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
4644 * Fix Command Arguments for Netbsd_C99_Inline_1
4646 static const char* apzNetbsd_C99_Inline_1Patch[] = {
4649 #ifdef __GNUC_STDC_INLINE__\n\
4650 __attribute__((__gnu_inline__))\n\
4655 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4657 * Description of Netbsd_C99_Inline_2 fix
4659 tSCC zNetbsd_C99_Inline_2Name[] =
4660 "netbsd_c99_inline_2";
4663 * File name selection pattern
4665 tSCC zNetbsd_C99_Inline_2List[] =
4668 * Machine/OS name selection pattern
4670 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
4672 (const char*)NULL };
4675 * content selection pattern - do fix if pattern found
4677 tSCC zNetbsd_C99_Inline_2Select0[] =
4678 "#define _SIGINLINE extern __inline";
4680 #define NETBSD_C99_INLINE_2_TEST_CT 1
4681 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
4682 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
4685 * Fix Command Arguments for Netbsd_C99_Inline_2
4687 static const char* apzNetbsd_C99_Inline_2Patch[] = {
4689 "#ifdef __GNUC_STDC_INLINE__\n\
4690 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
4696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4698 * Description of Netbsd_Extra_Semicolon fix
4700 tSCC zNetbsd_Extra_SemicolonName[] =
4701 "netbsd_extra_semicolon";
4704 * File name selection pattern
4706 tSCC zNetbsd_Extra_SemicolonList[] =
4709 * Machine/OS name selection pattern
4711 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4713 (const char*)NULL };
4716 * content selection pattern - do fix if pattern found
4718 tSCC zNetbsd_Extra_SemicolonSelect0[] =
4719 "#define[ \t]*__END_DECLS[ \t]*};";
4721 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
4722 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
4723 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
4726 * Fix Command Arguments for Netbsd_Extra_Semicolon
4728 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
4730 "#define __END_DECLS }",
4733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4735 * Description of Next_Math_Prefix fix
4737 tSCC zNext_Math_PrefixName[] =
4741 * File name selection pattern
4743 tSCC zNext_Math_PrefixList[] =
4746 * Machine/OS name selection pattern
4748 #define apzNext_Math_PrefixMachs (const char**)NULL
4751 * content selection pattern - do fix if pattern found
4753 tSCC zNext_Math_PrefixSelect0[] =
4754 "^extern[ \t]+double[ \t]+__const__[ \t]";
4756 #define NEXT_MATH_PREFIX_TEST_CT 1
4757 static tTestDesc aNext_Math_PrefixTests[] = {
4758 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
4761 * Fix Command Arguments for Next_Math_Prefix
4763 static const char* apzNext_Math_PrefixPatch[] = {
4765 "extern double %1(",
4766 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
4769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4771 * Description of Next_Template fix
4773 tSCC zNext_TemplateName[] =
4777 * File name selection pattern
4779 tSCC zNext_TemplateList[] =
4782 * Machine/OS name selection pattern
4784 #define apzNext_TemplateMachs (const char**)NULL
4787 * content selection pattern - do fix if pattern found
4789 tSCC zNext_TemplateSelect0[] =
4792 #define NEXT_TEMPLATE_TEST_CT 1
4793 static tTestDesc aNext_TemplateTests[] = {
4794 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
4797 * Fix Command Arguments for Next_Template
4799 static const char* apzNext_TemplatePatch[] = {
4802 "\\(([^)]*)[ \t]template\\)",
4805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4807 * Description of Next_Volitile fix
4809 tSCC zNext_VolitileName[] =
4813 * File name selection pattern
4815 tSCC zNext_VolitileList[] =
4818 * Machine/OS name selection pattern
4820 #define apzNext_VolitileMachs (const char**)NULL
4823 * content selection pattern - do fix if pattern found
4825 tSCC zNext_VolitileSelect0[] =
4826 "^extern[ \t]+volatile[ \t]+void[ \t]";
4828 #define NEXT_VOLITILE_TEST_CT 1
4829 static tTestDesc aNext_VolitileTests[] = {
4830 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
4833 * Fix Command Arguments for Next_Volitile
4835 static const char* apzNext_VolitilePatch[] = {
4838 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
4841 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4843 * Description of Next_Wait_Union fix
4845 tSCC zNext_Wait_UnionName[] =
4849 * File name selection pattern
4851 tSCC zNext_Wait_UnionList[] =
4854 * Machine/OS name selection pattern
4856 #define apzNext_Wait_UnionMachs (const char**)NULL
4859 * content selection pattern - do fix if pattern found
4861 tSCC zNext_Wait_UnionSelect0[] =
4862 "wait\\(union wait";
4864 #define NEXT_WAIT_UNION_TEST_CT 1
4865 static tTestDesc aNext_Wait_UnionTests[] = {
4866 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
4869 * Fix Command Arguments for Next_Wait_Union
4871 static const char* apzNext_Wait_UnionPatch[] = {
4876 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4878 * Description of Nodeent_Syntax fix
4880 tSCC zNodeent_SyntaxName[] =
4884 * File name selection pattern
4886 tSCC zNodeent_SyntaxList[] =
4887 "netdnet/dnetdb.h\0";
4889 * Machine/OS name selection pattern
4891 #define apzNodeent_SyntaxMachs (const char**)NULL
4894 * content selection pattern - do fix if pattern found
4896 tSCC zNodeent_SyntaxSelect0[] =
4897 "char[ \t]*\\*na_addr[ \t]*$";
4899 #define NODEENT_SYNTAX_TEST_CT 1
4900 static tTestDesc aNodeent_SyntaxTests[] = {
4901 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
4904 * Fix Command Arguments for Nodeent_Syntax
4906 static const char* apzNodeent_SyntaxPatch[] = {
4911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4913 * Description of Obstack_Lvalue_Cast fix
4915 tSCC zObstack_Lvalue_CastName[] =
4916 "obstack_lvalue_cast";
4919 * File name selection pattern
4921 tSCC zObstack_Lvalue_CastList[] =
4924 * Machine/OS name selection pattern
4926 #define apzObstack_Lvalue_CastMachs (const char**)NULL
4929 * content selection pattern - do fix if pattern found
4931 tSCC zObstack_Lvalue_CastSelect0[] =
4932 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
4934 #define OBSTACK_LVALUE_CAST_TEST_CT 1
4935 static tTestDesc aObstack_Lvalue_CastTests[] = {
4936 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
4939 * Fix Command Arguments for Obstack_Lvalue_Cast
4941 static const char* apzObstack_Lvalue_CastPatch[] = {
4943 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
4946 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4948 * Description of Osf_Namespace_A fix
4950 tSCC zOsf_Namespace_AName[] =
4954 * File name selection pattern
4956 tSCC zOsf_Namespace_AList[] =
4957 "reg_types.h\0sys/lc_core.h\0";
4959 * Machine/OS name selection pattern
4961 #define apzOsf_Namespace_AMachs (const char**)NULL
4964 * perform the 'test' shell command - do fix on success
4966 tSCC zOsf_Namespace_ATest0[] =
4968 tSCC zOsf_Namespace_ATest1[] =
4969 " -r sys/lc_core.h";
4970 tSCC zOsf_Namespace_ATest2[] =
4971 " -n \"`grep '} regex_t;' reg_types.h`\"";
4972 tSCC zOsf_Namespace_ATest3[] =
4973 " -z \"`grep __regex_t regex.h`\"";
4975 #define OSF_NAMESPACE_A_TEST_CT 4
4976 static tTestDesc aOsf_Namespace_ATests[] = {
4977 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4978 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4979 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4980 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4983 * Fix Command Arguments for Osf_Namespace_A
4985 static const char* apzOsf_Namespace_APatch[] = {
4988 "reg(ex|off|match)_t",
4991 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4993 * Description of Osf_Namespace_C fix
4995 tSCC zOsf_Namespace_CName[] =
4999 * File name selection pattern
5001 tSCC zOsf_Namespace_CList[] =
5004 * Machine/OS name selection pattern
5006 #define apzOsf_Namespace_CMachs (const char**)NULL
5009 * content selection pattern - do fix if pattern found
5011 tSCC zOsf_Namespace_CSelect0[] =
5012 "#include <reg_types.h>.*";
5015 * perform the 'test' shell command - do fix on success
5017 tSCC zOsf_Namespace_CTest0[] =
5019 tSCC zOsf_Namespace_CTest1[] =
5020 " -r sys/lc_core.h";
5021 tSCC zOsf_Namespace_CTest2[] =
5022 " -n \"`grep '} regex_t;' reg_types.h`\"";
5023 tSCC zOsf_Namespace_CTest3[] =
5024 " -z \"`grep __regex_t regex.h`\"";
5026 #define OSF_NAMESPACE_C_TEST_CT 5
5027 static tTestDesc aOsf_Namespace_CTests[] = {
5028 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5029 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5030 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5031 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5032 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5035 * Fix Command Arguments for Osf_Namespace_C
5037 static const char* apzOsf_Namespace_CPatch[] = {
5040 typedef __regex_t\tregex_t;\n\
5041 typedef __regoff_t\tregoff_t;\n\
5042 typedef __regmatch_t\tregmatch_t;",
5045 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5047 * Description of Pthread_Page_Size fix
5049 tSCC zPthread_Page_SizeName[] =
5050 "pthread_page_size";
5053 * File name selection pattern
5055 tSCC zPthread_Page_SizeList[] =
5058 * Machine/OS name selection pattern
5060 #define apzPthread_Page_SizeMachs (const char**)NULL
5063 * content selection pattern - do fix if pattern found
5065 tSCC zPthread_Page_SizeSelect0[] =
5068 #define PTHREAD_PAGE_SIZE_TEST_CT 1
5069 static tTestDesc aPthread_Page_SizeTests[] = {
5070 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
5073 * Fix Command Arguments for Pthread_Page_Size
5075 static const char* apzPthread_Page_SizePatch[] = {
5080 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5082 * Description of Pthread_Incomplete_Struct_Argument fix
5084 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5085 "pthread_incomplete_struct_argument";
5088 * File name selection pattern
5090 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5093 * Machine/OS name selection pattern
5095 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5098 * content selection pattern - do fix if pattern found
5100 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5101 "struct __jmp_buf_tag";
5103 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5104 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5105 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5108 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5110 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5113 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5116 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5118 * Description of Read_Ret_Type fix
5120 tSCC zRead_Ret_TypeName[] =
5124 * File name selection pattern
5126 tSCC zRead_Ret_TypeList[] =
5129 * Machine/OS name selection pattern
5131 #define apzRead_Ret_TypeMachs (const char**)NULL
5134 * content selection pattern - do fix if pattern found
5136 tSCC zRead_Ret_TypeSelect0[] =
5137 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5139 #define READ_RET_TYPE_TEST_CT 1
5140 static tTestDesc aRead_Ret_TypeTests[] = {
5141 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5144 * Fix Command Arguments for Read_Ret_Type
5146 static const char* apzRead_Ret_TypePatch[] = {
5148 "extern unsigned int fread(), fwrite();\n\
5150 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5153 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5155 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5157 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5158 "rpc_xdr_lvalue_cast_a";
5161 * File name selection pattern
5163 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5166 * Machine/OS name selection pattern
5168 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5171 * content selection pattern - do fix if pattern found
5173 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5174 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5177 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5178 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5179 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5182 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5184 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5186 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5189 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5191 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5193 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5194 "rpc_xdr_lvalue_cast_b";
5197 * File name selection pattern
5199 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5202 * Machine/OS name selection pattern
5204 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5207 * content selection pattern - do fix if pattern found
5209 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5210 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5213 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5214 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5215 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5218 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5220 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5222 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5225 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5227 * Description of Rs6000_Double fix
5229 tSCC zRs6000_DoubleName[] =
5233 * File name selection pattern
5235 tSCC zRs6000_DoubleList[] =
5238 * Machine/OS name selection pattern
5240 #define apzRs6000_DoubleMachs (const char**)NULL
5243 * content selection pattern - do fix if pattern found
5245 tSCC zRs6000_DoubleSelect0[] =
5246 "[^a-zA-Z_]class\\(";
5248 #define RS6000_DOUBLE_TEST_CT 1
5249 static tTestDesc aRs6000_DoubleTests[] = {
5250 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5253 * Fix Command Arguments for Rs6000_Double
5255 static const char* apzRs6000_DoublePatch[] = {
5257 "#ifndef __cplusplus\n\
5260 "^.*[^a-zA-Z_]class\\(.*",
5263 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5265 * Description of Rs6000_Fchmod fix
5267 tSCC zRs6000_FchmodName[] =
5271 * File name selection pattern
5273 tSCC zRs6000_FchmodList[] =
5276 * Machine/OS name selection pattern
5278 #define apzRs6000_FchmodMachs (const char**)NULL
5281 * content selection pattern - do fix if pattern found
5283 tSCC zRs6000_FchmodSelect0[] =
5284 "fchmod\\(char \\*";
5286 #define RS6000_FCHMOD_TEST_CT 1
5287 static tTestDesc aRs6000_FchmodTests[] = {
5288 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5291 * Fix Command Arguments for Rs6000_Fchmod
5293 static const char* apzRs6000_FchmodPatch[] = {
5298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5300 * Description of Rs6000_Param fix
5302 tSCC zRs6000_ParamName[] =
5306 * File name selection pattern
5308 tSCC zRs6000_ParamList[] =
5309 "stdio.h\0unistd.h\0";
5311 * Machine/OS name selection pattern
5313 #define apzRs6000_ParamMachs (const char**)NULL
5316 * content selection pattern - do fix if pattern found
5318 tSCC zRs6000_ParamSelect0[] =
5319 "rename\\(const char \\*old, const char \\*new\\)";
5321 #define RS6000_PARAM_TEST_CT 1
5322 static tTestDesc aRs6000_ParamTests[] = {
5323 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5326 * Fix Command Arguments for Rs6000_Param
5328 static const char* apzRs6000_ParamPatch[] = {
5330 "rename(const char *_old, const char *_new)",
5333 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5335 * Description of Sco_Math fix
5337 tSCC zSco_MathName[] =
5341 * File name selection pattern
5343 tSCC zSco_MathList[] =
5344 "math.h\0*/math.h\0";
5346 * Machine/OS name selection pattern
5348 #define apzSco_MathMachs (const char**)NULL
5351 * content selection pattern - do fix if pattern found
5353 tSCC zSco_MathSelect0[] =
5354 "inline double abs";
5357 * content bypass pattern - skip fix if pattern found
5359 tSCC zSco_MathBypass0[] =
5362 #define SCO_MATH_TEST_CT 2
5363 static tTestDesc aSco_MathTests[] = {
5364 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
5365 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
5368 * Fix Command Arguments for Sco_Math
5370 static const char* apzSco_MathPatch[] = { "sed",
5371 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
5372 #ifndef __GNUC__\n",
5373 "-e", "/.*__builtin_generic/a\\\n\
5375 #define __fp_class(a) \\\\\\\n\
5376 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
5377 __fpclassifyl(a), \\\\\\\n\
5378 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
5379 __fpclassifyf(a),__fpclassify(a)))\\\n\
5381 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
5382 #ifndef __GNUC__\n",
5383 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
5384 #endif /* ! __GNUC__ */",
5387 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5389 * Description of Sco_Regset fix
5391 tSCC zSco_RegsetName[] =
5395 * File name selection pattern
5397 tSCC zSco_RegsetList[] =
5400 * Machine/OS name selection pattern
5402 tSCC* apzSco_RegsetMachs[] = {
5404 (const char*)NULL };
5407 * content selection pattern - do fix if pattern found
5409 tSCC zSco_RegsetSelect0[] =
5410 "(struct[ \t]+.*)fpstate";
5412 #define SCO_REGSET_TEST_CT 1
5413 static tTestDesc aSco_RegsetTests[] = {
5414 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
5417 * Fix Command Arguments for Sco_Regset
5419 static const char* apzSco_RegsetPatch[] = {
5424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5426 * Description of Sco_Static_Func fix
5428 tSCC zSco_Static_FuncName[] =
5432 * File name selection pattern
5434 tSCC zSco_Static_FuncList[] =
5437 * Machine/OS name selection pattern
5439 tSCC* apzSco_Static_FuncMachs[] = {
5441 (const char*)NULL };
5444 * content selection pattern - do fix if pattern found
5446 tSCC zSco_Static_FuncSelect0[] =
5449 #define SCO_STATIC_FUNC_TEST_CT 1
5450 static tTestDesc aSco_Static_FuncTests[] = {
5451 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
5454 * Fix Command Arguments for Sco_Static_Func
5456 static const char* apzSco_Static_FuncPatch[] = { "sed",
5457 "-e", "/^static int/i\\\n\
5458 #if __cplusplus\\\n\
5460 #endif /* __cplusplus */",
5462 #if __cplusplus\\\n\
5464 #endif /* __cplusplus */",
5467 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5469 * Description of Sco_Utime fix
5471 tSCC zSco_UtimeName[] =
5475 * File name selection pattern
5477 tSCC zSco_UtimeList[] =
5480 * Machine/OS name selection pattern
5482 tSCC* apzSco_UtimeMachs[] = {
5484 (const char*)NULL };
5487 * content selection pattern - do fix if pattern found
5489 tSCC zSco_UtimeSelect0[] =
5490 "\\(const char \\*, struct utimbuf \\*\\);";
5492 #define SCO_UTIME_TEST_CT 1
5493 static tTestDesc aSco_UtimeTests[] = {
5494 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
5497 * Fix Command Arguments for Sco_Utime
5499 static const char* apzSco_UtimePatch[] = {
5501 "(const char *, const struct utimbuf *);",
5504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5506 * Description of Solaris_Math_1 fix
5508 tSCC zSolaris_Math_1Name[] =
5512 * File name selection pattern
5514 tSCC zSolaris_Math_1List[] =
5517 * Machine/OS name selection pattern
5519 #define apzSolaris_Math_1Machs (const char**)NULL
5522 * content selection pattern - do fix if pattern found
5524 tSCC zSolaris_Math_1Select0[] =
5525 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5528 * content bypass pattern - skip fix if pattern found
5530 tSCC zSolaris_Math_1Bypass0[] =
5533 #define SOLARIS_MATH_1_TEST_CT 2
5534 static tTestDesc aSolaris_Math_1Tests[] = {
5535 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
5536 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
5539 * Fix Command Arguments for Solaris_Math_1
5541 static const char* apzSolaris_Math_1Patch[] = {
5543 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
5544 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
5547 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5549 * Description of Solaris_Math_2 fix
5551 tSCC zSolaris_Math_2Name[] =
5555 * File name selection pattern
5557 tSCC zSolaris_Math_2List[] =
5560 * Machine/OS name selection pattern
5562 #define apzSolaris_Math_2Machs (const char**)NULL
5565 * content selection pattern - do fix if pattern found
5567 tSCC zSolaris_Math_2Select0[] =
5568 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5571 * content bypass pattern - skip fix if pattern found
5573 tSCC zSolaris_Math_2Bypass0[] =
5576 #define SOLARIS_MATH_2_TEST_CT 2
5577 static tTestDesc aSolaris_Math_2Tests[] = {
5578 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
5579 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
5582 * Fix Command Arguments for Solaris_Math_2
5584 static const char* apzSolaris_Math_2Patch[] = {
5586 "#define\tINFINITY\t(__builtin_inff())",
5587 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
5590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5592 * Description of Solaris_Math_3 fix
5594 tSCC zSolaris_Math_3Name[] =
5598 * File name selection pattern
5600 tSCC zSolaris_Math_3List[] =
5603 * Machine/OS name selection pattern
5605 #define apzSolaris_Math_3Machs (const char**)NULL
5608 * content selection pattern - do fix if pattern found
5610 tSCC zSolaris_Math_3Select0[] =
5611 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5614 * content bypass pattern - skip fix if pattern found
5616 tSCC zSolaris_Math_3Bypass0[] =
5619 #define SOLARIS_MATH_3_TEST_CT 2
5620 static tTestDesc aSolaris_Math_3Tests[] = {
5621 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
5622 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
5625 * Fix Command Arguments for Solaris_Math_3
5627 static const char* apzSolaris_Math_3Patch[] = {
5629 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
5630 "^#define[ \t]+NAN[ \t]+__builtin_nan",
5633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5635 * Description of Solaris_Math_4 fix
5637 tSCC zSolaris_Math_4Name[] =
5641 * File name selection pattern
5643 tSCC zSolaris_Math_4List[] =
5646 * Machine/OS name selection pattern
5648 #define apzSolaris_Math_4Machs (const char**)NULL
5651 * content selection pattern - do fix if pattern found
5653 tSCC zSolaris_Math_4Select0[] =
5654 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5657 * content bypass pattern - skip fix if pattern found
5659 tSCC zSolaris_Math_4Bypass0[] =
5662 #define SOLARIS_MATH_4_TEST_CT 2
5663 static tTestDesc aSolaris_Math_4Tests[] = {
5664 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
5665 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
5668 * Fix Command Arguments for Solaris_Math_4
5670 static const char* apzSolaris_Math_4Patch[] = {
5672 "#define\tfpclassify(x) \\\n\
5673 __extension__ ({ const __typeof(x) __x_fp = (x); \\\n\
5674 \t\t isnan(__x_fp) \\\n\
5676 \t\t : isinf(__x_fp) \\\n\
5677 \t\t ? FP_INFINITE \\\n\
5678 \t\t : isnormal(__x_fp) \\\n\
5679 \t\t\t ? FP_NORMAL \\\n\
5680 \t\t\t : __x_fp == 0.0 \\\n\
5681 \t\t\t ? FP_ZERO \\\n\
5682 \t\t\t : FP_SUBNORMAL; })",
5683 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
5686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5688 * Description of Solaris_Math_8 fix
5690 tSCC zSolaris_Math_8Name[] =
5694 * File name selection pattern
5696 tSCC zSolaris_Math_8List[] =
5699 * Machine/OS name selection pattern
5701 #define apzSolaris_Math_8Machs (const char**)NULL
5704 * content selection pattern - do fix if pattern found
5706 tSCC zSolaris_Math_8Select0[] =
5707 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5710 * content bypass pattern - skip fix if pattern found
5712 tSCC zSolaris_Math_8Bypass0[] =
5715 #define SOLARIS_MATH_8_TEST_CT 2
5716 static tTestDesc aSolaris_Math_8Tests[] = {
5717 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
5718 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
5721 * Fix Command Arguments for Solaris_Math_8
5723 static const char* apzSolaris_Math_8Patch[] = {
5725 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
5726 \t\t\t ? __builtin_signbitf(x) \\\n\
5727 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
5728 \t\t\t ? __builtin_signbitl(x) \\\n\
5729 \t\t\t : __builtin_signbit(x))",
5730 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
5733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5735 * Description of Solaris_Math_9 fix
5737 tSCC zSolaris_Math_9Name[] =
5741 * File name selection pattern
5743 tSCC zSolaris_Math_9List[] =
5746 * Machine/OS name selection pattern
5748 #define apzSolaris_Math_9Machs (const char**)NULL
5751 * content selection pattern - do fix if pattern found
5753 tSCC zSolaris_Math_9Select0[] =
5754 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5757 * content bypass pattern - skip fix if pattern found
5759 tSCC zSolaris_Math_9Bypass0[] =
5762 #define SOLARIS_MATH_9_TEST_CT 2
5763 static tTestDesc aSolaris_Math_9Tests[] = {
5764 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
5765 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
5768 * Fix Command Arguments for Solaris_Math_9
5770 static const char* apzSolaris_Math_9Patch[] = {
5772 "#define\t%1(x, y)%2__builtin_%1(x, y)",
5773 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
5776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5778 * Description of Solaris_Mutex_Init_1 fix
5780 tSCC zSolaris_Mutex_Init_1Name[] =
5781 "solaris_mutex_init_1";
5784 * File name selection pattern
5786 tSCC zSolaris_Mutex_Init_1List[] =
5789 * Machine/OS name selection pattern
5791 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
5794 * content selection pattern - do fix if pattern found
5796 tSCC zSolaris_Mutex_Init_1Select0[] =
5797 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
5799 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
5800 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
5801 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
5804 * Fix Command Arguments for Solaris_Mutex_Init_1
5806 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
5807 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
5808 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
5811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5813 * Description of Solaris_Mutex_Init_2 fix
5815 tSCC zSolaris_Mutex_Init_2Name[] =
5816 "solaris_mutex_init_2";
5819 * File name selection pattern
5821 tSCC zSolaris_Mutex_Init_2List[] =
5824 * Machine/OS name selection pattern
5826 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
5827 "*-*-solaris2.[0-9]",
5828 "*-*-solaris2.[0-9][!0-9]*",
5829 (const char*)NULL };
5832 * content selection pattern - do fix if pattern found
5834 tSCC zSolaris_Mutex_Init_2Select0[] =
5835 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5837 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
5838 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
5839 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
5842 * Fix Command Arguments for Solaris_Mutex_Init_2
5844 static const char* apzSolaris_Mutex_Init_2Patch[] = {
5846 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5851 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
5852 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
5855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5857 * Description of Solaris_Rwlock_Init_1 fix
5859 tSCC zSolaris_Rwlock_Init_1Name[] =
5860 "solaris_rwlock_init_1";
5863 * File name selection pattern
5865 tSCC zSolaris_Rwlock_Init_1List[] =
5868 * Machine/OS name selection pattern
5870 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
5872 (const char*)NULL };
5875 * content selection pattern - do fix if pattern found
5877 tSCC zSolaris_Rwlock_Init_1Select0[] =
5878 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5880 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
5881 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
5882 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
5885 * Fix Command Arguments for Solaris_Rwlock_Init_1
5887 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
5889 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5892 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
5894 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
5897 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5899 * Description of Solaris_Once_Init_1 fix
5901 tSCC zSolaris_Once_Init_1Name[] =
5902 "solaris_once_init_1";
5905 * File name selection pattern
5907 tSCC zSolaris_Once_Init_1List[] =
5910 * Machine/OS name selection pattern
5912 tSCC* apzSolaris_Once_Init_1Machs[] = {
5914 (const char*)NULL };
5917 * content selection pattern - do fix if pattern found
5919 tSCC zSolaris_Once_Init_1Select0[] =
5920 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5922 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
5923 static tTestDesc aSolaris_Once_Init_1Tests[] = {
5924 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
5927 * Fix Command Arguments for Solaris_Once_Init_1
5929 static const char* apzSolaris_Once_Init_1Patch[] = {
5932 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
5935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5937 * Description of Solaris_Once_Init_2 fix
5939 tSCC zSolaris_Once_Init_2Name[] =
5940 "solaris_once_init_2";
5943 * File name selection pattern
5945 tSCC zSolaris_Once_Init_2List[] =
5948 * Machine/OS name selection pattern
5950 tSCC* apzSolaris_Once_Init_2Machs[] = {
5951 "*-*-solaris2.[0-9]",
5952 "*-*-solaris2.[0-9][!0-9]*",
5953 (const char*)NULL };
5956 * content selection pattern - do fix if pattern found
5958 tSCC zSolaris_Once_Init_2Select0[] =
5959 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5961 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
5962 static tTestDesc aSolaris_Once_Init_2Tests[] = {
5963 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
5966 * Fix Command Arguments for Solaris_Once_Init_2
5968 static const char* apzSolaris_Once_Init_2Patch[] = {
5970 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5973 %1{0}, {0}, {0}, {%3}%4\n\
5975 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
5978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5980 * Description of Solaris_Socket fix
5982 tSCC zSolaris_SocketName[] =
5986 * File name selection pattern
5988 tSCC zSolaris_SocketList[] =
5991 * Machine/OS name selection pattern
5993 #define apzSolaris_SocketMachs (const char**)NULL
5996 * content selection pattern - do fix if pattern found
5998 tSCC zSolaris_SocketSelect0[] =
5999 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
6001 #define SOLARIS_SOCKET_TEST_CT 1
6002 static tTestDesc aSolaris_SocketTests[] = {
6003 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
6006 * Fix Command Arguments for Solaris_Socket
6008 static const char* apzSolaris_SocketPatch[] = {
6010 "extern int %1(int, %2void *, int, int);",
6011 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
6014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6016 * Description of Solaris_Stdio_Tag fix
6018 tSCC zSolaris_Stdio_TagName[] =
6019 "solaris_stdio_tag";
6022 * File name selection pattern
6024 tSCC zSolaris_Stdio_TagList[] =
6027 * Machine/OS name selection pattern
6029 #define apzSolaris_Stdio_TagMachs (const char**)NULL
6032 * content selection pattern - do fix if pattern found
6034 tSCC zSolaris_Stdio_TagSelect0[] =
6035 "__cplusplus < 54321L";
6038 * content bypass pattern - skip fix if pattern found
6040 tSCC zSolaris_Stdio_TagBypass0[] =
6043 #define SOLARIS_STDIO_TAG_TEST_CT 2
6044 static tTestDesc aSolaris_Stdio_TagTests[] = {
6045 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6046 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6049 * Fix Command Arguments for Solaris_Stdio_Tag
6051 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
6052 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6055 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6057 * Description of Solaris_Unistd fix
6059 tSCC zSolaris_UnistdName[] =
6063 * File name selection pattern
6065 tSCC zSolaris_UnistdList[] =
6068 * Machine/OS name selection pattern
6070 #define apzSolaris_UnistdMachs (const char**)NULL
6073 * content selection pattern - do fix if pattern found
6075 tSCC zSolaris_UnistdSelect0[] =
6076 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
6079 * content bypass pattern - skip fix if pattern found
6081 tSCC zSolaris_UnistdBypass0[] =
6084 #define SOLARIS_UNISTD_TEST_CT 2
6085 static tTestDesc aSolaris_UnistdTests[] = {
6086 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
6087 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
6090 * Fix Command Arguments for Solaris_Unistd
6092 static const char* apzSolaris_UnistdPatch[] = {
6094 "extern int getpagesize();\n\
6096 "^extern (pid_t|int) getpgid\\(.*\\);",
6099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6101 * Description of Solaris_Widec fix
6103 tSCC zSolaris_WidecName[] =
6107 * File name selection pattern
6109 tSCC zSolaris_WidecList[] =
6112 * Machine/OS name selection pattern
6114 tSCC* apzSolaris_WidecMachs[] = {
6115 "*-*-solaris2.[0-5]",
6116 "*-*-solaris2.[0-5].*",
6117 (const char*)NULL };
6120 * content selection pattern - do fix if pattern found
6122 tSCC zSolaris_WidecSelect0[] =
6126 * content bypass pattern - skip fix if pattern found
6128 tSCC zSolaris_WidecBypass0[] =
6129 "include.*wchar\\.h";
6131 #define SOLARIS_WIDEC_TEST_CT 2
6132 static tTestDesc aSolaris_WidecTests[] = {
6133 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
6134 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
6137 * Fix Command Arguments for Solaris_Widec
6139 static const char* apzSolaris_WidecPatch[] = {
6142 #include <wchar.h>",
6145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6147 * Description of Statsswtch fix
6149 tSCC zStatsswtchName[] =
6153 * File name selection pattern
6155 tSCC zStatsswtchList[] =
6158 * Machine/OS name selection pattern
6160 #define apzStatsswtchMachs (const char**)NULL
6163 * content selection pattern - do fix if pattern found
6165 tSCC zStatsswtchSelect0[] =
6168 #define STATSSWTCH_TEST_CT 1
6169 static tTestDesc aStatsswtchTests[] = {
6170 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6173 * Fix Command Arguments for Statsswtch
6175 static const char* apzStatsswtchPatch[] = {
6180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6182 * Description of Stdio_Stdarg_H fix
6184 tSCC zStdio_Stdarg_HName[] =
6188 * File name selection pattern
6190 tSCC zStdio_Stdarg_HList[] =
6193 * Machine/OS name selection pattern
6195 tSCC* apzStdio_Stdarg_HMachs[] = {
6196 "*-*-solaris2.1[0-9]*",
6197 (const char*)NULL };
6200 * content bypass pattern - skip fix if pattern found
6202 tSCC zStdio_Stdarg_HBypass0[] =
6203 "include.*(stdarg.h|machine/ansi.h)";
6205 #define STDIO_STDARG_H_TEST_CT 1
6206 static tTestDesc aStdio_Stdarg_HTests[] = {
6207 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6210 * Fix Command Arguments for Stdio_Stdarg_H
6212 static const char* apzStdio_Stdarg_HPatch[] = {
6214 "#define __need___va_list\n\
6215 #include <stdarg.h>\n",
6218 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6220 * Description of Stdio_Va_List fix
6222 tSCC zStdio_Va_ListName[] =
6226 * File name selection pattern
6228 tSCC zStdio_Va_ListList[] =
6229 "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0";
6231 * Machine/OS name selection pattern
6233 tSCC* apzStdio_Va_ListMachs[] = {
6234 "*-*-solaris2.1[0-9]*",
6235 (const char*)NULL };
6238 * content bypass pattern - skip fix if pattern found
6240 tSCC zStdio_Va_ListBypass0[] =
6241 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6243 #define STDIO_VA_LIST_TEST_CT 1
6244 static tTestDesc aStdio_Va_ListTests[] = {
6245 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
6248 * Fix Command Arguments for Stdio_Va_List
6250 static const char* apzStdio_Va_ListPatch[] = { "sed",
6251 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6252 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6253 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6254 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6255 s@ va_list@ __not_va_list__@\n\
6256 s@\\*va_list@*__not_va_list__@\n\
6257 s@ __va_list)@ __gnuc_va_list)@\n\
6258 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6259 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6260 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6261 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6262 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6263 s@VA_LIST@DUMMY_VA_LIST@\n\
6264 s@_Va_LIST@_VA_LIST@",
6267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6269 * Description of Stdio_Va_List_Clients fix
6271 tSCC zStdio_Va_List_ClientsName[] =
6272 "stdio_va_list_clients";
6275 * File name selection pattern
6277 tSCC zStdio_Va_List_ClientsList[] =
6278 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
6280 * Machine/OS name selection pattern
6282 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
6285 * content bypass pattern - skip fix if pattern found
6287 tSCC zStdio_Va_List_ClientsBypass0[] =
6288 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6289 tSCC zStdio_Va_List_ClientsBypass1[] =
6290 "include <stdarg\\.h>|#ifdef va_start";
6292 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
6293 static tTestDesc aStdio_Va_List_ClientsTests[] = {
6294 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
6295 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
6298 * Fix Command Arguments for Stdio_Va_List_Clients
6300 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
6301 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6302 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6303 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6304 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6305 s@ va_list@ __not_va_list__@\n\
6306 s@\\*va_list@*__not_va_list__@\n\
6307 s@ __va_list)@ __gnuc_va_list)@\n\
6308 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6309 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6310 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6311 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6312 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6313 s@VA_LIST@DUMMY_VA_LIST@\n\
6314 s@_Va_LIST@_VA_LIST@",
6317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6319 * Description of Strict_Ansi_Not fix
6321 tSCC zStrict_Ansi_NotName[] =
6325 * File name selection pattern
6327 #define zStrict_Ansi_NotList (char*)NULL
6329 * Machine/OS name selection pattern
6331 #define apzStrict_Ansi_NotMachs (const char**)NULL
6334 * content selection pattern - do fix if pattern found
6336 tSCC zStrict_Ansi_NotSelect0[] =
6337 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
6340 * content bypass pattern - skip fix if pattern found
6342 tSCC zStrict_Ansi_NotBypass0[] =
6343 "GNU and MIPS C compilers define __STDC__ differently";
6344 tSCC zStrict_Ansi_NotBypass1[] =
6345 "__SCO_VERSION__.*__STDC__ != 1";
6348 * perform the C function call test
6350 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
6352 #define STRICT_ANSI_NOT_TEST_CT 4
6353 static tTestDesc aStrict_Ansi_NotTests[] = {
6354 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
6355 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
6356 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
6357 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
6360 * Fix Command Arguments for Strict_Ansi_Not
6362 static const char* apzStrict_Ansi_NotPatch[] = {
6364 "%1 !defined(__STRICT_ANSI__)",
6367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6369 * Description of Strict_Ansi_Not_Ctd fix
6371 tSCC zStrict_Ansi_Not_CtdName[] =
6372 "strict_ansi_not_ctd";
6375 * File name selection pattern
6377 tSCC zStrict_Ansi_Not_CtdList[] =
6378 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
6380 * Machine/OS name selection pattern
6382 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
6385 * content selection pattern - do fix if pattern found
6387 tSCC zStrict_Ansi_Not_CtdSelect0[] =
6388 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
6391 * perform the C function call test
6393 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
6395 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
6396 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
6397 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
6398 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
6401 * Fix Command Arguments for Strict_Ansi_Not_Ctd
6403 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
6405 "%1 !defined(__STRICT_ANSI__)",
6408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6410 * Description of Strict_Ansi_Only fix
6412 tSCC zStrict_Ansi_OnlyName[] =
6416 * File name selection pattern
6418 #define zStrict_Ansi_OnlyList (char*)NULL
6420 * Machine/OS name selection pattern
6422 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
6425 * content selection pattern - do fix if pattern found
6427 tSCC zStrict_Ansi_OnlySelect0[] =
6428 "^([ \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)";
6431 * perform the C function call test
6433 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
6435 #define STRICT_ANSI_ONLY_TEST_CT 2
6436 static tTestDesc aStrict_Ansi_OnlyTests[] = {
6437 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
6438 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
6441 * Fix Command Arguments for Strict_Ansi_Only
6443 static const char* apzStrict_Ansi_OnlyPatch[] = {
6445 "%1 defined(__STRICT_ANSI__)",
6448 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6450 * Description of Struct_File fix
6452 tSCC zStruct_FileName[] =
6456 * File name selection pattern
6458 tSCC zStruct_FileList[] =
6461 * Machine/OS name selection pattern
6463 #define apzStruct_FileMachs (const char**)NULL
6466 * content selection pattern - do fix if pattern found
6468 tSCC zStruct_FileSelect0[] =
6469 "^.*xdrstdio_create.*struct __file_s";
6471 #define STRUCT_FILE_TEST_CT 1
6472 static tTestDesc aStruct_FileTests[] = {
6473 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
6476 * Fix Command Arguments for Struct_File
6478 static const char* apzStruct_FilePatch[] = {
6480 "struct __file_s;\n\
6484 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6486 * Description of Struct_Sockaddr fix
6488 tSCC zStruct_SockaddrName[] =
6492 * File name selection pattern
6494 tSCC zStruct_SockaddrList[] =
6497 * Machine/OS name selection pattern
6499 #define apzStruct_SockaddrMachs (const char**)NULL
6502 * content selection pattern - do fix if pattern found
6504 tSCC zStruct_SockaddrSelect0[] =
6505 "^.*authdes_create.*struct sockaddr[^_]";
6508 * content bypass pattern - skip fix if pattern found
6510 tSCC zStruct_SockaddrBypass0[] =
6512 tSCC zStruct_SockaddrBypass1[] =
6513 "struct sockaddr;\n";
6515 #define STRUCT_SOCKADDR_TEST_CT 3
6516 static tTestDesc aStruct_SockaddrTests[] = {
6517 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
6518 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
6519 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
6522 * Fix Command Arguments for Struct_Sockaddr
6524 static const char* apzStruct_SockaddrPatch[] = {
6526 "struct sockaddr;\n\
6530 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6532 * Description of Sun_Auth_Proto fix
6534 tSCC zSun_Auth_ProtoName[] =
6538 * File name selection pattern
6540 tSCC zSun_Auth_ProtoList[] =
6541 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
6543 * Machine/OS name selection pattern
6545 #define apzSun_Auth_ProtoMachs (const char**)NULL
6548 * content selection pattern - do fix if pattern found
6550 tSCC zSun_Auth_ProtoSelect0[] =
6551 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
6554 * content bypass pattern - skip fix if pattern found
6556 tSCC zSun_Auth_ProtoBypass0[] =
6559 #define SUN_AUTH_PROTO_TEST_CT 2
6560 static tTestDesc aSun_Auth_ProtoTests[] = {
6561 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
6562 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
6565 * Fix Command Arguments for Sun_Auth_Proto
6567 static const char* apzSun_Auth_ProtoPatch[] = {
6569 "#ifdef __cplusplus\n\
6574 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
6577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6579 * Description of Sun_Bogus_Ifdef fix
6581 tSCC zSun_Bogus_IfdefName[] =
6585 * File name selection pattern
6587 tSCC zSun_Bogus_IfdefList[] =
6588 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
6590 * Machine/OS name selection pattern
6592 #define apzSun_Bogus_IfdefMachs (const char**)NULL
6595 * content selection pattern - do fix if pattern found
6597 tSCC zSun_Bogus_IfdefSelect0[] =
6598 "#ifdef(.*\\|\\|.*)";
6600 #define SUN_BOGUS_IFDEF_TEST_CT 1
6601 static tTestDesc aSun_Bogus_IfdefTests[] = {
6602 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
6605 * Fix Command Arguments for Sun_Bogus_Ifdef
6607 static const char* apzSun_Bogus_IfdefPatch[] = {
6612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6614 * Description of Sun_Catmacro fix
6616 tSCC zSun_CatmacroName[] =
6620 * File name selection pattern
6622 tSCC zSun_CatmacroList[] =
6623 "pixrect/memvar.h\0";
6625 * Machine/OS name selection pattern
6627 #define apzSun_CatmacroMachs (const char**)NULL
6630 * content selection pattern - do fix if pattern found
6632 tSCC zSun_CatmacroSelect0[] =
6633 "^#define[ \t]+CAT\\(a,b\\).*";
6635 #define SUN_CATMACRO_TEST_CT 1
6636 static tTestDesc aSun_CatmacroTests[] = {
6637 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
6640 * Fix Command Arguments for Sun_Catmacro
6642 static const char* apzSun_CatmacroPatch[] = {
6645 # define CAT(a,b) a##b\n\
6651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6653 * Description of Sun_Malloc fix
6655 tSCC zSun_MallocName[] =
6659 * File name selection pattern
6661 tSCC zSun_MallocList[] =
6664 * Machine/OS name selection pattern
6666 #define apzSun_MallocMachs (const char**)NULL
6669 * content bypass pattern - skip fix if pattern found
6671 tSCC zSun_MallocBypass0[] =
6672 "_CLASSIC_ANSI_TYPES";
6674 #define SUN_MALLOC_TEST_CT 1
6675 static tTestDesc aSun_MallocTests[] = {
6676 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
6679 * Fix Command Arguments for Sun_Malloc
6681 static const char* apzSun_MallocPatch[] = { "sed",
6682 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
6683 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
6684 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
6685 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
6686 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
6689 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6691 * Description of Sun_Rusers_Semi fix
6693 tSCC zSun_Rusers_SemiName[] =
6697 * File name selection pattern
6699 tSCC zSun_Rusers_SemiList[] =
6700 "rpcsvc/rusers.h\0";
6702 * Machine/OS name selection pattern
6704 #define apzSun_Rusers_SemiMachs (const char**)NULL
6707 * content selection pattern - do fix if pattern found
6709 tSCC zSun_Rusers_SemiSelect0[] =
6712 #define SUN_RUSERS_SEMI_TEST_CT 1
6713 static tTestDesc aSun_Rusers_SemiTests[] = {
6714 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
6717 * Fix Command Arguments for Sun_Rusers_Semi
6719 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
6720 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
6723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6725 * Description of Sun_Signal fix
6727 tSCC zSun_SignalName[] =
6731 * File name selection pattern
6733 tSCC zSun_SignalList[] =
6734 "sys/signal.h\0signal.h\0";
6736 * Machine/OS name selection pattern
6738 #define apzSun_SignalMachs (const char**)NULL
6741 * content selection pattern - do fix if pattern found
6743 tSCC zSun_SignalSelect0[] =
6744 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
6746 #define SUN_SIGNAL_TEST_CT 1
6747 static tTestDesc aSun_SignalTests[] = {
6748 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
6751 * Fix Command Arguments for Sun_Signal
6753 static const char* apzSun_SignalPatch[] = {
6755 "#ifdef __cplusplus\n\
6756 void\t(*signal(...))(...);\n\
6762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6764 * Description of Sunos_Strlen fix
6766 tSCC zSunos_StrlenName[] =
6770 * File name selection pattern
6772 tSCC zSunos_StrlenList[] =
6775 * Machine/OS name selection pattern
6777 #define apzSunos_StrlenMachs (const char**)NULL
6780 * content selection pattern - do fix if pattern found
6782 tSCC zSunos_StrlenSelect0[] =
6783 "int[ \t]*strlen\\(\\);(.*)";
6785 #define SUNOS_STRLEN_TEST_CT 1
6786 static tTestDesc aSunos_StrlenTests[] = {
6787 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
6790 * Fix Command Arguments for Sunos_Strlen
6792 static const char* apzSunos_StrlenPatch[] = {
6794 "__SIZE_TYPE__ strlen();%1",
6797 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6799 * Description of Svr4_Disable_Opt fix
6801 tSCC zSvr4_Disable_OptName[] =
6805 * File name selection pattern
6807 tSCC zSvr4_Disable_OptList[] =
6810 * Machine/OS name selection pattern
6812 #define apzSvr4_Disable_OptMachs (const char**)NULL
6815 * content selection pattern - do fix if pattern found
6817 tSCC zSvr4_Disable_OptSelect0[] =
6818 "#define.*__std_hdr_";
6820 #define SVR4_DISABLE_OPT_TEST_CT 1
6821 static tTestDesc aSvr4_Disable_OptTests[] = {
6822 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
6825 * Fix Command Arguments for Svr4_Disable_Opt
6827 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
6828 "-e", "/#define.*__std_hdr_/d",
6831 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6833 * Description of Svr4_Getcwd fix
6835 tSCC zSvr4_GetcwdName[] =
6839 * File name selection pattern
6841 tSCC zSvr4_GetcwdList[] =
6842 "stdlib.h\0unistd.h\0prototypes.h\0";
6844 * Machine/OS name selection pattern
6846 #define apzSvr4_GetcwdMachs (const char**)NULL
6849 * content selection pattern - do fix if pattern found
6851 tSCC zSvr4_GetcwdSelect0[] =
6852 "getcwd\\(char \\*, int\\)";
6854 #define SVR4_GETCWD_TEST_CT 1
6855 static tTestDesc aSvr4_GetcwdTests[] = {
6856 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
6859 * Fix Command Arguments for Svr4_Getcwd
6861 static const char* apzSvr4_GetcwdPatch[] = {
6863 "getcwd(char *, size_t)",
6866 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6868 * Description of Svr4_Krnl fix
6870 tSCC zSvr4_KrnlName[] =
6874 * File name selection pattern
6876 tSCC zSvr4_KrnlList[] =
6877 "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";
6879 * Machine/OS name selection pattern
6881 tSCC* apzSvr4_KrnlMachs[] = {
6883 "i?86-sequent-ptx*",
6884 (const char*)NULL };
6887 * content bypass pattern - skip fix if pattern found
6889 tSCC zSvr4_KrnlBypass0[] =
6892 #define SVR4_KRNL_TEST_CT 1
6893 static tTestDesc aSvr4_KrnlTests[] = {
6894 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
6897 * Fix Command Arguments for Svr4_Krnl
6899 static const char* apzSvr4_KrnlPatch[] = {
6902 "#endif /* _KERNEL */\n",
6905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6907 * Description of Svr4_Profil fix
6909 tSCC zSvr4_ProfilName[] =
6913 * File name selection pattern
6915 tSCC zSvr4_ProfilList[] =
6916 "stdlib.h\0unistd.h\0";
6918 * Machine/OS name selection pattern
6920 #define apzSvr4_ProfilMachs (const char**)NULL
6923 * content selection pattern - do fix if pattern found
6925 tSCC zSvr4_ProfilSelect0[] =
6926 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
6929 * content bypass pattern - skip fix if pattern found
6931 tSCC zSvr4_ProfilBypass0[] =
6934 #define SVR4_PROFIL_TEST_CT 2
6935 static tTestDesc aSvr4_ProfilTests[] = {
6936 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
6937 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
6940 * Fix Command Arguments for Svr4_Profil
6942 static const char* apzSvr4_ProfilPatch[] = {
6944 "profil(unsigned short *, size_t, int, unsigned int)",
6947 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6949 * Description of Svr4_Sighandler_Type fix
6951 tSCC zSvr4_Sighandler_TypeName[] =
6952 "svr4_sighandler_type";
6955 * File name selection pattern
6957 tSCC zSvr4_Sighandler_TypeList[] =
6960 * Machine/OS name selection pattern
6962 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
6965 * content selection pattern - do fix if pattern found
6967 tSCC zSvr4_Sighandler_TypeSelect0[] =
6968 "void *\\(\\*\\)\\(\\)";
6970 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
6971 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
6972 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
6975 * Fix Command Arguments for Svr4_Sighandler_Type
6977 static const char* apzSvr4_Sighandler_TypePatch[] = {
6982 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6984 * Description of Svr4_Undeclared_Getrnge fix
6986 tSCC zSvr4_Undeclared_GetrngeName[] =
6987 "svr4_undeclared_getrnge";
6990 * File name selection pattern
6992 tSCC zSvr4_Undeclared_GetrngeList[] =
6995 * Machine/OS name selection pattern
6997 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
7000 * content selection pattern - do fix if pattern found
7002 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
7006 * content bypass pattern - skip fix if pattern found
7008 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
7009 "static void getrnge";
7011 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
7012 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
7013 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
7014 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
7017 * Fix Command Arguments for Svr4_Undeclared_Getrnge
7019 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
7022 static int getrnge ();",
7023 "^static int[ \t]+size;",
7026 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7028 * Description of Sysv68_String fix
7030 tSCC zSysv68_StringName[] =
7034 * File name selection pattern
7036 tSCC zSysv68_StringList[] =
7037 "testing.h\0string.h\0";
7039 * Machine/OS name selection pattern
7041 #define apzSysv68_StringMachs (const char**)NULL
7044 * content bypass pattern - skip fix if pattern found
7046 tSCC zSysv68_StringBypass0[] =
7047 "_CLASSIC_ANSI_TYPES";
7049 #define SYSV68_STRING_TEST_CT 1
7050 static tTestDesc aSysv68_StringTests[] = {
7051 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7054 * Fix Command Arguments for Sysv68_String
7056 static const char* apzSysv68_StringPatch[] = { "sed",
7057 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7058 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7059 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7060 "-e", "/^extern char$/N",
7061 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7062 "-e", "/^extern int$/N",
7063 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7064 "-e", "/^\tstrncmp(),$/N",
7065 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7066 extern unsigned int\\\n\
7070 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7072 * Description of Sysz_Stdlib_For_Sun fix
7074 tSCC zSysz_Stdlib_For_SunName[] =
7075 "sysz_stdlib_for_sun";
7078 * File name selection pattern
7080 tSCC zSysz_Stdlib_For_SunList[] =
7083 * Machine/OS name selection pattern
7085 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7088 * content selection pattern - do fix if pattern found
7090 tSCC zSysz_Stdlib_For_SunSelect0[] =
7091 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7094 * content bypass pattern - skip fix if pattern found
7096 tSCC zSysz_Stdlib_For_SunBypass0[] =
7097 "_CLASSIC_ANSI_TYPES";
7099 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7100 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7101 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7102 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7105 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7107 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7114 * Description of Thread_Keyword fix
7116 tSCC zThread_KeywordName[] =
7120 * File name selection pattern
7122 tSCC zThread_KeywordList[] =
7123 "pthread.h\0bits/sigthread.h\0";
7125 * Machine/OS name selection pattern
7127 #define apzThread_KeywordMachs (const char**)NULL
7130 * content selection pattern - do fix if pattern found
7132 tSCC zThread_KeywordSelect0[] =
7133 "([* ])__thread([,)])";
7135 #define THREAD_KEYWORD_TEST_CT 1
7136 static tTestDesc aThread_KeywordTests[] = {
7137 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7140 * Fix Command Arguments for Thread_Keyword
7142 static const char* apzThread_KeywordPatch[] = {
7147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7149 * Description of Tinfo_Cplusplus fix
7151 tSCC zTinfo_CplusplusName[] =
7155 * File name selection pattern
7157 tSCC zTinfo_CplusplusList[] =
7160 * Machine/OS name selection pattern
7162 #define apzTinfo_CplusplusMachs (const char**)NULL
7165 * content selection pattern - do fix if pattern found
7167 tSCC zTinfo_CplusplusSelect0[] =
7170 #define TINFO_CPLUSPLUS_TEST_CT 1
7171 static tTestDesc aTinfo_CplusplusTests[] = {
7172 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7175 * Fix Command Arguments for Tinfo_Cplusplus
7177 static const char* apzTinfo_CplusplusPatch[] = {
7182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7184 * Description of Ultrix_Atexit_Param fix
7186 tSCC zUltrix_Atexit_ParamName[] =
7187 "ultrix_atexit_param";
7190 * File name selection pattern
7192 tSCC zUltrix_Atexit_ParamList[] =
7195 * Machine/OS name selection pattern
7197 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
7200 * content selection pattern - do fix if pattern found
7202 tSCC zUltrix_Atexit_ParamSelect0[] =
7203 "atexit\\(.*\\(\\)";
7205 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
7206 static tTestDesc aUltrix_Atexit_ParamTests[] = {
7207 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
7210 * Fix Command Arguments for Ultrix_Atexit_Param
7212 static const char* apzUltrix_Atexit_ParamPatch[] = {
7214 "atexit( void (*__func)( void )",
7217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7219 * Description of Ultrix_Atof_Param fix
7221 tSCC zUltrix_Atof_ParamName[] =
7222 "ultrix_atof_param";
7225 * File name selection pattern
7227 tSCC zUltrix_Atof_ParamList[] =
7230 * Machine/OS name selection pattern
7232 #define apzUltrix_Atof_ParamMachs (const char**)NULL
7235 * content selection pattern - do fix if pattern found
7237 tSCC zUltrix_Atof_ParamSelect0[] =
7238 "atof\\([ \t]*char";
7240 #define ULTRIX_ATOF_PARAM_TEST_CT 1
7241 static tTestDesc aUltrix_Atof_ParamTests[] = {
7242 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
7245 * Fix Command Arguments for Ultrix_Atof_Param
7247 static const char* apzUltrix_Atof_ParamPatch[] = {
7252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7254 * Description of Ultrix_Const fix
7256 tSCC zUltrix_ConstName[] =
7260 * File name selection pattern
7262 tSCC zUltrix_ConstList[] =
7265 * Machine/OS name selection pattern
7267 #define apzUltrix_ConstMachs (const char**)NULL
7270 * content selection pattern - do fix if pattern found
7272 tSCC zUltrix_ConstSelect0[] =
7273 "perror\\( char \\*";
7275 #define ULTRIX_CONST_TEST_CT 1
7276 static tTestDesc aUltrix_ConstTests[] = {
7277 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7280 * Fix Command Arguments for Ultrix_Const
7282 static const char* apzUltrix_ConstPatch[] = {
7285 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7288 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7290 * Description of Ultrix_Const2 fix
7292 tSCC zUltrix_Const2Name[] =
7296 * File name selection pattern
7298 tSCC zUltrix_Const2List[] =
7301 * Machine/OS name selection pattern
7303 #define apzUltrix_Const2Machs (const char**)NULL
7306 * content selection pattern - do fix if pattern found
7308 tSCC zUltrix_Const2Select0[] =
7309 "\\*fopen\\( char \\*";
7311 #define ULTRIX_CONST2_TEST_CT 1
7312 static tTestDesc aUltrix_Const2Tests[] = {
7313 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7316 * Fix Command Arguments for Ultrix_Const2
7318 static const char* apzUltrix_Const2Patch[] = {
7320 "%1( const char *%3, const char *",
7321 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7326 * Description of Ultrix_Const3 fix
7328 tSCC zUltrix_Const3Name[] =
7332 * File name selection pattern
7334 tSCC zUltrix_Const3List[] =
7337 * Machine/OS name selection pattern
7339 #define apzUltrix_Const3Machs (const char**)NULL
7342 * content selection pattern - do fix if pattern found
7344 tSCC zUltrix_Const3Select0[] =
7345 "fdopen\\( .*, char \\*";
7347 #define ULTRIX_CONST3_TEST_CT 1
7348 static tTestDesc aUltrix_Const3Tests[] = {
7349 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
7352 * Fix Command Arguments for Ultrix_Const3
7354 static const char* apzUltrix_Const3Patch[] = {
7357 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
7360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7362 * Description of Ultrix_Fix_Fixproto fix
7364 tSCC zUltrix_Fix_FixprotoName[] =
7365 "ultrix_fix_fixproto";
7368 * File name selection pattern
7370 tSCC zUltrix_Fix_FixprotoList[] =
7373 * Machine/OS name selection pattern
7375 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
7378 * content selection pattern - do fix if pattern found
7380 tSCC zUltrix_Fix_FixprotoSelect0[] =
7383 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
7384 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
7385 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
7388 * Fix Command Arguments for Ultrix_Fix_Fixproto
7390 static const char* apzUltrix_Fix_FixprotoPatch[] = {
7394 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
7397 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7399 * Description of Ultrix_Ifdef fix
7401 tSCC zUltrix_IfdefName[] =
7405 * File name selection pattern
7407 tSCC zUltrix_IfdefList[] =
7410 * Machine/OS name selection pattern
7412 #define apzUltrix_IfdefMachs (const char**)NULL
7415 * content selection pattern - do fix if pattern found
7417 tSCC zUltrix_IfdefSelect0[] =
7418 "^#ifdef KERNEL[ \t]+&&";
7420 #define ULTRIX_IFDEF_TEST_CT 1
7421 static tTestDesc aUltrix_IfdefTests[] = {
7422 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
7425 * Fix Command Arguments for Ultrix_Ifdef
7427 static const char* apzUltrix_IfdefPatch[] = {
7429 "#if defined(KERNEL) &&",
7432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7434 * Description of Ultrix_Locale fix
7436 tSCC zUltrix_LocaleName[] =
7440 * File name selection pattern
7442 tSCC zUltrix_LocaleList[] =
7445 * Machine/OS name selection pattern
7447 #define apzUltrix_LocaleMachs (const char**)NULL
7450 * content selection pattern - do fix if pattern found
7452 tSCC zUltrix_LocaleSelect0[] =
7453 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
7455 #define ULTRIX_LOCALE_TEST_CT 1
7456 static tTestDesc aUltrix_LocaleTests[] = {
7457 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
7460 * Fix Command Arguments for Ultrix_Locale
7462 static const char* apzUltrix_LocalePatch[] = {
7466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7468 * Description of Ultrix_Math_Ifdef fix
7470 tSCC zUltrix_Math_IfdefName[] =
7471 "ultrix_math_ifdef";
7474 * File name selection pattern
7476 tSCC zUltrix_Math_IfdefList[] =
7477 "sys/limits.h\0float.h\0math.h\0";
7479 * Machine/OS name selection pattern
7481 #define apzUltrix_Math_IfdefMachs (const char**)NULL
7484 * content selection pattern - do fix if pattern found
7486 tSCC zUltrix_Math_IfdefSelect0[] =
7487 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
7489 #define ULTRIX_MATH_IFDEF_TEST_CT 1
7490 static tTestDesc aUltrix_Math_IfdefTests[] = {
7491 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
7494 * Fix Command Arguments for Ultrix_Math_Ifdef
7496 static const char* apzUltrix_Math_IfdefPatch[] = {
7501 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7503 * Description of Ultrix_Nested_Ioctl fix
7505 tSCC zUltrix_Nested_IoctlName[] =
7506 "ultrix_nested_ioctl";
7509 * File name selection pattern
7511 tSCC zUltrix_Nested_IoctlList[] =
7514 * Machine/OS name selection pattern
7516 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
7519 * content selection pattern - do fix if pattern found
7521 tSCC zUltrix_Nested_IoctlSelect0[] =
7522 "^/\\* #define SIOCSCREEN";
7524 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
7525 static tTestDesc aUltrix_Nested_IoctlTests[] = {
7526 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
7529 * Fix Command Arguments for Ultrix_Nested_Ioctl
7531 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
7532 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
7535 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7537 * Description of Ultrix_Nested_Svc fix
7539 tSCC zUltrix_Nested_SvcName[] =
7540 "ultrix_nested_svc";
7543 * File name selection pattern
7545 tSCC zUltrix_Nested_SvcList[] =
7548 * Machine/OS name selection pattern
7550 #define apzUltrix_Nested_SvcMachs (const char**)NULL
7553 * content selection pattern - do fix if pattern found
7555 tSCC zUltrix_Nested_SvcSelect0[] =
7556 "^ \\*[ \t]*int protocol; */\\*";
7558 #define ULTRIX_NESTED_SVC_TEST_CT 1
7559 static tTestDesc aUltrix_Nested_SvcTests[] = {
7560 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
7563 * Fix Command Arguments for Ultrix_Nested_Svc
7565 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
7566 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
7569 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7571 * Description of Ultrix_Stat fix
7573 tSCC zUltrix_StatName[] =
7577 * File name selection pattern
7579 tSCC zUltrix_StatList[] =
7582 * Machine/OS name selection pattern
7584 #define apzUltrix_StatMachs (const char**)NULL
7587 * content selection pattern - do fix if pattern found
7589 tSCC zUltrix_StatSelect0[] =
7590 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
7592 #define ULTRIX_STAT_TEST_CT 1
7593 static tTestDesc aUltrix_StatTests[] = {
7594 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
7597 * Fix Command Arguments for Ultrix_Stat
7599 static const char* apzUltrix_StatPatch[] = { "sed",
7600 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
7602 /* macro to test for symbolic link */\\\n\
7603 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
7604 "-e", "/^[ \t]*fstat(),$/a\\\n\
7608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7610 * Description of Ultrix_Static fix
7612 tSCC zUltrix_StaticName[] =
7616 * File name selection pattern
7618 tSCC zUltrix_StaticList[] =
7621 * Machine/OS name selection pattern
7623 #define apzUltrix_StaticMachs (const char**)NULL
7626 * content selection pattern - do fix if pattern found
7628 tSCC zUltrix_StaticSelect0[] =
7629 "#include \"r[34]_cpu";
7631 #define ULTRIX_STATIC_TEST_CT 1
7632 static tTestDesc aUltrix_StaticTests[] = {
7633 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
7636 * Fix Command Arguments for Ultrix_Static
7638 static const char* apzUltrix_StaticPatch[] = { "sed",
7639 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
7640 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
7641 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
7644 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7646 * Description of Ultrix_Stdlib fix
7648 tSCC zUltrix_StdlibName[] =
7652 * File name selection pattern
7654 tSCC zUltrix_StdlibList[] =
7657 * Machine/OS name selection pattern
7659 #define apzUltrix_StdlibMachs (const char**)NULL
7662 * content selection pattern - do fix if pattern found
7664 tSCC zUltrix_StdlibSelect0[] =
7665 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
7667 #define ULTRIX_STDLIB_TEST_CT 1
7668 static tTestDesc aUltrix_StdlibTests[] = {
7669 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
7672 * Fix Command Arguments for Ultrix_Stdlib
7674 static const char* apzUltrix_StdlibPatch[] = { "sed",
7675 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
7676 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
7677 void\t\tunsetenv( const char *__name );\\\n\
7678 int\t\tputenv( char *__s );\n",
7679 "-e", "/^char.*getenv();.*$/a\\\n\
7681 void\tunsetenv();\\\n\
7685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7687 * Description of Ultrix_Strings fix
7689 tSCC zUltrix_StringsName[] =
7693 * File name selection pattern
7695 tSCC zUltrix_StringsList[] =
7698 * Machine/OS name selection pattern
7700 #define apzUltrix_StringsMachs (const char**)NULL
7703 * content selection pattern - do fix if pattern found
7705 tSCC zUltrix_StringsSelect0[] =
7706 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7708 #define ULTRIX_STRINGS_TEST_CT 1
7709 static tTestDesc aUltrix_StringsTests[] = {
7710 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
7713 * Fix Command Arguments for Ultrix_Strings
7715 static const char* apzUltrix_StringsPatch[] = {
7719 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7721 * Description of Ultrix_Strings2 fix
7723 tSCC zUltrix_Strings2Name[] =
7727 * File name selection pattern
7729 tSCC zUltrix_Strings2List[] =
7732 * Machine/OS name selection pattern
7734 #define apzUltrix_Strings2Machs (const char**)NULL
7737 * content selection pattern - do fix if pattern found
7739 tSCC zUltrix_Strings2Select0[] =
7740 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7742 #define ULTRIX_STRINGS2_TEST_CT 1
7743 static tTestDesc aUltrix_Strings2Tests[] = {
7744 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
7747 * Fix Command Arguments for Ultrix_Strings2
7749 static const char* apzUltrix_Strings2Patch[] = { "sed",
7750 "-e", "/^.*strncmp( const .* );.*/a\\\n\
7753 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
7754 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
7755 "-e", "/^.*strncmp();.*/a\\\n\
7757 \tstrcasecmp(),\\\n\
7758 \tstrncasecmp();\n",
7761 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7763 * Description of Ultrix_Sys_Time fix
7765 tSCC zUltrix_Sys_TimeName[] =
7769 * File name selection pattern
7771 tSCC zUltrix_Sys_TimeList[] =
7774 * Machine/OS name selection pattern
7776 #define apzUltrix_Sys_TimeMachs (const char**)NULL
7779 * content selection pattern - do fix if pattern found
7781 tSCC zUltrix_Sys_TimeSelect0[] =
7782 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
7784 #define ULTRIX_SYS_TIME_TEST_CT 1
7785 static tTestDesc aUltrix_Sys_TimeTests[] = {
7786 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
7789 * Fix Command Arguments for Ultrix_Sys_Time
7791 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
7792 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
7794 extern int adjtime(struct timeval *, struct timeval *);\\\n\
7795 extern int getitimer(int, struct itimerval *);\\\n\
7796 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
7797 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
7798 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
7799 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
7800 extern int stime(const time_t *);\\\n\
7801 extern int utimes(const char *, const struct timeval[2]);\\\n\
7802 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
7803 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
7804 extern\tint adjtime();\\\n\
7805 extern\tint getitimer();\\\n\
7806 extern\tint setitimer();\\\n\
7807 extern\tint gettimeofday();\\\n\
7808 extern\tint settimeofday();\\\n\
7809 extern\tvoid profil();\\\n\
7810 extern\tint stime();\\\n\
7811 extern\tint utimes();\\\n\
7812 extern\tint select();\n",
7815 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7817 * Description of Ultrix_Unistd fix
7819 tSCC zUltrix_UnistdName[] =
7823 * File name selection pattern
7825 tSCC zUltrix_UnistdList[] =
7828 * Machine/OS name selection pattern
7830 #define apzUltrix_UnistdMachs (const char**)NULL
7833 * content selection pattern - do fix if pattern found
7835 tSCC zUltrix_UnistdSelect0[] =
7836 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
7838 #define ULTRIX_UNISTD_TEST_CT 1
7839 static tTestDesc aUltrix_UnistdTests[] = {
7840 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
7843 * Fix Command Arguments for Ultrix_Unistd
7845 static const char* apzUltrix_UnistdPatch[] = { "sed",
7846 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
7847 \tgetpagesize(),\n",
7848 "-e", "/^[ \t]*fork(),.*$/a\\\n\
7852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7854 * Description of Unicosmk_Restrict fix
7856 tSCC zUnicosmk_RestrictName[] =
7857 "unicosmk_restrict";
7860 * File name selection pattern
7862 tSCC zUnicosmk_RestrictList[] =
7863 "stdio.h\0stdlib.h\0wchar.h\0";
7865 * Machine/OS name selection pattern
7867 tSCC* apzUnicosmk_RestrictMachs[] = {
7869 (const char*)NULL };
7872 * content selection pattern - do fix if pattern found
7874 tSCC zUnicosmk_RestrictSelect0[] =
7875 "(\\*[ \t]*)restrict([ \t]+)";
7877 #define UNICOSMK_RESTRICT_TEST_CT 1
7878 static tTestDesc aUnicosmk_RestrictTests[] = {
7879 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
7882 * Fix Command Arguments for Unicosmk_Restrict
7884 static const char* apzUnicosmk_RestrictPatch[] = {
7889 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7891 * Description of Uw7_Byteorder_Fix fix
7893 tSCC zUw7_Byteorder_FixName[] =
7894 "uw7_byteorder_fix";
7897 * File name selection pattern
7899 tSCC zUw7_Byteorder_FixList[] =
7902 * Machine/OS name selection pattern
7904 tSCC* apzUw7_Byteorder_FixMachs[] = {
7908 "i?86-*-solaris2.[0-4]",
7909 "powerpcle-*-solaris2.[0-4]",
7910 "sparc-*-solaris2.[0-4]",
7911 (const char*)NULL };
7914 * content selection pattern - do fix if pattern found
7916 tSCC zUw7_Byteorder_FixSelect0[] =
7920 * perform the 'test' shell command - do fix on success
7922 tSCC zUw7_Byteorder_FixTest0[] =
7923 "-f sys/byteorder.h";
7925 #define UW7_BYTEORDER_FIX_TEST_CT 2
7926 static tTestDesc aUw7_Byteorder_FixTests[] = {
7927 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
7928 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
7931 * Fix Command Arguments for Uw7_Byteorder_Fix
7933 static const char* apzUw7_Byteorder_FixPatch[] = {
7936 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
7939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7941 * Description of Va_I960_Macro fix
7943 tSCC zVa_I960_MacroName[] =
7947 * File name selection pattern
7949 tSCC zVa_I960_MacroList[] =
7950 "arch/i960/archI960.h\0";
7952 * Machine/OS name selection pattern
7954 #define apzVa_I960_MacroMachs (const char**)NULL
7957 * content selection pattern - do fix if pattern found
7959 tSCC zVa_I960_MacroSelect0[] =
7960 "__(vsiz|vali|vpad|alignof__)";
7962 #define VA_I960_MACRO_TEST_CT 1
7963 static tTestDesc aVa_I960_MacroTests[] = {
7964 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
7967 * Fix Command Arguments for Va_I960_Macro
7969 static const char* apzVa_I960_MacroPatch[] = {
7974 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7976 * Description of Void_Null fix
7978 tSCC zVoid_NullName[] =
7982 * File name selection pattern
7984 tSCC zVoid_NullList[] =
7985 "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";
7987 * Machine/OS name selection pattern
7989 #define apzVoid_NullMachs (const char**)NULL
7992 * content selection pattern - do fix if pattern found
7994 tSCC zVoid_NullSelect0[] =
7995 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
7998 * content bypass pattern - skip fix if pattern found
8000 tSCC zVoid_NullBypass0[] =
8003 #define VOID_NULL_TEST_CT 2
8004 static tTestDesc aVoid_NullTests[] = {
8005 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8006 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8009 * Fix Command Arguments for Void_Null
8011 static const char* apzVoid_NullPatch[] = {
8016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8018 * Description of Vxworks_Gcc_Problem fix
8020 tSCC zVxworks_Gcc_ProblemName[] =
8021 "vxworks_gcc_problem";
8024 * File name selection pattern
8026 tSCC zVxworks_Gcc_ProblemList[] =
8027 "types/vxTypesBase.h\0";
8029 * Machine/OS name selection pattern
8031 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8034 * content selection pattern - do fix if pattern found
8036 tSCC zVxworks_Gcc_ProblemSelect0[] =
8037 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8039 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8040 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8041 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8044 * Fix Command Arguments for Vxworks_Gcc_Problem
8046 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
8047 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8048 "-e", "/[ \t]size_t/i\\\n\
8049 #ifndef _GCC_SIZE_T\\\n\
8050 #define _GCC_SIZE_T\n",
8051 "-e", "/[ \t]size_t/a\\\n\
8053 "-e", "/[ \t]ptrdiff_t/i\\\n\
8054 #ifndef _GCC_PTRDIFF_T\\\n\
8055 #define _GCC_PTRDIFF_T\n",
8056 "-e", "/[ \t]ptrdiff_t/a\\\n\
8058 "-e", "/[ \t]wchar_t/i\\\n\
8059 #ifndef _GCC_WCHAR_T\\\n\
8060 #define _GCC_WCHAR_T\n",
8061 "-e", "/[ \t]wchar_t/a\\\n\
8065 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8067 * Description of Vxworks_Needs_Vxtypes fix
8069 tSCC zVxworks_Needs_VxtypesName[] =
8070 "vxworks_needs_vxtypes";
8073 * File name selection pattern
8075 tSCC zVxworks_Needs_VxtypesList[] =
8078 * Machine/OS name selection pattern
8080 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8083 * content selection pattern - do fix if pattern found
8085 tSCC zVxworks_Needs_VxtypesSelect0[] =
8086 "uint_t([ \t]+_clocks_per_sec)";
8088 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8089 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8090 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8093 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8095 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8102 * Description of Vxworks_Needs_Vxworks fix
8104 tSCC zVxworks_Needs_VxworksName[] =
8105 "vxworks_needs_vxworks";
8108 * File name selection pattern
8110 tSCC zVxworks_Needs_VxworksList[] =
8113 * Machine/OS name selection pattern
8115 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8118 * content selection pattern - do fix if pattern found
8120 tSCC zVxworks_Needs_VxworksSelect0[] =
8121 "#[ \t]define[ \t]+__INCstath";
8124 * perform the 'test' shell command - do fix on success
8126 tSCC zVxworks_Needs_VxworksTest0[] =
8127 " -r types/vxTypesOld.h";
8128 tSCC zVxworks_Needs_VxworksTest1[] =
8129 " -n \"`egrep '#include' $file`\"";
8130 tSCC zVxworks_Needs_VxworksTest2[] =
8131 " -n \"`egrep ULONG $file`\"";
8133 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8134 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8135 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8136 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8137 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8138 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8141 * Fix Command Arguments for Vxworks_Needs_Vxworks
8143 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
8144 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8145 #include <types/vxTypesOld.h>\n",
8148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8150 * Description of Vxworks_Time fix
8152 tSCC zVxworks_TimeName[] =
8156 * File name selection pattern
8158 tSCC zVxworks_TimeList[] =
8161 * Machine/OS name selection pattern
8163 #define apzVxworks_TimeMachs (const char**)NULL
8166 * content selection pattern - do fix if pattern found
8168 tSCC zVxworks_TimeSelect0[] =
8169 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8172 * perform the 'test' shell command - do fix on success
8174 tSCC zVxworks_TimeTest0[] =
8177 #define VXWORKS_TIME_TEST_CT 2
8178 static tTestDesc aVxworks_TimeTests[] = {
8179 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8180 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8183 * Fix Command Arguments for Vxworks_Time
8185 static const char* apzVxworks_TimePatch[] = {
8187 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8188 #ifdef __cplusplus\n\
8189 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8191 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
8193 #define __gcc_VOIDFUNCPTR_defined\n\
8195 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
8198 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8200 * Description of Windiss_Math1 fix
8202 tSCC zWindiss_Math1Name[] =
8206 * File name selection pattern
8208 tSCC zWindiss_Math1List[] =
8211 * Machine/OS name selection pattern
8213 tSCC* apzWindiss_Math1Machs[] = {
8215 (const char*)NULL };
8216 #define WINDISS_MATH1_TEST_CT 0
8217 #define aWindiss_Math1Tests (tTestDesc*)NULL
8220 * Fix Command Arguments for Windiss_Math1
8222 static const char* apzWindiss_Math1Patch[] = { "sed",
8223 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
8226 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8228 * Description of Windiss_Math2 fix
8230 tSCC zWindiss_Math2Name[] =
8234 * File name selection pattern
8236 tSCC zWindiss_Math2List[] =
8239 * Machine/OS name selection pattern
8241 tSCC* apzWindiss_Math2Machs[] = {
8243 (const char*)NULL };
8244 #define WINDISS_MATH2_TEST_CT 0
8245 #define aWindiss_Math2Tests (tTestDesc*)NULL
8248 * Fix Command Arguments for Windiss_Math2
8250 static const char* apzWindiss_Math2Patch[] = { "sed",
8251 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
8254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8256 * Description of Windiss_Valist fix
8258 tSCC zWindiss_ValistName[] =
8262 * File name selection pattern
8264 #define zWindiss_ValistList (char*)NULL
8266 * Machine/OS name selection pattern
8268 tSCC* apzWindiss_ValistMachs[] = {
8270 (const char*)NULL };
8273 * content selection pattern - do fix if pattern found
8275 tSCC zWindiss_ValistSelect0[] =
8276 "(#include.*)diab/va_list.h";
8278 #define WINDISS_VALIST_TEST_CT 1
8279 static tTestDesc aWindiss_ValistTests[] = {
8280 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
8283 * Fix Command Arguments for Windiss_Valist
8285 static const char* apzWindiss_ValistPatch[] = { "sed",
8286 "-e", "s|diab/va_list.h|stdarg.h|",
8289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8291 * Description of X11_Class fix
8293 tSCC zX11_ClassName[] =
8297 * File name selection pattern
8299 tSCC zX11_ClassList[] =
8302 * Machine/OS name selection pattern
8304 #define apzX11_ClassMachs (const char**)NULL
8307 * content selection pattern - do fix if pattern found
8309 tSCC zX11_ClassSelect0[] =
8310 "^([ \t]*char \\*)class;(.*)";
8313 * content bypass pattern - skip fix if pattern found
8315 tSCC zX11_ClassBypass0[] =
8318 #define X11_CLASS_TEST_CT 2
8319 static tTestDesc aX11_ClassTests[] = {
8320 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8321 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8324 * Fix Command Arguments for X11_Class
8326 static const char* apzX11_ClassPatch[] = {
8328 "#ifdef __cplusplus\n\
8335 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8337 * Description of X11_Class_Usage fix
8339 tSCC zX11_Class_UsageName[] =
8343 * File name selection pattern
8345 tSCC zX11_Class_UsageList[] =
8346 "Xm/BaseClassI.h\0";
8348 * Machine/OS name selection pattern
8350 #define apzX11_Class_UsageMachs (const char**)NULL
8353 * content selection pattern - do fix if pattern found
8355 tSCC zX11_Class_UsageSelect0[] =
8359 * content bypass pattern - skip fix if pattern found
8361 tSCC zX11_Class_UsageBypass0[] =
8364 #define X11_CLASS_USAGE_TEST_CT 2
8365 static tTestDesc aX11_Class_UsageTests[] = {
8366 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8367 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8370 * Fix Command Arguments for X11_Class_Usage
8372 static const char* apzX11_Class_UsagePatch[] = {
8377 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8379 * Description of X11_New fix
8381 tSCC zX11_NewName[] =
8385 * File name selection pattern
8387 tSCC zX11_NewList[] =
8390 * Machine/OS name selection pattern
8392 #define apzX11_NewMachs (const char**)NULL
8395 * content bypass pattern - skip fix if pattern found
8397 tSCC zX11_NewBypass0[] =
8400 #define X11_NEW_TEST_CT 1
8401 static tTestDesc aX11_NewTests[] = {
8402 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8405 * Fix Command Arguments for X11_New
8407 static const char* apzX11_NewPatch[] = { "sed",
8408 "-e", "/Widget\told, new;/i\\\n\
8409 #ifdef __cplusplus\\\n\
8410 \tWidget\told, c_new;\\\n\
8412 "-e", "/Widget\told, new;/a\\\n\
8414 "-e", "s/Widget new,/Widget c_new,/g",
8417 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8419 * Description of X11_Sprintf fix
8421 tSCC zX11_SprintfName[] =
8425 * File name selection pattern
8427 tSCC zX11_SprintfList[] =
8428 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
8430 * Machine/OS name selection pattern
8432 #define apzX11_SprintfMachs (const char**)NULL
8435 * content selection pattern - do fix if pattern found
8437 tSCC zX11_SprintfSelect0[] =
8438 "^extern char \\*\tsprintf\\(\\);$";
8440 #define X11_SPRINTF_TEST_CT 1
8441 static tTestDesc aX11_SprintfTests[] = {
8442 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8445 * Fix Command Arguments for X11_Sprintf
8447 static const char* apzX11_SprintfPatch[] = {
8449 "#ifndef __STDC__\n\
8451 #endif /* !defined __STDC__ */",
8455 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8459 #define REGEX_COUNT 250
8460 #define MACH_LIST_SIZE_LIMIT 261
8461 #define FIX_COUNT 208
8464 * Enumerate the fixes
8467 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8468 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8469 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8470 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8471 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8472 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8473 AAB_SUN_MEMCPY_FIXIDX,
8474 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
8475 AAB_ULTRIX_LIMITS_FIXIDX,
8476 AAB_ULTRIX_MEMORY_FIXIDX,
8477 AAB_ULTRIX_STRING_FIXIDX,
8479 AIX_SYSMACHINE_FIXIDX,
8481 AIX_SYSWAIT_2_FIXIDX,
8482 AIX_VOLATILE_FIXIDX,
8483 ALPHA___ASSERT_FIXIDX,
8484 ALPHA___EXTERN_PREFIX_FIXIDX,
8485 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
8486 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
8487 ALPHA_ASSERT_FIXIDX,
8488 ALPHA_BAD_LVAL_FIXIDX,
8489 ALPHA_GETOPT_FIXIDX,
8490 ALPHA_PARENS_FIXIDX,
8491 ALPHA_PTHREAD_FIXIDX,
8492 ALPHA_PTHREAD_GCC_FIXIDX,
8493 ALPHA_PTHREAD_INIT_FIXIDX,
8496 AVOID_BOOL_DEFINE_FIXIDX,
8497 AVOID_BOOL_TYPE_FIXIDX,
8498 AVOID_WCHAR_T_TYPE_FIXIDX,
8499 BAD_STRUCT_TERM_FIXIDX,
8501 BROKEN_ASSERT_STDIO_FIXIDX,
8502 BROKEN_ASSERT_STDLIB_FIXIDX,
8505 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8506 CTRL_QUOTES_DEF_FIXIDX,
8507 CTRL_QUOTES_USE_FIXIDX,
8509 DARWIN_GCC4_BREAKAGE_FIXIDX,
8510 DARWIN_PRIVATE_EXTERN_FIXIDX,
8511 DEC_INTERN_ASM_FIXIDX,
8512 DJGPP_WCHAR_H_FIXIDX,
8514 EXCEPTION_STRUCTURE_FIXIDX,
8515 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8516 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8517 GLIBC_C99_INLINE_1_FIXIDX,
8518 GLIBC_C99_INLINE_2_FIXIDX,
8519 GLIBC_C99_INLINE_3_FIXIDX,
8520 GLIBC_C99_INLINE_4_FIXIDX,
8521 GLIBC_MUTEX_INIT_FIXIDX,
8525 HPUX10_CPP_POW_INLINE_FIXIDX,
8526 HPUX11_CPP_POW_INLINE_FIXIDX,
8527 HPPA_HPUX_FP_MACROS_FIXIDX,
8528 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8529 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8530 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8532 HPUX11_FABSF_FIXIDX,
8533 HPUX11_SIZE_T_FIXIDX,
8534 HPUX11_SNPRINTF_FIXIDX,
8535 HPUX11_UINT32_C_FIXIDX,
8536 HPUX11_VSNPRINTF_FIXIDX,
8537 HPUX8_BOGUS_INLINES_FIXIDX,
8538 HPUX_CTYPE_MACROS_FIXIDX,
8540 HPUX_LONG_DOUBLE_FIXIDX,
8541 HPUX_SYSTIME_FIXIDX,
8542 HPUX_SPU_INFO_FIXIDX,
8543 HPUX11_EXTERN_SENDFILE_FIXIDX,
8544 HPUX11_EXTERN_SENDPATH_FIXIDX,
8545 HPUX_EXTERN_ERRNO_FIXIDX,
8546 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8547 HUGE_VAL_HEX_FIXIDX,
8548 HUGE_VALF_HEX_FIXIDX,
8549 HUGE_VALL_HEX_FIXIDX,
8550 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8551 IO_QUOTES_DEF_FIXIDX,
8552 IO_QUOTES_USE_FIXIDX,
8553 IP_MISSING_SEMI_FIXIDX,
8554 IRIX___RESTRICT_FIXIDX,
8555 IRIX___GENERIC1_FIXIDX,
8556 IRIX___GENERIC2_FIXIDX,
8557 IRIX_ASM_APOSTROPHE_FIXIDX,
8558 IRIX_LIMITS_CONST_FIXIDX,
8559 IRIX_SOCKLEN_T_FIXIDX,
8560 IRIX_STDINT_C99_FIXIDX,
8561 IRIX_STDIO_VA_LIST_FIXIDX,
8562 IRIX_WCSFTIME_FIXIDX,
8564 ISC_OMITS_WITH_STDC_FIXIDX,
8565 KANDR_CONCAT_FIXIDX,
8566 LIBC1_G_VA_LIST_FIXIDX,
8567 LIBC1_IFDEFD_MEMX_FIXIDX,
8568 LINUX_IA64_UCONTEXT_FIXIDX,
8569 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8570 LYNXOS_MISSING_PUTENV_FIXIDX,
8571 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8572 MACHINE_NAME_FIXIDX,
8573 MATH_EXCEPTION_FIXIDX,
8574 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8575 NESTED_AUTH_DES_FIXIDX,
8576 NESTED_MOTOROLA_FIXIDX,
8577 NESTED_SYS_LIMITS_FIXIDX,
8578 NETBSD_C99_INLINE_1_FIXIDX,
8579 NETBSD_C99_INLINE_2_FIXIDX,
8580 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8581 NEXT_MATH_PREFIX_FIXIDX,
8582 NEXT_TEMPLATE_FIXIDX,
8583 NEXT_VOLITILE_FIXIDX,
8584 NEXT_WAIT_UNION_FIXIDX,
8585 NODEENT_SYNTAX_FIXIDX,
8586 OBSTACK_LVALUE_CAST_FIXIDX,
8587 OSF_NAMESPACE_A_FIXIDX,
8588 OSF_NAMESPACE_C_FIXIDX,
8589 PTHREAD_PAGE_SIZE_FIXIDX,
8590 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8591 READ_RET_TYPE_FIXIDX,
8592 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8593 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8594 RS6000_DOUBLE_FIXIDX,
8595 RS6000_FCHMOD_FIXIDX,
8596 RS6000_PARAM_FIXIDX,
8599 SCO_STATIC_FUNC_FIXIDX,
8601 SOLARIS_MATH_1_FIXIDX,
8602 SOLARIS_MATH_2_FIXIDX,
8603 SOLARIS_MATH_3_FIXIDX,
8604 SOLARIS_MATH_4_FIXIDX,
8605 SOLARIS_MATH_8_FIXIDX,
8606 SOLARIS_MATH_9_FIXIDX,
8607 SOLARIS_MUTEX_INIT_1_FIXIDX,
8608 SOLARIS_MUTEX_INIT_2_FIXIDX,
8609 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8610 SOLARIS_ONCE_INIT_1_FIXIDX,
8611 SOLARIS_ONCE_INIT_2_FIXIDX,
8612 SOLARIS_SOCKET_FIXIDX,
8613 SOLARIS_STDIO_TAG_FIXIDX,
8614 SOLARIS_UNISTD_FIXIDX,
8615 SOLARIS_WIDEC_FIXIDX,
8617 STDIO_STDARG_H_FIXIDX,
8618 STDIO_VA_LIST_FIXIDX,
8619 STDIO_VA_LIST_CLIENTS_FIXIDX,
8620 STRICT_ANSI_NOT_FIXIDX,
8621 STRICT_ANSI_NOT_CTD_FIXIDX,
8622 STRICT_ANSI_ONLY_FIXIDX,
8624 STRUCT_SOCKADDR_FIXIDX,
8625 SUN_AUTH_PROTO_FIXIDX,
8626 SUN_BOGUS_IFDEF_FIXIDX,
8627 SUN_CATMACRO_FIXIDX,
8629 SUN_RUSERS_SEMI_FIXIDX,
8631 SUNOS_STRLEN_FIXIDX,
8632 SVR4_DISABLE_OPT_FIXIDX,
8636 SVR4_SIGHANDLER_TYPE_FIXIDX,
8637 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8638 SYSV68_STRING_FIXIDX,
8639 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8640 THREAD_KEYWORD_FIXIDX,
8641 TINFO_CPLUSPLUS_FIXIDX,
8642 ULTRIX_ATEXIT_PARAM_FIXIDX,
8643 ULTRIX_ATOF_PARAM_FIXIDX,
8644 ULTRIX_CONST_FIXIDX,
8645 ULTRIX_CONST2_FIXIDX,
8646 ULTRIX_CONST3_FIXIDX,
8647 ULTRIX_FIX_FIXPROTO_FIXIDX,
8648 ULTRIX_IFDEF_FIXIDX,
8649 ULTRIX_LOCALE_FIXIDX,
8650 ULTRIX_MATH_IFDEF_FIXIDX,
8651 ULTRIX_NESTED_IOCTL_FIXIDX,
8652 ULTRIX_NESTED_SVC_FIXIDX,
8654 ULTRIX_STATIC_FIXIDX,
8655 ULTRIX_STDLIB_FIXIDX,
8656 ULTRIX_STRINGS_FIXIDX,
8657 ULTRIX_STRINGS2_FIXIDX,
8658 ULTRIX_SYS_TIME_FIXIDX,
8659 ULTRIX_UNISTD_FIXIDX,
8660 UNICOSMK_RESTRICT_FIXIDX,
8661 UW7_BYTEORDER_FIX_FIXIDX,
8662 VA_I960_MACRO_FIXIDX,
8664 VXWORKS_GCC_PROBLEM_FIXIDX,
8665 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8666 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8667 VXWORKS_TIME_FIXIDX,
8668 WINDISS_MATH1_FIXIDX,
8669 WINDISS_MATH2_FIXIDX,
8670 WINDISS_VALIST_FIXIDX,
8672 X11_CLASS_USAGE_FIXIDX,
8677 tFixDesc fixDescList[ FIX_COUNT ] = {
8678 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8679 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8680 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8681 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8683 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8684 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8685 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8686 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8688 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8689 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8690 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8691 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8693 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8694 apzAab_Fd_Zero_Gnu_Types_HMachs,
8695 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8696 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8698 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8699 apzAab_Fd_Zero_Selectbits_HMachs,
8700 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8701 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8703 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8704 apzAab_Solaris_Sys_Varargs_HMachs,
8705 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8706 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8708 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8709 apzAab_Sun_MemcpyMachs,
8710 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8711 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8713 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
8714 apzAab_Ultrix_Ansi_CompatMachs,
8715 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8716 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
8718 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
8719 apzAab_Ultrix_LimitsMachs,
8720 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8721 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
8723 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
8724 apzAab_Ultrix_MemoryMachs,
8725 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8726 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
8728 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
8729 apzAab_Ultrix_StringMachs,
8730 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8731 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
8733 { zAix_PthreadName, zAix_PthreadList,
8734 apzAix_PthreadMachs,
8735 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8736 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8738 { zAix_SysmachineName, zAix_SysmachineList,
8739 apzAix_SysmachineMachs,
8740 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8741 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8743 { zAix_SyswaitName, zAix_SyswaitList,
8744 apzAix_SyswaitMachs,
8745 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8746 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
8748 { zAix_Syswait_2Name, zAix_Syswait_2List,
8749 apzAix_Syswait_2Machs,
8750 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8751 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8753 { zAix_VolatileName, zAix_VolatileList,
8754 apzAix_VolatileMachs,
8755 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8756 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8758 { zAlpha___AssertName, zAlpha___AssertList,
8759 apzAlpha___AssertMachs,
8760 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8761 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8763 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8764 apzAlpha___Extern_PrefixMachs,
8765 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8766 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8768 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8769 apzAlpha___Extern_Prefix_StandardsMachs,
8770 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8771 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8773 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8774 apzAlpha___Extern_Prefix_Sys_StatMachs,
8775 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8776 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8778 { zAlpha_AssertName, zAlpha_AssertList,
8779 apzAlpha_AssertMachs,
8780 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8781 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8783 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8784 apzAlpha_Bad_LvalMachs,
8785 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8786 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8788 { zAlpha_GetoptName, zAlpha_GetoptList,
8789 apzAlpha_GetoptMachs,
8790 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8791 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8793 { zAlpha_ParensName, zAlpha_ParensList,
8794 apzAlpha_ParensMachs,
8795 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8796 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8798 { zAlpha_PthreadName, zAlpha_PthreadList,
8799 apzAlpha_PthreadMachs,
8800 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8801 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8803 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8804 apzAlpha_Pthread_GccMachs,
8805 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8806 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8808 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8809 apzAlpha_Pthread_InitMachs,
8810 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8811 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8813 { zAlpha_SbrkName, zAlpha_SbrkList,
8815 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8816 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8818 { zAlpha_WcharName, zAlpha_WcharList,
8819 apzAlpha_WcharMachs,
8820 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8821 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8823 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8824 apzAvoid_Bool_DefineMachs,
8825 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8826 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8828 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8829 apzAvoid_Bool_TypeMachs,
8830 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8831 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
8833 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
8834 apzAvoid_Wchar_T_TypeMachs,
8835 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8836 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
8838 { zBad_Struct_TermName, zBad_Struct_TermList,
8839 apzBad_Struct_TermMachs,
8840 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8841 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
8843 { zBadquoteName, zBadquoteList,
8845 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8846 aBadquoteTests, apzBadquotePatch, 0 },
8848 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
8849 apzBroken_Assert_StdioMachs,
8850 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8851 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
8853 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
8854 apzBroken_Assert_StdlibMachs,
8855 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8856 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
8858 { zBroken_CabsName, zBroken_CabsList,
8859 apzBroken_CabsMachs,
8860 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
8861 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
8863 { zBroken_NanName, zBroken_NanList,
8865 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8866 aBroken_NanTests, apzBroken_NanPatch, 0 },
8868 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
8869 apzBsd_Stdio_Attrs_ConflictMachs,
8870 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8871 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
8873 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
8874 apzCtrl_Quotes_DefMachs,
8875 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8876 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
8878 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
8879 apzCtrl_Quotes_UseMachs,
8880 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8881 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
8883 { zCxx_UnreadyName, zCxx_UnreadyList,
8884 apzCxx_UnreadyMachs,
8885 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8886 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
8888 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
8889 apzDarwin_Gcc4_BreakageMachs,
8890 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8891 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
8893 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
8894 apzDarwin_Private_ExternMachs,
8895 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8896 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
8898 { zDec_Intern_AsmName, zDec_Intern_AsmList,
8899 apzDec_Intern_AsmMachs,
8900 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
8901 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
8903 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
8904 apzDjgpp_Wchar_HMachs,
8905 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8906 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
8908 { zEcd_CursorName, zEcd_CursorList,
8910 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8911 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
8913 { zException_StructureName, zException_StructureList,
8914 apzException_StructureMachs,
8915 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8916 aException_StructureTests, apzException_StructurePatch, 0 },
8918 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
8919 apzFreebsd_Gcc3_BreakageMachs,
8920 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8921 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
8923 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
8924 apzFreebsd_Gcc4_BreakageMachs,
8925 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8926 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
8928 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
8929 apzGlibc_C99_Inline_1Machs,
8930 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8931 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
8933 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
8934 apzGlibc_C99_Inline_2Machs,
8935 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
8936 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
8938 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
8939 apzGlibc_C99_Inline_3Machs,
8940 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8941 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
8943 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
8944 apzGlibc_C99_Inline_4Machs,
8945 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8946 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
8948 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
8949 apzGlibc_Mutex_InitMachs,
8950 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
8951 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
8953 { zGnu_TypesName, zGnu_TypesList,
8955 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8956 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
8958 { zHp_InlineName, zHp_InlineList,
8960 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8961 aHp_InlineTests, apzHp_InlinePatch, 0 },
8963 { zHp_SysfileName, zHp_SysfileList,
8965 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8966 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
8968 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
8969 apzHpux10_Cpp_Pow_InlineMachs,
8970 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8971 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
8973 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
8974 apzHpux11_Cpp_Pow_InlineMachs,
8975 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8976 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
8978 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
8979 apzHppa_Hpux_Fp_MacrosMachs,
8980 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8981 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
8983 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
8984 apzHpux10_Ctype_Declarations1Machs,
8985 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8986 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
8988 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
8989 apzHpux10_Ctype_Declarations2Machs,
8990 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8991 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
8993 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
8994 apzHpux10_Stdio_DeclarationsMachs,
8995 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8996 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
8998 { zHpux11_AbsName, zHpux11_AbsList,
9000 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9001 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
9003 { zHpux11_FabsfName, zHpux11_FabsfList,
9004 apzHpux11_FabsfMachs,
9005 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9006 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
9008 { zHpux11_Size_TName, zHpux11_Size_TList,
9009 apzHpux11_Size_TMachs,
9010 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9011 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
9013 { zHpux11_SnprintfName, zHpux11_SnprintfList,
9014 apzHpux11_SnprintfMachs,
9015 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9016 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
9018 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
9019 apzHpux11_Uint32_CMachs,
9020 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9021 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
9023 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
9024 apzHpux11_VsnprintfMachs,
9025 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9026 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
9028 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
9029 apzHpux8_Bogus_InlinesMachs,
9030 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
9031 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
9033 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
9034 apzHpux_Ctype_MacrosMachs,
9035 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9036 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
9038 { zHpux_HtonlName, zHpux_HtonlList,
9040 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9041 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
9043 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
9044 apzHpux_Long_DoubleMachs,
9045 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
9046 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
9048 { zHpux_SystimeName, zHpux_SystimeList,
9049 apzHpux_SystimeMachs,
9050 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9051 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
9053 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
9054 apzHpux_Spu_InfoMachs,
9055 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9056 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
9058 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
9059 apzHpux11_Extern_SendfileMachs,
9060 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9061 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
9063 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
9064 apzHpux11_Extern_SendpathMachs,
9065 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9066 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
9068 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
9069 apzHpux_Extern_ErrnoMachs,
9070 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9071 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
9073 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
9074 apzHpux_Pthread_InitializersMachs,
9075 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
9076 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
9078 { zHuge_Val_HexName, zHuge_Val_HexList,
9079 apzHuge_Val_HexMachs,
9080 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9081 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
9083 { zHuge_Valf_HexName, zHuge_Valf_HexList,
9084 apzHuge_Valf_HexMachs,
9085 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9086 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
9088 { zHuge_Vall_HexName, zHuge_Vall_HexList,
9089 apzHuge_Vall_HexMachs,
9090 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9091 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
9093 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
9094 apzInt_Abort_Free_And_ExitMachs,
9095 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9096 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
9098 { zIo_Quotes_DefName, zIo_Quotes_DefList,
9099 apzIo_Quotes_DefMachs,
9100 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9101 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
9103 { zIo_Quotes_UseName, zIo_Quotes_UseList,
9104 apzIo_Quotes_UseMachs,
9105 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9106 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
9108 { zIp_Missing_SemiName, zIp_Missing_SemiList,
9109 apzIp_Missing_SemiMachs,
9110 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
9111 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
9113 { zIrix___RestrictName, zIrix___RestrictList,
9114 apzIrix___RestrictMachs,
9115 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9116 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
9118 { zIrix___Generic1Name, zIrix___Generic1List,
9119 apzIrix___Generic1Machs,
9120 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9121 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
9123 { zIrix___Generic2Name, zIrix___Generic2List,
9124 apzIrix___Generic2Machs,
9125 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9126 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
9128 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
9129 apzIrix_Asm_ApostropheMachs,
9130 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9131 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
9133 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
9134 apzIrix_Limits_ConstMachs,
9135 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9136 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
9138 { zIrix_Socklen_TName, zIrix_Socklen_TList,
9139 apzIrix_Socklen_TMachs,
9140 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9141 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
9143 { zIrix_Stdint_C99Name, zIrix_Stdint_C99List,
9144 apzIrix_Stdint_C99Machs,
9145 IRIX_STDINT_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9146 aIrix_Stdint_C99Tests, apzIrix_Stdint_C99Patch, 0 },
9148 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
9149 apzIrix_Stdio_Va_ListMachs,
9150 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9151 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
9153 { zIrix_WcsftimeName, zIrix_WcsftimeList,
9154 apzIrix_WcsftimeMachs,
9155 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9156 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
9158 { zIsc_FmodName, zIsc_FmodList,
9160 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9161 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
9163 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
9164 apzIsc_Omits_With_StdcMachs,
9165 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9166 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
9168 { zKandr_ConcatName, zKandr_ConcatList,
9169 apzKandr_ConcatMachs,
9170 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9171 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
9173 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
9174 apzLibc1_G_Va_ListMachs,
9175 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9176 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
9178 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
9179 apzLibc1_Ifdefd_MemxMachs,
9180 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9181 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
9183 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
9184 apzLinux_Ia64_UcontextMachs,
9185 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9186 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
9188 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
9189 apzLynxos_No_Warning_In_Sys_Time_HMachs,
9190 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9191 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
9193 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
9194 apzLynxos_Missing_PutenvMachs,
9195 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9196 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
9198 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
9199 apzMachine_Ansi_H_Va_ListMachs,
9200 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9201 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
9203 { zMachine_NameName, zMachine_NameList,
9204 apzMachine_NameMachs,
9205 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9206 aMachine_NameTests, apzMachine_NamePatch, 0 },
9208 { zMath_ExceptionName, zMath_ExceptionList,
9209 apzMath_ExceptionMachs,
9210 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9211 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
9213 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
9214 apzMath_Huge_Val_From_Dbl_MaxMachs,
9215 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
9216 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
9218 { zNested_Auth_DesName, zNested_Auth_DesList,
9219 apzNested_Auth_DesMachs,
9220 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9221 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9223 { zNested_MotorolaName, zNested_MotorolaList,
9224 apzNested_MotorolaMachs,
9225 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
9226 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
9228 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
9229 apzNested_Sys_LimitsMachs,
9230 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
9231 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
9233 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
9234 apzNetbsd_C99_Inline_1Machs,
9235 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9236 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
9238 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
9239 apzNetbsd_C99_Inline_2Machs,
9240 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9241 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
9243 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9244 apzNetbsd_Extra_SemicolonMachs,
9245 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9246 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9248 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9249 apzNext_Math_PrefixMachs,
9250 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9251 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9253 { zNext_TemplateName, zNext_TemplateList,
9254 apzNext_TemplateMachs,
9255 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9256 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9258 { zNext_VolitileName, zNext_VolitileList,
9259 apzNext_VolitileMachs,
9260 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9261 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9263 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9264 apzNext_Wait_UnionMachs,
9265 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9266 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9268 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9269 apzNodeent_SyntaxMachs,
9270 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9271 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9273 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9274 apzObstack_Lvalue_CastMachs,
9275 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9276 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9278 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9279 apzOsf_Namespace_AMachs,
9280 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9281 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9283 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9284 apzOsf_Namespace_CMachs,
9285 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9286 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9288 { zPthread_Page_SizeName, zPthread_Page_SizeList,
9289 apzPthread_Page_SizeMachs,
9290 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9291 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
9293 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9294 apzPthread_Incomplete_Struct_ArgumentMachs,
9295 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9296 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9298 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9299 apzRead_Ret_TypeMachs,
9300 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9301 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9303 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9304 apzRpc_Xdr_Lvalue_Cast_AMachs,
9305 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9306 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9308 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9309 apzRpc_Xdr_Lvalue_Cast_BMachs,
9310 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9311 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9313 { zRs6000_DoubleName, zRs6000_DoubleList,
9314 apzRs6000_DoubleMachs,
9315 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9316 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9318 { zRs6000_FchmodName, zRs6000_FchmodList,
9319 apzRs6000_FchmodMachs,
9320 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9321 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9323 { zRs6000_ParamName, zRs6000_ParamList,
9324 apzRs6000_ParamMachs,
9325 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9326 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9328 { zSco_MathName, zSco_MathList,
9330 SCO_MATH_TEST_CT, FD_MACH_ONLY,
9331 aSco_MathTests, apzSco_MathPatch, 0 },
9333 { zSco_RegsetName, zSco_RegsetList,
9335 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9336 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
9338 { zSco_Static_FuncName, zSco_Static_FuncList,
9339 apzSco_Static_FuncMachs,
9340 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
9341 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
9343 { zSco_UtimeName, zSco_UtimeList,
9345 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9346 aSco_UtimeTests, apzSco_UtimePatch, 0 },
9348 { zSolaris_Math_1Name, zSolaris_Math_1List,
9349 apzSolaris_Math_1Machs,
9350 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9351 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9353 { zSolaris_Math_2Name, zSolaris_Math_2List,
9354 apzSolaris_Math_2Machs,
9355 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9356 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9358 { zSolaris_Math_3Name, zSolaris_Math_3List,
9359 apzSolaris_Math_3Machs,
9360 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9361 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9363 { zSolaris_Math_4Name, zSolaris_Math_4List,
9364 apzSolaris_Math_4Machs,
9365 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9366 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9368 { zSolaris_Math_8Name, zSolaris_Math_8List,
9369 apzSolaris_Math_8Machs,
9370 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9371 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9373 { zSolaris_Math_9Name, zSolaris_Math_9List,
9374 apzSolaris_Math_9Machs,
9375 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9376 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9378 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
9379 apzSolaris_Mutex_Init_1Machs,
9380 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
9381 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
9383 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9384 apzSolaris_Mutex_Init_2Machs,
9385 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9386 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9388 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9389 apzSolaris_Rwlock_Init_1Machs,
9390 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9391 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9393 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9394 apzSolaris_Once_Init_1Machs,
9395 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9396 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9398 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9399 apzSolaris_Once_Init_2Machs,
9400 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9401 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9403 { zSolaris_SocketName, zSolaris_SocketList,
9404 apzSolaris_SocketMachs,
9405 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9406 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
9408 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9409 apzSolaris_Stdio_TagMachs,
9410 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9411 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9413 { zSolaris_UnistdName, zSolaris_UnistdList,
9414 apzSolaris_UnistdMachs,
9415 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9416 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
9418 { zSolaris_WidecName, zSolaris_WidecList,
9419 apzSolaris_WidecMachs,
9420 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9421 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
9423 { zStatsswtchName, zStatsswtchList,
9425 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9426 aStatsswtchTests, apzStatsswtchPatch, 0 },
9428 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9429 apzStdio_Stdarg_HMachs,
9430 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9431 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9433 { zStdio_Va_ListName, zStdio_Va_ListList,
9434 apzStdio_Va_ListMachs,
9435 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9436 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9438 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9439 apzStdio_Va_List_ClientsMachs,
9440 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9441 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9443 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9444 apzStrict_Ansi_NotMachs,
9445 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9446 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9448 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9449 apzStrict_Ansi_Not_CtdMachs,
9450 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9451 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9453 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9454 apzStrict_Ansi_OnlyMachs,
9455 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9456 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9458 { zStruct_FileName, zStruct_FileList,
9459 apzStruct_FileMachs,
9460 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9461 aStruct_FileTests, apzStruct_FilePatch, 0 },
9463 { zStruct_SockaddrName, zStruct_SockaddrList,
9464 apzStruct_SockaddrMachs,
9465 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9466 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9468 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9469 apzSun_Auth_ProtoMachs,
9470 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9471 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9473 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9474 apzSun_Bogus_IfdefMachs,
9475 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9476 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9478 { zSun_CatmacroName, zSun_CatmacroList,
9479 apzSun_CatmacroMachs,
9480 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9481 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9483 { zSun_MallocName, zSun_MallocList,
9485 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9486 aSun_MallocTests, apzSun_MallocPatch, 0 },
9488 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9489 apzSun_Rusers_SemiMachs,
9490 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9491 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9493 { zSun_SignalName, zSun_SignalList,
9495 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9496 aSun_SignalTests, apzSun_SignalPatch, 0 },
9498 { zSunos_StrlenName, zSunos_StrlenList,
9499 apzSunos_StrlenMachs,
9500 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9501 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9503 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9504 apzSvr4_Disable_OptMachs,
9505 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9506 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9508 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9509 apzSvr4_GetcwdMachs,
9510 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9511 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9513 { zSvr4_KrnlName, zSvr4_KrnlList,
9515 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9516 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
9518 { zSvr4_ProfilName, zSvr4_ProfilList,
9519 apzSvr4_ProfilMachs,
9520 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9521 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9523 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9524 apzSvr4_Sighandler_TypeMachs,
9525 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9526 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9528 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9529 apzSvr4_Undeclared_GetrngeMachs,
9530 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9531 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9533 { zSysv68_StringName, zSysv68_StringList,
9534 apzSysv68_StringMachs,
9535 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9536 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9538 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9539 apzSysz_Stdlib_For_SunMachs,
9540 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9541 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9543 { zThread_KeywordName, zThread_KeywordList,
9544 apzThread_KeywordMachs,
9545 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9546 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9548 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9549 apzTinfo_CplusplusMachs,
9550 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9551 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9553 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
9554 apzUltrix_Atexit_ParamMachs,
9555 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9556 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
9558 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
9559 apzUltrix_Atof_ParamMachs,
9560 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9561 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
9563 { zUltrix_ConstName, zUltrix_ConstList,
9564 apzUltrix_ConstMachs,
9565 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9566 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9568 { zUltrix_Const2Name, zUltrix_Const2List,
9569 apzUltrix_Const2Machs,
9570 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9571 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9573 { zUltrix_Const3Name, zUltrix_Const3List,
9574 apzUltrix_Const3Machs,
9575 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9576 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
9578 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
9579 apzUltrix_Fix_FixprotoMachs,
9580 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9581 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
9583 { zUltrix_IfdefName, zUltrix_IfdefList,
9584 apzUltrix_IfdefMachs,
9585 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9586 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
9588 { zUltrix_LocaleName, zUltrix_LocaleList,
9589 apzUltrix_LocaleMachs,
9590 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9591 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
9593 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
9594 apzUltrix_Math_IfdefMachs,
9595 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9596 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
9598 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
9599 apzUltrix_Nested_IoctlMachs,
9600 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
9601 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
9603 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
9604 apzUltrix_Nested_SvcMachs,
9605 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
9606 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
9608 { zUltrix_StatName, zUltrix_StatList,
9609 apzUltrix_StatMachs,
9610 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
9611 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
9613 { zUltrix_StaticName, zUltrix_StaticList,
9614 apzUltrix_StaticMachs,
9615 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
9616 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
9618 { zUltrix_StdlibName, zUltrix_StdlibList,
9619 apzUltrix_StdlibMachs,
9620 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
9621 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
9623 { zUltrix_StringsName, zUltrix_StringsList,
9624 apzUltrix_StringsMachs,
9625 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9626 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
9628 { zUltrix_Strings2Name, zUltrix_Strings2List,
9629 apzUltrix_Strings2Machs,
9630 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
9631 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
9633 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
9634 apzUltrix_Sys_TimeMachs,
9635 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
9636 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
9638 { zUltrix_UnistdName, zUltrix_UnistdList,
9639 apzUltrix_UnistdMachs,
9640 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
9641 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
9643 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
9644 apzUnicosmk_RestrictMachs,
9645 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9646 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
9648 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
9649 apzUw7_Byteorder_FixMachs,
9650 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9651 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
9653 { zVa_I960_MacroName, zVa_I960_MacroList,
9654 apzVa_I960_MacroMachs,
9655 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9656 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9658 { zVoid_NullName, zVoid_NullList,
9660 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9661 aVoid_NullTests, apzVoid_NullPatch, 0 },
9663 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
9664 apzVxworks_Gcc_ProblemMachs,
9665 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
9666 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
9668 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
9669 apzVxworks_Needs_VxtypesMachs,
9670 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9671 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
9673 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
9674 apzVxworks_Needs_VxworksMachs,
9675 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
9676 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
9678 { zVxworks_TimeName, zVxworks_TimeList,
9679 apzVxworks_TimeMachs,
9680 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9681 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
9683 { zWindiss_Math1Name, zWindiss_Math1List,
9684 apzWindiss_Math1Machs,
9685 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
9686 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
9688 { zWindiss_Math2Name, zWindiss_Math2List,
9689 apzWindiss_Math2Machs,
9690 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
9691 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
9693 { zWindiss_ValistName, zWindiss_ValistList,
9694 apzWindiss_ValistMachs,
9695 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
9696 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
9698 { zX11_ClassName, zX11_ClassList,
9700 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9701 aX11_ClassTests, apzX11_ClassPatch, 0 },
9703 { zX11_Class_UsageName, zX11_Class_UsageList,
9704 apzX11_Class_UsageMachs,
9705 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9706 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9708 { zX11_NewName, zX11_NewList,
9710 X11_NEW_TEST_CT, FD_MACH_ONLY,
9711 aX11_NewTests, apzX11_NewPatch, 0 },
9713 { zX11_SprintfName, zX11_SprintfList,
9714 apzX11_SprintfMachs,
9715 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9716 aX11_SprintfTests, apzX11_SprintfPatch, 0 }