1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Monday November 6, 2006 at 11:04:01 AM CET
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT CVS-MERGE THIS FILE, EITHER Mon Nov 6 11:04:01 CET 2006
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 207 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|";
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|";
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|sys/mount.h|";
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|stdlib.h|";
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|curses_colr/curses.h|term.h|tinfo.h|";
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|curses_colr/curses.h|term.h|tinfo.h|";
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|";
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|architecture/ppc/math.h|architecture/i386/math.h|";
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[] = {
1681 "^extern[ \t]+double[ \t]+cabs[ \t]*\\([^\\)]*\\);",
1684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1686 * Description of Broken_Nan fix
1688 tSCC zBroken_NanName[] =
1692 * File name selection pattern
1694 tSCC zBroken_NanList[] =
1695 "|architecture/ppc/math.h|architecture/i386/math.h|";
1697 * Machine/OS name selection pattern
1699 #define apzBroken_NanMachs (const char**)NULL
1702 * content selection pattern - do fix if pattern found
1704 tSCC zBroken_NanSelect0[] =
1705 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1708 * content bypass pattern - skip fix if pattern found
1710 tSCC zBroken_NanBypass0[] =
1713 #define BROKEN_NAN_TEST_CT 2
1714 static tTestDesc aBroken_NanTests[] = {
1715 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1716 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1719 * Fix Command Arguments for Broken_Nan
1721 static const char* apzBroken_NanPatch[] = {
1726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1728 * Description of Bsd_Stdio_Attrs_Conflict fix
1730 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1731 "bsd_stdio_attrs_conflict";
1734 * File name selection pattern
1736 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1739 * Machine/OS name selection pattern
1741 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1744 (const char*)NULL };
1747 * content selection pattern - do fix if pattern found
1749 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1750 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1752 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1753 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1754 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1757 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1759 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1761 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1762 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1763 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1768 * Description of Ctrl_Quotes_Def fix
1770 tSCC zCtrl_Quotes_DefName[] =
1774 * File name selection pattern
1776 #define zCtrl_Quotes_DefList (char*)NULL
1778 * Machine/OS name selection pattern
1780 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1783 * content selection pattern - do fix if pattern found
1785 tSCC zCtrl_Quotes_DefSelect0[] =
1786 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1788 #define CTRL_QUOTES_DEF_TEST_CT 1
1789 static tTestDesc aCtrl_Quotes_DefTests[] = {
1790 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1793 * Fix Command Arguments for Ctrl_Quotes_Def
1795 static const char* apzCtrl_Quotes_DefPatch[] = {
1800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1802 * Description of Ctrl_Quotes_Use fix
1804 tSCC zCtrl_Quotes_UseName[] =
1808 * File name selection pattern
1810 #define zCtrl_Quotes_UseList (char*)NULL
1812 * Machine/OS name selection pattern
1814 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1817 * content selection pattern - do fix if pattern found
1819 tSCC zCtrl_Quotes_UseSelect0[] =
1820 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1822 #define CTRL_QUOTES_USE_TEST_CT 1
1823 static tTestDesc aCtrl_Quotes_UseTests[] = {
1824 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1827 * Fix Command Arguments for Ctrl_Quotes_Use
1829 static const char* apzCtrl_Quotes_UsePatch[] = {
1834 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1836 * Description of Cxx_Unready fix
1838 tSCC zCxx_UnreadyName[] =
1842 * File name selection pattern
1844 tSCC zCxx_UnreadyList[] =
1845 "|sys/mman.h|rpc/types.h|";
1847 * Machine/OS name selection pattern
1849 #define apzCxx_UnreadyMachs (const char**)NULL
1852 * content selection pattern - do fix if pattern found
1854 tSCC zCxx_UnreadySelect0[] =
1858 * content bypass pattern - skip fix if pattern found
1860 tSCC zCxx_UnreadyBypass0[] =
1861 "\"C\"|__BEGIN_DECLS";
1863 #define CXX_UNREADY_TEST_CT 2
1864 static tTestDesc aCxx_UnreadyTests[] = {
1865 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1866 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1869 * Fix Command Arguments for Cxx_Unready
1871 static const char* apzCxx_UnreadyPatch[] = {
1873 "#ifdef __cplusplus\n\
1876 "#ifdef __cplusplus\n\
1881 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1883 * Description of Darwin_Gcc4_Breakage fix
1885 tSCC zDarwin_Gcc4_BreakageName[] =
1886 "darwin_gcc4_breakage";
1889 * File name selection pattern
1891 tSCC zDarwin_Gcc4_BreakageList[] =
1892 "|AvailabilityMacros.h|";
1894 * Machine/OS name selection pattern
1896 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1898 (const char*)NULL };
1901 * content selection pattern - do fix if pattern found
1903 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1904 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1906 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1907 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1908 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1911 * Fix Command Arguments for Darwin_Gcc4_Breakage
1913 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1915 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1920 * Description of Darwin_Private_Extern fix
1922 tSCC zDarwin_Private_ExternName[] =
1923 "darwin_private_extern";
1926 * File name selection pattern
1928 tSCC zDarwin_Private_ExternList[] =
1931 * Machine/OS name selection pattern
1933 tSCC* apzDarwin_Private_ExternMachs[] = {
1935 (const char*)NULL };
1938 * content selection pattern - do fix if pattern found
1940 tSCC zDarwin_Private_ExternSelect0[] =
1941 "__private_extern__ [a-z_]+ _dyld_";
1943 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1944 static tTestDesc aDarwin_Private_ExternTests[] = {
1945 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1948 * Fix Command Arguments for Darwin_Private_Extern
1950 static const char* apzDarwin_Private_ExternPatch[] = {
1953 "__private_extern__",
1956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1958 * Description of Dec_Intern_Asm fix
1960 tSCC zDec_Intern_AsmName[] =
1964 * File name selection pattern
1966 tSCC zDec_Intern_AsmList[] =
1969 * Machine/OS name selection pattern
1971 #define apzDec_Intern_AsmMachs (const char**)NULL
1972 #define DEC_INTERN_ASM_TEST_CT 0
1973 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1976 * Fix Command Arguments for Dec_Intern_Asm
1978 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1979 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1981 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1985 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1987 * Description of Djgpp_Wchar_H fix
1989 tSCC zDjgpp_Wchar_HName[] =
1993 * File name selection pattern
1995 #define zDjgpp_Wchar_HList (char*)NULL
1997 * Machine/OS name selection pattern
1999 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2002 * content selection pattern - do fix if pattern found
2004 tSCC zDjgpp_Wchar_HSelect0[] =
2008 * content bypass pattern - skip fix if pattern found
2010 tSCC zDjgpp_Wchar_HBypass0[] =
2013 #define DJGPP_WCHAR_H_TEST_CT 2
2014 static tTestDesc aDjgpp_Wchar_HTests[] = {
2015 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2016 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2019 * Fix Command Arguments for Djgpp_Wchar_H
2021 static const char* apzDjgpp_Wchar_HPatch[] = {
2024 #include <sys/djtypes.h>",
2025 "#include <stddef.h>",
2028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2030 * Description of Ecd_Cursor fix
2032 tSCC zEcd_CursorName[] =
2036 * File name selection pattern
2038 tSCC zEcd_CursorList[] =
2039 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
2041 * Machine/OS name selection pattern
2043 #define apzEcd_CursorMachs (const char**)NULL
2046 * content selection pattern - do fix if pattern found
2048 tSCC zEcd_CursorSelect0[] =
2051 #define ECD_CURSOR_TEST_CT 1
2052 static tTestDesc aEcd_CursorTests[] = {
2053 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2056 * Fix Command Arguments for Ecd_Cursor
2058 static const char* apzEcd_CursorPatch[] = {
2063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2065 * Description of Exception_Structure fix
2067 tSCC zException_StructureName[] =
2068 "exception_structure";
2071 * File name selection pattern
2073 tSCC zException_StructureList[] =
2076 * Machine/OS name selection pattern
2078 #define apzException_StructureMachs (const char**)NULL
2081 * content selection pattern - do fix if pattern found
2083 tSCC zException_StructureSelect0[] =
2087 * content bypass pattern - skip fix if pattern found
2089 tSCC zException_StructureBypass0[] =
2090 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
2092 #define EXCEPTION_STRUCTURE_TEST_CT 2
2093 static tTestDesc aException_StructureTests[] = {
2094 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
2095 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
2098 * Fix Command Arguments for Exception_Structure
2100 static const char* apzException_StructurePatch[] = {
2102 "struct exception;\n",
2105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2107 * Description of Freebsd_Gcc3_Breakage fix
2109 tSCC zFreebsd_Gcc3_BreakageName[] =
2110 "freebsd_gcc3_breakage";
2113 * File name selection pattern
2115 tSCC zFreebsd_Gcc3_BreakageList[] =
2118 * Machine/OS name selection pattern
2120 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2122 (const char*)NULL };
2125 * content selection pattern - do fix if pattern found
2127 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2128 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2131 * content bypass pattern - skip fix if pattern found
2133 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2134 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2136 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2137 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2138 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2139 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2142 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2144 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2146 "%0 || __GNUC__ >= 3",
2149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2151 * Description of Freebsd_Gcc4_Breakage fix
2153 tSCC zFreebsd_Gcc4_BreakageName[] =
2154 "freebsd_gcc4_breakage";
2157 * File name selection pattern
2159 tSCC zFreebsd_Gcc4_BreakageList[] =
2162 * Machine/OS name selection pattern
2164 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2166 (const char*)NULL };
2169 * content selection pattern - do fix if pattern found
2171 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2172 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2174 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2175 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2176 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2179 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2181 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2183 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2186 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2188 * Description of Glibc_C99_Inline_1 fix
2190 tSCC zGlibc_C99_Inline_1Name[] =
2191 "glibc_c99_inline_1";
2194 * File name selection pattern
2196 tSCC zGlibc_C99_Inline_1List[] =
2199 * Machine/OS name selection pattern
2201 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2204 * content selection pattern - do fix if pattern found
2206 tSCC zGlibc_C99_Inline_1Select0[] =
2207 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2209 #define GLIBC_C99_INLINE_1_TEST_CT 1
2210 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2211 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2214 * Fix Command Arguments for Glibc_C99_Inline_1
2216 static const char* apzGlibc_C99_Inline_1Patch[] = {
2218 "%0 && __STDC_VERSION__ < 199901L",
2221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2223 * Description of Glibc_C99_Inline_2 fix
2225 tSCC zGlibc_C99_Inline_2Name[] =
2226 "glibc_c99_inline_2";
2229 * File name selection pattern
2231 tSCC zGlibc_C99_Inline_2List[] =
2234 * Machine/OS name selection pattern
2236 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2239 * content selection pattern - do fix if pattern found
2241 tSCC zGlibc_C99_Inline_2Select0[] =
2242 "extern __inline__ int";
2244 #define GLIBC_C99_INLINE_2_TEST_CT 1
2245 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2246 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2249 * Fix Command Arguments for Glibc_C99_Inline_2
2251 static const char* apzGlibc_C99_Inline_2Patch[] = { "sed",
2252 "-e", "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/#if __STDC_VERSION__ < 199901L\\\n\
2255 __inline__ int \\1/",
2256 "-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#if __STDC_VERSION__ < 199901L\\\n\
2259 __inline__ int __REDIRECT\\1 (\\2/",
2260 "-e", "s/^extern __inline__ int/#if __STDC_VERSION__ < 199901L\\\n\
2266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2268 * Description of Glibc_C99_Inline_3 fix
2270 tSCC zGlibc_C99_Inline_3Name[] =
2271 "glibc_c99_inline_3";
2274 * File name selection pattern
2276 tSCC zGlibc_C99_Inline_3List[] =
2279 * Machine/OS name selection pattern
2281 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2284 * content bypass pattern - skip fix if pattern found
2286 tSCC zGlibc_C99_Inline_3Bypass0[] =
2289 #define GLIBC_C99_INLINE_3_TEST_CT 1
2290 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2291 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL }, };
2294 * Fix Command Arguments for Glibc_C99_Inline_3
2296 static const char* apzGlibc_C99_Inline_3Patch[] = {
2298 "# if defined(__cplusplus) || __STDC_VERSION__ >= 19901L",
2299 "^# ifdef __cplusplus$",
2302 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2304 * Description of Glibc_C99_Inline_4 fix
2306 tSCC zGlibc_C99_Inline_4Name[] =
2307 "glibc_c99_inline_4";
2310 * File name selection pattern
2312 tSCC zGlibc_C99_Inline_4List[] =
2313 "|sys/sysmacros.h|";
2315 * Machine/OS name selection pattern
2317 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2320 * content bypass pattern - skip fix if pattern found
2322 tSCC zGlibc_C99_Inline_4Bypass0[] =
2325 #define GLIBC_C99_INLINE_4_TEST_CT 1
2326 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2327 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL }, };
2330 * Fix Command Arguments for Glibc_C99_Inline_4
2332 static const char* apzGlibc_C99_Inline_4Patch[] = {
2335 #if __STDC_VERSION__ < 19901L\n\
2341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2343 * Description of Glibc_Mutex_Init fix
2345 tSCC zGlibc_Mutex_InitName[] =
2349 * File name selection pattern
2351 tSCC zGlibc_Mutex_InitList[] =
2354 * Machine/OS name selection pattern
2356 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2359 * content selection pattern - do fix if pattern found
2361 tSCC zGlibc_Mutex_InitSelect0[] =
2362 "\\{ *\\{ *0, *\\} *\\}";
2364 #define GLIBC_MUTEX_INIT_TEST_CT 1
2365 static tTestDesc aGlibc_Mutex_InitTests[] = {
2366 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2369 * Fix Command Arguments for Glibc_Mutex_Init
2371 static const char* apzGlibc_Mutex_InitPatch[] = { "sed",
2372 "-e", "/define[ \t]\\+PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/,+1s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/",
2373 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2374 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2375 "-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/",
2376 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2377 "-e", "/define[ \t]\\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2382 * Description of Gnu_Types fix
2384 tSCC zGnu_TypesName[] =
2388 * File name selection pattern
2390 tSCC zGnu_TypesList[] =
2391 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
2393 * Machine/OS name selection pattern
2395 tSCC* apzGnu_TypesMachs[] = {
2396 "*-*-solaris2.1[0-9]*",
2397 (const char*)NULL };
2400 * content selection pattern - do fix if pattern found
2402 tSCC zGnu_TypesSelect0[] =
2403 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2406 * content bypass pattern - skip fix if pattern found
2408 tSCC zGnu_TypesBypass0[] =
2409 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2411 #define GNU_TYPES_TEST_CT 2
2412 static tTestDesc aGnu_TypesTests[] = {
2413 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2414 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2417 * Fix Command Arguments for Gnu_Types
2419 static const char* apzGnu_TypesPatch[] = {
2423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2425 * Description of Hp_Inline fix
2427 tSCC zHp_InlineName[] =
2431 * File name selection pattern
2433 tSCC zHp_InlineList[] =
2434 "|sys/spinlock.h|machine/machparam.h|";
2436 * Machine/OS name selection pattern
2438 #define apzHp_InlineMachs (const char**)NULL
2441 * content selection pattern - do fix if pattern found
2443 tSCC zHp_InlineSelect0[] =
2444 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2446 #define HP_INLINE_TEST_CT 1
2447 static tTestDesc aHp_InlineTests[] = {
2448 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2451 * Fix Command Arguments for Hp_Inline
2453 static const char* apzHp_InlinePatch[] = {
2456 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2461 * Description of Hp_Sysfile fix
2463 tSCC zHp_SysfileName[] =
2467 * File name selection pattern
2469 tSCC zHp_SysfileList[] =
2472 * Machine/OS name selection pattern
2474 #define apzHp_SysfileMachs (const char**)NULL
2477 * content selection pattern - do fix if pattern found
2479 tSCC zHp_SysfileSelect0[] =
2482 #define HP_SYSFILE_TEST_CT 1
2483 static tTestDesc aHp_SysfileTests[] = {
2484 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2487 * Fix Command Arguments for Hp_Sysfile
2489 static const char* apzHp_SysfilePatch[] = {
2491 "(struct file *, ...)",
2495 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2497 * Description of Hpux10_Cpp_Pow_Inline fix
2499 tSCC zHpux10_Cpp_Pow_InlineName[] =
2500 "hpux10_cpp_pow_inline";
2503 * File name selection pattern
2505 tSCC zHpux10_Cpp_Pow_InlineList[] =
2506 "|fixinc-test-limits.h|math.h|";
2508 * Machine/OS name selection pattern
2510 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2513 * content selection pattern - do fix if pattern found
2515 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2516 "^# +ifdef +__cplusplus\n\
2518 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2519 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2521 +extern +\"C\" +\\{\n\
2525 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2526 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2527 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2530 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2532 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2537 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2539 * Description of Hpux11_Cpp_Pow_Inline fix
2541 tSCC zHpux11_Cpp_Pow_InlineName[] =
2542 "hpux11_cpp_pow_inline";
2545 * File name selection pattern
2547 tSCC zHpux11_Cpp_Pow_InlineList[] =
2550 * Machine/OS name selection pattern
2552 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2555 * content selection pattern - do fix if pattern found
2557 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2558 " +inline double pow\\(double d,int expon\\) \\{\n\
2559 +return pow\\(d, \\(double\\)expon\\);\n\
2562 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2563 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2564 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2567 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2569 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2574 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2576 * Description of Hpux10_Ctype_Declarations1 fix
2578 tSCC zHpux10_Ctype_Declarations1Name[] =
2579 "hpux10_ctype_declarations1";
2582 * File name selection pattern
2584 tSCC zHpux10_Ctype_Declarations1List[] =
2587 * Machine/OS name selection pattern
2589 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2592 * content selection pattern - do fix if pattern found
2594 tSCC zHpux10_Ctype_Declarations1Select0[] =
2595 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2598 * content bypass pattern - skip fix if pattern found
2600 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2601 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2603 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2604 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2605 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2606 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2609 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2611 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2613 "#ifdef _PROTOTYPES\n\
2614 extern int __tolower(int);\n\
2615 extern int __toupper(int);\n\
2616 #else /* NOT _PROTOTYPES */\n\
2617 extern int __tolower();\n\
2618 extern int __toupper();\n\
2619 #endif /* _PROTOTYPES */\n\n\
2623 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2625 * Description of Hpux10_Ctype_Declarations2 fix
2627 tSCC zHpux10_Ctype_Declarations2Name[] =
2628 "hpux10_ctype_declarations2";
2631 * File name selection pattern
2633 tSCC zHpux10_Ctype_Declarations2List[] =
2636 * Machine/OS name selection pattern
2638 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2641 * content selection pattern - do fix if pattern found
2643 tSCC zHpux10_Ctype_Declarations2Select0[] =
2644 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2647 * content bypass pattern - skip fix if pattern found
2649 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2650 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2652 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2653 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2654 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2655 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2658 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2660 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2663 #ifdef _PROTOTYPES\n\
2664 extern int _isalnum(int);\n\
2665 extern int _isalpha(int);\n\
2666 extern int _iscntrl(int);\n\
2667 extern int _isdigit(int);\n\
2668 extern int _isgraph(int);\n\
2669 extern int _islower(int);\n\
2670 extern int _isprint(int);\n\
2671 extern int _ispunct(int);\n\
2672 extern int _isspace(int);\n\
2673 extern int _isupper(int);\n\
2674 extern int _isxdigit(int);\n\
2675 # else /* not _PROTOTYPES */\n\
2676 extern int _isalnum();\n\
2677 extern int _isalpha();\n\
2678 extern int _iscntrl();\n\
2679 extern int _isdigit();\n\
2680 extern int _isgraph();\n\
2681 extern int _islower();\n\
2682 extern int _isprint();\n\
2683 extern int _ispunct();\n\
2684 extern int _isspace();\n\
2685 extern int _isupper();\n\
2686 extern int _isxdigit();\n\
2687 #endif /* _PROTOTYPES */\n",
2690 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2692 * Description of Hpux10_Stdio_Declarations fix
2694 tSCC zHpux10_Stdio_DeclarationsName[] =
2695 "hpux10_stdio_declarations";
2698 * File name selection pattern
2700 tSCC zHpux10_Stdio_DeclarationsList[] =
2703 * Machine/OS name selection pattern
2705 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2708 * content selection pattern - do fix if pattern found
2710 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2711 "^#[ \t]*define _iob[ \t]*__iob";
2714 * content bypass pattern - skip fix if pattern found
2716 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2717 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2719 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2720 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2721 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2722 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2725 * Fix Command Arguments for Hpux10_Stdio_Declarations
2727 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2730 # if defined(__STDC__) || defined(__cplusplus)\n\
2731 extern int snprintf(char *, size_t, const char *, ...);\n\
2732 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2733 # else /* not __STDC__) || __cplusplus */\n\
2734 extern int snprintf();\n\
2735 extern int vsnprintf();\n\
2736 # endif /* __STDC__) || __cplusplus */\n",
2739 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2741 * Description of Hpux11_Abs fix
2743 tSCC zHpux11_AbsName[] =
2747 * File name selection pattern
2749 tSCC zHpux11_AbsList[] =
2752 * Machine/OS name selection pattern
2754 tSCC* apzHpux11_AbsMachs[] = {
2756 (const char*)NULL };
2759 * content selection pattern - do fix if pattern found
2761 tSCC zHpux11_AbsSelect0[] =
2762 "ifndef _MATH_INCLUDED";
2764 #define HPUX11_ABS_TEST_CT 1
2765 static tTestDesc aHpux11_AbsTests[] = {
2766 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2769 * Fix Command Arguments for Hpux11_Abs
2771 static const char* apzHpux11_AbsPatch[] = {
2773 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2778 * Description of Hpux11_Fabsf fix
2780 tSCC zHpux11_FabsfName[] =
2784 * File name selection pattern
2786 tSCC zHpux11_FabsfList[] =
2789 * Machine/OS name selection pattern
2791 #define apzHpux11_FabsfMachs (const char**)NULL
2794 * content selection pattern - do fix if pattern found
2796 tSCC zHpux11_FabsfSelect0[] =
2797 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2800 * content bypass pattern - skip fix if pattern found
2802 tSCC zHpux11_FabsfBypass0[] =
2805 #define HPUX11_FABSF_TEST_CT 2
2806 static tTestDesc aHpux11_FabsfTests[] = {
2807 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2808 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2811 * Fix Command Arguments for Hpux11_Fabsf
2813 static const char* apzHpux11_FabsfPatch[] = {
2815 "#ifndef __cplusplus\n\
2820 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2822 * Description of Hpux11_Size_T fix
2824 tSCC zHpux11_Size_TName[] =
2828 * File name selection pattern
2830 #define zHpux11_Size_TList (char*)NULL
2832 * Machine/OS name selection pattern
2834 tSCC* apzHpux11_Size_TMachs[] = {
2836 (const char*)NULL };
2839 * content selection pattern - do fix if pattern found
2841 tSCC zHpux11_Size_TSelect0[] =
2844 #define HPUX11_SIZE_T_TEST_CT 1
2845 static tTestDesc aHpux11_Size_TTests[] = {
2846 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2849 * Fix Command Arguments for Hpux11_Size_T
2851 static const char* apzHpux11_Size_TPatch[] = {
2856 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2858 * Description of Hpux11_Snprintf fix
2860 tSCC zHpux11_SnprintfName[] =
2864 * File name selection pattern
2866 tSCC zHpux11_SnprintfList[] =
2869 * Machine/OS name selection pattern
2871 #define apzHpux11_SnprintfMachs (const char**)NULL
2874 * content selection pattern - do fix if pattern found
2876 tSCC zHpux11_SnprintfSelect0[] =
2877 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2879 #define HPUX11_SNPRINTF_TEST_CT 1
2880 static tTestDesc aHpux11_SnprintfTests[] = {
2881 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2884 * Fix Command Arguments for Hpux11_Snprintf
2886 static const char* apzHpux11_SnprintfPatch[] = {
2891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2893 * Description of Hpux11_Uint32_C fix
2895 tSCC zHpux11_Uint32_CName[] =
2899 * File name selection pattern
2901 tSCC zHpux11_Uint32_CList[] =
2904 * Machine/OS name selection pattern
2906 #define apzHpux11_Uint32_CMachs (const char**)NULL
2909 * content selection pattern - do fix if pattern found
2911 tSCC zHpux11_Uint32_CSelect0[] =
2912 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2914 #define HPUX11_UINT32_C_TEST_CT 1
2915 static tTestDesc aHpux11_Uint32_CTests[] = {
2916 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2919 * Fix Command Arguments for Hpux11_Uint32_C
2921 static const char* apzHpux11_Uint32_CPatch[] = {
2923 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2928 * Description of Hpux11_Vsnprintf fix
2930 tSCC zHpux11_VsnprintfName[] =
2934 * File name selection pattern
2936 tSCC zHpux11_VsnprintfList[] =
2939 * Machine/OS name selection pattern
2941 #define apzHpux11_VsnprintfMachs (const char**)NULL
2944 * content selection pattern - do fix if pattern found
2946 tSCC zHpux11_VsnprintfSelect0[] =
2947 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2949 #define HPUX11_VSNPRINTF_TEST_CT 1
2950 static tTestDesc aHpux11_VsnprintfTests[] = {
2951 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2954 * Fix Command Arguments for Hpux11_Vsnprintf
2956 static const char* apzHpux11_VsnprintfPatch[] = {
2961 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2963 * Description of Hpux8_Bogus_Inlines fix
2965 tSCC zHpux8_Bogus_InlinesName[] =
2966 "hpux8_bogus_inlines";
2969 * File name selection pattern
2971 tSCC zHpux8_Bogus_InlinesList[] =
2974 * Machine/OS name selection pattern
2976 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2979 * content selection pattern - do fix if pattern found
2981 tSCC zHpux8_Bogus_InlinesSelect0[] =
2985 * content bypass pattern - skip fix if pattern found
2987 tSCC zHpux8_Bogus_InlinesBypass0[] =
2990 #define HPUX8_BOGUS_INLINES_TEST_CT 2
2991 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2992 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
2993 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2996 * Fix Command Arguments for Hpux8_Bogus_Inlines
2998 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2999 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3000 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3001 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3002 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3007 * Description of Hpux_Ctype_Macros fix
3009 tSCC zHpux_Ctype_MacrosName[] =
3010 "hpux_ctype_macros";
3013 * File name selection pattern
3015 tSCC zHpux_Ctype_MacrosList[] =
3018 * Machine/OS name selection pattern
3020 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3023 * content selection pattern - do fix if pattern found
3025 tSCC zHpux_Ctype_MacrosSelect0[] =
3026 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3028 #define HPUX_CTYPE_MACROS_TEST_CT 1
3029 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3030 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3033 * Fix Command Arguments for Hpux_Ctype_Macros
3035 static const char* apzHpux_Ctype_MacrosPatch[] = {
3040 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3042 * Description of Hpux_Htonl fix
3044 tSCC zHpux_HtonlName[] =
3048 * File name selection pattern
3050 tSCC zHpux_HtonlList[] =
3053 * Machine/OS name selection pattern
3055 #define apzHpux_HtonlMachs (const char**)NULL
3058 * content selection pattern - do fix if pattern found
3060 tSCC zHpux_HtonlSelect0[] =
3061 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
3063 \\* Macros for number representation conversion\\.\n\
3067 #define HPUX_HTONL_TEST_CT 1
3068 static tTestDesc aHpux_HtonlTests[] = {
3069 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3072 * Fix Command Arguments for Hpux_Htonl
3074 static const char* apzHpux_HtonlPatch[] = {
3080 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3082 * Description of Hpux_Long_Double fix
3084 tSCC zHpux_Long_DoubleName[] =
3088 * File name selection pattern
3090 tSCC zHpux_Long_DoubleList[] =
3093 * Machine/OS name selection pattern
3095 #define apzHpux_Long_DoubleMachs (const char**)NULL
3098 * content selection pattern - do fix if pattern found
3100 tSCC zHpux_Long_DoubleSelect0[] =
3101 "extern[ \t]long_double[ \t]strtold";
3104 * content bypass pattern - skip fix if pattern found
3106 tSCC zHpux_Long_DoubleBypass0[] =
3109 #define HPUX_LONG_DOUBLE_TEST_CT 2
3110 static tTestDesc aHpux_Long_DoubleTests[] = {
3111 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3112 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3115 * Fix Command Arguments for Hpux_Long_Double
3117 static const char* apzHpux_Long_DoublePatch[] = { "sed",
3118 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3119 "-e", "s/long_double/long double/g",
3122 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3124 * Description of Hpux_Systime fix
3126 tSCC zHpux_SystimeName[] =
3130 * File name selection pattern
3132 tSCC zHpux_SystimeList[] =
3135 * Machine/OS name selection pattern
3137 #define apzHpux_SystimeMachs (const char**)NULL
3140 * content selection pattern - do fix if pattern found
3142 tSCC zHpux_SystimeSelect0[] =
3143 "^extern struct sigevent;";
3145 #define HPUX_SYSTIME_TEST_CT 1
3146 static tTestDesc aHpux_SystimeTests[] = {
3147 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3150 * Fix Command Arguments for Hpux_Systime
3152 static const char* apzHpux_SystimePatch[] = {
3157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3159 * Description of Hpux_Spu_Info fix
3161 tSCC zHpux_Spu_InfoName[] =
3165 * File name selection pattern
3167 tSCC zHpux_Spu_InfoList[] =
3168 "|ia64/sys/getppdp.h|";
3170 * Machine/OS name selection pattern
3172 tSCC* apzHpux_Spu_InfoMachs[] = {
3174 (const char*)NULL };
3177 * content selection pattern - do fix if pattern found
3179 tSCC zHpux_Spu_InfoSelect0[] =
3180 "^.*extern.*spu_info.*";
3182 #define HPUX_SPU_INFO_TEST_CT 1
3183 static tTestDesc aHpux_Spu_InfoTests[] = {
3184 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3187 * Fix Command Arguments for Hpux_Spu_Info
3189 static const char* apzHpux_Spu_InfoPatch[] = {
3196 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3198 * Description of Hpux11_Extern_Sendfile fix
3200 tSCC zHpux11_Extern_SendfileName[] =
3201 "hpux11_extern_sendfile";
3204 * File name selection pattern
3206 tSCC zHpux11_Extern_SendfileList[] =
3209 * Machine/OS name selection pattern
3211 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3212 "*-hp-hpux11.[12]*",
3213 (const char*)NULL };
3216 * content selection pattern - do fix if pattern found
3218 tSCC zHpux11_Extern_SendfileSelect0[] =
3219 "^[ \t]*extern sbsize_t sendfile.*\n\
3222 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3223 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3224 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3227 * Fix Command Arguments for Hpux11_Extern_Sendfile
3229 static const char* apzHpux11_Extern_SendfilePatch[] = {
3231 "#ifndef _APP32_64BIT_OFF_T\n\
3235 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3237 * Description of Hpux11_Extern_Sendpath fix
3239 tSCC zHpux11_Extern_SendpathName[] =
3240 "hpux11_extern_sendpath";
3243 * File name selection pattern
3245 tSCC zHpux11_Extern_SendpathList[] =
3248 * Machine/OS name selection pattern
3250 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3251 "*-hp-hpux11.[12]*",
3252 (const char*)NULL };
3255 * content selection pattern - do fix if pattern found
3257 tSCC zHpux11_Extern_SendpathSelect0[] =
3258 "^[ \t]*extern sbsize_t sendpath.*\n\
3261 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3262 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3263 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3266 * Fix Command Arguments for Hpux11_Extern_Sendpath
3268 static const char* apzHpux11_Extern_SendpathPatch[] = {
3270 "#ifndef _APP32_64BIT_OFF_T\n\
3274 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3276 * Description of Hpux_Extern_Errno fix
3278 tSCC zHpux_Extern_ErrnoName[] =
3279 "hpux_extern_errno";
3282 * File name selection pattern
3284 tSCC zHpux_Extern_ErrnoList[] =
3287 * Machine/OS name selection pattern
3289 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3291 "*-hp-hpux11.[0-2]*",
3292 (const char*)NULL };
3295 * content selection pattern - do fix if pattern found
3297 tSCC zHpux_Extern_ErrnoSelect0[] =
3298 "^[ \t]*extern int errno;$";
3300 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3301 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3302 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3305 * Fix Command Arguments for Hpux_Extern_Errno
3307 static const char* apzHpux_Extern_ErrnoPatch[] = {
3309 "#ifdef __cplusplus\n\
3313 #ifdef __cplusplus\n\
3318 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3320 * Description of Hpux_Pthread_Initializers fix
3322 tSCC zHpux_Pthread_InitializersName[] =
3323 "hpux_pthread_initializers";
3326 * File name selection pattern
3328 tSCC zHpux_Pthread_InitializersList[] =
3331 * Machine/OS name selection pattern
3333 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3334 "*-hp-hpux11.[0-3]*",
3335 (const char*)NULL };
3336 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3337 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3340 * Fix Command Arguments for Hpux_Pthread_Initializers
3342 static const char* apzHpux_Pthread_InitializersPatch[] = { "sed",
3343 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3344 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3345 "-e", "/^[ \t]*0$/d",
3346 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3347 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3348 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3349 "-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\\\\@",
3350 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3351 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3352 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3353 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3354 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3355 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3358 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3360 * Description of Huge_Val_Hex fix
3362 tSCC zHuge_Val_HexName[] =
3366 * File name selection pattern
3368 tSCC zHuge_Val_HexList[] =
3369 "|bits/huge_val.h|";
3371 * Machine/OS name selection pattern
3373 #define apzHuge_Val_HexMachs (const char**)NULL
3376 * content selection pattern - do fix if pattern found
3378 tSCC zHuge_Val_HexSelect0[] =
3379 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
3382 * content bypass pattern - skip fix if pattern found
3384 tSCC zHuge_Val_HexBypass0[] =
3385 "__builtin_huge_val";
3387 #define HUGE_VAL_HEX_TEST_CT 2
3388 static tTestDesc aHuge_Val_HexTests[] = {
3389 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
3390 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
3393 * Fix Command Arguments for Huge_Val_Hex
3395 static const char* apzHuge_Val_HexPatch[] = {
3397 "#define HUGE_VAL (__builtin_huge_val())\n",
3400 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3402 * Description of Huge_Valf_Hex fix
3404 tSCC zHuge_Valf_HexName[] =
3408 * File name selection pattern
3410 tSCC zHuge_Valf_HexList[] =
3411 "|bits/huge_val.h|";
3413 * Machine/OS name selection pattern
3415 #define apzHuge_Valf_HexMachs (const char**)NULL
3418 * content selection pattern - do fix if pattern found
3420 tSCC zHuge_Valf_HexSelect0[] =
3421 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
3424 * content bypass pattern - skip fix if pattern found
3426 tSCC zHuge_Valf_HexBypass0[] =
3427 "__builtin_huge_valf";
3429 #define HUGE_VALF_HEX_TEST_CT 2
3430 static tTestDesc aHuge_Valf_HexTests[] = {
3431 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
3432 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
3435 * Fix Command Arguments for Huge_Valf_Hex
3437 static const char* apzHuge_Valf_HexPatch[] = {
3439 "#define HUGE_VALF (__builtin_huge_valf())\n",
3442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3444 * Description of Huge_Vall_Hex fix
3446 tSCC zHuge_Vall_HexName[] =
3450 * File name selection pattern
3452 tSCC zHuge_Vall_HexList[] =
3453 "|bits/huge_val.h|";
3455 * Machine/OS name selection pattern
3457 #define apzHuge_Vall_HexMachs (const char**)NULL
3460 * content selection pattern - do fix if pattern found
3462 tSCC zHuge_Vall_HexSelect0[] =
3463 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
3466 * content bypass pattern - skip fix if pattern found
3468 tSCC zHuge_Vall_HexBypass0[] =
3469 "__builtin_huge_vall";
3471 #define HUGE_VALL_HEX_TEST_CT 2
3472 static tTestDesc aHuge_Vall_HexTests[] = {
3473 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
3474 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
3477 * Fix Command Arguments for Huge_Vall_Hex
3479 static const char* apzHuge_Vall_HexPatch[] = {
3481 "#define HUGE_VALL (__builtin_huge_vall())\n",
3484 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3486 * Description of Int_Abort_Free_And_Exit fix
3488 tSCC zInt_Abort_Free_And_ExitName[] =
3489 "int_abort_free_and_exit";
3492 * File name selection pattern
3494 tSCC zInt_Abort_Free_And_ExitList[] =
3497 * Machine/OS name selection pattern
3499 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
3502 * content selection pattern - do fix if pattern found
3504 tSCC zInt_Abort_Free_And_ExitSelect0[] =
3505 "int[ \t]+(abort|free|exit)[ \t]*\\(";
3508 * content bypass pattern - skip fix if pattern found
3510 tSCC zInt_Abort_Free_And_ExitBypass0[] =
3511 "_CLASSIC_ANSI_TYPES";
3513 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
3514 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
3515 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
3516 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
3519 * Fix Command Arguments for Int_Abort_Free_And_Exit
3521 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
3526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3528 * Description of Io_Quotes_Def fix
3530 tSCC zIo_Quotes_DefName[] =
3534 * File name selection pattern
3536 #define zIo_Quotes_DefList (char*)NULL
3538 * Machine/OS name selection pattern
3540 #define apzIo_Quotes_DefMachs (const char**)NULL
3543 * content selection pattern - do fix if pattern found
3545 tSCC zIo_Quotes_DefSelect0[] =
3546 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
3548 #define IO_QUOTES_DEF_TEST_CT 1
3549 static tTestDesc aIo_Quotes_DefTests[] = {
3550 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
3553 * Fix Command Arguments for Io_Quotes_Def
3555 static const char* apzIo_Quotes_DefPatch[] = {
3560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3562 * Description of Io_Quotes_Use fix
3564 tSCC zIo_Quotes_UseName[] =
3568 * File name selection pattern
3570 #define zIo_Quotes_UseList (char*)NULL
3572 * Machine/OS name selection pattern
3574 #define apzIo_Quotes_UseMachs (const char**)NULL
3577 * content selection pattern - do fix if pattern found
3579 tSCC zIo_Quotes_UseSelect0[] =
3580 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
3582 #define IO_QUOTES_USE_TEST_CT 1
3583 static tTestDesc aIo_Quotes_UseTests[] = {
3584 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
3587 * Fix Command Arguments for Io_Quotes_Use
3589 static const char* apzIo_Quotes_UsePatch[] = {
3594 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3596 * Description of Ip_Missing_Semi fix
3598 tSCC zIp_Missing_SemiName[] =
3602 * File name selection pattern
3604 tSCC zIp_Missing_SemiList[] =
3607 * Machine/OS name selection pattern
3609 #define apzIp_Missing_SemiMachs (const char**)NULL
3612 * content selection pattern - do fix if pattern found
3614 tSCC zIp_Missing_SemiSelect0[] =
3617 #define IP_MISSING_SEMI_TEST_CT 1
3618 static tTestDesc aIp_Missing_SemiTests[] = {
3619 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
3622 * Fix Command Arguments for Ip_Missing_Semi
3624 static const char* apzIp_Missing_SemiPatch[] = { "sed",
3625 "-e", "/^struct/,/^};/s/}$/};/",
3628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3630 * Description of Irix___Restrict fix
3632 tSCC zIrix___RestrictName[] =
3636 * File name selection pattern
3638 tSCC zIrix___RestrictList[] =
3639 "|internal/sgimacros.h|";
3641 * Machine/OS name selection pattern
3643 tSCC* apzIrix___RestrictMachs[] = {
3645 (const char*)NULL };
3648 * content selection pattern - do fix if pattern found
3650 tSCC zIrix___RestrictSelect0[] =
3652 )(#[ \t]*define __restrict restrict)";
3654 #define IRIX___RESTRICT_TEST_CT 1
3655 static tTestDesc aIrix___RestrictTests[] = {
3656 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
3659 * Fix Command Arguments for Irix___Restrict
3661 static const char* apzIrix___RestrictPatch[] = {
3663 "%1# ifndef __cplusplus\n\
3668 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3670 * Description of Irix___Generic1 fix
3672 tSCC zIrix___Generic1Name[] =
3676 * File name selection pattern
3678 tSCC zIrix___Generic1List[] =
3679 "|internal/math_core.h|";
3681 * Machine/OS name selection pattern
3683 tSCC* apzIrix___Generic1Machs[] = {
3685 (const char*)NULL };
3688 * content selection pattern - do fix if pattern found
3690 tSCC zIrix___Generic1Select0[] =
3691 "#define ([a-z]+)\\(x\\) *__generic.*";
3693 #define IRIX___GENERIC1_TEST_CT 1
3694 static tTestDesc aIrix___Generic1Tests[] = {
3695 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
3698 * Fix Command Arguments for Irix___Generic1
3700 static const char* apzIrix___Generic1Patch[] = {
3702 "extern int %1(double);\n\
3703 extern int %1f(float);\n\
3704 extern int %1l(long double);\n\
3705 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
3706 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
3710 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3712 * Description of Irix___Generic2 fix
3714 tSCC zIrix___Generic2Name[] =
3718 * File name selection pattern
3720 tSCC zIrix___Generic2List[] =
3721 "|internal/math_core.h|";
3723 * Machine/OS name selection pattern
3725 tSCC* apzIrix___Generic2Machs[] = {
3727 (const char*)NULL };
3730 * content selection pattern - do fix if pattern found
3732 tSCC zIrix___Generic2Select0[] =
3733 "#define ([a-z]+)\\(x,y\\) *__generic.*";
3735 #define IRIX___GENERIC2_TEST_CT 1
3736 static tTestDesc aIrix___Generic2Tests[] = {
3737 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
3740 * Fix Command Arguments for Irix___Generic2
3742 static const char* apzIrix___Generic2Patch[] = {
3744 "#define %1(x,y) \\\n\
3745 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
3746 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
3750 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3752 * Description of Irix_Asm_Apostrophe fix
3754 tSCC zIrix_Asm_ApostropheName[] =
3755 "irix_asm_apostrophe";
3758 * File name selection pattern
3760 tSCC zIrix_Asm_ApostropheList[] =
3763 * Machine/OS name selection pattern
3765 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3768 * content selection pattern - do fix if pattern found
3770 tSCC zIrix_Asm_ApostropheSelect0[] =
3771 "^[ \t]*#.*[Ww]e're";
3773 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3774 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3775 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3778 * Fix Command Arguments for Irix_Asm_Apostrophe
3780 static const char* apzIrix_Asm_ApostrophePatch[] = {
3783 "^([ \t]*#.*[Ww]e)'re",
3786 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3788 * Description of Irix_Limits_Const fix
3790 tSCC zIrix_Limits_ConstName[] =
3791 "irix_limits_const";
3794 * File name selection pattern
3796 tSCC zIrix_Limits_ConstList[] =
3797 "|fixinc-test-limits.h|limits.h|";
3799 * Machine/OS name selection pattern
3801 #define apzIrix_Limits_ConstMachs (const char**)NULL
3804 * content selection pattern - do fix if pattern found
3806 tSCC zIrix_Limits_ConstSelect0[] =
3809 #define IRIX_LIMITS_CONST_TEST_CT 1
3810 static tTestDesc aIrix_Limits_ConstTests[] = {
3811 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3814 * Fix Command Arguments for Irix_Limits_Const
3816 static const char* apzIrix_Limits_ConstPatch[] = {
3821 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3823 * Description of Irix_Socklen_T fix
3825 tSCC zIrix_Socklen_TName[] =
3829 * File name selection pattern
3831 tSCC zIrix_Socklen_TList[] =
3834 * Machine/OS name selection pattern
3836 tSCC* apzIrix_Socklen_TMachs[] = {
3838 (const char*)NULL };
3841 * content selection pattern - do fix if pattern found
3843 tSCC zIrix_Socklen_TSelect0[] =
3844 "(#define _SOCKLEN_T\n\
3845 )(typedef u_int32_t socklen_t;)";
3847 #define IRIX_SOCKLEN_T_TEST_CT 1
3848 static tTestDesc aIrix_Socklen_TTests[] = {
3849 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3852 * Fix Command Arguments for Irix_Socklen_T
3854 static const char* apzIrix_Socklen_TPatch[] = {
3856 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3857 typedef int socklen_t;\n\
3860 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3863 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3865 * Description of Irix_Stdio_Va_List fix
3867 tSCC zIrix_Stdio_Va_ListName[] =
3868 "irix_stdio_va_list";
3871 * File name selection pattern
3873 tSCC zIrix_Stdio_Va_ListList[] =
3874 "|stdio.h|internal/stdio_core.h|";
3876 * Machine/OS name selection pattern
3878 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3881 * content selection pattern - do fix if pattern found
3883 tSCC zIrix_Stdio_Va_ListSelect0[] =
3884 "/\\* va_list \\*/ char \\*";
3886 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3887 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3888 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3891 * Fix Command Arguments for Irix_Stdio_Va_List
3893 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3898 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3900 * Description of Irix_Wcsftime fix
3902 tSCC zIrix_WcsftimeName[] =
3906 * File name selection pattern
3908 tSCC zIrix_WcsftimeList[] =
3909 "|internal/wchar_core.h|";
3911 * Machine/OS name selection pattern
3913 tSCC* apzIrix_WcsftimeMachs[] = {
3915 (const char*)NULL };
3918 * content selection pattern - do fix if pattern found
3920 tSCC zIrix_WcsftimeSelect0[] =
3922 (extern size_t[ \t]+wcsftime.*const char *.*)";
3924 #define IRIX_WCSFTIME_TEST_CT 1
3925 static tTestDesc aIrix_WcsftimeTests[] = {
3926 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
3929 * Fix Command Arguments for Irix_Wcsftime
3931 static const char* apzIrix_WcsftimePatch[] = {
3933 "#if _NO_XOPEN5 && !defined(__c99)\n\
3937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3939 * Description of Isc_Fmod fix
3941 tSCC zIsc_FmodName[] =
3945 * File name selection pattern
3947 tSCC zIsc_FmodList[] =
3950 * Machine/OS name selection pattern
3952 #define apzIsc_FmodMachs (const char**)NULL
3955 * content selection pattern - do fix if pattern found
3957 tSCC zIsc_FmodSelect0[] =
3960 #define ISC_FMOD_TEST_CT 1
3961 static tTestDesc aIsc_FmodTests[] = {
3962 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
3965 * Fix Command Arguments for Isc_Fmod
3967 static const char* apzIsc_FmodPatch[] = {
3969 "fmod(double, double)",
3972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3974 * Description of Isc_Omits_With_Stdc fix
3976 tSCC zIsc_Omits_With_StdcName[] =
3977 "isc_omits_with_stdc";
3980 * File name selection pattern
3982 tSCC zIsc_Omits_With_StdcList[] =
3983 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
3985 * Machine/OS name selection pattern
3987 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
3990 * content selection pattern - do fix if pattern found
3992 tSCC zIsc_Omits_With_StdcSelect0[] =
3993 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
3995 #define ISC_OMITS_WITH_STDC_TEST_CT 1
3996 static tTestDesc aIsc_Omits_With_StdcTests[] = {
3997 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
4000 * Fix Command Arguments for Isc_Omits_With_Stdc
4002 static const char* apzIsc_Omits_With_StdcPatch[] = {
4004 "!defined(_POSIX_SOURCE)",
4007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4009 * Description of Kandr_Concat fix
4011 tSCC zKandr_ConcatName[] =
4015 * File name selection pattern
4017 tSCC zKandr_ConcatList[] =
4018 "|sparc/asm_linkage.h|sun3/asm_linkage.h|sun3x/asm_linkage.h|sun4/asm_linkage.h|sun4c/asm_linkage.h|sun4m/asm_linkage.h|sun4c/debug/asm_linkage.h|sun4m/debug/asm_linkage.h|arm/as_support.h|arm/mc_type.h|arm/xcb.h|dev/chardefmac.h|dev/ps_irq.h|dev/screen.h|dev/scsi.h|sys/tty.h|Xm.acorn/XmP.h|bsd43/bsd43_.h|";
4020 * Machine/OS name selection pattern
4022 #define apzKandr_ConcatMachs (const char**)NULL
4025 * content selection pattern - do fix if pattern found
4027 tSCC zKandr_ConcatSelect0[] =
4030 #define KANDR_CONCAT_TEST_CT 1
4031 static tTestDesc aKandr_ConcatTests[] = {
4032 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4035 * Fix Command Arguments for Kandr_Concat
4037 static const char* apzKandr_ConcatPatch[] = {
4042 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4044 * Description of Libc1_G_Va_List fix
4046 tSCC zLibc1_G_Va_ListName[] =
4050 * File name selection pattern
4052 tSCC zLibc1_G_Va_ListList[] =
4055 * Machine/OS name selection pattern
4057 tSCC* apzLibc1_G_Va_ListMachs[] = {
4059 (const char*)NULL };
4062 * content selection pattern - do fix if pattern found
4064 tSCC zLibc1_G_Va_ListSelect0[] =
4065 "typedef void \\* _G_va_list;";
4067 #define LIBC1_G_VA_LIST_TEST_CT 1
4068 static tTestDesc aLibc1_G_Va_ListTests[] = {
4069 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
4072 * Fix Command Arguments for Libc1_G_Va_List
4074 static const char* apzLibc1_G_Va_ListPatch[] = {
4076 "typedef __builtin_va_list _G_va_list;",
4079 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4081 * Description of Libc1_Ifdefd_Memx fix
4083 tSCC zLibc1_Ifdefd_MemxName[] =
4084 "libc1_ifdefd_memx";
4087 * File name selection pattern
4089 tSCC zLibc1_Ifdefd_MemxList[] =
4090 "|testing.h|string.h|";
4092 * Machine/OS name selection pattern
4094 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
4097 * content selection pattern - do fix if pattern found
4099 tSCC zLibc1_Ifdefd_MemxSelect0[] =
4100 "' is a built-in function for gcc 2\\.x\\. \\*/";
4103 * content bypass pattern - skip fix if pattern found
4105 tSCC zLibc1_Ifdefd_MemxBypass0[] =
4108 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
4109 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
4110 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
4111 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
4114 * Fix Command Arguments for Libc1_Ifdefd_Memx
4116 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
4119 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
4120 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
4122 extern [a-z_]+ mem.*(\n\
4127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4129 * Description of Linux_Ia64_Ucontext fix
4131 tSCC zLinux_Ia64_UcontextName[] =
4132 "linux_ia64_ucontext";
4135 * File name selection pattern
4137 tSCC zLinux_Ia64_UcontextList[] =
4140 * Machine/OS name selection pattern
4142 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4144 (const char*)NULL };
4147 * content selection pattern - do fix if pattern found
4149 tSCC zLinux_Ia64_UcontextSelect0[] =
4150 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4152 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4153 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4154 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4157 * Fix Command Arguments for Linux_Ia64_Ucontext
4159 static const char* apzLinux_Ia64_UcontextPatch[] = {
4161 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4164 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4166 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4168 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4169 "lynxos_no_warning_in_sys_time_h";
4172 * File name selection pattern
4174 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4177 * Machine/OS name selection pattern
4179 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4182 * content selection pattern - do fix if pattern found
4184 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4185 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4187 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4188 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4189 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4192 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4194 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4199 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4201 * Description of Lynxos_Missing_Putenv fix
4203 tSCC zLynxos_Missing_PutenvName[] =
4204 "lynxos_missing_putenv";
4207 * File name selection pattern
4209 tSCC zLynxos_Missing_PutenvList[] =
4212 * Machine/OS name selection pattern
4214 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4216 (const char*)NULL };
4219 * content selection pattern - do fix if pattern found
4221 tSCC zLynxos_Missing_PutenvSelect0[] =
4222 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4225 * content bypass pattern - skip fix if pattern found
4227 tSCC zLynxos_Missing_PutenvBypass0[] =
4230 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4231 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4232 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4233 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4236 * Fix Command Arguments for Lynxos_Missing_Putenv
4238 static const char* apzLynxos_Missing_PutenvPatch[] = {
4241 extern int putenv\t\t\t\t_AP((char *));",
4242 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4245 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4247 * Description of Machine_Ansi_H_Va_List fix
4249 tSCC zMachine_Ansi_H_Va_ListName[] =
4250 "machine_ansi_h_va_list";
4253 * File name selection pattern
4255 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4257 * Machine/OS name selection pattern
4259 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4262 * content selection pattern - do fix if pattern found
4264 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4265 "define[ \t]+_BSD_VA_LIST_[ \t]";
4268 * content bypass pattern - skip fix if pattern found
4270 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4271 "__builtin_va_list";
4273 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4274 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4275 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4276 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4279 * Fix Command Arguments for Machine_Ansi_H_Va_List
4281 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4283 "%1__builtin_va_list",
4284 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4287 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4289 * Description of Machine_Name fix
4291 tSCC zMachine_NameName[] =
4295 * File name selection pattern
4297 #define zMachine_NameList (char*)NULL
4299 * Machine/OS name selection pattern
4301 #define apzMachine_NameMachs (const char**)NULL
4304 * perform the C function call test
4306 tSCC zMachine_NameFTst0[] = "machine_name";
4308 #define MACHINE_NAME_TEST_CT 1
4309 static tTestDesc aMachine_NameTests[] = {
4310 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4313 * Fix Command Arguments for Machine_Name
4315 static const char* apzMachine_NamePatch[] = {
4319 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4321 * Description of Math_Exception fix
4323 tSCC zMath_ExceptionName[] =
4327 * File name selection pattern
4329 tSCC zMath_ExceptionList[] =
4332 * Machine/OS name selection pattern
4334 #define apzMath_ExceptionMachs (const char**)NULL
4337 * content selection pattern - do fix if pattern found
4339 tSCC zMath_ExceptionSelect0[] =
4343 * content bypass pattern - skip fix if pattern found
4345 tSCC zMath_ExceptionBypass0[] =
4346 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4348 #define MATH_EXCEPTION_TEST_CT 2
4349 static tTestDesc aMath_ExceptionTests[] = {
4350 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4351 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4354 * Fix Command Arguments for Math_Exception
4356 static const char* apzMath_ExceptionPatch[] = {
4358 "#ifdef __cplusplus\n\
4359 #define exception __math_exception\n\
4361 "#ifdef __cplusplus\n\
4366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4368 * Description of Math_Huge_Val_From_Dbl_Max fix
4370 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4371 "math_huge_val_from_dbl_max";
4374 * File name selection pattern
4376 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4379 * Machine/OS name selection pattern
4381 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4384 * content selection pattern - do fix if pattern found
4386 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4387 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4390 * content bypass pattern - skip fix if pattern found
4392 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4393 "define[ \t]+DBL_MAX";
4395 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4396 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4397 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4398 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4401 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4403 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4404 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4405 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4406 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4411 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4413 * Description of Nested_Auth_Des fix
4415 tSCC zNested_Auth_DesName[] =
4419 * File name selection pattern
4421 tSCC zNested_Auth_DesList[] =
4424 * Machine/OS name selection pattern
4426 #define apzNested_Auth_DesMachs (const char**)NULL
4429 * content selection pattern - do fix if pattern found
4431 tSCC zNested_Auth_DesSelect0[] =
4432 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4434 #define NESTED_AUTH_DES_TEST_CT 1
4435 static tTestDesc aNested_Auth_DesTests[] = {
4436 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4439 * Fix Command Arguments for Nested_Auth_Des
4441 static const char* apzNested_Auth_DesPatch[] = {
4446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4448 * Description of Nested_Motorola fix
4450 tSCC zNested_MotorolaName[] =
4454 * File name selection pattern
4456 tSCC zNested_MotorolaList[] =
4457 "|sys/limits.h|limits.h|";
4459 * Machine/OS name selection pattern
4461 tSCC* apzNested_MotorolaMachs[] = {
4462 "m68k-motorola-sysv*",
4463 (const char*)NULL };
4466 * content selection pattern - do fix if pattern found
4468 tSCC zNested_MotorolaSelect0[] =
4469 "max # bytes atomic in write|error value returned by Math lib";
4471 #define NESTED_MOTOROLA_TEST_CT 1
4472 static tTestDesc aNested_MotorolaTests[] = {
4473 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
4476 * Fix Command Arguments for Nested_Motorola
4478 static const char* apzNested_MotorolaPatch[] = { "sed",
4479 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
4480 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
4483 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4485 * Description of Nested_Sys_Limits fix
4487 tSCC zNested_Sys_LimitsName[] =
4488 "nested_sys_limits";
4491 * File name selection pattern
4493 tSCC zNested_Sys_LimitsList[] =
4496 * Machine/OS name selection pattern
4498 #define apzNested_Sys_LimitsMachs (const char**)NULL
4501 * content selection pattern - do fix if pattern found
4503 tSCC zNested_Sys_LimitsSelect0[] =
4506 #define NESTED_SYS_LIMITS_TEST_CT 1
4507 static tTestDesc aNested_Sys_LimitsTests[] = {
4508 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
4511 * Fix Command Arguments for Nested_Sys_Limits
4513 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
4514 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
4515 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
4518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4520 * Description of Netbsd_Extra_Semicolon fix
4522 tSCC zNetbsd_Extra_SemicolonName[] =
4523 "netbsd_extra_semicolon";
4526 * File name selection pattern
4528 tSCC zNetbsd_Extra_SemicolonList[] =
4531 * Machine/OS name selection pattern
4533 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4535 (const char*)NULL };
4538 * content selection pattern - do fix if pattern found
4540 tSCC zNetbsd_Extra_SemicolonSelect0[] =
4541 "#define[ \t]*__END_DECLS[ \t]*};";
4543 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
4544 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
4545 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
4548 * Fix Command Arguments for Netbsd_Extra_Semicolon
4550 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
4552 "#define __END_DECLS }",
4555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4557 * Description of Next_Math_Prefix fix
4559 tSCC zNext_Math_PrefixName[] =
4563 * File name selection pattern
4565 tSCC zNext_Math_PrefixList[] =
4568 * Machine/OS name selection pattern
4570 #define apzNext_Math_PrefixMachs (const char**)NULL
4573 * content selection pattern - do fix if pattern found
4575 tSCC zNext_Math_PrefixSelect0[] =
4576 "^extern[ \t]+double[ \t]+__const__[ \t]";
4578 #define NEXT_MATH_PREFIX_TEST_CT 1
4579 static tTestDesc aNext_Math_PrefixTests[] = {
4580 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
4583 * Fix Command Arguments for Next_Math_Prefix
4585 static const char* apzNext_Math_PrefixPatch[] = {
4587 "extern double %1(",
4588 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
4591 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4593 * Description of Next_Template fix
4595 tSCC zNext_TemplateName[] =
4599 * File name selection pattern
4601 tSCC zNext_TemplateList[] =
4604 * Machine/OS name selection pattern
4606 #define apzNext_TemplateMachs (const char**)NULL
4609 * content selection pattern - do fix if pattern found
4611 tSCC zNext_TemplateSelect0[] =
4614 #define NEXT_TEMPLATE_TEST_CT 1
4615 static tTestDesc aNext_TemplateTests[] = {
4616 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
4619 * Fix Command Arguments for Next_Template
4621 static const char* apzNext_TemplatePatch[] = {
4624 "\\(([^)]*)[ \t]template\\)",
4627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4629 * Description of Next_Volitile fix
4631 tSCC zNext_VolitileName[] =
4635 * File name selection pattern
4637 tSCC zNext_VolitileList[] =
4640 * Machine/OS name selection pattern
4642 #define apzNext_VolitileMachs (const char**)NULL
4645 * content selection pattern - do fix if pattern found
4647 tSCC zNext_VolitileSelect0[] =
4648 "^extern[ \t]+volatile[ \t]+void[ \t]";
4650 #define NEXT_VOLITILE_TEST_CT 1
4651 static tTestDesc aNext_VolitileTests[] = {
4652 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
4655 * Fix Command Arguments for Next_Volitile
4657 static const char* apzNext_VolitilePatch[] = {
4660 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
4663 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4665 * Description of Next_Wait_Union fix
4667 tSCC zNext_Wait_UnionName[] =
4671 * File name selection pattern
4673 tSCC zNext_Wait_UnionList[] =
4676 * Machine/OS name selection pattern
4678 #define apzNext_Wait_UnionMachs (const char**)NULL
4681 * content selection pattern - do fix if pattern found
4683 tSCC zNext_Wait_UnionSelect0[] =
4684 "wait\\(union wait";
4686 #define NEXT_WAIT_UNION_TEST_CT 1
4687 static tTestDesc aNext_Wait_UnionTests[] = {
4688 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
4691 * Fix Command Arguments for Next_Wait_Union
4693 static const char* apzNext_Wait_UnionPatch[] = {
4698 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4700 * Description of Nodeent_Syntax fix
4702 tSCC zNodeent_SyntaxName[] =
4706 * File name selection pattern
4708 tSCC zNodeent_SyntaxList[] =
4709 "|netdnet/dnetdb.h|";
4711 * Machine/OS name selection pattern
4713 #define apzNodeent_SyntaxMachs (const char**)NULL
4716 * content selection pattern - do fix if pattern found
4718 tSCC zNodeent_SyntaxSelect0[] =
4719 "char[ \t]*\\*na_addr[ \t]*$";
4721 #define NODEENT_SYNTAX_TEST_CT 1
4722 static tTestDesc aNodeent_SyntaxTests[] = {
4723 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
4726 * Fix Command Arguments for Nodeent_Syntax
4728 static const char* apzNodeent_SyntaxPatch[] = {
4733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4735 * Description of Obstack_Lvalue_Cast fix
4737 tSCC zObstack_Lvalue_CastName[] =
4738 "obstack_lvalue_cast";
4741 * File name selection pattern
4743 tSCC zObstack_Lvalue_CastList[] =
4746 * Machine/OS name selection pattern
4748 #define apzObstack_Lvalue_CastMachs (const char**)NULL
4751 * content selection pattern - do fix if pattern found
4753 tSCC zObstack_Lvalue_CastSelect0[] =
4754 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
4756 #define OBSTACK_LVALUE_CAST_TEST_CT 1
4757 static tTestDesc aObstack_Lvalue_CastTests[] = {
4758 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
4761 * Fix Command Arguments for Obstack_Lvalue_Cast
4763 static const char* apzObstack_Lvalue_CastPatch[] = {
4765 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
4768 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4770 * Description of Osf_Namespace_A fix
4772 tSCC zOsf_Namespace_AName[] =
4776 * File name selection pattern
4778 tSCC zOsf_Namespace_AList[] =
4779 "|reg_types.h|sys/lc_core.h|";
4781 * Machine/OS name selection pattern
4783 #define apzOsf_Namespace_AMachs (const char**)NULL
4786 * perform the 'test' shell command - do fix on success
4788 tSCC zOsf_Namespace_ATest0[] =
4790 tSCC zOsf_Namespace_ATest1[] =
4791 " -r sys/lc_core.h";
4792 tSCC zOsf_Namespace_ATest2[] =
4793 " -n \"`grep '} regex_t;' reg_types.h`\"";
4794 tSCC zOsf_Namespace_ATest3[] =
4795 " -z \"`grep __regex_t regex.h`\"";
4797 #define OSF_NAMESPACE_A_TEST_CT 4
4798 static tTestDesc aOsf_Namespace_ATests[] = {
4799 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4800 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4801 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4802 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4805 * Fix Command Arguments for Osf_Namespace_A
4807 static const char* apzOsf_Namespace_APatch[] = {
4810 "reg(ex|off|match)_t",
4813 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4815 * Description of Osf_Namespace_C fix
4817 tSCC zOsf_Namespace_CName[] =
4821 * File name selection pattern
4823 tSCC zOsf_Namespace_CList[] =
4826 * Machine/OS name selection pattern
4828 #define apzOsf_Namespace_CMachs (const char**)NULL
4831 * content selection pattern - do fix if pattern found
4833 tSCC zOsf_Namespace_CSelect0[] =
4834 "#include <reg_types.h>.*";
4837 * perform the 'test' shell command - do fix on success
4839 tSCC zOsf_Namespace_CTest0[] =
4841 tSCC zOsf_Namespace_CTest1[] =
4842 " -r sys/lc_core.h";
4843 tSCC zOsf_Namespace_CTest2[] =
4844 " -n \"`grep '} regex_t;' reg_types.h`\"";
4845 tSCC zOsf_Namespace_CTest3[] =
4846 " -z \"`grep __regex_t regex.h`\"";
4848 #define OSF_NAMESPACE_C_TEST_CT 5
4849 static tTestDesc aOsf_Namespace_CTests[] = {
4850 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
4851 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
4852 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
4853 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
4854 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
4857 * Fix Command Arguments for Osf_Namespace_C
4859 static const char* apzOsf_Namespace_CPatch[] = {
4862 typedef __regex_t\tregex_t;\n\
4863 typedef __regoff_t\tregoff_t;\n\
4864 typedef __regmatch_t\tregmatch_t;",
4867 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4869 * Description of Pthread_Page_Size fix
4871 tSCC zPthread_Page_SizeName[] =
4872 "pthread_page_size";
4875 * File name selection pattern
4877 tSCC zPthread_Page_SizeList[] =
4880 * Machine/OS name selection pattern
4882 #define apzPthread_Page_SizeMachs (const char**)NULL
4885 * content selection pattern - do fix if pattern found
4887 tSCC zPthread_Page_SizeSelect0[] =
4890 #define PTHREAD_PAGE_SIZE_TEST_CT 1
4891 static tTestDesc aPthread_Page_SizeTests[] = {
4892 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
4895 * Fix Command Arguments for Pthread_Page_Size
4897 static const char* apzPthread_Page_SizePatch[] = {
4902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4904 * Description of Pthread_Incomplete_Struct_Argument fix
4906 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
4907 "pthread_incomplete_struct_argument";
4910 * File name selection pattern
4912 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
4915 * Machine/OS name selection pattern
4917 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
4920 * content selection pattern - do fix if pattern found
4922 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
4923 "struct __jmp_buf_tag";
4925 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
4926 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
4927 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
4930 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
4932 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
4935 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
4938 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4940 * Description of Read_Ret_Type fix
4942 tSCC zRead_Ret_TypeName[] =
4946 * File name selection pattern
4948 tSCC zRead_Ret_TypeList[] =
4951 * Machine/OS name selection pattern
4953 #define apzRead_Ret_TypeMachs (const char**)NULL
4956 * content selection pattern - do fix if pattern found
4958 tSCC zRead_Ret_TypeSelect0[] =
4959 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
4961 #define READ_RET_TYPE_TEST_CT 1
4962 static tTestDesc aRead_Ret_TypeTests[] = {
4963 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
4966 * Fix Command Arguments for Read_Ret_Type
4968 static const char* apzRead_Ret_TypePatch[] = {
4970 "extern unsigned int fread(), fwrite();\n\
4972 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
4975 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4977 * Description of Rpc_Xdr_Lvalue_Cast_A fix
4979 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
4980 "rpc_xdr_lvalue_cast_a";
4983 * File name selection pattern
4985 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
4988 * Machine/OS name selection pattern
4990 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
4993 * content selection pattern - do fix if pattern found
4995 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
4996 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
4999 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5000 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5001 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5004 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5006 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5008 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5013 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5015 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5016 "rpc_xdr_lvalue_cast_b";
5019 * File name selection pattern
5021 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5024 * Machine/OS name selection pattern
5026 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5029 * content selection pattern - do fix if pattern found
5031 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5032 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5035 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5036 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5037 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5040 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5042 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5044 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5047 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5049 * Description of Rs6000_Double fix
5051 tSCC zRs6000_DoubleName[] =
5055 * File name selection pattern
5057 tSCC zRs6000_DoubleList[] =
5060 * Machine/OS name selection pattern
5062 #define apzRs6000_DoubleMachs (const char**)NULL
5065 * content selection pattern - do fix if pattern found
5067 tSCC zRs6000_DoubleSelect0[] =
5068 "[^a-zA-Z_]class\\(";
5070 #define RS6000_DOUBLE_TEST_CT 1
5071 static tTestDesc aRs6000_DoubleTests[] = {
5072 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5075 * Fix Command Arguments for Rs6000_Double
5077 static const char* apzRs6000_DoublePatch[] = {
5079 "#ifndef __cplusplus\n\
5082 "^.*[^a-zA-Z_]class\\(.*",
5085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5087 * Description of Rs6000_Fchmod fix
5089 tSCC zRs6000_FchmodName[] =
5093 * File name selection pattern
5095 tSCC zRs6000_FchmodList[] =
5098 * Machine/OS name selection pattern
5100 #define apzRs6000_FchmodMachs (const char**)NULL
5103 * content selection pattern - do fix if pattern found
5105 tSCC zRs6000_FchmodSelect0[] =
5106 "fchmod\\(char \\*";
5108 #define RS6000_FCHMOD_TEST_CT 1
5109 static tTestDesc aRs6000_FchmodTests[] = {
5110 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5113 * Fix Command Arguments for Rs6000_Fchmod
5115 static const char* apzRs6000_FchmodPatch[] = {
5120 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5122 * Description of Rs6000_Param fix
5124 tSCC zRs6000_ParamName[] =
5128 * File name selection pattern
5130 tSCC zRs6000_ParamList[] =
5131 "|stdio.h|unistd.h|";
5133 * Machine/OS name selection pattern
5135 #define apzRs6000_ParamMachs (const char**)NULL
5138 * content selection pattern - do fix if pattern found
5140 tSCC zRs6000_ParamSelect0[] =
5141 "rename\\(const char \\*old, const char \\*new\\)";
5143 #define RS6000_PARAM_TEST_CT 1
5144 static tTestDesc aRs6000_ParamTests[] = {
5145 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5148 * Fix Command Arguments for Rs6000_Param
5150 static const char* apzRs6000_ParamPatch[] = {
5152 "rename(const char *_old, const char *_new)",
5155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5157 * Description of Sco_Math fix
5159 tSCC zSco_MathName[] =
5163 * File name selection pattern
5165 tSCC zSco_MathList[] =
5166 "|math.h|ansi/math.h|posix/math.h|xpg4/math.h|xpg4v2/math.h|xpg4plus/math.h|ods_30_compat/math.h|oldstyle/math.h|";
5168 * Machine/OS name selection pattern
5170 #define apzSco_MathMachs (const char**)NULL
5173 * content selection pattern - do fix if pattern found
5175 tSCC zSco_MathSelect0[] =
5176 "inline double abs";
5179 * content bypass pattern - skip fix if pattern found
5181 tSCC zSco_MathBypass0[] =
5184 #define SCO_MATH_TEST_CT 2
5185 static tTestDesc aSco_MathTests[] = {
5186 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
5187 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
5190 * Fix Command Arguments for Sco_Math
5192 static const char* apzSco_MathPatch[] = { "sed",
5193 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
5194 #ifndef __GNUC__\n",
5195 "-e", "/.*__builtin_generic/a\\\n\
5197 #define __fp_class(a) \\\\\\\n\
5198 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
5199 __fpclassifyl(a), \\\\\\\n\
5200 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
5201 __fpclassifyf(a),__fpclassify(a)))\\\n\
5203 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
5204 #ifndef __GNUC__\n",
5205 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
5206 #endif /* ! __GNUC__ */",
5209 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5211 * Description of Sco_Regset fix
5213 tSCC zSco_RegsetName[] =
5217 * File name selection pattern
5219 tSCC zSco_RegsetList[] =
5222 * Machine/OS name selection pattern
5224 tSCC* apzSco_RegsetMachs[] = {
5226 (const char*)NULL };
5229 * content selection pattern - do fix if pattern found
5231 tSCC zSco_RegsetSelect0[] =
5232 "(struct[ \t]+.*)fpstate";
5234 #define SCO_REGSET_TEST_CT 1
5235 static tTestDesc aSco_RegsetTests[] = {
5236 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
5239 * Fix Command Arguments for Sco_Regset
5241 static const char* apzSco_RegsetPatch[] = {
5246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5248 * Description of Sco_Static_Func fix
5250 tSCC zSco_Static_FuncName[] =
5254 * File name selection pattern
5256 tSCC zSco_Static_FuncList[] =
5259 * Machine/OS name selection pattern
5261 tSCC* apzSco_Static_FuncMachs[] = {
5263 (const char*)NULL };
5266 * content selection pattern - do fix if pattern found
5268 tSCC zSco_Static_FuncSelect0[] =
5271 #define SCO_STATIC_FUNC_TEST_CT 1
5272 static tTestDesc aSco_Static_FuncTests[] = {
5273 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
5276 * Fix Command Arguments for Sco_Static_Func
5278 static const char* apzSco_Static_FuncPatch[] = { "sed",
5279 "-e", "/^static int/i\\\n\
5280 #if __cplusplus\\\n\
5282 #endif /* __cplusplus */",
5284 #if __cplusplus\\\n\
5286 #endif /* __cplusplus */",
5289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5291 * Description of Sco_Utime fix
5293 tSCC zSco_UtimeName[] =
5297 * File name selection pattern
5299 tSCC zSco_UtimeList[] =
5302 * Machine/OS name selection pattern
5304 tSCC* apzSco_UtimeMachs[] = {
5306 (const char*)NULL };
5309 * content selection pattern - do fix if pattern found
5311 tSCC zSco_UtimeSelect0[] =
5312 "\\(const char \\*, struct utimbuf \\*\\);";
5314 #define SCO_UTIME_TEST_CT 1
5315 static tTestDesc aSco_UtimeTests[] = {
5316 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
5319 * Fix Command Arguments for Sco_Utime
5321 static const char* apzSco_UtimePatch[] = {
5323 "(const char *, const struct utimbuf *);",
5326 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5328 * Description of Solaris_Math_1 fix
5330 tSCC zSolaris_Math_1Name[] =
5334 * File name selection pattern
5336 tSCC zSolaris_Math_1List[] =
5339 * Machine/OS name selection pattern
5341 #define apzSolaris_Math_1Machs (const char**)NULL
5344 * content selection pattern - do fix if pattern found
5346 tSCC zSolaris_Math_1Select0[] =
5347 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5350 * content bypass pattern - skip fix if pattern found
5352 tSCC zSolaris_Math_1Bypass0[] =
5355 #define SOLARIS_MATH_1_TEST_CT 2
5356 static tTestDesc aSolaris_Math_1Tests[] = {
5357 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
5358 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
5361 * Fix Command Arguments for Solaris_Math_1
5363 static const char* apzSolaris_Math_1Patch[] = {
5365 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
5366 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
5369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5371 * Description of Solaris_Math_2 fix
5373 tSCC zSolaris_Math_2Name[] =
5377 * File name selection pattern
5379 tSCC zSolaris_Math_2List[] =
5382 * Machine/OS name selection pattern
5384 #define apzSolaris_Math_2Machs (const char**)NULL
5387 * content selection pattern - do fix if pattern found
5389 tSCC zSolaris_Math_2Select0[] =
5390 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5393 * content bypass pattern - skip fix if pattern found
5395 tSCC zSolaris_Math_2Bypass0[] =
5398 #define SOLARIS_MATH_2_TEST_CT 2
5399 static tTestDesc aSolaris_Math_2Tests[] = {
5400 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
5401 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
5404 * Fix Command Arguments for Solaris_Math_2
5406 static const char* apzSolaris_Math_2Patch[] = {
5408 "#define\tINFINITY\t(__builtin_inff())",
5409 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
5412 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5414 * Description of Solaris_Math_3 fix
5416 tSCC zSolaris_Math_3Name[] =
5420 * File name selection pattern
5422 tSCC zSolaris_Math_3List[] =
5425 * Machine/OS name selection pattern
5427 #define apzSolaris_Math_3Machs (const char**)NULL
5430 * content selection pattern - do fix if pattern found
5432 tSCC zSolaris_Math_3Select0[] =
5433 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5436 * content bypass pattern - skip fix if pattern found
5438 tSCC zSolaris_Math_3Bypass0[] =
5441 #define SOLARIS_MATH_3_TEST_CT 2
5442 static tTestDesc aSolaris_Math_3Tests[] = {
5443 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
5444 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
5447 * Fix Command Arguments for Solaris_Math_3
5449 static const char* apzSolaris_Math_3Patch[] = {
5451 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
5452 "^#define[ \t]+NAN[ \t]+__builtin_nan",
5455 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5457 * Description of Solaris_Math_4 fix
5459 tSCC zSolaris_Math_4Name[] =
5463 * File name selection pattern
5465 tSCC zSolaris_Math_4List[] =
5468 * Machine/OS name selection pattern
5470 #define apzSolaris_Math_4Machs (const char**)NULL
5473 * content selection pattern - do fix if pattern found
5475 tSCC zSolaris_Math_4Select0[] =
5476 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5479 * content bypass pattern - skip fix if pattern found
5481 tSCC zSolaris_Math_4Bypass0[] =
5484 #define SOLARIS_MATH_4_TEST_CT 2
5485 static tTestDesc aSolaris_Math_4Tests[] = {
5486 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
5487 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
5490 * Fix Command Arguments for Solaris_Math_4
5492 static const char* apzSolaris_Math_4Patch[] = {
5494 "#define\tfpclassify(x) \\\n\
5495 __extension__ ({ __typeof(x) __x_fp = (x); \\\n\
5496 \t\t isnan(__x_fp) \\\n\
5498 \t\t : isinf(__x_fp) \\\n\
5499 \t\t ? FP_INFINITE \\\n\
5500 \t\t : isnormal(__x_fp) \\\n\
5501 \t\t\t ? FP_NORMAL \\\n\
5502 \t\t\t : __x_fp == 0.0 \\\n\
5503 \t\t\t ? FP_ZERO \\\n\
5504 \t\t\t : FP_SUBNORMAL; })",
5505 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
5508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5510 * Description of Solaris_Math_5 fix
5512 tSCC zSolaris_Math_5Name[] =
5516 * File name selection pattern
5518 tSCC zSolaris_Math_5List[] =
5521 * Machine/OS name selection pattern
5523 #define apzSolaris_Math_5Machs (const char**)NULL
5526 * content selection pattern - do fix if pattern found
5528 tSCC zSolaris_Math_5Select0[] =
5529 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5532 * content bypass pattern - skip fix if pattern found
5534 tSCC zSolaris_Math_5Bypass0[] =
5537 #define SOLARIS_MATH_5_TEST_CT 2
5538 static tTestDesc aSolaris_Math_5Tests[] = {
5539 { TT_NEGREP, zSolaris_Math_5Bypass0, (regex_t*)NULL },
5540 { TT_EGREP, zSolaris_Math_5Select0, (regex_t*)NULL }, };
5543 * Fix Command Arguments for Solaris_Math_5
5545 static const char* apzSolaris_Math_5Patch[] = {
5547 "#define\tisfinite(x) \\\n\
5548 __extension__ ({ __typeof (x) __x_f = (x); \\\n\
5549 \t\t __builtin_expect(!isnan(__x_f - __x_f), 1); })",
5550 "^#define[ \t]+isfinite\\(x\\)[ \t]+__builtin_isfinite\\(x\\)",
5553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5555 * Description of Solaris_Math_6 fix
5557 tSCC zSolaris_Math_6Name[] =
5561 * File name selection pattern
5563 tSCC zSolaris_Math_6List[] =
5566 * Machine/OS name selection pattern
5568 #define apzSolaris_Math_6Machs (const char**)NULL
5571 * content selection pattern - do fix if pattern found
5573 tSCC zSolaris_Math_6Select0[] =
5574 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5577 * content bypass pattern - skip fix if pattern found
5579 tSCC zSolaris_Math_6Bypass0[] =
5582 #define SOLARIS_MATH_6_TEST_CT 2
5583 static tTestDesc aSolaris_Math_6Tests[] = {
5584 { TT_NEGREP, zSolaris_Math_6Bypass0, (regex_t*)NULL },
5585 { TT_EGREP, zSolaris_Math_6Select0, (regex_t*)NULL }, };
5588 * Fix Command Arguments for Solaris_Math_6
5590 static const char* apzSolaris_Math_6Patch[] = {
5592 "#define\tisinf(x) \\\n\
5593 __extension__ ({ __typeof (x) __x_i = (x); \\\n\
5594 \t\t __builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); })",
5595 "^#define[ \t]+isinf\\(x\\)[ \t]+__builtin_isinf\\(x\\)",
5598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5600 * Description of Solaris_Math_7 fix
5602 tSCC zSolaris_Math_7Name[] =
5606 * File name selection pattern
5608 tSCC zSolaris_Math_7List[] =
5611 * Machine/OS name selection pattern
5613 #define apzSolaris_Math_7Machs (const char**)NULL
5616 * content selection pattern - do fix if pattern found
5618 tSCC zSolaris_Math_7Select0[] =
5619 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5622 * content bypass pattern - skip fix if pattern found
5624 tSCC zSolaris_Math_7Bypass0[] =
5627 #define SOLARIS_MATH_7_TEST_CT 2
5628 static tTestDesc aSolaris_Math_7Tests[] = {
5629 { TT_NEGREP, zSolaris_Math_7Bypass0, (regex_t*)NULL },
5630 { TT_EGREP, zSolaris_Math_7Select0, (regex_t*)NULL }, };
5633 * Fix Command Arguments for Solaris_Math_7
5635 static const char* apzSolaris_Math_7Patch[] = {
5637 "#define\tisnormal(x) \\\n\
5638 __extension__ ({ __typeof(x) __x_n = (x); \\\n\
5639 \t\t if (__x_n < 0.0) __x_n = -__x_n; \\\n\
5640 \t\t __builtin_expect(isfinite(__x_n) \\\n\
5641 \t\t\t\t && (sizeof(__x_n) == sizeof(float) \\\n\
5642 \t\t\t\t\t ? __x_n >= __FLT_MIN__ \\\n\
5643 \t\t\t\t\t : sizeof(__x_n) == sizeof(long double) \\\n\
5644 \t\t\t\t\t ? __x_n >= __LDBL_MIN__ \\\n\
5645 \t\t\t\t\t : __x_n >= __DBL_MIN__), 1); })",
5646 "^#define[ \t]+isnormal\\(x\\)[ \t]+__builtin_isnormal\\(x\\)",
5649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5651 * Description of Solaris_Math_8 fix
5653 tSCC zSolaris_Math_8Name[] =
5657 * File name selection pattern
5659 tSCC zSolaris_Math_8List[] =
5662 * Machine/OS name selection pattern
5664 #define apzSolaris_Math_8Machs (const char**)NULL
5667 * content selection pattern - do fix if pattern found
5669 tSCC zSolaris_Math_8Select0[] =
5670 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5673 * content bypass pattern - skip fix if pattern found
5675 tSCC zSolaris_Math_8Bypass0[] =
5678 #define SOLARIS_MATH_8_TEST_CT 2
5679 static tTestDesc aSolaris_Math_8Tests[] = {
5680 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
5681 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
5684 * Fix Command Arguments for Solaris_Math_8
5686 static const char* apzSolaris_Math_8Patch[] = {
5688 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
5689 \t\t\t ? __builtin_signbitf(x) \\\n\
5690 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
5691 \t\t\t ? __builtin_signbitl(x) \\\n\
5692 \t\t\t : __builtin_signbit(x))",
5693 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
5696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5698 * Description of Solaris_Math_9 fix
5700 tSCC zSolaris_Math_9Name[] =
5704 * File name selection pattern
5706 tSCC zSolaris_Math_9List[] =
5709 * Machine/OS name selection pattern
5711 #define apzSolaris_Math_9Machs (const char**)NULL
5714 * content selection pattern - do fix if pattern found
5716 tSCC zSolaris_Math_9Select0[] =
5717 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5720 * content bypass pattern - skip fix if pattern found
5722 tSCC zSolaris_Math_9Bypass0[] =
5725 #define SOLARIS_MATH_9_TEST_CT 2
5726 static tTestDesc aSolaris_Math_9Tests[] = {
5727 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
5728 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
5731 * Fix Command Arguments for Solaris_Math_9
5733 static const char* apzSolaris_Math_9Patch[] = {
5735 "#define\t%1(x, y)%2__builtin_%1(x, y)",
5736 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
5739 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5741 * Description of Solaris_Mutex_Init_1 fix
5743 tSCC zSolaris_Mutex_Init_1Name[] =
5744 "solaris_mutex_init_1";
5747 * File name selection pattern
5749 tSCC zSolaris_Mutex_Init_1List[] =
5752 * Machine/OS name selection pattern
5754 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
5757 * content selection pattern - do fix if pattern found
5759 tSCC zSolaris_Mutex_Init_1Select0[] =
5760 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
5762 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
5763 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
5764 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
5767 * Fix Command Arguments for Solaris_Mutex_Init_1
5769 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
5770 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
5771 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
5774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5776 * Description of Solaris_Mutex_Init_2 fix
5778 tSCC zSolaris_Mutex_Init_2Name[] =
5779 "solaris_mutex_init_2";
5782 * File name selection pattern
5784 tSCC zSolaris_Mutex_Init_2List[] =
5787 * Machine/OS name selection pattern
5789 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
5790 "*-*-solaris2.[0-9]",
5791 "*-*-solaris2.[0-9][!0-9]*",
5792 (const char*)NULL };
5795 * content selection pattern - do fix if pattern found
5797 tSCC zSolaris_Mutex_Init_2Select0[] =
5798 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5800 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
5801 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
5802 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
5805 * Fix Command Arguments for Solaris_Mutex_Init_2
5807 static const char* apzSolaris_Mutex_Init_2Patch[] = {
5809 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5814 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
5815 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
5818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5820 * Description of Solaris_Rwlock_Init_1 fix
5822 tSCC zSolaris_Rwlock_Init_1Name[] =
5823 "solaris_rwlock_init_1";
5826 * File name selection pattern
5828 tSCC zSolaris_Rwlock_Init_1List[] =
5831 * Machine/OS name selection pattern
5833 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
5835 (const char*)NULL };
5838 * content selection pattern - do fix if pattern found
5840 tSCC zSolaris_Rwlock_Init_1Select0[] =
5841 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5843 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
5844 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
5845 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
5848 * Fix Command Arguments for Solaris_Rwlock_Init_1
5850 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
5852 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5855 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
5857 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
5860 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5862 * Description of Solaris_Once_Init_1 fix
5864 tSCC zSolaris_Once_Init_1Name[] =
5865 "solaris_once_init_1";
5868 * File name selection pattern
5870 tSCC zSolaris_Once_Init_1List[] =
5873 * Machine/OS name selection pattern
5875 tSCC* apzSolaris_Once_Init_1Machs[] = {
5877 (const char*)NULL };
5880 * content selection pattern - do fix if pattern found
5882 tSCC zSolaris_Once_Init_1Select0[] =
5883 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5885 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
5886 static tTestDesc aSolaris_Once_Init_1Tests[] = {
5887 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
5890 * Fix Command Arguments for Solaris_Once_Init_1
5892 static const char* apzSolaris_Once_Init_1Patch[] = {
5895 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
5898 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5900 * Description of Solaris_Once_Init_2 fix
5902 tSCC zSolaris_Once_Init_2Name[] =
5903 "solaris_once_init_2";
5906 * File name selection pattern
5908 tSCC zSolaris_Once_Init_2List[] =
5911 * Machine/OS name selection pattern
5913 tSCC* apzSolaris_Once_Init_2Machs[] = {
5914 "*-*-solaris2.[0-9]",
5915 "*-*-solaris2.[0-9][!0-9]*",
5916 (const char*)NULL };
5919 * content selection pattern - do fix if pattern found
5921 tSCC zSolaris_Once_Init_2Select0[] =
5922 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5924 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
5925 static tTestDesc aSolaris_Once_Init_2Tests[] = {
5926 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
5929 * Fix Command Arguments for Solaris_Once_Init_2
5931 static const char* apzSolaris_Once_Init_2Patch[] = {
5933 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5936 %1{0}, {0}, {0}, {%3}%4\n\
5938 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
5941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5943 * Description of Solaris_Socket fix
5945 tSCC zSolaris_SocketName[] =
5949 * File name selection pattern
5951 tSCC zSolaris_SocketList[] =
5954 * Machine/OS name selection pattern
5956 #define apzSolaris_SocketMachs (const char**)NULL
5959 * content selection pattern - do fix if pattern found
5961 tSCC zSolaris_SocketSelect0[] =
5962 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
5964 #define SOLARIS_SOCKET_TEST_CT 1
5965 static tTestDesc aSolaris_SocketTests[] = {
5966 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
5969 * Fix Command Arguments for Solaris_Socket
5971 static const char* apzSolaris_SocketPatch[] = {
5973 "extern int %1(int, %2void *, int, int);",
5974 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
5977 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5979 * Description of Solaris_Stdio_Tag fix
5981 tSCC zSolaris_Stdio_TagName[] =
5982 "solaris_stdio_tag";
5985 * File name selection pattern
5987 tSCC zSolaris_Stdio_TagList[] =
5990 * Machine/OS name selection pattern
5992 #define apzSolaris_Stdio_TagMachs (const char**)NULL
5995 * content selection pattern - do fix if pattern found
5997 tSCC zSolaris_Stdio_TagSelect0[] =
5998 "__cplusplus < 54321L";
6001 * content bypass pattern - skip fix if pattern found
6003 tSCC zSolaris_Stdio_TagBypass0[] =
6006 #define SOLARIS_STDIO_TAG_TEST_CT 2
6007 static tTestDesc aSolaris_Stdio_TagTests[] = {
6008 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6009 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6012 * Fix Command Arguments for Solaris_Stdio_Tag
6014 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
6015 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6018 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6020 * Description of Solaris_Unistd fix
6022 tSCC zSolaris_UnistdName[] =
6026 * File name selection pattern
6028 tSCC zSolaris_UnistdList[] =
6031 * Machine/OS name selection pattern
6033 #define apzSolaris_UnistdMachs (const char**)NULL
6036 * content selection pattern - do fix if pattern found
6038 tSCC zSolaris_UnistdSelect0[] =
6039 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
6042 * content bypass pattern - skip fix if pattern found
6044 tSCC zSolaris_UnistdBypass0[] =
6047 #define SOLARIS_UNISTD_TEST_CT 2
6048 static tTestDesc aSolaris_UnistdTests[] = {
6049 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
6050 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
6053 * Fix Command Arguments for Solaris_Unistd
6055 static const char* apzSolaris_UnistdPatch[] = {
6057 "extern int getpagesize();\n\
6059 "^extern (pid_t|int) getpgid\\(.*\\);",
6062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6064 * Description of Solaris_Widec fix
6066 tSCC zSolaris_WidecName[] =
6070 * File name selection pattern
6072 tSCC zSolaris_WidecList[] =
6075 * Machine/OS name selection pattern
6077 tSCC* apzSolaris_WidecMachs[] = {
6078 "*-*-solaris2.[0-5]",
6079 "*-*-solaris2.[0-5].*",
6080 (const char*)NULL };
6083 * content selection pattern - do fix if pattern found
6085 tSCC zSolaris_WidecSelect0[] =
6089 * content bypass pattern - skip fix if pattern found
6091 tSCC zSolaris_WidecBypass0[] =
6092 "include.*wchar\\.h";
6094 #define SOLARIS_WIDEC_TEST_CT 2
6095 static tTestDesc aSolaris_WidecTests[] = {
6096 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
6097 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
6100 * Fix Command Arguments for Solaris_Widec
6102 static const char* apzSolaris_WidecPatch[] = {
6105 #include <wchar.h>",
6108 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6110 * Description of Statsswtch fix
6112 tSCC zStatsswtchName[] =
6116 * File name selection pattern
6118 tSCC zStatsswtchList[] =
6121 * Machine/OS name selection pattern
6123 #define apzStatsswtchMachs (const char**)NULL
6126 * content selection pattern - do fix if pattern found
6128 tSCC zStatsswtchSelect0[] =
6131 #define STATSSWTCH_TEST_CT 1
6132 static tTestDesc aStatsswtchTests[] = {
6133 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6136 * Fix Command Arguments for Statsswtch
6138 static const char* apzStatsswtchPatch[] = {
6143 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6145 * Description of Stdio_Stdarg_H fix
6147 tSCC zStdio_Stdarg_HName[] =
6151 * File name selection pattern
6153 tSCC zStdio_Stdarg_HList[] =
6156 * Machine/OS name selection pattern
6158 tSCC* apzStdio_Stdarg_HMachs[] = {
6159 "*-*-solaris2.1[0-9]*",
6160 (const char*)NULL };
6163 * content bypass pattern - skip fix if pattern found
6165 tSCC zStdio_Stdarg_HBypass0[] =
6166 "include.*(stdarg.h|machine/ansi.h)";
6168 #define STDIO_STDARG_H_TEST_CT 1
6169 static tTestDesc aStdio_Stdarg_HTests[] = {
6170 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6173 * Fix Command Arguments for Stdio_Stdarg_H
6175 static const char* apzStdio_Stdarg_HPatch[] = {
6177 "#define __need___va_list\n\
6178 #include <stdarg.h>\n",
6181 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6183 * Description of Stdio_Va_List fix
6185 tSCC zStdio_Va_ListName[] =
6189 * File name selection pattern
6191 tSCC zStdio_Va_ListList[] =
6192 "|stdio.h|internal/stdio_core.h|internal/wchar_core.h|";
6194 * Machine/OS name selection pattern
6196 tSCC* apzStdio_Va_ListMachs[] = {
6197 "*-*-solaris2.1[0-9]*",
6198 (const char*)NULL };
6201 * content bypass pattern - skip fix if pattern found
6203 tSCC zStdio_Va_ListBypass0[] =
6204 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6206 #define STDIO_VA_LIST_TEST_CT 1
6207 static tTestDesc aStdio_Va_ListTests[] = {
6208 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
6211 * Fix Command Arguments for Stdio_Va_List
6213 static const char* apzStdio_Va_ListPatch[] = { "sed",
6214 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6215 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6216 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6217 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6218 s@ va_list@ __not_va_list__@\n\
6219 s@\\*va_list@*__not_va_list__@\n\
6220 s@ __va_list)@ __gnuc_va_list)@\n\
6221 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6222 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6223 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6224 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6225 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6226 s@VA_LIST@DUMMY_VA_LIST@\n\
6227 s@_Va_LIST@_VA_LIST@",
6230 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6232 * Description of Stdio_Va_List_Clients fix
6234 tSCC zStdio_Va_List_ClientsName[] =
6235 "stdio_va_list_clients";
6238 * File name selection pattern
6240 tSCC zStdio_Va_List_ClientsList[] =
6241 "|com_err.h|cps.h|curses.h|krb5.h|lc_core.h|pfmt.h|wchar.h|curses_colr/curses.h|";
6243 * Machine/OS name selection pattern
6245 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
6248 * content bypass pattern - skip fix if pattern found
6250 tSCC zStdio_Va_List_ClientsBypass0[] =
6251 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6252 tSCC zStdio_Va_List_ClientsBypass1[] =
6253 "include <stdarg\\.h>|#ifdef va_start";
6255 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
6256 static tTestDesc aStdio_Va_List_ClientsTests[] = {
6257 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
6258 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
6261 * Fix Command Arguments for Stdio_Va_List_Clients
6263 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
6264 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6265 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6266 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6267 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6268 s@ va_list@ __not_va_list__@\n\
6269 s@\\*va_list@*__not_va_list__@\n\
6270 s@ __va_list)@ __gnuc_va_list)@\n\
6271 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6272 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6273 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6274 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6275 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6276 s@VA_LIST@DUMMY_VA_LIST@\n\
6277 s@_Va_LIST@_VA_LIST@",
6280 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6282 * Description of Strict_Ansi_Not fix
6284 tSCC zStrict_Ansi_NotName[] =
6288 * File name selection pattern
6290 #define zStrict_Ansi_NotList (char*)NULL
6292 * Machine/OS name selection pattern
6294 #define apzStrict_Ansi_NotMachs (const char**)NULL
6297 * content selection pattern - do fix if pattern found
6299 tSCC zStrict_Ansi_NotSelect0[] =
6300 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
6303 * content bypass pattern - skip fix if pattern found
6305 tSCC zStrict_Ansi_NotBypass0[] =
6306 "GNU and MIPS C compilers define __STDC__ differently";
6307 tSCC zStrict_Ansi_NotBypass1[] =
6308 "__SCO_VERSION__.*__STDC__ != 1";
6311 * perform the C function call test
6313 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
6315 #define STRICT_ANSI_NOT_TEST_CT 4
6316 static tTestDesc aStrict_Ansi_NotTests[] = {
6317 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
6318 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
6319 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
6320 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
6323 * Fix Command Arguments for Strict_Ansi_Not
6325 static const char* apzStrict_Ansi_NotPatch[] = {
6327 "%1 !defined(__STRICT_ANSI__)",
6330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6332 * Description of Strict_Ansi_Not_Ctd fix
6334 tSCC zStrict_Ansi_Not_CtdName[] =
6335 "strict_ansi_not_ctd";
6338 * File name selection pattern
6340 tSCC zStrict_Ansi_Not_CtdList[] =
6341 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
6343 * Machine/OS name selection pattern
6345 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
6348 * content selection pattern - do fix if pattern found
6350 tSCC zStrict_Ansi_Not_CtdSelect0[] =
6351 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
6354 * perform the C function call test
6356 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
6358 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
6359 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
6360 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
6361 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
6364 * Fix Command Arguments for Strict_Ansi_Not_Ctd
6366 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
6368 "%1 !defined(__STRICT_ANSI__)",
6371 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6373 * Description of Strict_Ansi_Only fix
6375 tSCC zStrict_Ansi_OnlyName[] =
6379 * File name selection pattern
6381 #define zStrict_Ansi_OnlyList (char*)NULL
6383 * Machine/OS name selection pattern
6385 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
6388 * content selection pattern - do fix if pattern found
6390 tSCC zStrict_Ansi_OnlySelect0[] =
6391 "^([ \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)";
6394 * perform the C function call test
6396 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
6398 #define STRICT_ANSI_ONLY_TEST_CT 2
6399 static tTestDesc aStrict_Ansi_OnlyTests[] = {
6400 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
6401 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
6404 * Fix Command Arguments for Strict_Ansi_Only
6406 static const char* apzStrict_Ansi_OnlyPatch[] = {
6408 "%1 defined(__STRICT_ANSI__)",
6411 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6413 * Description of Struct_File fix
6415 tSCC zStruct_FileName[] =
6419 * File name selection pattern
6421 tSCC zStruct_FileList[] =
6424 * Machine/OS name selection pattern
6426 #define apzStruct_FileMachs (const char**)NULL
6429 * content selection pattern - do fix if pattern found
6431 tSCC zStruct_FileSelect0[] =
6432 "^.*xdrstdio_create.*struct __file_s";
6434 #define STRUCT_FILE_TEST_CT 1
6435 static tTestDesc aStruct_FileTests[] = {
6436 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
6439 * Fix Command Arguments for Struct_File
6441 static const char* apzStruct_FilePatch[] = {
6443 "struct __file_s;\n\
6447 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6449 * Description of Struct_Sockaddr fix
6451 tSCC zStruct_SockaddrName[] =
6455 * File name selection pattern
6457 tSCC zStruct_SockaddrList[] =
6460 * Machine/OS name selection pattern
6462 #define apzStruct_SockaddrMachs (const char**)NULL
6465 * content selection pattern - do fix if pattern found
6467 tSCC zStruct_SockaddrSelect0[] =
6468 "^.*authdes_create.*struct sockaddr[^_]";
6471 * content bypass pattern - skip fix if pattern found
6473 tSCC zStruct_SockaddrBypass0[] =
6475 tSCC zStruct_SockaddrBypass1[] =
6476 "struct sockaddr;\n";
6478 #define STRUCT_SOCKADDR_TEST_CT 3
6479 static tTestDesc aStruct_SockaddrTests[] = {
6480 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
6481 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
6482 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
6485 * Fix Command Arguments for Struct_Sockaddr
6487 static const char* apzStruct_SockaddrPatch[] = {
6489 "struct sockaddr;\n\
6493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6495 * Description of Sun_Auth_Proto fix
6497 tSCC zSun_Auth_ProtoName[] =
6501 * File name selection pattern
6503 tSCC zSun_Auth_ProtoList[] =
6504 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
6506 * Machine/OS name selection pattern
6508 #define apzSun_Auth_ProtoMachs (const char**)NULL
6511 * content selection pattern - do fix if pattern found
6513 tSCC zSun_Auth_ProtoSelect0[] =
6514 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
6517 * content bypass pattern - skip fix if pattern found
6519 tSCC zSun_Auth_ProtoBypass0[] =
6522 #define SUN_AUTH_PROTO_TEST_CT 2
6523 static tTestDesc aSun_Auth_ProtoTests[] = {
6524 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
6525 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
6528 * Fix Command Arguments for Sun_Auth_Proto
6530 static const char* apzSun_Auth_ProtoPatch[] = {
6532 "#ifdef __cplusplus\n\
6537 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
6540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6542 * Description of Sun_Bogus_Ifdef fix
6544 tSCC zSun_Bogus_IfdefName[] =
6548 * File name selection pattern
6550 tSCC zSun_Bogus_IfdefList[] =
6551 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
6553 * Machine/OS name selection pattern
6555 #define apzSun_Bogus_IfdefMachs (const char**)NULL
6558 * content selection pattern - do fix if pattern found
6560 tSCC zSun_Bogus_IfdefSelect0[] =
6561 "#ifdef(.*\\|\\|.*)";
6563 #define SUN_BOGUS_IFDEF_TEST_CT 1
6564 static tTestDesc aSun_Bogus_IfdefTests[] = {
6565 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
6568 * Fix Command Arguments for Sun_Bogus_Ifdef
6570 static const char* apzSun_Bogus_IfdefPatch[] = {
6575 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6577 * Description of Sun_Catmacro fix
6579 tSCC zSun_CatmacroName[] =
6583 * File name selection pattern
6585 tSCC zSun_CatmacroList[] =
6586 "|pixrect/memvar.h|";
6588 * Machine/OS name selection pattern
6590 #define apzSun_CatmacroMachs (const char**)NULL
6593 * content selection pattern - do fix if pattern found
6595 tSCC zSun_CatmacroSelect0[] =
6596 "^#define[ \t]+CAT\\(a,b\\).*";
6598 #define SUN_CATMACRO_TEST_CT 1
6599 static tTestDesc aSun_CatmacroTests[] = {
6600 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
6603 * Fix Command Arguments for Sun_Catmacro
6605 static const char* apzSun_CatmacroPatch[] = {
6608 # define CAT(a,b) a##b\n\
6614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6616 * Description of Sun_Malloc fix
6618 tSCC zSun_MallocName[] =
6622 * File name selection pattern
6624 tSCC zSun_MallocList[] =
6627 * Machine/OS name selection pattern
6629 #define apzSun_MallocMachs (const char**)NULL
6632 * content bypass pattern - skip fix if pattern found
6634 tSCC zSun_MallocBypass0[] =
6635 "_CLASSIC_ANSI_TYPES";
6637 #define SUN_MALLOC_TEST_CT 1
6638 static tTestDesc aSun_MallocTests[] = {
6639 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
6642 * Fix Command Arguments for Sun_Malloc
6644 static const char* apzSun_MallocPatch[] = { "sed",
6645 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
6646 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
6647 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
6648 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
6649 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
6652 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6654 * Description of Sun_Rusers_Semi fix
6656 tSCC zSun_Rusers_SemiName[] =
6660 * File name selection pattern
6662 tSCC zSun_Rusers_SemiList[] =
6663 "|rpcsvc/rusers.h|";
6665 * Machine/OS name selection pattern
6667 #define apzSun_Rusers_SemiMachs (const char**)NULL
6670 * content selection pattern - do fix if pattern found
6672 tSCC zSun_Rusers_SemiSelect0[] =
6675 #define SUN_RUSERS_SEMI_TEST_CT 1
6676 static tTestDesc aSun_Rusers_SemiTests[] = {
6677 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
6680 * Fix Command Arguments for Sun_Rusers_Semi
6682 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
6683 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
6686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6688 * Description of Sun_Signal fix
6690 tSCC zSun_SignalName[] =
6694 * File name selection pattern
6696 tSCC zSun_SignalList[] =
6697 "|sys/signal.h|signal.h|";
6699 * Machine/OS name selection pattern
6701 #define apzSun_SignalMachs (const char**)NULL
6704 * content selection pattern - do fix if pattern found
6706 tSCC zSun_SignalSelect0[] =
6707 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
6709 #define SUN_SIGNAL_TEST_CT 1
6710 static tTestDesc aSun_SignalTests[] = {
6711 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
6714 * Fix Command Arguments for Sun_Signal
6716 static const char* apzSun_SignalPatch[] = {
6718 "#ifdef __cplusplus\n\
6719 void\t(*signal(...))(...);\n\
6725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6727 * Description of Sunos_Strlen fix
6729 tSCC zSunos_StrlenName[] =
6733 * File name selection pattern
6735 tSCC zSunos_StrlenList[] =
6738 * Machine/OS name selection pattern
6740 #define apzSunos_StrlenMachs (const char**)NULL
6743 * content selection pattern - do fix if pattern found
6745 tSCC zSunos_StrlenSelect0[] =
6746 "int[ \t]*strlen\\(\\);(.*)";
6748 #define SUNOS_STRLEN_TEST_CT 1
6749 static tTestDesc aSunos_StrlenTests[] = {
6750 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
6753 * Fix Command Arguments for Sunos_Strlen
6755 static const char* apzSunos_StrlenPatch[] = {
6757 "__SIZE_TYPE__ strlen();%1",
6760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6762 * Description of Svr4_Disable_Opt fix
6764 tSCC zSvr4_Disable_OptName[] =
6768 * File name selection pattern
6770 tSCC zSvr4_Disable_OptList[] =
6773 * Machine/OS name selection pattern
6775 #define apzSvr4_Disable_OptMachs (const char**)NULL
6778 * content selection pattern - do fix if pattern found
6780 tSCC zSvr4_Disable_OptSelect0[] =
6781 "#define.*__std_hdr_";
6783 #define SVR4_DISABLE_OPT_TEST_CT 1
6784 static tTestDesc aSvr4_Disable_OptTests[] = {
6785 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
6788 * Fix Command Arguments for Svr4_Disable_Opt
6790 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
6791 "-e", "/#define.*__std_hdr_/d",
6794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6796 * Description of Svr4_Getcwd fix
6798 tSCC zSvr4_GetcwdName[] =
6802 * File name selection pattern
6804 tSCC zSvr4_GetcwdList[] =
6805 "|stdlib.h|unistd.h|prototypes.h|";
6807 * Machine/OS name selection pattern
6809 #define apzSvr4_GetcwdMachs (const char**)NULL
6812 * content selection pattern - do fix if pattern found
6814 tSCC zSvr4_GetcwdSelect0[] =
6815 "getcwd\\(char \\*, int\\)";
6817 #define SVR4_GETCWD_TEST_CT 1
6818 static tTestDesc aSvr4_GetcwdTests[] = {
6819 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
6822 * Fix Command Arguments for Svr4_Getcwd
6824 static const char* apzSvr4_GetcwdPatch[] = {
6826 "getcwd(char *, size_t)",
6829 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6831 * Description of Svr4_Krnl fix
6833 tSCC zSvr4_KrnlName[] =
6837 * File name selection pattern
6839 tSCC zSvr4_KrnlList[] =
6840 "|fs/rfs/rf_cache.h|sys/erec.h|sys/err.h|sys/char.h|sys/getpages.h|sys/map.h|sys/cmn_err.h|sys/kdebugger.h|";
6842 * Machine/OS name selection pattern
6844 tSCC* apzSvr4_KrnlMachs[] = {
6846 "i?86-sequent-ptx*",
6847 (const char*)NULL };
6850 * content bypass pattern - skip fix if pattern found
6852 tSCC zSvr4_KrnlBypass0[] =
6855 #define SVR4_KRNL_TEST_CT 1
6856 static tTestDesc aSvr4_KrnlTests[] = {
6857 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
6860 * Fix Command Arguments for Svr4_Krnl
6862 static const char* apzSvr4_KrnlPatch[] = {
6865 "#endif /* _KERNEL */\n",
6868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6870 * Description of Svr4_Profil fix
6872 tSCC zSvr4_ProfilName[] =
6876 * File name selection pattern
6878 tSCC zSvr4_ProfilList[] =
6879 "|stdlib.h|unistd.h|";
6881 * Machine/OS name selection pattern
6883 #define apzSvr4_ProfilMachs (const char**)NULL
6886 * content selection pattern - do fix if pattern found
6888 tSCC zSvr4_ProfilSelect0[] =
6889 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
6892 * content bypass pattern - skip fix if pattern found
6894 tSCC zSvr4_ProfilBypass0[] =
6897 #define SVR4_PROFIL_TEST_CT 2
6898 static tTestDesc aSvr4_ProfilTests[] = {
6899 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
6900 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
6903 * Fix Command Arguments for Svr4_Profil
6905 static const char* apzSvr4_ProfilPatch[] = {
6907 "profil(unsigned short *, size_t, int, unsigned int)",
6910 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6912 * Description of Svr4_Sighandler_Type fix
6914 tSCC zSvr4_Sighandler_TypeName[] =
6915 "svr4_sighandler_type";
6918 * File name selection pattern
6920 tSCC zSvr4_Sighandler_TypeList[] =
6923 * Machine/OS name selection pattern
6925 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
6928 * content selection pattern - do fix if pattern found
6930 tSCC zSvr4_Sighandler_TypeSelect0[] =
6931 "void *\\(\\*\\)\\(\\)";
6933 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
6934 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
6935 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
6938 * Fix Command Arguments for Svr4_Sighandler_Type
6940 static const char* apzSvr4_Sighandler_TypePatch[] = {
6945 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6947 * Description of Svr4_Undeclared_Getrnge fix
6949 tSCC zSvr4_Undeclared_GetrngeName[] =
6950 "svr4_undeclared_getrnge";
6953 * File name selection pattern
6955 tSCC zSvr4_Undeclared_GetrngeList[] =
6958 * Machine/OS name selection pattern
6960 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
6963 * content selection pattern - do fix if pattern found
6965 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
6969 * content bypass pattern - skip fix if pattern found
6971 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
6972 "static void getrnge";
6974 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
6975 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
6976 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
6977 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
6980 * Fix Command Arguments for Svr4_Undeclared_Getrnge
6982 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
6985 static int getrnge ();",
6986 "^static int[ \t]+size;",
6989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6991 * Description of Sysv68_String fix
6993 tSCC zSysv68_StringName[] =
6997 * File name selection pattern
6999 tSCC zSysv68_StringList[] =
7000 "|testing.h|string.h|";
7002 * Machine/OS name selection pattern
7004 #define apzSysv68_StringMachs (const char**)NULL
7007 * content bypass pattern - skip fix if pattern found
7009 tSCC zSysv68_StringBypass0[] =
7010 "_CLASSIC_ANSI_TYPES";
7012 #define SYSV68_STRING_TEST_CT 1
7013 static tTestDesc aSysv68_StringTests[] = {
7014 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7017 * Fix Command Arguments for Sysv68_String
7019 static const char* apzSysv68_StringPatch[] = { "sed",
7020 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7021 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7022 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7023 "-e", "/^extern char$/N",
7024 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7025 "-e", "/^extern int$/N",
7026 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7027 "-e", "/^\tstrncmp(),$/N",
7028 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7029 extern unsigned int\\\n\
7033 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7035 * Description of Sysz_Stdlib_For_Sun fix
7037 tSCC zSysz_Stdlib_For_SunName[] =
7038 "sysz_stdlib_for_sun";
7041 * File name selection pattern
7043 tSCC zSysz_Stdlib_For_SunList[] =
7046 * Machine/OS name selection pattern
7048 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7051 * content selection pattern - do fix if pattern found
7053 tSCC zSysz_Stdlib_For_SunSelect0[] =
7054 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7057 * content bypass pattern - skip fix if pattern found
7059 tSCC zSysz_Stdlib_For_SunBypass0[] =
7060 "_CLASSIC_ANSI_TYPES";
7062 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7063 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7064 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7065 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7068 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7070 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7075 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7077 * Description of Thread_Keyword fix
7079 tSCC zThread_KeywordName[] =
7083 * File name selection pattern
7085 tSCC zThread_KeywordList[] =
7086 "|pthread.h|bits/sigthread.h|";
7088 * Machine/OS name selection pattern
7090 #define apzThread_KeywordMachs (const char**)NULL
7093 * content selection pattern - do fix if pattern found
7095 tSCC zThread_KeywordSelect0[] =
7096 "([* ])__thread([,)])";
7098 #define THREAD_KEYWORD_TEST_CT 1
7099 static tTestDesc aThread_KeywordTests[] = {
7100 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7103 * Fix Command Arguments for Thread_Keyword
7105 static const char* apzThread_KeywordPatch[] = {
7110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7112 * Description of Tinfo_Cplusplus fix
7114 tSCC zTinfo_CplusplusName[] =
7118 * File name selection pattern
7120 tSCC zTinfo_CplusplusList[] =
7123 * Machine/OS name selection pattern
7125 #define apzTinfo_CplusplusMachs (const char**)NULL
7128 * content selection pattern - do fix if pattern found
7130 tSCC zTinfo_CplusplusSelect0[] =
7133 #define TINFO_CPLUSPLUS_TEST_CT 1
7134 static tTestDesc aTinfo_CplusplusTests[] = {
7135 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7138 * Fix Command Arguments for Tinfo_Cplusplus
7140 static const char* apzTinfo_CplusplusPatch[] = {
7145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7147 * Description of Ultrix_Atexit_Param fix
7149 tSCC zUltrix_Atexit_ParamName[] =
7150 "ultrix_atexit_param";
7153 * File name selection pattern
7155 tSCC zUltrix_Atexit_ParamList[] =
7158 * Machine/OS name selection pattern
7160 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
7163 * content selection pattern - do fix if pattern found
7165 tSCC zUltrix_Atexit_ParamSelect0[] =
7166 "atexit\\(.*\\(\\)";
7168 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
7169 static tTestDesc aUltrix_Atexit_ParamTests[] = {
7170 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
7173 * Fix Command Arguments for Ultrix_Atexit_Param
7175 static const char* apzUltrix_Atexit_ParamPatch[] = {
7177 "atexit( void (*__func)( void )",
7180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7182 * Description of Ultrix_Atof_Param fix
7184 tSCC zUltrix_Atof_ParamName[] =
7185 "ultrix_atof_param";
7188 * File name selection pattern
7190 tSCC zUltrix_Atof_ParamList[] =
7193 * Machine/OS name selection pattern
7195 #define apzUltrix_Atof_ParamMachs (const char**)NULL
7198 * content selection pattern - do fix if pattern found
7200 tSCC zUltrix_Atof_ParamSelect0[] =
7201 "atof\\([ \t]*char";
7203 #define ULTRIX_ATOF_PARAM_TEST_CT 1
7204 static tTestDesc aUltrix_Atof_ParamTests[] = {
7205 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
7208 * Fix Command Arguments for Ultrix_Atof_Param
7210 static const char* apzUltrix_Atof_ParamPatch[] = {
7215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7217 * Description of Ultrix_Const fix
7219 tSCC zUltrix_ConstName[] =
7223 * File name selection pattern
7225 tSCC zUltrix_ConstList[] =
7228 * Machine/OS name selection pattern
7230 #define apzUltrix_ConstMachs (const char**)NULL
7233 * content selection pattern - do fix if pattern found
7235 tSCC zUltrix_ConstSelect0[] =
7236 "perror\\( char \\*";
7238 #define ULTRIX_CONST_TEST_CT 1
7239 static tTestDesc aUltrix_ConstTests[] = {
7240 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7243 * Fix Command Arguments for Ultrix_Const
7245 static const char* apzUltrix_ConstPatch[] = {
7248 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7251 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7253 * Description of Ultrix_Const2 fix
7255 tSCC zUltrix_Const2Name[] =
7259 * File name selection pattern
7261 tSCC zUltrix_Const2List[] =
7264 * Machine/OS name selection pattern
7266 #define apzUltrix_Const2Machs (const char**)NULL
7269 * content selection pattern - do fix if pattern found
7271 tSCC zUltrix_Const2Select0[] =
7272 "\\*fopen\\( char \\*";
7274 #define ULTRIX_CONST2_TEST_CT 1
7275 static tTestDesc aUltrix_Const2Tests[] = {
7276 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7279 * Fix Command Arguments for Ultrix_Const2
7281 static const char* apzUltrix_Const2Patch[] = {
7283 "%1( const char *%3, const char *",
7284 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7287 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7289 * Description of Ultrix_Const3 fix
7291 tSCC zUltrix_Const3Name[] =
7295 * File name selection pattern
7297 tSCC zUltrix_Const3List[] =
7300 * Machine/OS name selection pattern
7302 #define apzUltrix_Const3Machs (const char**)NULL
7305 * content selection pattern - do fix if pattern found
7307 tSCC zUltrix_Const3Select0[] =
7308 "fdopen\\( .*, char \\*";
7310 #define ULTRIX_CONST3_TEST_CT 1
7311 static tTestDesc aUltrix_Const3Tests[] = {
7312 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
7315 * Fix Command Arguments for Ultrix_Const3
7317 static const char* apzUltrix_Const3Patch[] = {
7320 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
7323 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7325 * Description of Ultrix_Fix_Fixproto fix
7327 tSCC zUltrix_Fix_FixprotoName[] =
7328 "ultrix_fix_fixproto";
7331 * File name selection pattern
7333 tSCC zUltrix_Fix_FixprotoList[] =
7336 * Machine/OS name selection pattern
7338 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
7341 * content selection pattern - do fix if pattern found
7343 tSCC zUltrix_Fix_FixprotoSelect0[] =
7346 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
7347 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
7348 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
7351 * Fix Command Arguments for Ultrix_Fix_Fixproto
7353 static const char* apzUltrix_Fix_FixprotoPatch[] = {
7357 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
7360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7362 * Description of Ultrix_Ifdef fix
7364 tSCC zUltrix_IfdefName[] =
7368 * File name selection pattern
7370 tSCC zUltrix_IfdefList[] =
7373 * Machine/OS name selection pattern
7375 #define apzUltrix_IfdefMachs (const char**)NULL
7378 * content selection pattern - do fix if pattern found
7380 tSCC zUltrix_IfdefSelect0[] =
7381 "^#ifdef KERNEL[ \t]+&&";
7383 #define ULTRIX_IFDEF_TEST_CT 1
7384 static tTestDesc aUltrix_IfdefTests[] = {
7385 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
7388 * Fix Command Arguments for Ultrix_Ifdef
7390 static const char* apzUltrix_IfdefPatch[] = {
7392 "#if defined(KERNEL) &&",
7395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7397 * Description of Ultrix_Locale fix
7399 tSCC zUltrix_LocaleName[] =
7403 * File name selection pattern
7405 tSCC zUltrix_LocaleList[] =
7408 * Machine/OS name selection pattern
7410 #define apzUltrix_LocaleMachs (const char**)NULL
7413 * content selection pattern - do fix if pattern found
7415 tSCC zUltrix_LocaleSelect0[] =
7416 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
7418 #define ULTRIX_LOCALE_TEST_CT 1
7419 static tTestDesc aUltrix_LocaleTests[] = {
7420 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
7423 * Fix Command Arguments for Ultrix_Locale
7425 static const char* apzUltrix_LocalePatch[] = {
7429 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7431 * Description of Ultrix_Math_Ifdef fix
7433 tSCC zUltrix_Math_IfdefName[] =
7434 "ultrix_math_ifdef";
7437 * File name selection pattern
7439 tSCC zUltrix_Math_IfdefList[] =
7440 "|sys/limits.h|float.h|math.h|";
7442 * Machine/OS name selection pattern
7444 #define apzUltrix_Math_IfdefMachs (const char**)NULL
7447 * content selection pattern - do fix if pattern found
7449 tSCC zUltrix_Math_IfdefSelect0[] =
7450 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
7452 #define ULTRIX_MATH_IFDEF_TEST_CT 1
7453 static tTestDesc aUltrix_Math_IfdefTests[] = {
7454 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
7457 * Fix Command Arguments for Ultrix_Math_Ifdef
7459 static const char* apzUltrix_Math_IfdefPatch[] = {
7464 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7466 * Description of Ultrix_Nested_Ioctl fix
7468 tSCC zUltrix_Nested_IoctlName[] =
7469 "ultrix_nested_ioctl";
7472 * File name selection pattern
7474 tSCC zUltrix_Nested_IoctlList[] =
7477 * Machine/OS name selection pattern
7479 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
7482 * content selection pattern - do fix if pattern found
7484 tSCC zUltrix_Nested_IoctlSelect0[] =
7485 "^/\\* #define SIOCSCREEN";
7487 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
7488 static tTestDesc aUltrix_Nested_IoctlTests[] = {
7489 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
7492 * Fix Command Arguments for Ultrix_Nested_Ioctl
7494 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
7495 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
7498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7500 * Description of Ultrix_Nested_Svc fix
7502 tSCC zUltrix_Nested_SvcName[] =
7503 "ultrix_nested_svc";
7506 * File name selection pattern
7508 tSCC zUltrix_Nested_SvcList[] =
7511 * Machine/OS name selection pattern
7513 #define apzUltrix_Nested_SvcMachs (const char**)NULL
7516 * content selection pattern - do fix if pattern found
7518 tSCC zUltrix_Nested_SvcSelect0[] =
7519 "^ \\*[ \t]*int protocol; */\\*";
7521 #define ULTRIX_NESTED_SVC_TEST_CT 1
7522 static tTestDesc aUltrix_Nested_SvcTests[] = {
7523 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
7526 * Fix Command Arguments for Ultrix_Nested_Svc
7528 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
7529 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
7532 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7534 * Description of Ultrix_Stat fix
7536 tSCC zUltrix_StatName[] =
7540 * File name selection pattern
7542 tSCC zUltrix_StatList[] =
7545 * Machine/OS name selection pattern
7547 #define apzUltrix_StatMachs (const char**)NULL
7550 * content selection pattern - do fix if pattern found
7552 tSCC zUltrix_StatSelect0[] =
7553 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
7555 #define ULTRIX_STAT_TEST_CT 1
7556 static tTestDesc aUltrix_StatTests[] = {
7557 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
7560 * Fix Command Arguments for Ultrix_Stat
7562 static const char* apzUltrix_StatPatch[] = { "sed",
7563 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
7565 /* macro to test for symbolic link */\\\n\
7566 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
7567 "-e", "/^[ \t]*fstat(),$/a\\\n\
7571 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7573 * Description of Ultrix_Static fix
7575 tSCC zUltrix_StaticName[] =
7579 * File name selection pattern
7581 tSCC zUltrix_StaticList[] =
7584 * Machine/OS name selection pattern
7586 #define apzUltrix_StaticMachs (const char**)NULL
7589 * content selection pattern - do fix if pattern found
7591 tSCC zUltrix_StaticSelect0[] =
7592 "#include \"r[34]_cpu";
7594 #define ULTRIX_STATIC_TEST_CT 1
7595 static tTestDesc aUltrix_StaticTests[] = {
7596 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
7599 * Fix Command Arguments for Ultrix_Static
7601 static const char* apzUltrix_StaticPatch[] = { "sed",
7602 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
7603 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
7604 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
7607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7609 * Description of Ultrix_Stdlib fix
7611 tSCC zUltrix_StdlibName[] =
7615 * File name selection pattern
7617 tSCC zUltrix_StdlibList[] =
7620 * Machine/OS name selection pattern
7622 #define apzUltrix_StdlibMachs (const char**)NULL
7625 * content selection pattern - do fix if pattern found
7627 tSCC zUltrix_StdlibSelect0[] =
7628 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
7630 #define ULTRIX_STDLIB_TEST_CT 1
7631 static tTestDesc aUltrix_StdlibTests[] = {
7632 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
7635 * Fix Command Arguments for Ultrix_Stdlib
7637 static const char* apzUltrix_StdlibPatch[] = { "sed",
7638 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
7639 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
7640 void\t\tunsetenv( const char *__name );\\\n\
7641 int\t\tputenv( char *__s );\n",
7642 "-e", "/^char.*getenv();.*$/a\\\n\
7644 void\tunsetenv();\\\n\
7648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7650 * Description of Ultrix_Strings fix
7652 tSCC zUltrix_StringsName[] =
7656 * File name selection pattern
7658 tSCC zUltrix_StringsList[] =
7661 * Machine/OS name selection pattern
7663 #define apzUltrix_StringsMachs (const char**)NULL
7666 * content selection pattern - do fix if pattern found
7668 tSCC zUltrix_StringsSelect0[] =
7669 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7671 #define ULTRIX_STRINGS_TEST_CT 1
7672 static tTestDesc aUltrix_StringsTests[] = {
7673 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
7676 * Fix Command Arguments for Ultrix_Strings
7678 static const char* apzUltrix_StringsPatch[] = {
7682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7684 * Description of Ultrix_Strings2 fix
7686 tSCC zUltrix_Strings2Name[] =
7690 * File name selection pattern
7692 tSCC zUltrix_Strings2List[] =
7695 * Machine/OS name selection pattern
7697 #define apzUltrix_Strings2Machs (const char**)NULL
7700 * content selection pattern - do fix if pattern found
7702 tSCC zUltrix_Strings2Select0[] =
7703 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7705 #define ULTRIX_STRINGS2_TEST_CT 1
7706 static tTestDesc aUltrix_Strings2Tests[] = {
7707 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
7710 * Fix Command Arguments for Ultrix_Strings2
7712 static const char* apzUltrix_Strings2Patch[] = { "sed",
7713 "-e", "/^.*strncmp( const .* );.*/a\\\n\
7716 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
7717 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
7718 "-e", "/^.*strncmp();.*/a\\\n\
7720 \tstrcasecmp(),\\\n\
7721 \tstrncasecmp();\n",
7724 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7726 * Description of Ultrix_Sys_Time fix
7728 tSCC zUltrix_Sys_TimeName[] =
7732 * File name selection pattern
7734 tSCC zUltrix_Sys_TimeList[] =
7737 * Machine/OS name selection pattern
7739 #define apzUltrix_Sys_TimeMachs (const char**)NULL
7742 * content selection pattern - do fix if pattern found
7744 tSCC zUltrix_Sys_TimeSelect0[] =
7745 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
7747 #define ULTRIX_SYS_TIME_TEST_CT 1
7748 static tTestDesc aUltrix_Sys_TimeTests[] = {
7749 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
7752 * Fix Command Arguments for Ultrix_Sys_Time
7754 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
7755 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
7757 extern int adjtime(struct timeval *, struct timeval *);\\\n\
7758 extern int getitimer(int, struct itimerval *);\\\n\
7759 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
7760 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
7761 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
7762 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
7763 extern int stime(const time_t *);\\\n\
7764 extern int utimes(const char *, const struct timeval[2]);\\\n\
7765 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
7766 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
7767 extern\tint adjtime();\\\n\
7768 extern\tint getitimer();\\\n\
7769 extern\tint setitimer();\\\n\
7770 extern\tint gettimeofday();\\\n\
7771 extern\tint settimeofday();\\\n\
7772 extern\tvoid profil();\\\n\
7773 extern\tint stime();\\\n\
7774 extern\tint utimes();\\\n\
7775 extern\tint select();\n",
7778 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7780 * Description of Ultrix_Unistd fix
7782 tSCC zUltrix_UnistdName[] =
7786 * File name selection pattern
7788 tSCC zUltrix_UnistdList[] =
7791 * Machine/OS name selection pattern
7793 #define apzUltrix_UnistdMachs (const char**)NULL
7796 * content selection pattern - do fix if pattern found
7798 tSCC zUltrix_UnistdSelect0[] =
7799 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
7801 #define ULTRIX_UNISTD_TEST_CT 1
7802 static tTestDesc aUltrix_UnistdTests[] = {
7803 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
7806 * Fix Command Arguments for Ultrix_Unistd
7808 static const char* apzUltrix_UnistdPatch[] = { "sed",
7809 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
7810 \tgetpagesize(),\n",
7811 "-e", "/^[ \t]*fork(),.*$/a\\\n\
7815 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7817 * Description of Unicosmk_Restrict fix
7819 tSCC zUnicosmk_RestrictName[] =
7820 "unicosmk_restrict";
7823 * File name selection pattern
7825 tSCC zUnicosmk_RestrictList[] =
7826 "|stdio.h|stdlib.h|wchar.h|";
7828 * Machine/OS name selection pattern
7830 tSCC* apzUnicosmk_RestrictMachs[] = {
7832 (const char*)NULL };
7835 * content selection pattern - do fix if pattern found
7837 tSCC zUnicosmk_RestrictSelect0[] =
7838 "(\\*[ \t]*)restrict([ \t]+)";
7840 #define UNICOSMK_RESTRICT_TEST_CT 1
7841 static tTestDesc aUnicosmk_RestrictTests[] = {
7842 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
7845 * Fix Command Arguments for Unicosmk_Restrict
7847 static const char* apzUnicosmk_RestrictPatch[] = {
7852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7854 * Description of Uw7_Byteorder_Fix fix
7856 tSCC zUw7_Byteorder_FixName[] =
7857 "uw7_byteorder_fix";
7860 * File name selection pattern
7862 tSCC zUw7_Byteorder_FixList[] =
7865 * Machine/OS name selection pattern
7867 tSCC* apzUw7_Byteorder_FixMachs[] = {
7871 "i?86-*-solaris2.[0-4]",
7872 "powerpcle-*-solaris2.[0-4]",
7873 "sparc-*-solaris2.[0-4]",
7874 (const char*)NULL };
7877 * content selection pattern - do fix if pattern found
7879 tSCC zUw7_Byteorder_FixSelect0[] =
7883 * perform the 'test' shell command - do fix on success
7885 tSCC zUw7_Byteorder_FixTest0[] =
7886 "-f sys/byteorder.h";
7888 #define UW7_BYTEORDER_FIX_TEST_CT 2
7889 static tTestDesc aUw7_Byteorder_FixTests[] = {
7890 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
7891 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
7894 * Fix Command Arguments for Uw7_Byteorder_Fix
7896 static const char* apzUw7_Byteorder_FixPatch[] = {
7899 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
7902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7904 * Description of Va_I960_Macro fix
7906 tSCC zVa_I960_MacroName[] =
7910 * File name selection pattern
7912 tSCC zVa_I960_MacroList[] =
7913 "|arch/i960/archI960.h|";
7915 * Machine/OS name selection pattern
7917 #define apzVa_I960_MacroMachs (const char**)NULL
7920 * content selection pattern - do fix if pattern found
7922 tSCC zVa_I960_MacroSelect0[] =
7923 "__(vsiz|vali|vpad|alignof__)";
7925 #define VA_I960_MACRO_TEST_CT 1
7926 static tTestDesc aVa_I960_MacroTests[] = {
7927 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
7930 * Fix Command Arguments for Va_I960_Macro
7932 static const char* apzVa_I960_MacroPatch[] = {
7937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7939 * Description of Void_Null fix
7941 tSCC zVoid_NullName[] =
7945 * File name selection pattern
7947 tSCC zVoid_NullList[] =
7948 "|curses.h|dbm.h|locale.h|stdio.h|stdlib.h|string.h|time.h|unistd.h|sys/dir.h|sys/param.h|sys/types.h|";
7950 * Machine/OS name selection pattern
7952 #define apzVoid_NullMachs (const char**)NULL
7955 * content selection pattern - do fix if pattern found
7957 tSCC zVoid_NullSelect0[] =
7958 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
7961 * content bypass pattern - skip fix if pattern found
7963 tSCC zVoid_NullBypass0[] =
7966 #define VOID_NULL_TEST_CT 2
7967 static tTestDesc aVoid_NullTests[] = {
7968 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
7969 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
7972 * Fix Command Arguments for Void_Null
7974 static const char* apzVoid_NullPatch[] = {
7979 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7981 * Description of Vxworks_Gcc_Problem fix
7983 tSCC zVxworks_Gcc_ProblemName[] =
7984 "vxworks_gcc_problem";
7987 * File name selection pattern
7989 tSCC zVxworks_Gcc_ProblemList[] =
7990 "|types/vxTypesBase.h|";
7992 * Machine/OS name selection pattern
7994 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
7997 * content selection pattern - do fix if pattern found
7999 tSCC zVxworks_Gcc_ProblemSelect0[] =
8000 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8002 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8003 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8004 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8007 * Fix Command Arguments for Vxworks_Gcc_Problem
8009 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
8010 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8011 "-e", "/[ \t]size_t/i\\\n\
8012 #ifndef _GCC_SIZE_T\\\n\
8013 #define _GCC_SIZE_T\n",
8014 "-e", "/[ \t]size_t/a\\\n\
8016 "-e", "/[ \t]ptrdiff_t/i\\\n\
8017 #ifndef _GCC_PTRDIFF_T\\\n\
8018 #define _GCC_PTRDIFF_T\n",
8019 "-e", "/[ \t]ptrdiff_t/a\\\n\
8021 "-e", "/[ \t]wchar_t/i\\\n\
8022 #ifndef _GCC_WCHAR_T\\\n\
8023 #define _GCC_WCHAR_T\n",
8024 "-e", "/[ \t]wchar_t/a\\\n\
8028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8030 * Description of Vxworks_Needs_Vxtypes fix
8032 tSCC zVxworks_Needs_VxtypesName[] =
8033 "vxworks_needs_vxtypes";
8036 * File name selection pattern
8038 tSCC zVxworks_Needs_VxtypesList[] =
8041 * Machine/OS name selection pattern
8043 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8046 * content selection pattern - do fix if pattern found
8048 tSCC zVxworks_Needs_VxtypesSelect0[] =
8049 "uint_t([ \t]+_clocks_per_sec)";
8051 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8052 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8053 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8056 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8058 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8065 * Description of Vxworks_Needs_Vxworks fix
8067 tSCC zVxworks_Needs_VxworksName[] =
8068 "vxworks_needs_vxworks";
8071 * File name selection pattern
8073 tSCC zVxworks_Needs_VxworksList[] =
8076 * Machine/OS name selection pattern
8078 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8081 * content selection pattern - do fix if pattern found
8083 tSCC zVxworks_Needs_VxworksSelect0[] =
8084 "#[ \t]define[ \t]+__INCstath";
8087 * perform the 'test' shell command - do fix on success
8089 tSCC zVxworks_Needs_VxworksTest0[] =
8090 " -r types/vxTypesOld.h";
8091 tSCC zVxworks_Needs_VxworksTest1[] =
8092 " -n \"`egrep '#include' $file`\"";
8093 tSCC zVxworks_Needs_VxworksTest2[] =
8094 " -n \"`egrep ULONG $file`\"";
8096 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8097 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8098 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8099 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8100 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8101 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8104 * Fix Command Arguments for Vxworks_Needs_Vxworks
8106 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
8107 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8108 #include <types/vxTypesOld.h>\n",
8111 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8113 * Description of Vxworks_Time fix
8115 tSCC zVxworks_TimeName[] =
8119 * File name selection pattern
8121 tSCC zVxworks_TimeList[] =
8124 * Machine/OS name selection pattern
8126 #define apzVxworks_TimeMachs (const char**)NULL
8129 * content selection pattern - do fix if pattern found
8131 tSCC zVxworks_TimeSelect0[] =
8132 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8135 * perform the 'test' shell command - do fix on success
8137 tSCC zVxworks_TimeTest0[] =
8140 #define VXWORKS_TIME_TEST_CT 2
8141 static tTestDesc aVxworks_TimeTests[] = {
8142 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8143 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8146 * Fix Command Arguments for Vxworks_Time
8148 static const char* apzVxworks_TimePatch[] = {
8150 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8151 #ifdef __cplusplus\n\
8152 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8154 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
8156 #define __gcc_VOIDFUNCPTR_defined\n\
8158 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
8161 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8163 * Description of Windiss_Math1 fix
8165 tSCC zWindiss_Math1Name[] =
8169 * File name selection pattern
8171 tSCC zWindiss_Math1List[] =
8174 * Machine/OS name selection pattern
8176 tSCC* apzWindiss_Math1Machs[] = {
8178 (const char*)NULL };
8179 #define WINDISS_MATH1_TEST_CT 0
8180 #define aWindiss_Math1Tests (tTestDesc*)NULL
8183 * Fix Command Arguments for Windiss_Math1
8185 static const char* apzWindiss_Math1Patch[] = { "sed",
8186 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
8189 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8191 * Description of Windiss_Math2 fix
8193 tSCC zWindiss_Math2Name[] =
8197 * File name selection pattern
8199 tSCC zWindiss_Math2List[] =
8202 * Machine/OS name selection pattern
8204 tSCC* apzWindiss_Math2Machs[] = {
8206 (const char*)NULL };
8207 #define WINDISS_MATH2_TEST_CT 0
8208 #define aWindiss_Math2Tests (tTestDesc*)NULL
8211 * Fix Command Arguments for Windiss_Math2
8213 static const char* apzWindiss_Math2Patch[] = { "sed",
8214 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
8217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8219 * Description of Windiss_Valist fix
8221 tSCC zWindiss_ValistName[] =
8225 * File name selection pattern
8227 #define zWindiss_ValistList (char*)NULL
8229 * Machine/OS name selection pattern
8231 tSCC* apzWindiss_ValistMachs[] = {
8233 (const char*)NULL };
8236 * content selection pattern - do fix if pattern found
8238 tSCC zWindiss_ValistSelect0[] =
8239 "(#include.*)diab/va_list.h";
8241 #define WINDISS_VALIST_TEST_CT 1
8242 static tTestDesc aWindiss_ValistTests[] = {
8243 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
8246 * Fix Command Arguments for Windiss_Valist
8248 static const char* apzWindiss_ValistPatch[] = { "sed",
8249 "-e", "s|diab/va_list.h|stdarg.h|",
8252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8254 * Description of X11_Class fix
8256 tSCC zX11_ClassName[] =
8260 * File name selection pattern
8262 tSCC zX11_ClassList[] =
8265 * Machine/OS name selection pattern
8267 #define apzX11_ClassMachs (const char**)NULL
8270 * content selection pattern - do fix if pattern found
8272 tSCC zX11_ClassSelect0[] =
8273 "^([ \t]*char \\*)class;(.*)";
8276 * content bypass pattern - skip fix if pattern found
8278 tSCC zX11_ClassBypass0[] =
8281 #define X11_CLASS_TEST_CT 2
8282 static tTestDesc aX11_ClassTests[] = {
8283 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8284 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8287 * Fix Command Arguments for X11_Class
8289 static const char* apzX11_ClassPatch[] = {
8291 "#ifdef __cplusplus\n\
8298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8300 * Description of X11_Class_Usage fix
8302 tSCC zX11_Class_UsageName[] =
8306 * File name selection pattern
8308 tSCC zX11_Class_UsageList[] =
8309 "|Xm/BaseClassI.h|";
8311 * Machine/OS name selection pattern
8313 #define apzX11_Class_UsageMachs (const char**)NULL
8316 * content selection pattern - do fix if pattern found
8318 tSCC zX11_Class_UsageSelect0[] =
8322 * content bypass pattern - skip fix if pattern found
8324 tSCC zX11_Class_UsageBypass0[] =
8327 #define X11_CLASS_USAGE_TEST_CT 2
8328 static tTestDesc aX11_Class_UsageTests[] = {
8329 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8330 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8333 * Fix Command Arguments for X11_Class_Usage
8335 static const char* apzX11_Class_UsagePatch[] = {
8340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8342 * Description of X11_New fix
8344 tSCC zX11_NewName[] =
8348 * File name selection pattern
8350 tSCC zX11_NewList[] =
8353 * Machine/OS name selection pattern
8355 #define apzX11_NewMachs (const char**)NULL
8358 * content bypass pattern - skip fix if pattern found
8360 tSCC zX11_NewBypass0[] =
8363 #define X11_NEW_TEST_CT 1
8364 static tTestDesc aX11_NewTests[] = {
8365 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8368 * Fix Command Arguments for X11_New
8370 static const char* apzX11_NewPatch[] = { "sed",
8371 "-e", "/Widget\told, new;/i\\\n\
8372 #ifdef __cplusplus\\\n\
8373 \tWidget\told, c_new;\\\n\
8375 "-e", "/Widget\told, new;/a\\\n\
8377 "-e", "s/Widget new,/Widget c_new,/g",
8380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8382 * Description of X11_Sprintf fix
8384 tSCC zX11_SprintfName[] =
8388 * File name selection pattern
8390 tSCC zX11_SprintfList[] =
8391 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
8393 * Machine/OS name selection pattern
8395 #define apzX11_SprintfMachs (const char**)NULL
8398 * content selection pattern - do fix if pattern found
8400 tSCC zX11_SprintfSelect0[] =
8401 "^extern char \\*\tsprintf\\(\\);$";
8403 #define X11_SPRINTF_TEST_CT 1
8404 static tTestDesc aX11_SprintfTests[] = {
8405 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8408 * Fix Command Arguments for X11_Sprintf
8410 static const char* apzX11_SprintfPatch[] = {
8412 "#ifndef __STDC__\n\
8414 #endif /* !defined __STDC__ */",
8418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8422 #define REGEX_COUNT 250
8423 #define MACH_LIST_SIZE_LIMIT 261
8424 #define FIX_COUNT 207
8427 * Enumerate the fixes
8430 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8431 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8432 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8433 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8434 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8435 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8436 AAB_SUN_MEMCPY_FIXIDX,
8437 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
8438 AAB_ULTRIX_LIMITS_FIXIDX,
8439 AAB_ULTRIX_MEMORY_FIXIDX,
8440 AAB_ULTRIX_STRING_FIXIDX,
8442 AIX_SYSMACHINE_FIXIDX,
8444 AIX_SYSWAIT_2_FIXIDX,
8445 AIX_VOLATILE_FIXIDX,
8446 ALPHA___ASSERT_FIXIDX,
8447 ALPHA___EXTERN_PREFIX_FIXIDX,
8448 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
8449 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
8450 ALPHA_ASSERT_FIXIDX,
8451 ALPHA_BAD_LVAL_FIXIDX,
8452 ALPHA_GETOPT_FIXIDX,
8453 ALPHA_PARENS_FIXIDX,
8454 ALPHA_PTHREAD_FIXIDX,
8455 ALPHA_PTHREAD_GCC_FIXIDX,
8456 ALPHA_PTHREAD_INIT_FIXIDX,
8459 AVOID_BOOL_DEFINE_FIXIDX,
8460 AVOID_BOOL_TYPE_FIXIDX,
8461 AVOID_WCHAR_T_TYPE_FIXIDX,
8462 BAD_STRUCT_TERM_FIXIDX,
8464 BROKEN_ASSERT_STDIO_FIXIDX,
8465 BROKEN_ASSERT_STDLIB_FIXIDX,
8468 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8469 CTRL_QUOTES_DEF_FIXIDX,
8470 CTRL_QUOTES_USE_FIXIDX,
8472 DARWIN_GCC4_BREAKAGE_FIXIDX,
8473 DARWIN_PRIVATE_EXTERN_FIXIDX,
8474 DEC_INTERN_ASM_FIXIDX,
8475 DJGPP_WCHAR_H_FIXIDX,
8477 EXCEPTION_STRUCTURE_FIXIDX,
8478 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8479 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8480 GLIBC_C99_INLINE_1_FIXIDX,
8481 GLIBC_C99_INLINE_2_FIXIDX,
8482 GLIBC_C99_INLINE_3_FIXIDX,
8483 GLIBC_C99_INLINE_4_FIXIDX,
8484 GLIBC_MUTEX_INIT_FIXIDX,
8488 HPUX10_CPP_POW_INLINE_FIXIDX,
8489 HPUX11_CPP_POW_INLINE_FIXIDX,
8490 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8491 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8492 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8494 HPUX11_FABSF_FIXIDX,
8495 HPUX11_SIZE_T_FIXIDX,
8496 HPUX11_SNPRINTF_FIXIDX,
8497 HPUX11_UINT32_C_FIXIDX,
8498 HPUX11_VSNPRINTF_FIXIDX,
8499 HPUX8_BOGUS_INLINES_FIXIDX,
8500 HPUX_CTYPE_MACROS_FIXIDX,
8502 HPUX_LONG_DOUBLE_FIXIDX,
8503 HPUX_SYSTIME_FIXIDX,
8504 HPUX_SPU_INFO_FIXIDX,
8505 HPUX11_EXTERN_SENDFILE_FIXIDX,
8506 HPUX11_EXTERN_SENDPATH_FIXIDX,
8507 HPUX_EXTERN_ERRNO_FIXIDX,
8508 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8509 HUGE_VAL_HEX_FIXIDX,
8510 HUGE_VALF_HEX_FIXIDX,
8511 HUGE_VALL_HEX_FIXIDX,
8512 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8513 IO_QUOTES_DEF_FIXIDX,
8514 IO_QUOTES_USE_FIXIDX,
8515 IP_MISSING_SEMI_FIXIDX,
8516 IRIX___RESTRICT_FIXIDX,
8517 IRIX___GENERIC1_FIXIDX,
8518 IRIX___GENERIC2_FIXIDX,
8519 IRIX_ASM_APOSTROPHE_FIXIDX,
8520 IRIX_LIMITS_CONST_FIXIDX,
8521 IRIX_SOCKLEN_T_FIXIDX,
8522 IRIX_STDIO_VA_LIST_FIXIDX,
8523 IRIX_WCSFTIME_FIXIDX,
8525 ISC_OMITS_WITH_STDC_FIXIDX,
8526 KANDR_CONCAT_FIXIDX,
8527 LIBC1_G_VA_LIST_FIXIDX,
8528 LIBC1_IFDEFD_MEMX_FIXIDX,
8529 LINUX_IA64_UCONTEXT_FIXIDX,
8530 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8531 LYNXOS_MISSING_PUTENV_FIXIDX,
8532 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8533 MACHINE_NAME_FIXIDX,
8534 MATH_EXCEPTION_FIXIDX,
8535 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8536 NESTED_AUTH_DES_FIXIDX,
8537 NESTED_MOTOROLA_FIXIDX,
8538 NESTED_SYS_LIMITS_FIXIDX,
8539 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8540 NEXT_MATH_PREFIX_FIXIDX,
8541 NEXT_TEMPLATE_FIXIDX,
8542 NEXT_VOLITILE_FIXIDX,
8543 NEXT_WAIT_UNION_FIXIDX,
8544 NODEENT_SYNTAX_FIXIDX,
8545 OBSTACK_LVALUE_CAST_FIXIDX,
8546 OSF_NAMESPACE_A_FIXIDX,
8547 OSF_NAMESPACE_C_FIXIDX,
8548 PTHREAD_PAGE_SIZE_FIXIDX,
8549 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8550 READ_RET_TYPE_FIXIDX,
8551 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8552 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8553 RS6000_DOUBLE_FIXIDX,
8554 RS6000_FCHMOD_FIXIDX,
8555 RS6000_PARAM_FIXIDX,
8558 SCO_STATIC_FUNC_FIXIDX,
8560 SOLARIS_MATH_1_FIXIDX,
8561 SOLARIS_MATH_2_FIXIDX,
8562 SOLARIS_MATH_3_FIXIDX,
8563 SOLARIS_MATH_4_FIXIDX,
8564 SOLARIS_MATH_5_FIXIDX,
8565 SOLARIS_MATH_6_FIXIDX,
8566 SOLARIS_MATH_7_FIXIDX,
8567 SOLARIS_MATH_8_FIXIDX,
8568 SOLARIS_MATH_9_FIXIDX,
8569 SOLARIS_MUTEX_INIT_1_FIXIDX,
8570 SOLARIS_MUTEX_INIT_2_FIXIDX,
8571 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8572 SOLARIS_ONCE_INIT_1_FIXIDX,
8573 SOLARIS_ONCE_INIT_2_FIXIDX,
8574 SOLARIS_SOCKET_FIXIDX,
8575 SOLARIS_STDIO_TAG_FIXIDX,
8576 SOLARIS_UNISTD_FIXIDX,
8577 SOLARIS_WIDEC_FIXIDX,
8579 STDIO_STDARG_H_FIXIDX,
8580 STDIO_VA_LIST_FIXIDX,
8581 STDIO_VA_LIST_CLIENTS_FIXIDX,
8582 STRICT_ANSI_NOT_FIXIDX,
8583 STRICT_ANSI_NOT_CTD_FIXIDX,
8584 STRICT_ANSI_ONLY_FIXIDX,
8586 STRUCT_SOCKADDR_FIXIDX,
8587 SUN_AUTH_PROTO_FIXIDX,
8588 SUN_BOGUS_IFDEF_FIXIDX,
8589 SUN_CATMACRO_FIXIDX,
8591 SUN_RUSERS_SEMI_FIXIDX,
8593 SUNOS_STRLEN_FIXIDX,
8594 SVR4_DISABLE_OPT_FIXIDX,
8598 SVR4_SIGHANDLER_TYPE_FIXIDX,
8599 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8600 SYSV68_STRING_FIXIDX,
8601 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8602 THREAD_KEYWORD_FIXIDX,
8603 TINFO_CPLUSPLUS_FIXIDX,
8604 ULTRIX_ATEXIT_PARAM_FIXIDX,
8605 ULTRIX_ATOF_PARAM_FIXIDX,
8606 ULTRIX_CONST_FIXIDX,
8607 ULTRIX_CONST2_FIXIDX,
8608 ULTRIX_CONST3_FIXIDX,
8609 ULTRIX_FIX_FIXPROTO_FIXIDX,
8610 ULTRIX_IFDEF_FIXIDX,
8611 ULTRIX_LOCALE_FIXIDX,
8612 ULTRIX_MATH_IFDEF_FIXIDX,
8613 ULTRIX_NESTED_IOCTL_FIXIDX,
8614 ULTRIX_NESTED_SVC_FIXIDX,
8616 ULTRIX_STATIC_FIXIDX,
8617 ULTRIX_STDLIB_FIXIDX,
8618 ULTRIX_STRINGS_FIXIDX,
8619 ULTRIX_STRINGS2_FIXIDX,
8620 ULTRIX_SYS_TIME_FIXIDX,
8621 ULTRIX_UNISTD_FIXIDX,
8622 UNICOSMK_RESTRICT_FIXIDX,
8623 UW7_BYTEORDER_FIX_FIXIDX,
8624 VA_I960_MACRO_FIXIDX,
8626 VXWORKS_GCC_PROBLEM_FIXIDX,
8627 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8628 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8629 VXWORKS_TIME_FIXIDX,
8630 WINDISS_MATH1_FIXIDX,
8631 WINDISS_MATH2_FIXIDX,
8632 WINDISS_VALIST_FIXIDX,
8634 X11_CLASS_USAGE_FIXIDX,
8639 tFixDesc fixDescList[ FIX_COUNT ] = {
8640 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8641 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8642 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8643 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8645 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8646 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8647 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8648 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8650 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8651 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8652 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8653 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8655 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8656 apzAab_Fd_Zero_Gnu_Types_HMachs,
8657 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8658 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8660 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8661 apzAab_Fd_Zero_Selectbits_HMachs,
8662 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8663 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8665 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8666 apzAab_Solaris_Sys_Varargs_HMachs,
8667 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8668 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8670 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8671 apzAab_Sun_MemcpyMachs,
8672 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8673 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8675 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
8676 apzAab_Ultrix_Ansi_CompatMachs,
8677 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8678 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
8680 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
8681 apzAab_Ultrix_LimitsMachs,
8682 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8683 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
8685 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
8686 apzAab_Ultrix_MemoryMachs,
8687 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8688 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
8690 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
8691 apzAab_Ultrix_StringMachs,
8692 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8693 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
8695 { zAix_PthreadName, zAix_PthreadList,
8696 apzAix_PthreadMachs,
8697 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8698 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8700 { zAix_SysmachineName, zAix_SysmachineList,
8701 apzAix_SysmachineMachs,
8702 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8703 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8705 { zAix_SyswaitName, zAix_SyswaitList,
8706 apzAix_SyswaitMachs,
8707 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8708 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
8710 { zAix_Syswait_2Name, zAix_Syswait_2List,
8711 apzAix_Syswait_2Machs,
8712 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8713 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8715 { zAix_VolatileName, zAix_VolatileList,
8716 apzAix_VolatileMachs,
8717 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8718 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8720 { zAlpha___AssertName, zAlpha___AssertList,
8721 apzAlpha___AssertMachs,
8722 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8723 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8725 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8726 apzAlpha___Extern_PrefixMachs,
8727 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8728 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8730 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8731 apzAlpha___Extern_Prefix_StandardsMachs,
8732 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8733 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8735 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8736 apzAlpha___Extern_Prefix_Sys_StatMachs,
8737 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8738 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8740 { zAlpha_AssertName, zAlpha_AssertList,
8741 apzAlpha_AssertMachs,
8742 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8743 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8745 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8746 apzAlpha_Bad_LvalMachs,
8747 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8748 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8750 { zAlpha_GetoptName, zAlpha_GetoptList,
8751 apzAlpha_GetoptMachs,
8752 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8753 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8755 { zAlpha_ParensName, zAlpha_ParensList,
8756 apzAlpha_ParensMachs,
8757 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8758 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8760 { zAlpha_PthreadName, zAlpha_PthreadList,
8761 apzAlpha_PthreadMachs,
8762 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8763 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8765 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8766 apzAlpha_Pthread_GccMachs,
8767 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8768 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8770 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8771 apzAlpha_Pthread_InitMachs,
8772 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8773 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8775 { zAlpha_SbrkName, zAlpha_SbrkList,
8777 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8778 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8780 { zAlpha_WcharName, zAlpha_WcharList,
8781 apzAlpha_WcharMachs,
8782 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8783 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8785 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8786 apzAvoid_Bool_DefineMachs,
8787 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8788 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8790 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8791 apzAvoid_Bool_TypeMachs,
8792 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8793 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
8795 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
8796 apzAvoid_Wchar_T_TypeMachs,
8797 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8798 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
8800 { zBad_Struct_TermName, zBad_Struct_TermList,
8801 apzBad_Struct_TermMachs,
8802 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8803 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
8805 { zBadquoteName, zBadquoteList,
8807 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8808 aBadquoteTests, apzBadquotePatch, 0 },
8810 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
8811 apzBroken_Assert_StdioMachs,
8812 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8813 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
8815 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
8816 apzBroken_Assert_StdlibMachs,
8817 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8818 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
8820 { zBroken_CabsName, zBroken_CabsList,
8821 apzBroken_CabsMachs,
8822 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8823 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
8825 { zBroken_NanName, zBroken_NanList,
8827 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8828 aBroken_NanTests, apzBroken_NanPatch, 0 },
8830 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
8831 apzBsd_Stdio_Attrs_ConflictMachs,
8832 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8833 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
8835 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
8836 apzCtrl_Quotes_DefMachs,
8837 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8838 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
8840 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
8841 apzCtrl_Quotes_UseMachs,
8842 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8843 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
8845 { zCxx_UnreadyName, zCxx_UnreadyList,
8846 apzCxx_UnreadyMachs,
8847 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8848 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
8850 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
8851 apzDarwin_Gcc4_BreakageMachs,
8852 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8853 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
8855 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
8856 apzDarwin_Private_ExternMachs,
8857 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8858 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
8860 { zDec_Intern_AsmName, zDec_Intern_AsmList,
8861 apzDec_Intern_AsmMachs,
8862 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
8863 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
8865 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
8866 apzDjgpp_Wchar_HMachs,
8867 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8868 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
8870 { zEcd_CursorName, zEcd_CursorList,
8872 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8873 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
8875 { zException_StructureName, zException_StructureList,
8876 apzException_StructureMachs,
8877 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8878 aException_StructureTests, apzException_StructurePatch, 0 },
8880 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
8881 apzFreebsd_Gcc3_BreakageMachs,
8882 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8883 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
8885 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
8886 apzFreebsd_Gcc4_BreakageMachs,
8887 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8888 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
8890 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
8891 apzGlibc_C99_Inline_1Machs,
8892 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8893 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
8895 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
8896 apzGlibc_C99_Inline_2Machs,
8897 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
8898 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
8900 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
8901 apzGlibc_C99_Inline_3Machs,
8902 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8903 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
8905 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
8906 apzGlibc_C99_Inline_4Machs,
8907 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8908 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
8910 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
8911 apzGlibc_Mutex_InitMachs,
8912 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
8913 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
8915 { zGnu_TypesName, zGnu_TypesList,
8917 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8918 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
8920 { zHp_InlineName, zHp_InlineList,
8922 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8923 aHp_InlineTests, apzHp_InlinePatch, 0 },
8925 { zHp_SysfileName, zHp_SysfileList,
8927 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8928 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
8930 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
8931 apzHpux10_Cpp_Pow_InlineMachs,
8932 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8933 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
8935 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
8936 apzHpux11_Cpp_Pow_InlineMachs,
8937 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8938 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
8940 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
8941 apzHpux10_Ctype_Declarations1Machs,
8942 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8943 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
8945 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
8946 apzHpux10_Ctype_Declarations2Machs,
8947 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8948 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
8950 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
8951 apzHpux10_Stdio_DeclarationsMachs,
8952 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8953 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
8955 { zHpux11_AbsName, zHpux11_AbsList,
8957 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8958 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
8960 { zHpux11_FabsfName, zHpux11_FabsfList,
8961 apzHpux11_FabsfMachs,
8962 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8963 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
8965 { zHpux11_Size_TName, zHpux11_Size_TList,
8966 apzHpux11_Size_TMachs,
8967 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8968 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
8970 { zHpux11_SnprintfName, zHpux11_SnprintfList,
8971 apzHpux11_SnprintfMachs,
8972 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8973 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
8975 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
8976 apzHpux11_Uint32_CMachs,
8977 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8978 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
8980 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
8981 apzHpux11_VsnprintfMachs,
8982 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8983 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
8985 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
8986 apzHpux8_Bogus_InlinesMachs,
8987 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
8988 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
8990 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
8991 apzHpux_Ctype_MacrosMachs,
8992 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8993 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
8995 { zHpux_HtonlName, zHpux_HtonlList,
8997 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8998 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
9000 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
9001 apzHpux_Long_DoubleMachs,
9002 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
9003 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
9005 { zHpux_SystimeName, zHpux_SystimeList,
9006 apzHpux_SystimeMachs,
9007 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9008 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
9010 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
9011 apzHpux_Spu_InfoMachs,
9012 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9013 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
9015 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
9016 apzHpux11_Extern_SendfileMachs,
9017 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9018 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
9020 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
9021 apzHpux11_Extern_SendpathMachs,
9022 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9023 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
9025 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
9026 apzHpux_Extern_ErrnoMachs,
9027 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9028 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
9030 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
9031 apzHpux_Pthread_InitializersMachs,
9032 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
9033 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
9035 { zHuge_Val_HexName, zHuge_Val_HexList,
9036 apzHuge_Val_HexMachs,
9037 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9038 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
9040 { zHuge_Valf_HexName, zHuge_Valf_HexList,
9041 apzHuge_Valf_HexMachs,
9042 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9043 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
9045 { zHuge_Vall_HexName, zHuge_Vall_HexList,
9046 apzHuge_Vall_HexMachs,
9047 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9048 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
9050 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
9051 apzInt_Abort_Free_And_ExitMachs,
9052 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9053 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
9055 { zIo_Quotes_DefName, zIo_Quotes_DefList,
9056 apzIo_Quotes_DefMachs,
9057 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9058 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
9060 { zIo_Quotes_UseName, zIo_Quotes_UseList,
9061 apzIo_Quotes_UseMachs,
9062 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9063 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
9065 { zIp_Missing_SemiName, zIp_Missing_SemiList,
9066 apzIp_Missing_SemiMachs,
9067 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
9068 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
9070 { zIrix___RestrictName, zIrix___RestrictList,
9071 apzIrix___RestrictMachs,
9072 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9073 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
9075 { zIrix___Generic1Name, zIrix___Generic1List,
9076 apzIrix___Generic1Machs,
9077 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9078 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
9080 { zIrix___Generic2Name, zIrix___Generic2List,
9081 apzIrix___Generic2Machs,
9082 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9083 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
9085 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
9086 apzIrix_Asm_ApostropheMachs,
9087 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9088 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
9090 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
9091 apzIrix_Limits_ConstMachs,
9092 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9093 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
9095 { zIrix_Socklen_TName, zIrix_Socklen_TList,
9096 apzIrix_Socklen_TMachs,
9097 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9098 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
9100 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
9101 apzIrix_Stdio_Va_ListMachs,
9102 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9103 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
9105 { zIrix_WcsftimeName, zIrix_WcsftimeList,
9106 apzIrix_WcsftimeMachs,
9107 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9108 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
9110 { zIsc_FmodName, zIsc_FmodList,
9112 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9113 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
9115 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
9116 apzIsc_Omits_With_StdcMachs,
9117 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9118 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
9120 { zKandr_ConcatName, zKandr_ConcatList,
9121 apzKandr_ConcatMachs,
9122 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9123 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
9125 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
9126 apzLibc1_G_Va_ListMachs,
9127 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9128 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
9130 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
9131 apzLibc1_Ifdefd_MemxMachs,
9132 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9133 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
9135 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
9136 apzLinux_Ia64_UcontextMachs,
9137 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9138 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
9140 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
9141 apzLynxos_No_Warning_In_Sys_Time_HMachs,
9142 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9143 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
9145 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
9146 apzLynxos_Missing_PutenvMachs,
9147 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9148 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
9150 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
9151 apzMachine_Ansi_H_Va_ListMachs,
9152 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9153 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
9155 { zMachine_NameName, zMachine_NameList,
9156 apzMachine_NameMachs,
9157 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9158 aMachine_NameTests, apzMachine_NamePatch, 0 },
9160 { zMath_ExceptionName, zMath_ExceptionList,
9161 apzMath_ExceptionMachs,
9162 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9163 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
9165 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
9166 apzMath_Huge_Val_From_Dbl_MaxMachs,
9167 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
9168 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
9170 { zNested_Auth_DesName, zNested_Auth_DesList,
9171 apzNested_Auth_DesMachs,
9172 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9173 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9175 { zNested_MotorolaName, zNested_MotorolaList,
9176 apzNested_MotorolaMachs,
9177 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
9178 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
9180 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
9181 apzNested_Sys_LimitsMachs,
9182 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
9183 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
9185 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9186 apzNetbsd_Extra_SemicolonMachs,
9187 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9188 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9190 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9191 apzNext_Math_PrefixMachs,
9192 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9193 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9195 { zNext_TemplateName, zNext_TemplateList,
9196 apzNext_TemplateMachs,
9197 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9198 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9200 { zNext_VolitileName, zNext_VolitileList,
9201 apzNext_VolitileMachs,
9202 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9203 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9205 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9206 apzNext_Wait_UnionMachs,
9207 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9208 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9210 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9211 apzNodeent_SyntaxMachs,
9212 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9213 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9215 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9216 apzObstack_Lvalue_CastMachs,
9217 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9218 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9220 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9221 apzOsf_Namespace_AMachs,
9222 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9223 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9225 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9226 apzOsf_Namespace_CMachs,
9227 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9228 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9230 { zPthread_Page_SizeName, zPthread_Page_SizeList,
9231 apzPthread_Page_SizeMachs,
9232 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9233 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
9235 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9236 apzPthread_Incomplete_Struct_ArgumentMachs,
9237 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9238 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9240 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9241 apzRead_Ret_TypeMachs,
9242 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9243 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9245 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9246 apzRpc_Xdr_Lvalue_Cast_AMachs,
9247 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9248 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9250 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9251 apzRpc_Xdr_Lvalue_Cast_BMachs,
9252 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9253 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9255 { zRs6000_DoubleName, zRs6000_DoubleList,
9256 apzRs6000_DoubleMachs,
9257 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9258 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9260 { zRs6000_FchmodName, zRs6000_FchmodList,
9261 apzRs6000_FchmodMachs,
9262 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9263 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9265 { zRs6000_ParamName, zRs6000_ParamList,
9266 apzRs6000_ParamMachs,
9267 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9268 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9270 { zSco_MathName, zSco_MathList,
9272 SCO_MATH_TEST_CT, FD_MACH_ONLY,
9273 aSco_MathTests, apzSco_MathPatch, 0 },
9275 { zSco_RegsetName, zSco_RegsetList,
9277 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9278 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
9280 { zSco_Static_FuncName, zSco_Static_FuncList,
9281 apzSco_Static_FuncMachs,
9282 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
9283 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
9285 { zSco_UtimeName, zSco_UtimeList,
9287 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9288 aSco_UtimeTests, apzSco_UtimePatch, 0 },
9290 { zSolaris_Math_1Name, zSolaris_Math_1List,
9291 apzSolaris_Math_1Machs,
9292 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9293 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9295 { zSolaris_Math_2Name, zSolaris_Math_2List,
9296 apzSolaris_Math_2Machs,
9297 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9298 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9300 { zSolaris_Math_3Name, zSolaris_Math_3List,
9301 apzSolaris_Math_3Machs,
9302 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9303 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9305 { zSolaris_Math_4Name, zSolaris_Math_4List,
9306 apzSolaris_Math_4Machs,
9307 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9308 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9310 { zSolaris_Math_5Name, zSolaris_Math_5List,
9311 apzSolaris_Math_5Machs,
9312 SOLARIS_MATH_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9313 aSolaris_Math_5Tests, apzSolaris_Math_5Patch, 0 },
9315 { zSolaris_Math_6Name, zSolaris_Math_6List,
9316 apzSolaris_Math_6Machs,
9317 SOLARIS_MATH_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9318 aSolaris_Math_6Tests, apzSolaris_Math_6Patch, 0 },
9320 { zSolaris_Math_7Name, zSolaris_Math_7List,
9321 apzSolaris_Math_7Machs,
9322 SOLARIS_MATH_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9323 aSolaris_Math_7Tests, apzSolaris_Math_7Patch, 0 },
9325 { zSolaris_Math_8Name, zSolaris_Math_8List,
9326 apzSolaris_Math_8Machs,
9327 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9328 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9330 { zSolaris_Math_9Name, zSolaris_Math_9List,
9331 apzSolaris_Math_9Machs,
9332 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9333 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9335 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
9336 apzSolaris_Mutex_Init_1Machs,
9337 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
9338 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
9340 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9341 apzSolaris_Mutex_Init_2Machs,
9342 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9343 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9345 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9346 apzSolaris_Rwlock_Init_1Machs,
9347 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9348 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9350 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9351 apzSolaris_Once_Init_1Machs,
9352 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9353 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9355 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9356 apzSolaris_Once_Init_2Machs,
9357 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9358 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9360 { zSolaris_SocketName, zSolaris_SocketList,
9361 apzSolaris_SocketMachs,
9362 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9363 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
9365 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9366 apzSolaris_Stdio_TagMachs,
9367 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9368 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9370 { zSolaris_UnistdName, zSolaris_UnistdList,
9371 apzSolaris_UnistdMachs,
9372 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9373 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
9375 { zSolaris_WidecName, zSolaris_WidecList,
9376 apzSolaris_WidecMachs,
9377 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9378 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
9380 { zStatsswtchName, zStatsswtchList,
9382 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9383 aStatsswtchTests, apzStatsswtchPatch, 0 },
9385 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9386 apzStdio_Stdarg_HMachs,
9387 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9388 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9390 { zStdio_Va_ListName, zStdio_Va_ListList,
9391 apzStdio_Va_ListMachs,
9392 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9393 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9395 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9396 apzStdio_Va_List_ClientsMachs,
9397 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9398 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9400 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9401 apzStrict_Ansi_NotMachs,
9402 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9403 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9405 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9406 apzStrict_Ansi_Not_CtdMachs,
9407 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9408 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9410 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9411 apzStrict_Ansi_OnlyMachs,
9412 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9413 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9415 { zStruct_FileName, zStruct_FileList,
9416 apzStruct_FileMachs,
9417 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9418 aStruct_FileTests, apzStruct_FilePatch, 0 },
9420 { zStruct_SockaddrName, zStruct_SockaddrList,
9421 apzStruct_SockaddrMachs,
9422 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9423 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9425 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9426 apzSun_Auth_ProtoMachs,
9427 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9428 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9430 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9431 apzSun_Bogus_IfdefMachs,
9432 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9433 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9435 { zSun_CatmacroName, zSun_CatmacroList,
9436 apzSun_CatmacroMachs,
9437 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9438 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9440 { zSun_MallocName, zSun_MallocList,
9442 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9443 aSun_MallocTests, apzSun_MallocPatch, 0 },
9445 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9446 apzSun_Rusers_SemiMachs,
9447 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9448 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9450 { zSun_SignalName, zSun_SignalList,
9452 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9453 aSun_SignalTests, apzSun_SignalPatch, 0 },
9455 { zSunos_StrlenName, zSunos_StrlenList,
9456 apzSunos_StrlenMachs,
9457 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9458 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9460 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9461 apzSvr4_Disable_OptMachs,
9462 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9463 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9465 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9466 apzSvr4_GetcwdMachs,
9467 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9468 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9470 { zSvr4_KrnlName, zSvr4_KrnlList,
9472 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9473 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
9475 { zSvr4_ProfilName, zSvr4_ProfilList,
9476 apzSvr4_ProfilMachs,
9477 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9478 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9480 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9481 apzSvr4_Sighandler_TypeMachs,
9482 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9483 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9485 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9486 apzSvr4_Undeclared_GetrngeMachs,
9487 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9488 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9490 { zSysv68_StringName, zSysv68_StringList,
9491 apzSysv68_StringMachs,
9492 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9493 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9495 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9496 apzSysz_Stdlib_For_SunMachs,
9497 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9498 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9500 { zThread_KeywordName, zThread_KeywordList,
9501 apzThread_KeywordMachs,
9502 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9503 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9505 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9506 apzTinfo_CplusplusMachs,
9507 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9508 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9510 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
9511 apzUltrix_Atexit_ParamMachs,
9512 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9513 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
9515 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
9516 apzUltrix_Atof_ParamMachs,
9517 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9518 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
9520 { zUltrix_ConstName, zUltrix_ConstList,
9521 apzUltrix_ConstMachs,
9522 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9523 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9525 { zUltrix_Const2Name, zUltrix_Const2List,
9526 apzUltrix_Const2Machs,
9527 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9528 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9530 { zUltrix_Const3Name, zUltrix_Const3List,
9531 apzUltrix_Const3Machs,
9532 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9533 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
9535 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
9536 apzUltrix_Fix_FixprotoMachs,
9537 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9538 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
9540 { zUltrix_IfdefName, zUltrix_IfdefList,
9541 apzUltrix_IfdefMachs,
9542 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9543 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
9545 { zUltrix_LocaleName, zUltrix_LocaleList,
9546 apzUltrix_LocaleMachs,
9547 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9548 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
9550 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
9551 apzUltrix_Math_IfdefMachs,
9552 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9553 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
9555 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
9556 apzUltrix_Nested_IoctlMachs,
9557 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
9558 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
9560 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
9561 apzUltrix_Nested_SvcMachs,
9562 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
9563 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
9565 { zUltrix_StatName, zUltrix_StatList,
9566 apzUltrix_StatMachs,
9567 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
9568 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
9570 { zUltrix_StaticName, zUltrix_StaticList,
9571 apzUltrix_StaticMachs,
9572 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
9573 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
9575 { zUltrix_StdlibName, zUltrix_StdlibList,
9576 apzUltrix_StdlibMachs,
9577 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
9578 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
9580 { zUltrix_StringsName, zUltrix_StringsList,
9581 apzUltrix_StringsMachs,
9582 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9583 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
9585 { zUltrix_Strings2Name, zUltrix_Strings2List,
9586 apzUltrix_Strings2Machs,
9587 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
9588 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
9590 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
9591 apzUltrix_Sys_TimeMachs,
9592 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
9593 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
9595 { zUltrix_UnistdName, zUltrix_UnistdList,
9596 apzUltrix_UnistdMachs,
9597 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
9598 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
9600 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
9601 apzUnicosmk_RestrictMachs,
9602 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9603 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
9605 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
9606 apzUw7_Byteorder_FixMachs,
9607 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9608 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
9610 { zVa_I960_MacroName, zVa_I960_MacroList,
9611 apzVa_I960_MacroMachs,
9612 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9613 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9615 { zVoid_NullName, zVoid_NullList,
9617 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9618 aVoid_NullTests, apzVoid_NullPatch, 0 },
9620 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
9621 apzVxworks_Gcc_ProblemMachs,
9622 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
9623 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
9625 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
9626 apzVxworks_Needs_VxtypesMachs,
9627 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9628 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
9630 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
9631 apzVxworks_Needs_VxworksMachs,
9632 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
9633 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
9635 { zVxworks_TimeName, zVxworks_TimeList,
9636 apzVxworks_TimeMachs,
9637 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9638 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
9640 { zWindiss_Math1Name, zWindiss_Math1List,
9641 apzWindiss_Math1Machs,
9642 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
9643 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
9645 { zWindiss_Math2Name, zWindiss_Math2List,
9646 apzWindiss_Math2Machs,
9647 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
9648 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
9650 { zWindiss_ValistName, zWindiss_ValistList,
9651 apzWindiss_ValistMachs,
9652 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
9653 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
9655 { zX11_ClassName, zX11_ClassList,
9657 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9658 aX11_ClassTests, apzX11_ClassPatch, 0 },
9660 { zX11_Class_UsageName, zX11_Class_UsageList,
9661 apzX11_Class_UsageMachs,
9662 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9663 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9665 { zX11_NewName, zX11_NewList,
9667 X11_NEW_TEST_CT, FD_MACH_ONLY,
9668 aX11_NewTests, apzX11_NewPatch, 0 },
9670 { zX11_SprintfName, zX11_SprintfList,
9671 apzX11_SprintfMachs,
9672 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9673 aX11_SprintfTests, apzX11_SprintfPatch, 0 }