1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Thursday September 15, 2005 at 06:55:23 PM UTC
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT CVS-MERGE THIS FILE, EITHER Thu Sep 15 18:55:24 UTC 2005
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 193 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 # include_next <architecture/ppc/math.h>\n\
80 # ifndef __LIBMLDBL_COMPAT\n\
81 # ifdef __LONG_DOUBLE_128__\n\
82 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
84 # define __LIBMLDBL_COMPAT(sym)\n\
85 # endif /* __LONG_DOUBLE_128__ */\n\
86 # endif /* __LIBMLDBL_COMPAT */\n\
87 # ifdef __cplusplus\n\
90 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
91 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
92 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
93 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
94 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
95 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
96 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
97 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
98 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
99 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
100 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
101 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
102 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
103 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
104 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
105 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
106 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
107 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
108 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
109 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
110 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
111 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
112 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
113 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
114 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
115 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
116 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
117 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
118 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
119 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
120 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
121 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
122 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
123 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
124 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
125 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
126 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
127 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
128 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
129 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
130 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
131 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
132 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
133 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
134 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
135 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
136 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
137 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
138 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
139 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
140 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
141 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
142 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
143 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
144 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
145 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
146 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
147 # ifdef __cplusplus\n\
150 #endif /* __MATH__ */",
153 /* * * * * * * * * * * * * * * * * * * * * * * * * *
155 * Description of Aab_Darwin7_9_Long_Double_Funcs_2 fix
157 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
158 "AAB_darwin7_9_long_double_funcs_2";
161 * File name selection pattern
163 tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
166 * Machine/OS name selection pattern
168 tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
173 * content selection pattern - do fix if pattern found
175 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
176 "#include[ \\t]+\\\"";
178 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
179 static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
180 { TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
183 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
185 static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
188 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
191 /* * * * * * * * * * * * * * * * * * * * * * * * * *
193 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
195 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
196 "AAB_fd_zero_asm_posix_types_h";
199 * File name selection pattern
201 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
202 "|asm/posix_types.h|";
204 * Machine/OS name selection pattern
206 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
207 "i[34567]86-*-linux*",
211 * content bypass pattern - skip fix if pattern found
213 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
216 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
217 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
218 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
221 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
223 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
224 "/* This file fixes a bug in the __FD_ZERO macro\n\
225 for older versions of the Linux kernel. */\n\
226 #ifndef _POSIX_TYPES_H_WRAPPER\n\
227 #include <features.h>\n\
228 #include_next <asm/posix_types.h>\n\n\
229 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
231 #define __FD_ZERO(fdsetp) \\\n\
233 int __d0, __d1; \\\n\
234 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
235 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
236 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
237 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
240 #define _POSIX_TYPES_H_WRAPPER\n\
241 #endif /* _POSIX_TYPES_H_WRAPPER */",
244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
246 * Description of Aab_Fd_Zero_Gnu_Types_H fix
248 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
249 "AAB_fd_zero_gnu_types_h";
252 * File name selection pattern
254 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
257 * Machine/OS name selection pattern
259 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
260 "i[34567]86-*-linux*",
262 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
263 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
266 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
268 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
269 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
270 #ifndef _TYPES_H_WRAPPER\n\
271 #include <features.h>\n\
272 #include_next <gnu/types.h>\n\n\
273 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
275 # define __FD_ZERO(fdsetp) \\\n\
277 int __d0, __d1; \\\n\
278 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
279 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
280 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
281 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
284 #define _TYPES_H_WRAPPER\n\
285 #endif /* _TYPES_H_WRAPPER */",
288 /* * * * * * * * * * * * * * * * * * * * * * * * * *
290 * Description of Aab_Fd_Zero_Selectbits_H fix
292 tSCC zAab_Fd_Zero_Selectbits_HName[] =
293 "AAB_fd_zero_selectbits_h";
296 * File name selection pattern
298 tSCC zAab_Fd_Zero_Selectbits_HList[] =
301 * Machine/OS name selection pattern
303 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
304 "i[34567]86-*-linux*",
306 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
307 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
310 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
312 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
313 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
314 #ifndef _SELECTBITS_H_WRAPPER\n\
315 #include <features.h>\n\
316 #include_next <selectbits.h>\n\n\
317 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
318 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
319 && __GLIBC_MINOR__ == 0\n\
321 #define __FD_ZERO(fdsetp) \\\\\n\
323 int __d0, __d1; \\\\\n\
324 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
325 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
326 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
327 / sizeof (__fd_mask)), \\\\\n\
328 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
329 : \"memory\"); \\\\\n\
332 #define _SELECTBITS_H_WRAPPER\n\
333 #endif /* _SELECTBITS_H_WRAPPER */",
336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
338 * Description of Aab_Solaris_Sys_Varargs_H fix
340 tSCC zAab_Solaris_Sys_Varargs_HName[] =
341 "AAB_solaris_sys_varargs_h";
344 * File name selection pattern
346 tSCC zAab_Solaris_Sys_Varargs_HList[] =
349 * Machine/OS name selection pattern
351 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
354 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
355 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
358 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
360 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
362 #include <stdarg.h>\n\
364 #include <varargs.h>\n\
368 /* * * * * * * * * * * * * * * * * * * * * * * * * *
370 * Description of Aab_Sun_Memcpy fix
372 tSCC zAab_Sun_MemcpyName[] =
376 * File name selection pattern
378 tSCC zAab_Sun_MemcpyList[] =
381 * Machine/OS name selection pattern
383 #define apzAab_Sun_MemcpyMachs (const char**)NULL
386 * content selection pattern - do fix if pattern found
388 tSCC zAab_Sun_MemcpySelect0[] =
389 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
391 #define AAB_SUN_MEMCPY_TEST_CT 1
392 static tTestDesc aAab_Sun_MemcpyTests[] = {
393 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
396 * Fix Command Arguments for Aab_Sun_Memcpy
398 static const char* apzAab_Sun_MemcpyPatch[] = {
399 "/* This file was generated by fixincludes */\n\
400 #ifndef __memory_h__\n\
401 #define __memory_h__\n\n\
403 extern void *memccpy();\n\
404 extern void *memchr();\n\
405 extern void *memcpy();\n\
406 extern void *memset();\n\
408 extern char *memccpy();\n\
409 extern char *memchr();\n\
410 extern char *memcpy();\n\
411 extern char *memset();\n\
412 #endif /* __STDC__ */\n\n\
413 extern int memcmp();\n\n\
414 #endif /* __memory_h__ */\n\
418 * Completely replace <sys/varargs.h> with a file that includes gcc's\n\
419 * stdarg.h or varargs.h files as appropriate.\n\
423 hackname = AAB_svr4_no_varargs;\n\
424 files = sys/varargs.h;\n\
425 replace = \"/* This file was generated by fixincludes. */\\n\"\n\
426 \"#ifndef _SYS_VARARGS_H\\n\"\n\
427 \"#define _SYS_VARARGS_H\\n\\n\"\n\n\
428 \"#ifdef __STDC__\\n\"\n\
429 \"#include <stdarg.h>\\n\"\n\
431 \"#include <varargs.h>\\n\"\n\
432 \"#endif\\n\\n\"\n\n\
433 \"#endif /* _SYS_VARARGS_H */\\n\";\n\
437 * Completely replace <sys/byteorder.h> with a file that implements gcc's\n\
438 * optimized byteswapping. (The original probably implemented some\n\
439 * incompatible optimized byteswapping.)\n\
442 hackname = AAB_svr4_replace_byteorder;\n\
443 mach = \"*-*-sysv4*\";\n\
444 mach = \"i[34567]86-*-sysv5*\";\n\
445 mach = \"i[34567]86-*-sco3.2v5*\";\n\
446 mach = \"i[34567]86-*-udk*\";\n\
447 mach = \"i[34567]86-*-solaris2.[0-4]\";\n\
448 mach = \"powerpcle-*-solaris2.[0-4]\";\n\
449 mach = \"sparc-*-solaris2.[0-4]\";\n\
450 mach = \"i[34567]86-sequent-ptx*\";\n\
451 files = sys/byteorder.h;\n\
452 replace = <<- _EndOfHeader_\n\
453 #ifndef _SYS_BYTEORDER_H\n\
454 #define _SYS_BYTEORDER_H\n\n\
455 /* Functions to convert `short' and `long' quantities from host byte order\n\
456 to (internet) network byte order (i.e. big-endian).\n\n\
457 Written by Ron Guilmette (rfg@ncd.com).\n\n\
458 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
459 For big-endian machines these functions are essentially no-ops.\n\n\
460 For little-endian machines, we define the functions using specialized\n\
461 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
462 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
463 #error You lose! This file is only useful with GNU compilers.\n\
465 #ifndef __BYTE_ORDER__\n\
466 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
467 double underscores added at the front and back. */\n\
468 #define __LITTLE_ENDIAN__ 1234\n\
469 #define __BIG_ENDIAN__ 4321\n\
470 #define __PDP_ENDIAN__ 3412\n\
473 static __inline__ unsigned long htonl (unsigned long);\n\
474 static __inline__ unsigned short htons (unsigned int);\n\
475 static __inline__ unsigned long ntohl (unsigned long);\n\
476 static __inline__ unsigned short ntohs (unsigned int);\n\
477 #endif /* defined (__STDC__) */\n\n\
478 #if defined (__i386__)\n\n\
479 #ifndef __BYTE_ORDER__\n\
480 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
482 /* Convert a host long to a network long. */\n\n\
483 /* We must use a new-style function definition, so that this will also\n\
484 be valid for C++. */\n\
485 static __inline__ unsigned long\n\
486 htonl (unsigned long __arg)\n\
488 register unsigned long __result;\n\n\
489 __asm__ (\"xchg%B0 %b0,%h0\n\
491 xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
494 /* Convert a host short to a network short. */\n\n\
495 static __inline__ unsigned short\n\
496 htons (unsigned int __arg)\n\
498 register unsigned short __result;\n\n\
499 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
502 #elif (defined (__ns32k__) || defined (__vax__) || defined (__arm__))\n\n\
503 #ifndef __BYTE_ORDER__\n\
504 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
506 /* For other little-endian machines, using C code is just as efficient as\n\
507 using assembly code. */\n\n\
508 /* Convert a host long to a network long. */\n\n\
509 static __inline__ unsigned long\n\
510 htonl (unsigned long __arg)\n\
512 register unsigned long __result;\n\n\
513 __result = (__arg >> 24) & 0x000000ff;\n\
514 __result |= (__arg >> 8) & 0x0000ff00;\n\
515 __result |= (__arg << 8) & 0x00ff0000;\n\
516 __result |= (__arg << 24) & 0xff000000;\n\
519 /* Convert a host short to a network short. */\n\n\
520 static __inline__ unsigned short\n\
521 htons (unsigned int __arg)\n\
523 register unsigned short __result;\n\n\
524 __result = (__arg << 8) & 0xff00;\n\
525 __result |= (__arg >> 8) & 0x00ff;\n\
528 #else /* must be a big-endian machine */\n\n\
529 #ifndef __BYTE_ORDER__\n\
530 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
532 /* Convert a host long to a network long. */\n\n\
533 static __inline__ unsigned long\n\
534 htonl (unsigned long __arg)\n\
538 /* Convert a host short to a network short. */\n\n\
539 static __inline__ unsigned short\n\
540 htons (unsigned int __arg)\n\
544 #endif /* big-endian */\n\n\
545 /* Convert a network long to a host long. */\n\n\
546 static __inline__ unsigned long\n\
547 ntohl (unsigned long __arg)\n\
549 return htonl (__arg);\n\
551 /* Convert a network short to a host short. */\n\n\
552 static __inline__ unsigned short\n\
553 ntohs (unsigned int __arg)\n\
555 return htons (__arg);\n\
560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
562 * Description of Aab_Ultrix_Ansi_Compat fix
564 tSCC zAab_Ultrix_Ansi_CompatName[] =
565 "AAB_ultrix_ansi_compat";
568 * File name selection pattern
570 tSCC zAab_Ultrix_Ansi_CompatList[] =
573 * Machine/OS name selection pattern
575 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
578 * content selection pattern - do fix if pattern found
580 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
583 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
584 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
585 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
588 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
590 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
591 "/* This file intentionally left blank. */\n",
594 /* * * * * * * * * * * * * * * * * * * * * * * * * *
596 * Description of Aab_Ultrix_Limits fix
598 tSCC zAab_Ultrix_LimitsName[] =
602 * File name selection pattern
604 tSCC zAab_Ultrix_LimitsList[] =
607 * Machine/OS name selection pattern
609 tSCC* apzAab_Ultrix_LimitsMachs[] = {
612 #define AAB_ULTRIX_LIMITS_TEST_CT 0
613 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
616 * Fix Command Arguments for Aab_Ultrix_Limits
618 static const char* apzAab_Ultrix_LimitsPatch[] = {
619 "#ifndef _LIMITS_INCLUDED\n\
620 #define _LIMITS_INCLUDED\n\
621 #include <sys/limits.h>\n\
622 #endif /* _LIMITS_INCLUDED */",
625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
627 * Description of Aab_Ultrix_Memory fix
629 tSCC zAab_Ultrix_MemoryName[] =
633 * File name selection pattern
635 tSCC zAab_Ultrix_MemoryList[] =
638 * Machine/OS name selection pattern
640 tSCC* apzAab_Ultrix_MemoryMachs[] = {
643 #define AAB_ULTRIX_MEMORY_TEST_CT 0
644 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
647 * Fix Command Arguments for Aab_Ultrix_Memory
649 static const char* apzAab_Ultrix_MemoryPatch[] = {
650 "#ifndef _MEMORY_INCLUDED\n\
651 #define _MEMORY_INCLUDED\n\
652 #include <strings.h>\n\
653 #endif /* _MEMORY_INCLUDED */",
656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
658 * Description of Aab_Ultrix_String fix
660 tSCC zAab_Ultrix_StringName[] =
664 * File name selection pattern
666 tSCC zAab_Ultrix_StringList[] =
669 * Machine/OS name selection pattern
671 tSCC* apzAab_Ultrix_StringMachs[] = {
674 #define AAB_ULTRIX_STRING_TEST_CT 0
675 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
678 * Fix Command Arguments for Aab_Ultrix_String
680 static const char* apzAab_Ultrix_StringPatch[] = {
681 "#ifndef _STRING_INCLUDED\n\
682 #define _STRING_INCLUDED\n\
683 #include <strings.h>\n\
684 #endif /* _STRING_INCLUDED */",
687 /* * * * * * * * * * * * * * * * * * * * * * * * * *
689 * Description of Aix_Pthread fix
691 tSCC zAix_PthreadName[] =
695 * File name selection pattern
697 tSCC zAix_PthreadList[] =
700 * Machine/OS name selection pattern
702 #define apzAix_PthreadMachs (const char**)NULL
705 * content selection pattern - do fix if pattern found
707 tSCC zAix_PthreadSelect0[] =
708 "(#define [A-Za-z_0-9]+)(\\\\\n\
712 #define AIX_PTHREAD_TEST_CT 1
713 static tTestDesc aAix_PthreadTests[] = {
714 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
717 * Fix Command Arguments for Aix_Pthread
719 static const char* apzAix_PthreadPatch[] = {
724 /* * * * * * * * * * * * * * * * * * * * * * * * * *
726 * Description of Aix_Sysmachine fix
728 tSCC zAix_SysmachineName[] =
732 * File name selection pattern
734 tSCC zAix_SysmachineList[] =
737 * Machine/OS name selection pattern
739 #define apzAix_SysmachineMachs (const char**)NULL
742 * content selection pattern - do fix if pattern found
744 tSCC zAix_SysmachineSelect0[] =
747 #define AIX_SYSMACHINE_TEST_CT 1
748 static tTestDesc aAix_SysmachineTests[] = {
749 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
752 * Fix Command Arguments for Aix_Sysmachine
754 static const char* apzAix_SysmachinePatch[] = {
759 /* * * * * * * * * * * * * * * * * * * * * * * * * *
761 * Description of Aix_Syswait fix
763 tSCC zAix_SyswaitName[] =
767 * File name selection pattern
769 tSCC zAix_SyswaitList[] =
772 * Machine/OS name selection pattern
774 #define apzAix_SyswaitMachs (const char**)NULL
777 * content selection pattern - do fix if pattern found
779 tSCC zAix_SyswaitSelect0[] =
780 "^extern pid_t wait3\\(\\);\n";
781 tSCC zAix_SyswaitSelect1[] =
784 #define AIX_SYSWAIT_TEST_CT 2
785 static tTestDesc aAix_SyswaitTests[] = {
786 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
787 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
790 * Fix Command Arguments for Aix_Syswait
792 static const char* apzAix_SyswaitPatch[] = {
798 /* * * * * * * * * * * * * * * * * * * * * * * * * *
800 * Description of Aix_Syswait_2 fix
802 tSCC zAix_Syswait_2Name[] =
806 * File name selection pattern
808 tSCC zAix_Syswait_2List[] =
811 * Machine/OS name selection pattern
813 #define apzAix_Syswait_2Machs (const char**)NULL
816 * content selection pattern - do fix if pattern found
818 tSCC zAix_Syswait_2Select0[] =
819 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
821 #define AIX_SYSWAIT_2_TEST_CT 1
822 static tTestDesc aAix_Syswait_2Tests[] = {
823 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
826 * Fix Command Arguments for Aix_Syswait_2
828 static const char* apzAix_Syswait_2Patch[] = {
833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
835 * Description of Aix_Volatile fix
837 tSCC zAix_VolatileName[] =
841 * File name selection pattern
843 tSCC zAix_VolatileList[] =
846 * Machine/OS name selection pattern
848 #define apzAix_VolatileMachs (const char**)NULL
851 * content selection pattern - do fix if pattern found
853 tSCC zAix_VolatileSelect0[] =
854 "typedef volatile int sig_atomic_t";
856 #define AIX_VOLATILE_TEST_CT 1
857 static tTestDesc aAix_VolatileTests[] = {
858 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
861 * Fix Command Arguments for Aix_Volatile
863 static const char* apzAix_VolatilePatch[] = {
865 "typedef int sig_atomic_t",
868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
870 * Description of Alpha___Assert fix
872 tSCC zAlpha___AssertName[] =
876 * File name selection pattern
878 tSCC zAlpha___AssertList[] =
881 * Machine/OS name selection pattern
883 #define apzAlpha___AssertMachs (const char**)NULL
886 * content selection pattern - do fix if pattern found
888 tSCC zAlpha___AssertSelect0[] =
889 "__assert\\(char \\*, char \\*, int\\)";
891 #define ALPHA___ASSERT_TEST_CT 1
892 static tTestDesc aAlpha___AssertTests[] = {
893 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
896 * Fix Command Arguments for Alpha___Assert
898 static const char* apzAlpha___AssertPatch[] = {
900 "__assert(const char *, const char *, int)",
903 /* * * * * * * * * * * * * * * * * * * * * * * * * *
905 * Description of Alpha___Extern_Prefix fix
907 tSCC zAlpha___Extern_PrefixName[] =
908 "alpha___extern_prefix";
911 * File name selection pattern
913 #define zAlpha___Extern_PrefixList (char*)NULL
915 * Machine/OS name selection pattern
917 tSCC* apzAlpha___Extern_PrefixMachs[] = {
922 * content selection pattern - do fix if pattern found
924 tSCC zAlpha___Extern_PrefixSelect0[] =
925 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
926 (#[ \t]*pragma[ \t]*extern_prefix.*)";
928 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
929 static tTestDesc aAlpha___Extern_PrefixTests[] = {
930 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
933 * Fix Command Arguments for Alpha___Extern_Prefix
935 static const char* apzAlpha___Extern_PrefixPatch[] = {
937 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
943 * Description of Alpha___Extern_Prefix_Standards fix
945 tSCC zAlpha___Extern_Prefix_StandardsName[] =
946 "alpha___extern_prefix_standards";
949 * File name selection pattern
951 tSCC zAlpha___Extern_Prefix_StandardsList[] =
954 * Machine/OS name selection pattern
956 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
961 * content selection pattern - do fix if pattern found
963 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
964 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
966 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
967 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
968 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
971 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
973 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
975 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
980 * Description of Alpha___Extern_Prefix_Sys_Stat fix
982 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
983 "alpha___extern_prefix_sys_stat";
986 * File name selection pattern
988 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
989 "|sys/stat.h|sys/mount.h|";
991 * Machine/OS name selection pattern
993 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
998 * content selection pattern - do fix if pattern found
1000 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
1001 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
1003 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
1004 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
1005 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
1008 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
1010 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
1012 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
1015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1017 * Description of Alpha_Assert fix
1019 tSCC zAlpha_AssertName[] =
1023 * File name selection pattern
1025 tSCC zAlpha_AssertList[] =
1028 * Machine/OS name selection pattern
1030 #define apzAlpha_AssertMachs (const char**)NULL
1033 * content selection pattern - do fix if pattern found
1035 tSCC zAlpha_AssertSelect0[] =
1036 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1038 #define ALPHA_ASSERT_TEST_CT 1
1039 static tTestDesc aAlpha_AssertTests[] = {
1040 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1043 * Fix Command Arguments for Alpha_Assert
1045 static const char* apzAlpha_AssertPatch[] = {
1050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1052 * Description of Alpha_Bad_Lval fix
1054 tSCC zAlpha_Bad_LvalName[] =
1058 * File name selection pattern
1060 #define zAlpha_Bad_LvalList (char*)NULL
1062 * Machine/OS name selection pattern
1064 tSCC* apzAlpha_Bad_LvalMachs[] = {
1066 (const char*)NULL };
1069 * content selection pattern - do fix if pattern found
1071 tSCC zAlpha_Bad_LvalSelect0[] =
1072 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1074 #define ALPHA_BAD_LVAL_TEST_CT 1
1075 static tTestDesc aAlpha_Bad_LvalTests[] = {
1076 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
1079 * Fix Command Arguments for Alpha_Bad_Lval
1081 static const char* apzAlpha_Bad_LvalPatch[] = { "sed",
1082 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1087 * Description of Alpha_Getopt fix
1089 tSCC zAlpha_GetoptName[] =
1093 * File name selection pattern
1095 tSCC zAlpha_GetoptList[] =
1096 "|stdio.h|stdlib.h|";
1098 * Machine/OS name selection pattern
1100 #define apzAlpha_GetoptMachs (const char**)NULL
1103 * content selection pattern - do fix if pattern found
1105 tSCC zAlpha_GetoptSelect0[] =
1106 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1108 #define ALPHA_GETOPT_TEST_CT 1
1109 static tTestDesc aAlpha_GetoptTests[] = {
1110 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1113 * Fix Command Arguments for Alpha_Getopt
1115 static const char* apzAlpha_GetoptPatch[] = {
1117 "getopt(int, char *const[], const char *)",
1120 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1122 * Description of Alpha_Parens fix
1124 tSCC zAlpha_ParensName[] =
1128 * File name selection pattern
1130 tSCC zAlpha_ParensList[] =
1133 * Machine/OS name selection pattern
1135 #define apzAlpha_ParensMachs (const char**)NULL
1138 * content selection pattern - do fix if pattern found
1140 tSCC zAlpha_ParensSelect0[] =
1141 "#ifndef\\(__mips64\\)";
1143 #define ALPHA_PARENS_TEST_CT 1
1144 static tTestDesc aAlpha_ParensTests[] = {
1145 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1148 * Fix Command Arguments for Alpha_Parens
1150 static const char* apzAlpha_ParensPatch[] = {
1155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1157 * Description of Alpha_Pthread fix
1159 tSCC zAlpha_PthreadName[] =
1163 * File name selection pattern
1165 tSCC zAlpha_PthreadList[] =
1168 * Machine/OS name selection pattern
1170 tSCC* apzAlpha_PthreadMachs[] = {
1172 (const char*)NULL };
1175 * content selection pattern - do fix if pattern found
1177 tSCC zAlpha_PthreadSelect0[] =
1178 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
1179 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
1181 #define ALPHA_PTHREAD_TEST_CT 1
1182 static tTestDesc aAlpha_PthreadTests[] = {
1183 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
1186 * Fix Command Arguments for Alpha_Pthread
1188 static const char* apzAlpha_PthreadPatch[] = {
1190 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
1194 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1196 * Description of Alpha_Pthread_Gcc fix
1198 tSCC zAlpha_Pthread_GccName[] =
1199 "alpha_pthread_gcc";
1202 * File name selection pattern
1204 tSCC zAlpha_Pthread_GccList[] =
1207 * Machine/OS name selection pattern
1209 tSCC* apzAlpha_Pthread_GccMachs[] = {
1211 (const char*)NULL };
1214 * content selection pattern - do fix if pattern found
1216 tSCC zAlpha_Pthread_GccSelect0[] =
1218 # error <pthread.h>: unrecognized compiler.";
1220 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1221 static tTestDesc aAlpha_Pthread_GccTests[] = {
1222 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1225 * Fix Command Arguments for Alpha_Pthread_Gcc
1227 static const char* apzAlpha_Pthread_GccPatch[] = {
1229 "#elif defined (__GNUC__)\n\
1230 # define _PTHREAD_ENV_GCC\n\
1234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1236 * Description of Alpha_Pthread_Init fix
1238 tSCC zAlpha_Pthread_InitName[] =
1239 "alpha_pthread_init";
1242 * File name selection pattern
1244 tSCC zAlpha_Pthread_InitList[] =
1247 * Machine/OS name selection pattern
1249 tSCC* apzAlpha_Pthread_InitMachs[] = {
1251 (const char*)NULL };
1254 * content selection pattern - do fix if pattern found
1256 tSCC zAlpha_Pthread_InitSelect0[] =
1257 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1259 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1260 static tTestDesc aAlpha_Pthread_InitTests[] = {
1261 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1264 * Fix Command Arguments for Alpha_Pthread_Init
1266 static const char* apzAlpha_Pthread_InitPatch[] = { "sed",
1267 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1268 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1269 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1270 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1271 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1272 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1275 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1277 * Description of Alpha_Sbrk fix
1279 tSCC zAlpha_SbrkName[] =
1283 * File name selection pattern
1285 tSCC zAlpha_SbrkList[] =
1288 * Machine/OS name selection pattern
1290 #define apzAlpha_SbrkMachs (const char**)NULL
1293 * content selection pattern - do fix if pattern found
1295 tSCC zAlpha_SbrkSelect0[] =
1296 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1298 #define ALPHA_SBRK_TEST_CT 1
1299 static tTestDesc aAlpha_SbrkTests[] = {
1300 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1303 * Fix Command Arguments for Alpha_Sbrk
1305 static const char* apzAlpha_SbrkPatch[] = {
1310 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1312 * Description of Alpha_Wchar fix
1314 tSCC zAlpha_WcharName[] =
1318 * File name selection pattern
1320 tSCC zAlpha_WcharList[] =
1323 * Machine/OS name selection pattern
1325 tSCC* apzAlpha_WcharMachs[] = {
1327 (const char*)NULL };
1330 * content selection pattern - do fix if pattern found
1332 tSCC zAlpha_WcharSelect0[] =
1333 "#define wcstok wcstok_r";
1335 #define ALPHA_WCHAR_TEST_CT 1
1336 static tTestDesc aAlpha_WcharTests[] = {
1337 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1340 * Fix Command Arguments for Alpha_Wchar
1342 static const char* apzAlpha_WcharPatch[] = { "sed",
1343 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1344 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1349 * Description of Avoid_Bool_Define fix
1351 tSCC zAvoid_Bool_DefineName[] =
1352 "avoid_bool_define";
1355 * File name selection pattern
1357 tSCC zAvoid_Bool_DefineList[] =
1358 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1360 * Machine/OS name selection pattern
1362 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1365 * content selection pattern - do fix if pattern found
1367 tSCC zAvoid_Bool_DefineSelect0[] =
1368 "#[ \t]*define[ \t]+bool[ \t]";
1371 * content bypass pattern - skip fix if pattern found
1373 tSCC zAvoid_Bool_DefineBypass0[] =
1376 #define AVOID_BOOL_DEFINE_TEST_CT 2
1377 static tTestDesc aAvoid_Bool_DefineTests[] = {
1378 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1379 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1382 * Fix Command Arguments for Avoid_Bool_Define
1384 static const char* apzAvoid_Bool_DefinePatch[] = {
1386 "#ifndef __cplusplus\n\
1389 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1394 * Description of Avoid_Bool_Type fix
1396 tSCC zAvoid_Bool_TypeName[] =
1400 * File name selection pattern
1402 tSCC zAvoid_Bool_TypeList[] =
1403 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1405 * Machine/OS name selection pattern
1407 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1410 * content selection pattern - do fix if pattern found
1412 tSCC zAvoid_Bool_TypeSelect0[] =
1413 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1416 * content bypass pattern - skip fix if pattern found
1418 tSCC zAvoid_Bool_TypeBypass0[] =
1421 #define AVOID_BOOL_TYPE_TEST_CT 2
1422 static tTestDesc aAvoid_Bool_TypeTests[] = {
1423 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1424 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1427 * Fix Command Arguments for Avoid_Bool_Type
1429 static const char* apzAvoid_Bool_TypePatch[] = {
1431 "#ifndef __cplusplus\n\
1436 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1438 * Description of Avoid_Wchar_T_Type fix
1440 tSCC zAvoid_Wchar_T_TypeName[] =
1441 "avoid_wchar_t_type";
1444 * File name selection pattern
1446 #define zAvoid_Wchar_T_TypeList (char*)NULL
1448 * Machine/OS name selection pattern
1450 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1453 * content selection pattern - do fix if pattern found
1455 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1456 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1459 * content bypass pattern - skip fix if pattern found
1461 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1463 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1465 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1466 "XFree86: xc/lib/X11/Xlib\\.h";
1468 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1469 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1470 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1471 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1472 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1473 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1476 * Fix Command Arguments for Avoid_Wchar_T_Type
1478 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1480 "#ifndef __cplusplus\n\
1485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1487 * Description of Bad_Struct_Term fix
1489 tSCC zBad_Struct_TermName[] =
1493 * File name selection pattern
1495 tSCC zBad_Struct_TermList[] =
1498 * Machine/OS name selection pattern
1500 #define apzBad_Struct_TermMachs (const char**)NULL
1503 * content selection pattern - do fix if pattern found
1505 tSCC zBad_Struct_TermSelect0[] =
1506 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1508 #define BAD_STRUCT_TERM_TEST_CT 1
1509 static tTestDesc aBad_Struct_TermTests[] = {
1510 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1513 * Fix Command Arguments for Bad_Struct_Term
1515 static const char* apzBad_Struct_TermPatch[] = {
1520 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1522 * Description of Badquote fix
1524 tSCC zBadquoteName[] =
1528 * File name selection pattern
1530 tSCC zBadquoteList[] =
1531 "|sundev/vuid_event.h|";
1533 * Machine/OS name selection pattern
1535 #define apzBadquoteMachs (const char**)NULL
1538 * content selection pattern - do fix if pattern found
1540 tSCC zBadquoteSelect0[] =
1543 #define BADQUOTE_TEST_CT 1
1544 static tTestDesc aBadquoteTests[] = {
1545 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1548 * Fix Command Arguments for Badquote
1550 static const char* apzBadquotePatch[] = {
1555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1557 * Description of Broken_Assert_Stdio fix
1559 tSCC zBroken_Assert_StdioName[] =
1560 "broken_assert_stdio";
1563 * File name selection pattern
1565 tSCC zBroken_Assert_StdioList[] =
1568 * Machine/OS name selection pattern
1570 #define apzBroken_Assert_StdioMachs (const char**)NULL
1573 * content selection pattern - do fix if pattern found
1575 tSCC zBroken_Assert_StdioSelect0[] =
1579 * content bypass pattern - skip fix if pattern found
1581 tSCC zBroken_Assert_StdioBypass0[] =
1582 "include.*stdio\\.h";
1584 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1585 static tTestDesc aBroken_Assert_StdioTests[] = {
1586 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1587 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1590 * Fix Command Arguments for Broken_Assert_Stdio
1592 static const char* apzBroken_Assert_StdioPatch[] = {
1594 "#include <stdio.h>\n",
1597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1599 * Description of Broken_Assert_Stdlib fix
1601 tSCC zBroken_Assert_StdlibName[] =
1602 "broken_assert_stdlib";
1605 * File name selection pattern
1607 tSCC zBroken_Assert_StdlibList[] =
1610 * Machine/OS name selection pattern
1612 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1615 * content selection pattern - do fix if pattern found
1617 tSCC zBroken_Assert_StdlibSelect0[] =
1618 "exit *\\(|abort *\\(";
1621 * content bypass pattern - skip fix if pattern found
1623 tSCC zBroken_Assert_StdlibBypass0[] =
1624 "include.*stdlib\\.h";
1626 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1627 static tTestDesc aBroken_Assert_StdlibTests[] = {
1628 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1629 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1632 * Fix Command Arguments for Broken_Assert_Stdlib
1634 static const char* apzBroken_Assert_StdlibPatch[] = {
1636 "#ifdef __cplusplus\n\
1637 #include <stdlib.h>\n\
1641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1643 * Description of Broken_Cabs fix
1645 tSCC zBroken_CabsName[] =
1649 * File name selection pattern
1651 tSCC zBroken_CabsList[] =
1652 "|math.h|architecture/ppc/math.h|architecture/i386/math.h|";
1654 * Machine/OS name selection pattern
1656 #define apzBroken_CabsMachs (const char**)NULL
1659 * content selection pattern - do fix if pattern found
1661 tSCC zBroken_CabsSelect0[] =
1662 "^extern[ \t]+double[ \t]+cabs";
1664 #define BROKEN_CABS_TEST_CT 1
1665 static tTestDesc aBroken_CabsTests[] = {
1666 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1669 * Fix Command Arguments for Broken_Cabs
1671 static const char* apzBroken_CabsPatch[] = {
1674 "^extern[ \t]+double[ \t]+cabs[ \t]*\\([^\\)]*\\);",
1677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1679 * Description of Bsd_Stdio_Attrs_Conflict fix
1681 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1682 "bsd_stdio_attrs_conflict";
1685 * File name selection pattern
1687 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1690 * Machine/OS name selection pattern
1692 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1695 (const char*)NULL };
1698 * content selection pattern - do fix if pattern found
1700 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1701 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1703 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1704 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1705 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1708 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1710 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1712 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1713 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1714 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1717 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1719 * Description of Ctrl_Quotes_Def fix
1721 tSCC zCtrl_Quotes_DefName[] =
1725 * File name selection pattern
1727 #define zCtrl_Quotes_DefList (char*)NULL
1729 * Machine/OS name selection pattern
1731 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1734 * content selection pattern - do fix if pattern found
1736 tSCC zCtrl_Quotes_DefSelect0[] =
1737 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1739 #define CTRL_QUOTES_DEF_TEST_CT 1
1740 static tTestDesc aCtrl_Quotes_DefTests[] = {
1741 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1744 * Fix Command Arguments for Ctrl_Quotes_Def
1746 static const char* apzCtrl_Quotes_DefPatch[] = {
1751 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1753 * Description of Ctrl_Quotes_Use fix
1755 tSCC zCtrl_Quotes_UseName[] =
1759 * File name selection pattern
1761 #define zCtrl_Quotes_UseList (char*)NULL
1763 * Machine/OS name selection pattern
1765 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1768 * content selection pattern - do fix if pattern found
1770 tSCC zCtrl_Quotes_UseSelect0[] =
1771 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1773 #define CTRL_QUOTES_USE_TEST_CT 1
1774 static tTestDesc aCtrl_Quotes_UseTests[] = {
1775 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1778 * Fix Command Arguments for Ctrl_Quotes_Use
1780 static const char* apzCtrl_Quotes_UsePatch[] = {
1785 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1787 * Description of Cxx_Unready fix
1789 tSCC zCxx_UnreadyName[] =
1793 * File name selection pattern
1795 tSCC zCxx_UnreadyList[] =
1796 "|sys/mman.h|rpc/types.h|";
1798 * Machine/OS name selection pattern
1800 #define apzCxx_UnreadyMachs (const char**)NULL
1803 * content selection pattern - do fix if pattern found
1805 tSCC zCxx_UnreadySelect0[] =
1809 * content bypass pattern - skip fix if pattern found
1811 tSCC zCxx_UnreadyBypass0[] =
1812 "\"C\"|__BEGIN_DECLS";
1814 #define CXX_UNREADY_TEST_CT 2
1815 static tTestDesc aCxx_UnreadyTests[] = {
1816 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1817 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1820 * Fix Command Arguments for Cxx_Unready
1822 static const char* apzCxx_UnreadyPatch[] = {
1824 "#ifdef __cplusplus\n\
1827 "#ifdef __cplusplus\n\
1832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1834 * Description of Darwin_Gcc4_Breakage fix
1836 tSCC zDarwin_Gcc4_BreakageName[] =
1837 "darwin_gcc4_breakage";
1840 * File name selection pattern
1842 tSCC zDarwin_Gcc4_BreakageList[] =
1843 "|AvailabilityMacros.h|";
1845 * Machine/OS name selection pattern
1847 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1849 (const char*)NULL };
1852 * content selection pattern - do fix if pattern found
1854 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1855 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1857 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1858 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1859 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1862 * Fix Command Arguments for Darwin_Gcc4_Breakage
1864 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1866 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1871 * Description of Darwin_Private_Extern fix
1873 tSCC zDarwin_Private_ExternName[] =
1874 "darwin_private_extern";
1877 * File name selection pattern
1879 tSCC zDarwin_Private_ExternList[] =
1882 * Machine/OS name selection pattern
1884 tSCC* apzDarwin_Private_ExternMachs[] = {
1886 (const char*)NULL };
1889 * content selection pattern - do fix if pattern found
1891 tSCC zDarwin_Private_ExternSelect0[] =
1892 "__private_extern__ [a-z_]+ _dyld_";
1894 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1895 static tTestDesc aDarwin_Private_ExternTests[] = {
1896 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1899 * Fix Command Arguments for Darwin_Private_Extern
1901 static const char* apzDarwin_Private_ExternPatch[] = {
1904 "__private_extern__",
1907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1909 * Description of Dec_Intern_Asm fix
1911 tSCC zDec_Intern_AsmName[] =
1915 * File name selection pattern
1917 tSCC zDec_Intern_AsmList[] =
1920 * Machine/OS name selection pattern
1922 #define apzDec_Intern_AsmMachs (const char**)NULL
1923 #define DEC_INTERN_ASM_TEST_CT 0
1924 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1927 * Fix Command Arguments for Dec_Intern_Asm
1929 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1930 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1932 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1936 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1938 * Description of Djgpp_Wchar_H fix
1940 tSCC zDjgpp_Wchar_HName[] =
1944 * File name selection pattern
1946 #define zDjgpp_Wchar_HList (char*)NULL
1948 * Machine/OS name selection pattern
1950 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1953 * content selection pattern - do fix if pattern found
1955 tSCC zDjgpp_Wchar_HSelect0[] =
1959 * content bypass pattern - skip fix if pattern found
1961 tSCC zDjgpp_Wchar_HBypass0[] =
1964 #define DJGPP_WCHAR_H_TEST_CT 2
1965 static tTestDesc aDjgpp_Wchar_HTests[] = {
1966 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1967 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1970 * Fix Command Arguments for Djgpp_Wchar_H
1972 static const char* apzDjgpp_Wchar_HPatch[] = {
1975 #include <sys/djtypes.h>",
1976 "#include <stddef.h>",
1979 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1981 * Description of Ecd_Cursor fix
1983 tSCC zEcd_CursorName[] =
1987 * File name selection pattern
1989 tSCC zEcd_CursorList[] =
1990 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1992 * Machine/OS name selection pattern
1994 #define apzEcd_CursorMachs (const char**)NULL
1997 * content selection pattern - do fix if pattern found
1999 tSCC zEcd_CursorSelect0[] =
2002 #define ECD_CURSOR_TEST_CT 1
2003 static tTestDesc aEcd_CursorTests[] = {
2004 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2007 * Fix Command Arguments for Ecd_Cursor
2009 static const char* apzEcd_CursorPatch[] = {
2014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2016 * Description of Exception_Structure fix
2018 tSCC zException_StructureName[] =
2019 "exception_structure";
2022 * File name selection pattern
2024 tSCC zException_StructureList[] =
2027 * Machine/OS name selection pattern
2029 #define apzException_StructureMachs (const char**)NULL
2032 * content selection pattern - do fix if pattern found
2034 tSCC zException_StructureSelect0[] =
2038 * content bypass pattern - skip fix if pattern found
2040 tSCC zException_StructureBypass0[] =
2041 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
2043 #define EXCEPTION_STRUCTURE_TEST_CT 2
2044 static tTestDesc aException_StructureTests[] = {
2045 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
2046 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
2049 * Fix Command Arguments for Exception_Structure
2051 static const char* apzException_StructurePatch[] = {
2053 "struct exception;\n",
2056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2058 * Description of Freebsd_Gcc3_Breakage fix
2060 tSCC zFreebsd_Gcc3_BreakageName[] =
2061 "freebsd_gcc3_breakage";
2064 * File name selection pattern
2066 tSCC zFreebsd_Gcc3_BreakageList[] =
2069 * Machine/OS name selection pattern
2071 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2073 (const char*)NULL };
2076 * content selection pattern - do fix if pattern found
2078 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2079 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2082 * content bypass pattern - skip fix if pattern found
2084 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2085 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2087 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2088 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2089 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2090 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2093 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2095 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2097 "%0 || __GNUC__ >= 3",
2100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2102 * Description of Freebsd_Gcc4_Breakage fix
2104 tSCC zFreebsd_Gcc4_BreakageName[] =
2105 "freebsd_gcc4_breakage";
2108 * File name selection pattern
2110 tSCC zFreebsd_Gcc4_BreakageList[] =
2113 * Machine/OS name selection pattern
2115 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2117 (const char*)NULL };
2120 * content selection pattern - do fix if pattern found
2122 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2123 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2125 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2126 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2127 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2130 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2132 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2134 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2139 * Description of Gnu_Types fix
2141 tSCC zGnu_TypesName[] =
2145 * File name selection pattern
2147 tSCC zGnu_TypesList[] =
2148 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
2150 * Machine/OS name selection pattern
2152 tSCC* apzGnu_TypesMachs[] = {
2153 "*-*-solaris2.1[0-9]*",
2154 (const char*)NULL };
2157 * content selection pattern - do fix if pattern found
2159 tSCC zGnu_TypesSelect0[] =
2160 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2163 * content bypass pattern - skip fix if pattern found
2165 tSCC zGnu_TypesBypass0[] =
2166 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2168 #define GNU_TYPES_TEST_CT 2
2169 static tTestDesc aGnu_TypesTests[] = {
2170 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2171 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2174 * Fix Command Arguments for Gnu_Types
2176 static const char* apzGnu_TypesPatch[] = {
2180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2182 * Description of Hp_Inline fix
2184 tSCC zHp_InlineName[] =
2188 * File name selection pattern
2190 tSCC zHp_InlineList[] =
2191 "|sys/spinlock.h|machine/machparam.h|";
2193 * Machine/OS name selection pattern
2195 #define apzHp_InlineMachs (const char**)NULL
2198 * content selection pattern - do fix if pattern found
2200 tSCC zHp_InlineSelect0[] =
2201 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2203 #define HP_INLINE_TEST_CT 1
2204 static tTestDesc aHp_InlineTests[] = {
2205 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2208 * Fix Command Arguments for Hp_Inline
2210 static const char* apzHp_InlinePatch[] = {
2213 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2218 * Description of Hp_Sysfile fix
2220 tSCC zHp_SysfileName[] =
2224 * File name selection pattern
2226 tSCC zHp_SysfileList[] =
2229 * Machine/OS name selection pattern
2231 #define apzHp_SysfileMachs (const char**)NULL
2234 * content selection pattern - do fix if pattern found
2236 tSCC zHp_SysfileSelect0[] =
2239 #define HP_SYSFILE_TEST_CT 1
2240 static tTestDesc aHp_SysfileTests[] = {
2241 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2244 * Fix Command Arguments for Hp_Sysfile
2246 static const char* apzHp_SysfilePatch[] = {
2248 "(struct file *, ...)",
2252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2254 * Description of Hpux10_Cpp_Pow_Inline fix
2256 tSCC zHpux10_Cpp_Pow_InlineName[] =
2257 "hpux10_cpp_pow_inline";
2260 * File name selection pattern
2262 tSCC zHpux10_Cpp_Pow_InlineList[] =
2263 "|fixinc-test-limits.h|math.h|";
2265 * Machine/OS name selection pattern
2267 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2270 * content selection pattern - do fix if pattern found
2272 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2273 "^# +ifdef +__cplusplus\n\
2275 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2276 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2278 +extern +\"C\" +\\{\n\
2282 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2283 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2284 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2287 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2289 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2294 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2296 * Description of Hpux11_Cpp_Pow_Inline fix
2298 tSCC zHpux11_Cpp_Pow_InlineName[] =
2299 "hpux11_cpp_pow_inline";
2302 * File name selection pattern
2304 tSCC zHpux11_Cpp_Pow_InlineList[] =
2307 * Machine/OS name selection pattern
2309 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2312 * content selection pattern - do fix if pattern found
2314 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2315 " +inline double pow\\(double d,int expon\\) \\{\n\
2316 +return pow\\(d, \\(double\\)expon\\);\n\
2319 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2320 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2321 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2324 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2326 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2331 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2333 * Description of Hpux10_Ctype_Declarations1 fix
2335 tSCC zHpux10_Ctype_Declarations1Name[] =
2336 "hpux10_ctype_declarations1";
2339 * File name selection pattern
2341 tSCC zHpux10_Ctype_Declarations1List[] =
2344 * Machine/OS name selection pattern
2346 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2349 * content selection pattern - do fix if pattern found
2351 tSCC zHpux10_Ctype_Declarations1Select0[] =
2352 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2355 * content bypass pattern - skip fix if pattern found
2357 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2358 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2360 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2361 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2362 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2363 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2366 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2368 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2370 "#ifdef _PROTOTYPES\n\
2371 extern int __tolower(int);\n\
2372 extern int __toupper(int);\n\
2373 #else /* NOT _PROTOTYPES */\n\
2374 extern int __tolower();\n\
2375 extern int __toupper();\n\
2376 #endif /* _PROTOTYPES */\n\n\
2380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2382 * Description of Hpux10_Ctype_Declarations2 fix
2384 tSCC zHpux10_Ctype_Declarations2Name[] =
2385 "hpux10_ctype_declarations2";
2388 * File name selection pattern
2390 tSCC zHpux10_Ctype_Declarations2List[] =
2393 * Machine/OS name selection pattern
2395 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2398 * content selection pattern - do fix if pattern found
2400 tSCC zHpux10_Ctype_Declarations2Select0[] =
2401 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2404 * content bypass pattern - skip fix if pattern found
2406 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2407 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2409 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2410 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2411 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2412 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2415 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2417 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2420 #ifdef _PROTOTYPES\n\
2421 extern int _isalnum(int);\n\
2422 extern int _isalpha(int);\n\
2423 extern int _iscntrl(int);\n\
2424 extern int _isdigit(int);\n\
2425 extern int _isgraph(int);\n\
2426 extern int _islower(int);\n\
2427 extern int _isprint(int);\n\
2428 extern int _ispunct(int);\n\
2429 extern int _isspace(int);\n\
2430 extern int _isupper(int);\n\
2431 extern int _isxdigit(int);\n\
2432 # else /* not _PROTOTYPES */\n\
2433 extern int _isalnum();\n\
2434 extern int _isalpha();\n\
2435 extern int _iscntrl();\n\
2436 extern int _isdigit();\n\
2437 extern int _isgraph();\n\
2438 extern int _islower();\n\
2439 extern int _isprint();\n\
2440 extern int _ispunct();\n\
2441 extern int _isspace();\n\
2442 extern int _isupper();\n\
2443 extern int _isxdigit();\n\
2444 #endif /* _PROTOTYPES */\n",
2447 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2449 * Description of Hpux10_Stdio_Declarations fix
2451 tSCC zHpux10_Stdio_DeclarationsName[] =
2452 "hpux10_stdio_declarations";
2455 * File name selection pattern
2457 tSCC zHpux10_Stdio_DeclarationsList[] =
2460 * Machine/OS name selection pattern
2462 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2465 * content selection pattern - do fix if pattern found
2467 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2468 "^#[ \t]*define _iob[ \t]*__iob";
2471 * content bypass pattern - skip fix if pattern found
2473 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2474 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2476 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2477 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2478 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2479 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2482 * Fix Command Arguments for Hpux10_Stdio_Declarations
2484 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2487 # if defined(__STDC__) || defined(__cplusplus)\n\
2488 extern int snprintf(char *, size_t, const char *, ...);\n\
2489 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2490 # else /* not __STDC__) || __cplusplus */\n\
2491 extern int snprintf();\n\
2492 extern int vsnprintf();\n\
2493 # endif /* __STDC__) || __cplusplus */\n",
2496 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2498 * Description of Hpux11_Abs fix
2500 tSCC zHpux11_AbsName[] =
2504 * File name selection pattern
2506 tSCC zHpux11_AbsList[] =
2509 * Machine/OS name selection pattern
2511 tSCC* apzHpux11_AbsMachs[] = {
2513 (const char*)NULL };
2516 * content selection pattern - do fix if pattern found
2518 tSCC zHpux11_AbsSelect0[] =
2519 "ifndef _MATH_INCLUDED";
2521 #define HPUX11_ABS_TEST_CT 1
2522 static tTestDesc aHpux11_AbsTests[] = {
2523 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2526 * Fix Command Arguments for Hpux11_Abs
2528 static const char* apzHpux11_AbsPatch[] = {
2530 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2535 * Description of Hpux11_Fabsf fix
2537 tSCC zHpux11_FabsfName[] =
2541 * File name selection pattern
2543 tSCC zHpux11_FabsfList[] =
2546 * Machine/OS name selection pattern
2548 #define apzHpux11_FabsfMachs (const char**)NULL
2551 * content selection pattern - do fix if pattern found
2553 tSCC zHpux11_FabsfSelect0[] =
2554 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2557 * content bypass pattern - skip fix if pattern found
2559 tSCC zHpux11_FabsfBypass0[] =
2562 #define HPUX11_FABSF_TEST_CT 2
2563 static tTestDesc aHpux11_FabsfTests[] = {
2564 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2565 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2568 * Fix Command Arguments for Hpux11_Fabsf
2570 static const char* apzHpux11_FabsfPatch[] = {
2572 "#ifndef __cplusplus\n\
2577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2579 * Description of Hpux11_Size_T fix
2581 tSCC zHpux11_Size_TName[] =
2585 * File name selection pattern
2587 #define zHpux11_Size_TList (char*)NULL
2589 * Machine/OS name selection pattern
2591 tSCC* apzHpux11_Size_TMachs[] = {
2593 (const char*)NULL };
2596 * content selection pattern - do fix if pattern found
2598 tSCC zHpux11_Size_TSelect0[] =
2601 #define HPUX11_SIZE_T_TEST_CT 1
2602 static tTestDesc aHpux11_Size_TTests[] = {
2603 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2606 * Fix Command Arguments for Hpux11_Size_T
2608 static const char* apzHpux11_Size_TPatch[] = {
2613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2615 * Description of Hpux11_Snprintf fix
2617 tSCC zHpux11_SnprintfName[] =
2621 * File name selection pattern
2623 tSCC zHpux11_SnprintfList[] =
2626 * Machine/OS name selection pattern
2628 #define apzHpux11_SnprintfMachs (const char**)NULL
2631 * content selection pattern - do fix if pattern found
2633 tSCC zHpux11_SnprintfSelect0[] =
2634 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2636 #define HPUX11_SNPRINTF_TEST_CT 1
2637 static tTestDesc aHpux11_SnprintfTests[] = {
2638 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2641 * Fix Command Arguments for Hpux11_Snprintf
2643 static const char* apzHpux11_SnprintfPatch[] = {
2648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2650 * Description of Hpux11_Uint32_C fix
2652 tSCC zHpux11_Uint32_CName[] =
2656 * File name selection pattern
2658 tSCC zHpux11_Uint32_CList[] =
2661 * Machine/OS name selection pattern
2663 #define apzHpux11_Uint32_CMachs (const char**)NULL
2666 * content selection pattern - do fix if pattern found
2668 tSCC zHpux11_Uint32_CSelect0[] =
2669 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2671 #define HPUX11_UINT32_C_TEST_CT 1
2672 static tTestDesc aHpux11_Uint32_CTests[] = {
2673 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2676 * Fix Command Arguments for Hpux11_Uint32_C
2678 static const char* apzHpux11_Uint32_CPatch[] = {
2680 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2683 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2685 * Description of Hpux11_Vsnprintf fix
2687 tSCC zHpux11_VsnprintfName[] =
2691 * File name selection pattern
2693 tSCC zHpux11_VsnprintfList[] =
2696 * Machine/OS name selection pattern
2698 #define apzHpux11_VsnprintfMachs (const char**)NULL
2701 * content selection pattern - do fix if pattern found
2703 tSCC zHpux11_VsnprintfSelect0[] =
2704 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2706 #define HPUX11_VSNPRINTF_TEST_CT 1
2707 static tTestDesc aHpux11_VsnprintfTests[] = {
2708 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2711 * Fix Command Arguments for Hpux11_Vsnprintf
2713 static const char* apzHpux11_VsnprintfPatch[] = {
2718 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2720 * Description of Hpux8_Bogus_Inlines fix
2722 tSCC zHpux8_Bogus_InlinesName[] =
2723 "hpux8_bogus_inlines";
2726 * File name selection pattern
2728 tSCC zHpux8_Bogus_InlinesList[] =
2731 * Machine/OS name selection pattern
2733 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2736 * content selection pattern - do fix if pattern found
2738 tSCC zHpux8_Bogus_InlinesSelect0[] =
2742 * content bypass pattern - skip fix if pattern found
2744 tSCC zHpux8_Bogus_InlinesBypass0[] =
2747 #define HPUX8_BOGUS_INLINES_TEST_CT 2
2748 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2749 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
2750 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2753 * Fix Command Arguments for Hpux8_Bogus_Inlines
2755 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2756 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2757 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2758 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2759 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2764 * Description of Hpux_Ctype_Macros fix
2766 tSCC zHpux_Ctype_MacrosName[] =
2767 "hpux_ctype_macros";
2770 * File name selection pattern
2772 tSCC zHpux_Ctype_MacrosList[] =
2775 * Machine/OS name selection pattern
2777 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
2780 * content selection pattern - do fix if pattern found
2782 tSCC zHpux_Ctype_MacrosSelect0[] =
2783 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
2785 #define HPUX_CTYPE_MACROS_TEST_CT 1
2786 static tTestDesc aHpux_Ctype_MacrosTests[] = {
2787 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
2790 * Fix Command Arguments for Hpux_Ctype_Macros
2792 static const char* apzHpux_Ctype_MacrosPatch[] = {
2797 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2799 * Description of Hpux_Htonl fix
2801 tSCC zHpux_HtonlName[] =
2805 * File name selection pattern
2807 tSCC zHpux_HtonlList[] =
2810 * Machine/OS name selection pattern
2812 #define apzHpux_HtonlMachs (const char**)NULL
2815 * content selection pattern - do fix if pattern found
2817 tSCC zHpux_HtonlSelect0[] =
2818 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
2820 \\* Macros for number representation conversion\\.\n\
2824 #define HPUX_HTONL_TEST_CT 1
2825 static tTestDesc aHpux_HtonlTests[] = {
2826 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
2829 * Fix Command Arguments for Hpux_Htonl
2831 static const char* apzHpux_HtonlPatch[] = {
2837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2839 * Description of Hpux_Long_Double fix
2841 tSCC zHpux_Long_DoubleName[] =
2845 * File name selection pattern
2847 tSCC zHpux_Long_DoubleList[] =
2850 * Machine/OS name selection pattern
2852 #define apzHpux_Long_DoubleMachs (const char**)NULL
2855 * content selection pattern - do fix if pattern found
2857 tSCC zHpux_Long_DoubleSelect0[] =
2858 "extern[ \t]long_double[ \t]strtold";
2861 * content bypass pattern - skip fix if pattern found
2863 tSCC zHpux_Long_DoubleBypass0[] =
2866 #define HPUX_LONG_DOUBLE_TEST_CT 2
2867 static tTestDesc aHpux_Long_DoubleTests[] = {
2868 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
2869 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
2872 * Fix Command Arguments for Hpux_Long_Double
2874 static const char* apzHpux_Long_DoublePatch[] = { "sed",
2875 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
2876 "-e", "s/long_double/long double/g",
2879 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2881 * Description of Hpux_Systime fix
2883 tSCC zHpux_SystimeName[] =
2887 * File name selection pattern
2889 tSCC zHpux_SystimeList[] =
2892 * Machine/OS name selection pattern
2894 #define apzHpux_SystimeMachs (const char**)NULL
2897 * content selection pattern - do fix if pattern found
2899 tSCC zHpux_SystimeSelect0[] =
2900 "^extern struct sigevent;";
2902 #define HPUX_SYSTIME_TEST_CT 1
2903 static tTestDesc aHpux_SystimeTests[] = {
2904 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2907 * Fix Command Arguments for Hpux_Systime
2909 static const char* apzHpux_SystimePatch[] = {
2914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2916 * Description of Huge_Val_Hex fix
2918 tSCC zHuge_Val_HexName[] =
2922 * File name selection pattern
2924 tSCC zHuge_Val_HexList[] =
2925 "|bits/huge_val.h|";
2927 * Machine/OS name selection pattern
2929 #define apzHuge_Val_HexMachs (const char**)NULL
2932 * content selection pattern - do fix if pattern found
2934 tSCC zHuge_Val_HexSelect0[] =
2935 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
2938 * content bypass pattern - skip fix if pattern found
2940 tSCC zHuge_Val_HexBypass0[] =
2941 "__builtin_huge_val";
2943 #define HUGE_VAL_HEX_TEST_CT 2
2944 static tTestDesc aHuge_Val_HexTests[] = {
2945 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
2946 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
2949 * Fix Command Arguments for Huge_Val_Hex
2951 static const char* apzHuge_Val_HexPatch[] = {
2953 "#define HUGE_VAL (__builtin_huge_val())\n",
2956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2958 * Description of Huge_Valf_Hex fix
2960 tSCC zHuge_Valf_HexName[] =
2964 * File name selection pattern
2966 tSCC zHuge_Valf_HexList[] =
2967 "|bits/huge_val.h|";
2969 * Machine/OS name selection pattern
2971 #define apzHuge_Valf_HexMachs (const char**)NULL
2974 * content selection pattern - do fix if pattern found
2976 tSCC zHuge_Valf_HexSelect0[] =
2977 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
2980 * content bypass pattern - skip fix if pattern found
2982 tSCC zHuge_Valf_HexBypass0[] =
2983 "__builtin_huge_valf";
2985 #define HUGE_VALF_HEX_TEST_CT 2
2986 static tTestDesc aHuge_Valf_HexTests[] = {
2987 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
2988 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
2991 * Fix Command Arguments for Huge_Valf_Hex
2993 static const char* apzHuge_Valf_HexPatch[] = {
2995 "#define HUGE_VALF (__builtin_huge_valf())\n",
2998 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3000 * Description of Huge_Vall_Hex fix
3002 tSCC zHuge_Vall_HexName[] =
3006 * File name selection pattern
3008 tSCC zHuge_Vall_HexList[] =
3009 "|bits/huge_val.h|";
3011 * Machine/OS name selection pattern
3013 #define apzHuge_Vall_HexMachs (const char**)NULL
3016 * content selection pattern - do fix if pattern found
3018 tSCC zHuge_Vall_HexSelect0[] =
3019 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
3022 * content bypass pattern - skip fix if pattern found
3024 tSCC zHuge_Vall_HexBypass0[] =
3025 "__builtin_huge_vall";
3027 #define HUGE_VALL_HEX_TEST_CT 2
3028 static tTestDesc aHuge_Vall_HexTests[] = {
3029 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
3030 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
3033 * Fix Command Arguments for Huge_Vall_Hex
3035 static const char* apzHuge_Vall_HexPatch[] = {
3037 "#define HUGE_VALL (__builtin_huge_vall())\n",
3040 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3042 * Description of Int_Abort_Free_And_Exit fix
3044 tSCC zInt_Abort_Free_And_ExitName[] =
3045 "int_abort_free_and_exit";
3048 * File name selection pattern
3050 tSCC zInt_Abort_Free_And_ExitList[] =
3053 * Machine/OS name selection pattern
3055 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
3058 * content selection pattern - do fix if pattern found
3060 tSCC zInt_Abort_Free_And_ExitSelect0[] =
3061 "int[ \t]+(abort|free|exit)[ \t]*\\(";
3064 * content bypass pattern - skip fix if pattern found
3066 tSCC zInt_Abort_Free_And_ExitBypass0[] =
3067 "_CLASSIC_ANSI_TYPES";
3069 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
3070 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
3071 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
3072 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
3075 * Fix Command Arguments for Int_Abort_Free_And_Exit
3077 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
3082 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3084 * Description of Io_Quotes_Def fix
3086 tSCC zIo_Quotes_DefName[] =
3090 * File name selection pattern
3092 #define zIo_Quotes_DefList (char*)NULL
3094 * Machine/OS name selection pattern
3096 #define apzIo_Quotes_DefMachs (const char**)NULL
3099 * content selection pattern - do fix if pattern found
3101 tSCC zIo_Quotes_DefSelect0[] =
3102 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
3104 #define IO_QUOTES_DEF_TEST_CT 1
3105 static tTestDesc aIo_Quotes_DefTests[] = {
3106 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
3109 * Fix Command Arguments for Io_Quotes_Def
3111 static const char* apzIo_Quotes_DefPatch[] = {
3116 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3118 * Description of Io_Quotes_Use fix
3120 tSCC zIo_Quotes_UseName[] =
3124 * File name selection pattern
3126 #define zIo_Quotes_UseList (char*)NULL
3128 * Machine/OS name selection pattern
3130 #define apzIo_Quotes_UseMachs (const char**)NULL
3133 * content selection pattern - do fix if pattern found
3135 tSCC zIo_Quotes_UseSelect0[] =
3136 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
3138 #define IO_QUOTES_USE_TEST_CT 1
3139 static tTestDesc aIo_Quotes_UseTests[] = {
3140 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
3143 * Fix Command Arguments for Io_Quotes_Use
3145 static const char* apzIo_Quotes_UsePatch[] = {
3150 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3152 * Description of Ip_Missing_Semi fix
3154 tSCC zIp_Missing_SemiName[] =
3158 * File name selection pattern
3160 tSCC zIp_Missing_SemiList[] =
3163 * Machine/OS name selection pattern
3165 #define apzIp_Missing_SemiMachs (const char**)NULL
3168 * content selection pattern - do fix if pattern found
3170 tSCC zIp_Missing_SemiSelect0[] =
3173 #define IP_MISSING_SEMI_TEST_CT 1
3174 static tTestDesc aIp_Missing_SemiTests[] = {
3175 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
3178 * Fix Command Arguments for Ip_Missing_Semi
3180 static const char* apzIp_Missing_SemiPatch[] = { "sed",
3181 "-e", "/^struct/,/^};/s/}$/};/",
3184 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3186 * Description of Irix___Restrict fix
3188 tSCC zIrix___RestrictName[] =
3192 * File name selection pattern
3194 tSCC zIrix___RestrictList[] =
3195 "|internal/sgimacros.h|";
3197 * Machine/OS name selection pattern
3199 tSCC* apzIrix___RestrictMachs[] = {
3201 (const char*)NULL };
3204 * content selection pattern - do fix if pattern found
3206 tSCC zIrix___RestrictSelect0[] =
3208 )(#[ \t]*define __restrict restrict)";
3210 #define IRIX___RESTRICT_TEST_CT 1
3211 static tTestDesc aIrix___RestrictTests[] = {
3212 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
3215 * Fix Command Arguments for Irix___Restrict
3217 static const char* apzIrix___RestrictPatch[] = {
3219 "%1# ifndef __cplusplus\n\
3224 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3226 * Description of Irix___Generic1 fix
3228 tSCC zIrix___Generic1Name[] =
3232 * File name selection pattern
3234 tSCC zIrix___Generic1List[] =
3235 "|internal/math_core.h|";
3237 * Machine/OS name selection pattern
3239 tSCC* apzIrix___Generic1Machs[] = {
3241 (const char*)NULL };
3244 * content selection pattern - do fix if pattern found
3246 tSCC zIrix___Generic1Select0[] =
3247 "#define ([a-z]+)\\(x\\) *__generic.*";
3249 #define IRIX___GENERIC1_TEST_CT 1
3250 static tTestDesc aIrix___Generic1Tests[] = {
3251 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
3254 * Fix Command Arguments for Irix___Generic1
3256 static const char* apzIrix___Generic1Patch[] = {
3258 "extern int %1(double);\n\
3259 extern int %1f(float);\n\
3260 extern int %1l(long double);\n\
3261 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
3262 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
3266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3268 * Description of Irix___Generic2 fix
3270 tSCC zIrix___Generic2Name[] =
3274 * File name selection pattern
3276 tSCC zIrix___Generic2List[] =
3277 "|internal/math_core.h|";
3279 * Machine/OS name selection pattern
3281 tSCC* apzIrix___Generic2Machs[] = {
3283 (const char*)NULL };
3286 * content selection pattern - do fix if pattern found
3288 tSCC zIrix___Generic2Select0[] =
3289 "#define ([a-z]+)\\(x,y\\) *__generic.*";
3291 #define IRIX___GENERIC2_TEST_CT 1
3292 static tTestDesc aIrix___Generic2Tests[] = {
3293 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
3296 * Fix Command Arguments for Irix___Generic2
3298 static const char* apzIrix___Generic2Patch[] = {
3300 "#define %1(x,y) \\\n\
3301 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
3302 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
3306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3308 * Description of Irix_Asm_Apostrophe fix
3310 tSCC zIrix_Asm_ApostropheName[] =
3311 "irix_asm_apostrophe";
3314 * File name selection pattern
3316 tSCC zIrix_Asm_ApostropheList[] =
3319 * Machine/OS name selection pattern
3321 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3324 * content selection pattern - do fix if pattern found
3326 tSCC zIrix_Asm_ApostropheSelect0[] =
3327 "^[ \t]*#.*[Ww]e're";
3329 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3330 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3331 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3334 * Fix Command Arguments for Irix_Asm_Apostrophe
3336 static const char* apzIrix_Asm_ApostrophePatch[] = {
3339 "^([ \t]*#.*[Ww]e)'re",
3342 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3344 * Description of Irix_Limits_Const fix
3346 tSCC zIrix_Limits_ConstName[] =
3347 "irix_limits_const";
3350 * File name selection pattern
3352 tSCC zIrix_Limits_ConstList[] =
3353 "|fixinc-test-limits.h|limits.h|";
3355 * Machine/OS name selection pattern
3357 #define apzIrix_Limits_ConstMachs (const char**)NULL
3360 * content selection pattern - do fix if pattern found
3362 tSCC zIrix_Limits_ConstSelect0[] =
3365 #define IRIX_LIMITS_CONST_TEST_CT 1
3366 static tTestDesc aIrix_Limits_ConstTests[] = {
3367 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3370 * Fix Command Arguments for Irix_Limits_Const
3372 static const char* apzIrix_Limits_ConstPatch[] = {
3377 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3379 * Description of Irix_Socklen_T fix
3381 tSCC zIrix_Socklen_TName[] =
3385 * File name selection pattern
3387 tSCC zIrix_Socklen_TList[] =
3390 * Machine/OS name selection pattern
3392 tSCC* apzIrix_Socklen_TMachs[] = {
3394 (const char*)NULL };
3397 * content selection pattern - do fix if pattern found
3399 tSCC zIrix_Socklen_TSelect0[] =
3400 "(#define _SOCKLEN_T\n\
3401 )(typedef u_int32_t socklen_t;)";
3403 #define IRIX_SOCKLEN_T_TEST_CT 1
3404 static tTestDesc aIrix_Socklen_TTests[] = {
3405 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3408 * Fix Command Arguments for Irix_Socklen_T
3410 static const char* apzIrix_Socklen_TPatch[] = {
3412 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3413 typedef int socklen_t;\n\
3416 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3419 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3421 * Description of Irix_Stdio_Va_List fix
3423 tSCC zIrix_Stdio_Va_ListName[] =
3424 "irix_stdio_va_list";
3427 * File name selection pattern
3429 tSCC zIrix_Stdio_Va_ListList[] =
3430 "|stdio.h|internal/stdio_core.h|";
3432 * Machine/OS name selection pattern
3434 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3437 * content selection pattern - do fix if pattern found
3439 tSCC zIrix_Stdio_Va_ListSelect0[] =
3440 "/\\* va_list \\*/ char \\*";
3442 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3443 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3444 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3447 * Fix Command Arguments for Irix_Stdio_Va_List
3449 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3456 * Description of Irix_Wcsftime fix
3458 tSCC zIrix_WcsftimeName[] =
3462 * File name selection pattern
3464 tSCC zIrix_WcsftimeList[] =
3465 "|internal/wchar_core.h|";
3467 * Machine/OS name selection pattern
3469 tSCC* apzIrix_WcsftimeMachs[] = {
3471 (const char*)NULL };
3474 * content selection pattern - do fix if pattern found
3476 tSCC zIrix_WcsftimeSelect0[] =
3478 (extern size_t[ \t]+wcsftime.*const char *.*)";
3480 #define IRIX_WCSFTIME_TEST_CT 1
3481 static tTestDesc aIrix_WcsftimeTests[] = {
3482 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
3485 * Fix Command Arguments for Irix_Wcsftime
3487 static const char* apzIrix_WcsftimePatch[] = {
3489 "#if _NO_XOPEN5 && !defined(__c99)\n\
3493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3495 * Description of Isc_Fmod fix
3497 tSCC zIsc_FmodName[] =
3501 * File name selection pattern
3503 tSCC zIsc_FmodList[] =
3506 * Machine/OS name selection pattern
3508 #define apzIsc_FmodMachs (const char**)NULL
3511 * content selection pattern - do fix if pattern found
3513 tSCC zIsc_FmodSelect0[] =
3516 #define ISC_FMOD_TEST_CT 1
3517 static tTestDesc aIsc_FmodTests[] = {
3518 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
3521 * Fix Command Arguments for Isc_Fmod
3523 static const char* apzIsc_FmodPatch[] = {
3525 "fmod(double, double)",
3528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3530 * Description of Isc_Omits_With_Stdc fix
3532 tSCC zIsc_Omits_With_StdcName[] =
3533 "isc_omits_with_stdc";
3536 * File name selection pattern
3538 tSCC zIsc_Omits_With_StdcList[] =
3539 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
3541 * Machine/OS name selection pattern
3543 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
3546 * content selection pattern - do fix if pattern found
3548 tSCC zIsc_Omits_With_StdcSelect0[] =
3549 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
3551 #define ISC_OMITS_WITH_STDC_TEST_CT 1
3552 static tTestDesc aIsc_Omits_With_StdcTests[] = {
3553 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
3556 * Fix Command Arguments for Isc_Omits_With_Stdc
3558 static const char* apzIsc_Omits_With_StdcPatch[] = {
3560 "!defined(_POSIX_SOURCE)",
3563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3565 * Description of Kandr_Concat fix
3567 tSCC zKandr_ConcatName[] =
3571 * File name selection pattern
3573 tSCC zKandr_ConcatList[] =
3574 "|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|";
3576 * Machine/OS name selection pattern
3578 #define apzKandr_ConcatMachs (const char**)NULL
3581 * content selection pattern - do fix if pattern found
3583 tSCC zKandr_ConcatSelect0[] =
3586 #define KANDR_CONCAT_TEST_CT 1
3587 static tTestDesc aKandr_ConcatTests[] = {
3588 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
3591 * Fix Command Arguments for Kandr_Concat
3593 static const char* apzKandr_ConcatPatch[] = {
3598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3600 * Description of Libc1_G_Va_List fix
3602 tSCC zLibc1_G_Va_ListName[] =
3606 * File name selection pattern
3608 tSCC zLibc1_G_Va_ListList[] =
3611 * Machine/OS name selection pattern
3613 tSCC* apzLibc1_G_Va_ListMachs[] = {
3615 (const char*)NULL };
3618 * content selection pattern - do fix if pattern found
3620 tSCC zLibc1_G_Va_ListSelect0[] =
3621 "typedef void \\* _G_va_list;";
3623 #define LIBC1_G_VA_LIST_TEST_CT 1
3624 static tTestDesc aLibc1_G_Va_ListTests[] = {
3625 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
3628 * Fix Command Arguments for Libc1_G_Va_List
3630 static const char* apzLibc1_G_Va_ListPatch[] = {
3632 "typedef __builtin_va_list _G_va_list;",
3635 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3637 * Description of Libc1_Ifdefd_Memx fix
3639 tSCC zLibc1_Ifdefd_MemxName[] =
3640 "libc1_ifdefd_memx";
3643 * File name selection pattern
3645 tSCC zLibc1_Ifdefd_MemxList[] =
3646 "|testing.h|string.h|";
3648 * Machine/OS name selection pattern
3650 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
3653 * content selection pattern - do fix if pattern found
3655 tSCC zLibc1_Ifdefd_MemxSelect0[] =
3656 "' is a built-in function for gcc 2\\.x\\. \\*/";
3659 * content bypass pattern - skip fix if pattern found
3661 tSCC zLibc1_Ifdefd_MemxBypass0[] =
3664 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
3665 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
3666 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
3667 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
3670 * Fix Command Arguments for Libc1_Ifdefd_Memx
3672 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
3675 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
3676 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
3678 extern [a-z_]+ mem.*(\n\
3683 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3685 * Description of Linux_Ia64_Ucontext fix
3687 tSCC zLinux_Ia64_UcontextName[] =
3688 "linux_ia64_ucontext";
3691 * File name selection pattern
3693 tSCC zLinux_Ia64_UcontextList[] =
3696 * Machine/OS name selection pattern
3698 tSCC* apzLinux_Ia64_UcontextMachs[] = {
3700 (const char*)NULL };
3703 * content selection pattern - do fix if pattern found
3705 tSCC zLinux_Ia64_UcontextSelect0[] =
3706 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
3708 #define LINUX_IA64_UCONTEXT_TEST_CT 1
3709 static tTestDesc aLinux_Ia64_UcontextTests[] = {
3710 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
3713 * Fix Command Arguments for Linux_Ia64_Ucontext
3715 static const char* apzLinux_Ia64_UcontextPatch[] = {
3717 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
3720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3722 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
3724 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
3725 "lynxos_no_warning_in_sys_time_h";
3728 * File name selection pattern
3730 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
3733 * Machine/OS name selection pattern
3735 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
3738 * content selection pattern - do fix if pattern found
3740 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
3741 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
3743 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
3744 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
3745 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
3748 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
3750 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
3755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3757 * Description of Lynxos_Missing_Putenv fix
3759 tSCC zLynxos_Missing_PutenvName[] =
3760 "lynxos_missing_putenv";
3763 * File name selection pattern
3765 tSCC zLynxos_Missing_PutenvList[] =
3768 * Machine/OS name selection pattern
3770 tSCC* apzLynxos_Missing_PutenvMachs[] = {
3772 (const char*)NULL };
3775 * content selection pattern - do fix if pattern found
3777 tSCC zLynxos_Missing_PutenvSelect0[] =
3778 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
3781 * content bypass pattern - skip fix if pattern found
3783 tSCC zLynxos_Missing_PutenvBypass0[] =
3786 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
3787 static tTestDesc aLynxos_Missing_PutenvTests[] = {
3788 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
3789 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
3792 * Fix Command Arguments for Lynxos_Missing_Putenv
3794 static const char* apzLynxos_Missing_PutenvPatch[] = {
3797 extern int putenv\t\t\t\t_AP((char *));",
3798 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
3801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3803 * Description of Machine_Ansi_H_Va_List fix
3805 tSCC zMachine_Ansi_H_Va_ListName[] =
3806 "machine_ansi_h_va_list";
3809 * File name selection pattern
3811 #define zMachine_Ansi_H_Va_ListList (char*)NULL
3813 * Machine/OS name selection pattern
3815 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
3818 * content selection pattern - do fix if pattern found
3820 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
3821 "define[ \t]+_BSD_VA_LIST_[ \t]";
3824 * content bypass pattern - skip fix if pattern found
3826 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
3827 "__builtin_va_list";
3829 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
3830 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
3831 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
3832 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
3835 * Fix Command Arguments for Machine_Ansi_H_Va_List
3837 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
3839 "%1__builtin_va_list",
3840 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
3843 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3845 * Description of Machine_Name fix
3847 tSCC zMachine_NameName[] =
3851 * File name selection pattern
3853 #define zMachine_NameList (char*)NULL
3855 * Machine/OS name selection pattern
3857 #define apzMachine_NameMachs (const char**)NULL
3860 * perform the C function call test
3862 tSCC zMachine_NameFTst0[] = "machine_name";
3864 #define MACHINE_NAME_TEST_CT 1
3865 static tTestDesc aMachine_NameTests[] = {
3866 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
3869 * Fix Command Arguments for Machine_Name
3871 static const char* apzMachine_NamePatch[] = {
3875 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3877 * Description of Math_Exception fix
3879 tSCC zMath_ExceptionName[] =
3883 * File name selection pattern
3885 tSCC zMath_ExceptionList[] =
3888 * Machine/OS name selection pattern
3890 #define apzMath_ExceptionMachs (const char**)NULL
3893 * content selection pattern - do fix if pattern found
3895 tSCC zMath_ExceptionSelect0[] =
3899 * content bypass pattern - skip fix if pattern found
3901 tSCC zMath_ExceptionBypass0[] =
3902 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
3904 #define MATH_EXCEPTION_TEST_CT 2
3905 static tTestDesc aMath_ExceptionTests[] = {
3906 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
3907 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
3910 * Fix Command Arguments for Math_Exception
3912 static const char* apzMath_ExceptionPatch[] = {
3914 "#ifdef __cplusplus\n\
3915 #define exception __math_exception\n\
3917 "#ifdef __cplusplus\n\
3922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3924 * Description of Math_Huge_Val_From_Dbl_Max fix
3926 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
3927 "math_huge_val_from_dbl_max";
3930 * File name selection pattern
3932 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
3935 * Machine/OS name selection pattern
3937 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
3940 * content selection pattern - do fix if pattern found
3942 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
3943 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
3946 * content bypass pattern - skip fix if pattern found
3948 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
3949 "define[ \t]+DBL_MAX";
3951 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
3952 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
3953 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
3954 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
3957 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
3959 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
3960 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
3961 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
3962 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
3967 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3969 * Description of Nested_Auth_Des fix
3971 tSCC zNested_Auth_DesName[] =
3975 * File name selection pattern
3977 tSCC zNested_Auth_DesList[] =
3980 * Machine/OS name selection pattern
3982 #define apzNested_Auth_DesMachs (const char**)NULL
3985 * content selection pattern - do fix if pattern found
3987 tSCC zNested_Auth_DesSelect0[] =
3988 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3990 #define NESTED_AUTH_DES_TEST_CT 1
3991 static tTestDesc aNested_Auth_DesTests[] = {
3992 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3995 * Fix Command Arguments for Nested_Auth_Des
3997 static const char* apzNested_Auth_DesPatch[] = {
4002 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4004 * Description of Nested_Motorola fix
4006 tSCC zNested_MotorolaName[] =
4010 * File name selection pattern
4012 tSCC zNested_MotorolaList[] =
4013 "|sys/limits.h|limits.h|";
4015 * Machine/OS name selection pattern
4017 tSCC* apzNested_MotorolaMachs[] = {
4018 "m68k-motorola-sysv*",
4019 (const char*)NULL };
4022 * content selection pattern - do fix if pattern found
4024 tSCC zNested_MotorolaSelect0[] =
4025 "max # bytes atomic in write|error value returned by Math lib";
4027 #define NESTED_MOTOROLA_TEST_CT 1
4028 static tTestDesc aNested_MotorolaTests[] = {
4029 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
4032 * Fix Command Arguments for Nested_Motorola
4034 static const char* apzNested_MotorolaPatch[] = { "sed",
4035 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
4036 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
4039 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4041 * Description of Nested_Sys_Limits fix
4043 tSCC zNested_Sys_LimitsName[] =
4044 "nested_sys_limits";
4047 * File name selection pattern
4049 tSCC zNested_Sys_LimitsList[] =
4052 * Machine/OS name selection pattern
4054 #define apzNested_Sys_LimitsMachs (const char**)NULL
4057 * content selection pattern - do fix if pattern found
4059 tSCC zNested_Sys_LimitsSelect0[] =
4062 #define NESTED_SYS_LIMITS_TEST_CT 1
4063 static tTestDesc aNested_Sys_LimitsTests[] = {
4064 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
4067 * Fix Command Arguments for Nested_Sys_Limits
4069 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
4070 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
4071 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
4074 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4076 * Description of Netbsd_Extra_Semicolon fix
4078 tSCC zNetbsd_Extra_SemicolonName[] =
4079 "netbsd_extra_semicolon";
4082 * File name selection pattern
4084 tSCC zNetbsd_Extra_SemicolonList[] =
4087 * Machine/OS name selection pattern
4089 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4091 (const char*)NULL };
4094 * content selection pattern - do fix if pattern found
4096 tSCC zNetbsd_Extra_SemicolonSelect0[] =
4097 "#define[ \t]*__END_DECLS[ \t]*};";
4099 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
4100 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
4101 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
4104 * Fix Command Arguments for Netbsd_Extra_Semicolon
4106 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
4108 "#define __END_DECLS }",
4111 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4113 * Description of Next_Math_Prefix fix
4115 tSCC zNext_Math_PrefixName[] =
4119 * File name selection pattern
4121 tSCC zNext_Math_PrefixList[] =
4124 * Machine/OS name selection pattern
4126 #define apzNext_Math_PrefixMachs (const char**)NULL
4129 * content selection pattern - do fix if pattern found
4131 tSCC zNext_Math_PrefixSelect0[] =
4132 "^extern[ \t]+double[ \t]+__const__[ \t]";
4134 #define NEXT_MATH_PREFIX_TEST_CT 1
4135 static tTestDesc aNext_Math_PrefixTests[] = {
4136 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
4139 * Fix Command Arguments for Next_Math_Prefix
4141 static const char* apzNext_Math_PrefixPatch[] = {
4143 "extern double %1(",
4144 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
4147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4149 * Description of Next_Template fix
4151 tSCC zNext_TemplateName[] =
4155 * File name selection pattern
4157 tSCC zNext_TemplateList[] =
4160 * Machine/OS name selection pattern
4162 #define apzNext_TemplateMachs (const char**)NULL
4165 * content selection pattern - do fix if pattern found
4167 tSCC zNext_TemplateSelect0[] =
4170 #define NEXT_TEMPLATE_TEST_CT 1
4171 static tTestDesc aNext_TemplateTests[] = {
4172 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
4175 * Fix Command Arguments for Next_Template
4177 static const char* apzNext_TemplatePatch[] = {
4180 "\\(([^)]*)[ \t]template\\)",
4183 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4185 * Description of Next_Volitile fix
4187 tSCC zNext_VolitileName[] =
4191 * File name selection pattern
4193 tSCC zNext_VolitileList[] =
4196 * Machine/OS name selection pattern
4198 #define apzNext_VolitileMachs (const char**)NULL
4201 * content selection pattern - do fix if pattern found
4203 tSCC zNext_VolitileSelect0[] =
4204 "^extern[ \t]+volatile[ \t]+void[ \t]";
4206 #define NEXT_VOLITILE_TEST_CT 1
4207 static tTestDesc aNext_VolitileTests[] = {
4208 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
4211 * Fix Command Arguments for Next_Volitile
4213 static const char* apzNext_VolitilePatch[] = {
4216 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
4219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4221 * Description of Next_Wait_Union fix
4223 tSCC zNext_Wait_UnionName[] =
4227 * File name selection pattern
4229 tSCC zNext_Wait_UnionList[] =
4232 * Machine/OS name selection pattern
4234 #define apzNext_Wait_UnionMachs (const char**)NULL
4237 * content selection pattern - do fix if pattern found
4239 tSCC zNext_Wait_UnionSelect0[] =
4240 "wait\\(union wait";
4242 #define NEXT_WAIT_UNION_TEST_CT 1
4243 static tTestDesc aNext_Wait_UnionTests[] = {
4244 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
4247 * Fix Command Arguments for Next_Wait_Union
4249 static const char* apzNext_Wait_UnionPatch[] = {
4254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4256 * Description of Nodeent_Syntax fix
4258 tSCC zNodeent_SyntaxName[] =
4262 * File name selection pattern
4264 tSCC zNodeent_SyntaxList[] =
4265 "|netdnet/dnetdb.h|";
4267 * Machine/OS name selection pattern
4269 #define apzNodeent_SyntaxMachs (const char**)NULL
4272 * content selection pattern - do fix if pattern found
4274 tSCC zNodeent_SyntaxSelect0[] =
4275 "char[ \t]*\\*na_addr[ \t]*$";
4277 #define NODEENT_SYNTAX_TEST_CT 1
4278 static tTestDesc aNodeent_SyntaxTests[] = {
4279 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
4282 * Fix Command Arguments for Nodeent_Syntax
4284 static const char* apzNodeent_SyntaxPatch[] = {
4289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4291 * Description of Obstack_Lvalue_Cast fix
4293 tSCC zObstack_Lvalue_CastName[] =
4294 "obstack_lvalue_cast";
4297 * File name selection pattern
4299 tSCC zObstack_Lvalue_CastList[] =
4302 * Machine/OS name selection pattern
4304 #define apzObstack_Lvalue_CastMachs (const char**)NULL
4307 * content selection pattern - do fix if pattern found
4309 tSCC zObstack_Lvalue_CastSelect0[] =
4310 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
4312 #define OBSTACK_LVALUE_CAST_TEST_CT 1
4313 static tTestDesc aObstack_Lvalue_CastTests[] = {
4314 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
4317 * Fix Command Arguments for Obstack_Lvalue_Cast
4319 static const char* apzObstack_Lvalue_CastPatch[] = {
4321 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
4324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4326 * Description of Osf_Namespace_A fix
4328 tSCC zOsf_Namespace_AName[] =
4332 * File name selection pattern
4334 tSCC zOsf_Namespace_AList[] =
4335 "|reg_types.h|sys/lc_core.h|";
4337 * Machine/OS name selection pattern
4339 #define apzOsf_Namespace_AMachs (const char**)NULL
4342 * perform the 'test' shell command - do fix on success
4344 tSCC zOsf_Namespace_ATest0[] =
4346 tSCC zOsf_Namespace_ATest1[] =
4347 " -r sys/lc_core.h";
4348 tSCC zOsf_Namespace_ATest2[] =
4349 " -n \"`grep '} regex_t;' reg_types.h`\"";
4350 tSCC zOsf_Namespace_ATest3[] =
4351 " -z \"`grep __regex_t regex.h`\"";
4353 #define OSF_NAMESPACE_A_TEST_CT 4
4354 static tTestDesc aOsf_Namespace_ATests[] = {
4355 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4356 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4357 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4358 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4361 * Fix Command Arguments for Osf_Namespace_A
4363 static const char* apzOsf_Namespace_APatch[] = {
4366 "reg(ex|off|match)_t",
4369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4371 * Description of Osf_Namespace_C fix
4373 tSCC zOsf_Namespace_CName[] =
4377 * File name selection pattern
4379 tSCC zOsf_Namespace_CList[] =
4382 * Machine/OS name selection pattern
4384 #define apzOsf_Namespace_CMachs (const char**)NULL
4387 * content selection pattern - do fix if pattern found
4389 tSCC zOsf_Namespace_CSelect0[] =
4390 "#include <reg_types.h>.*";
4393 * perform the 'test' shell command - do fix on success
4395 tSCC zOsf_Namespace_CTest0[] =
4397 tSCC zOsf_Namespace_CTest1[] =
4398 " -r sys/lc_core.h";
4399 tSCC zOsf_Namespace_CTest2[] =
4400 " -n \"`grep '} regex_t;' reg_types.h`\"";
4401 tSCC zOsf_Namespace_CTest3[] =
4402 " -z \"`grep __regex_t regex.h`\"";
4404 #define OSF_NAMESPACE_C_TEST_CT 5
4405 static tTestDesc aOsf_Namespace_CTests[] = {
4406 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
4407 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
4408 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
4409 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
4410 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
4413 * Fix Command Arguments for Osf_Namespace_C
4415 static const char* apzOsf_Namespace_CPatch[] = {
4418 typedef __regex_t\tregex_t;\n\
4419 typedef __regoff_t\tregoff_t;\n\
4420 typedef __regmatch_t\tregmatch_t;",
4423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4425 * Description of Pthread_Page_Size fix
4427 tSCC zPthread_Page_SizeName[] =
4428 "pthread_page_size";
4431 * File name selection pattern
4433 tSCC zPthread_Page_SizeList[] =
4436 * Machine/OS name selection pattern
4438 #define apzPthread_Page_SizeMachs (const char**)NULL
4441 * content selection pattern - do fix if pattern found
4443 tSCC zPthread_Page_SizeSelect0[] =
4446 #define PTHREAD_PAGE_SIZE_TEST_CT 1
4447 static tTestDesc aPthread_Page_SizeTests[] = {
4448 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
4451 * Fix Command Arguments for Pthread_Page_Size
4453 static const char* apzPthread_Page_SizePatch[] = {
4458 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4460 * Description of Pthread_Incomplete_Struct_Argument fix
4462 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
4463 "pthread_incomplete_struct_argument";
4466 * File name selection pattern
4468 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
4471 * Machine/OS name selection pattern
4473 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
4476 * content selection pattern - do fix if pattern found
4478 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
4479 "struct __jmp_buf_tag";
4481 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
4482 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
4483 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
4486 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
4488 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
4491 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
4494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4496 * Description of Read_Ret_Type fix
4498 tSCC zRead_Ret_TypeName[] =
4502 * File name selection pattern
4504 tSCC zRead_Ret_TypeList[] =
4507 * Machine/OS name selection pattern
4509 #define apzRead_Ret_TypeMachs (const char**)NULL
4512 * content selection pattern - do fix if pattern found
4514 tSCC zRead_Ret_TypeSelect0[] =
4515 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
4517 #define READ_RET_TYPE_TEST_CT 1
4518 static tTestDesc aRead_Ret_TypeTests[] = {
4519 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
4522 * Fix Command Arguments for Read_Ret_Type
4524 static const char* apzRead_Ret_TypePatch[] = {
4526 "extern unsigned int fread(), fwrite();\n\
4528 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
4531 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4533 * Description of Rpc_Xdr_Lvalue_Cast_A fix
4535 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
4536 "rpc_xdr_lvalue_cast_a";
4539 * File name selection pattern
4541 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
4544 * Machine/OS name selection pattern
4546 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
4549 * content selection pattern - do fix if pattern found
4551 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
4552 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
4555 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
4556 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
4557 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
4560 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
4562 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
4564 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
4567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4569 * Description of Rpc_Xdr_Lvalue_Cast_B fix
4571 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
4572 "rpc_xdr_lvalue_cast_b";
4575 * File name selection pattern
4577 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
4580 * Machine/OS name selection pattern
4582 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
4585 * content selection pattern - do fix if pattern found
4587 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
4588 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
4591 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
4592 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
4593 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
4596 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
4598 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
4600 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
4603 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4605 * Description of Rs6000_Double fix
4607 tSCC zRs6000_DoubleName[] =
4611 * File name selection pattern
4613 tSCC zRs6000_DoubleList[] =
4616 * Machine/OS name selection pattern
4618 #define apzRs6000_DoubleMachs (const char**)NULL
4621 * content selection pattern - do fix if pattern found
4623 tSCC zRs6000_DoubleSelect0[] =
4624 "[^a-zA-Z_]class\\(";
4626 #define RS6000_DOUBLE_TEST_CT 1
4627 static tTestDesc aRs6000_DoubleTests[] = {
4628 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
4631 * Fix Command Arguments for Rs6000_Double
4633 static const char* apzRs6000_DoublePatch[] = {
4635 "#ifndef __cplusplus\n\
4638 "^.*[^a-zA-Z_]class\\(.*",
4641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4643 * Description of Rs6000_Fchmod fix
4645 tSCC zRs6000_FchmodName[] =
4649 * File name selection pattern
4651 tSCC zRs6000_FchmodList[] =
4654 * Machine/OS name selection pattern
4656 #define apzRs6000_FchmodMachs (const char**)NULL
4659 * content selection pattern - do fix if pattern found
4661 tSCC zRs6000_FchmodSelect0[] =
4662 "fchmod\\(char \\*";
4664 #define RS6000_FCHMOD_TEST_CT 1
4665 static tTestDesc aRs6000_FchmodTests[] = {
4666 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
4669 * Fix Command Arguments for Rs6000_Fchmod
4671 static const char* apzRs6000_FchmodPatch[] = {
4676 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4678 * Description of Rs6000_Param fix
4680 tSCC zRs6000_ParamName[] =
4684 * File name selection pattern
4686 tSCC zRs6000_ParamList[] =
4687 "|stdio.h|unistd.h|";
4689 * Machine/OS name selection pattern
4691 #define apzRs6000_ParamMachs (const char**)NULL
4694 * content selection pattern - do fix if pattern found
4696 tSCC zRs6000_ParamSelect0[] =
4697 "rename\\(const char \\*old, const char \\*new\\)";
4699 #define RS6000_PARAM_TEST_CT 1
4700 static tTestDesc aRs6000_ParamTests[] = {
4701 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
4704 * Fix Command Arguments for Rs6000_Param
4706 static const char* apzRs6000_ParamPatch[] = {
4708 "rename(const char *_old, const char *_new)",
4711 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4713 * Description of Sco_Math fix
4715 tSCC zSco_MathName[] =
4719 * File name selection pattern
4721 tSCC zSco_MathList[] =
4722 "|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|";
4724 * Machine/OS name selection pattern
4726 #define apzSco_MathMachs (const char**)NULL
4729 * content selection pattern - do fix if pattern found
4731 tSCC zSco_MathSelect0[] =
4732 "inline double abs";
4735 * content bypass pattern - skip fix if pattern found
4737 tSCC zSco_MathBypass0[] =
4740 #define SCO_MATH_TEST_CT 2
4741 static tTestDesc aSco_MathTests[] = {
4742 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
4743 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
4746 * Fix Command Arguments for Sco_Math
4748 static const char* apzSco_MathPatch[] = { "sed",
4749 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
4750 #ifndef __GNUC__\n",
4751 "-e", "/.*__builtin_generic/a\\\n\
4753 #define __fp_class(a) \\\\\\\n\
4754 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
4755 __fpclassifyl(a), \\\\\\\n\
4756 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
4757 __fpclassifyf(a),__fpclassify(a)))\\\n\
4759 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
4760 #ifndef __GNUC__\n",
4761 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
4762 #endif /* ! __GNUC__ */",
4765 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4767 * Description of Sco_Regset fix
4769 tSCC zSco_RegsetName[] =
4773 * File name selection pattern
4775 tSCC zSco_RegsetList[] =
4778 * Machine/OS name selection pattern
4780 tSCC* apzSco_RegsetMachs[] = {
4782 (const char*)NULL };
4785 * content selection pattern - do fix if pattern found
4787 tSCC zSco_RegsetSelect0[] =
4788 "(struct[ \t]+.*)fpstate";
4790 #define SCO_REGSET_TEST_CT 1
4791 static tTestDesc aSco_RegsetTests[] = {
4792 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
4795 * Fix Command Arguments for Sco_Regset
4797 static const char* apzSco_RegsetPatch[] = {
4802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4804 * Description of Sco_Static_Func fix
4806 tSCC zSco_Static_FuncName[] =
4810 * File name selection pattern
4812 tSCC zSco_Static_FuncList[] =
4815 * Machine/OS name selection pattern
4817 tSCC* apzSco_Static_FuncMachs[] = {
4819 (const char*)NULL };
4822 * content selection pattern - do fix if pattern found
4824 tSCC zSco_Static_FuncSelect0[] =
4827 #define SCO_STATIC_FUNC_TEST_CT 1
4828 static tTestDesc aSco_Static_FuncTests[] = {
4829 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
4832 * Fix Command Arguments for Sco_Static_Func
4834 static const char* apzSco_Static_FuncPatch[] = { "sed",
4835 "-e", "/^static int/i\\\n\
4836 #if __cplusplus\\\n\
4838 #endif /* __cplusplus */",
4840 #if __cplusplus\\\n\
4842 #endif /* __cplusplus */",
4845 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4847 * Description of Sco_Utime fix
4849 tSCC zSco_UtimeName[] =
4853 * File name selection pattern
4855 tSCC zSco_UtimeList[] =
4858 * Machine/OS name selection pattern
4860 tSCC* apzSco_UtimeMachs[] = {
4862 (const char*)NULL };
4865 * content selection pattern - do fix if pattern found
4867 tSCC zSco_UtimeSelect0[] =
4868 "\\(const char \\*, struct utimbuf \\*\\);";
4870 #define SCO_UTIME_TEST_CT 1
4871 static tTestDesc aSco_UtimeTests[] = {
4872 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
4875 * Fix Command Arguments for Sco_Utime
4877 static const char* apzSco_UtimePatch[] = {
4879 "(const char *, const struct utimbuf *);",
4882 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4884 * Description of Solaris_Math_1 fix
4886 tSCC zSolaris_Math_1Name[] =
4890 * File name selection pattern
4892 tSCC zSolaris_Math_1List[] =
4895 * Machine/OS name selection pattern
4897 #define apzSolaris_Math_1Machs (const char**)NULL
4900 * content selection pattern - do fix if pattern found
4902 tSCC zSolaris_Math_1Select0[] =
4903 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
4906 * content bypass pattern - skip fix if pattern found
4908 tSCC zSolaris_Math_1Bypass0[] =
4911 #define SOLARIS_MATH_1_TEST_CT 2
4912 static tTestDesc aSolaris_Math_1Tests[] = {
4913 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
4914 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
4917 * Fix Command Arguments for Solaris_Math_1
4919 static const char* apzSolaris_Math_1Patch[] = {
4921 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
4922 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
4925 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4927 * Description of Solaris_Math_2 fix
4929 tSCC zSolaris_Math_2Name[] =
4933 * File name selection pattern
4935 tSCC zSolaris_Math_2List[] =
4938 * Machine/OS name selection pattern
4940 #define apzSolaris_Math_2Machs (const char**)NULL
4943 * content selection pattern - do fix if pattern found
4945 tSCC zSolaris_Math_2Select0[] =
4946 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
4949 * content bypass pattern - skip fix if pattern found
4951 tSCC zSolaris_Math_2Bypass0[] =
4954 #define SOLARIS_MATH_2_TEST_CT 2
4955 static tTestDesc aSolaris_Math_2Tests[] = {
4956 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
4957 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
4960 * Fix Command Arguments for Solaris_Math_2
4962 static const char* apzSolaris_Math_2Patch[] = {
4964 "#define\tINFINITY\t(__builtin_inff())",
4965 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
4968 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4970 * Description of Solaris_Math_3 fix
4972 tSCC zSolaris_Math_3Name[] =
4976 * File name selection pattern
4978 tSCC zSolaris_Math_3List[] =
4981 * Machine/OS name selection pattern
4983 #define apzSolaris_Math_3Machs (const char**)NULL
4986 * content selection pattern - do fix if pattern found
4988 tSCC zSolaris_Math_3Select0[] =
4989 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
4992 * content bypass pattern - skip fix if pattern found
4994 tSCC zSolaris_Math_3Bypass0[] =
4997 #define SOLARIS_MATH_3_TEST_CT 2
4998 static tTestDesc aSolaris_Math_3Tests[] = {
4999 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
5000 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
5003 * Fix Command Arguments for Solaris_Math_3
5005 static const char* apzSolaris_Math_3Patch[] = {
5007 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
5008 "^#define[ \t]+NAN[ \t]+__builtin_nan",
5011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5013 * Description of Solaris_Math_4 fix
5015 tSCC zSolaris_Math_4Name[] =
5019 * File name selection pattern
5021 tSCC zSolaris_Math_4List[] =
5024 * Machine/OS name selection pattern
5026 #define apzSolaris_Math_4Machs (const char**)NULL
5029 * content selection pattern - do fix if pattern found
5031 tSCC zSolaris_Math_4Select0[] =
5032 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5035 * content bypass pattern - skip fix if pattern found
5037 tSCC zSolaris_Math_4Bypass0[] =
5040 #define SOLARIS_MATH_4_TEST_CT 2
5041 static tTestDesc aSolaris_Math_4Tests[] = {
5042 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
5043 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
5046 * Fix Command Arguments for Solaris_Math_4
5048 static const char* apzSolaris_Math_4Patch[] = {
5050 "#define\tfpclassify(x) \\\n\
5051 __extension__ ({ __typeof(x) __x_fp = (x); \\\n\
5052 \t\t isnan(__x_fp) \\\n\
5054 \t\t : isinf(__x_fp) \\\n\
5055 \t\t ? FP_INFINITE \\\n\
5056 \t\t : isnormal(__x_fp) \\\n\
5057 \t\t\t ? FP_NORMAL \\\n\
5058 \t\t\t : __x_fp == 0.0 \\\n\
5059 \t\t\t ? FP_ZERO \\\n\
5060 \t\t\t : FP_SUBNORMAL; })",
5061 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
5064 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5066 * Description of Solaris_Math_5 fix
5068 tSCC zSolaris_Math_5Name[] =
5072 * File name selection pattern
5074 tSCC zSolaris_Math_5List[] =
5077 * Machine/OS name selection pattern
5079 #define apzSolaris_Math_5Machs (const char**)NULL
5082 * content selection pattern - do fix if pattern found
5084 tSCC zSolaris_Math_5Select0[] =
5085 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5088 * content bypass pattern - skip fix if pattern found
5090 tSCC zSolaris_Math_5Bypass0[] =
5093 #define SOLARIS_MATH_5_TEST_CT 2
5094 static tTestDesc aSolaris_Math_5Tests[] = {
5095 { TT_NEGREP, zSolaris_Math_5Bypass0, (regex_t*)NULL },
5096 { TT_EGREP, zSolaris_Math_5Select0, (regex_t*)NULL }, };
5099 * Fix Command Arguments for Solaris_Math_5
5101 static const char* apzSolaris_Math_5Patch[] = {
5103 "#define\tisfinite(x) \\\n\
5104 __extension__ ({ __typeof (x) __x_f = (x); \\\n\
5105 \t\t __builtin_expect(!isnan(__x_f - __x_f), 1); })",
5106 "^#define[ \t]+isfinite\\(x\\)[ \t]+__builtin_isfinite\\(x\\)",
5109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5111 * Description of Solaris_Math_6 fix
5113 tSCC zSolaris_Math_6Name[] =
5117 * File name selection pattern
5119 tSCC zSolaris_Math_6List[] =
5122 * Machine/OS name selection pattern
5124 #define apzSolaris_Math_6Machs (const char**)NULL
5127 * content selection pattern - do fix if pattern found
5129 tSCC zSolaris_Math_6Select0[] =
5130 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5133 * content bypass pattern - skip fix if pattern found
5135 tSCC zSolaris_Math_6Bypass0[] =
5138 #define SOLARIS_MATH_6_TEST_CT 2
5139 static tTestDesc aSolaris_Math_6Tests[] = {
5140 { TT_NEGREP, zSolaris_Math_6Bypass0, (regex_t*)NULL },
5141 { TT_EGREP, zSolaris_Math_6Select0, (regex_t*)NULL }, };
5144 * Fix Command Arguments for Solaris_Math_6
5146 static const char* apzSolaris_Math_6Patch[] = {
5148 "#define\tisinf(x) \\\n\
5149 __extension__ ({ __typeof (x) __x_i = (x); \\\n\
5150 \t\t __builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); })",
5151 "^#define[ \t]+isinf\\(x\\)[ \t]+__builtin_isinf\\(x\\)",
5154 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5156 * Description of Solaris_Math_7 fix
5158 tSCC zSolaris_Math_7Name[] =
5162 * File name selection pattern
5164 tSCC zSolaris_Math_7List[] =
5167 * Machine/OS name selection pattern
5169 #define apzSolaris_Math_7Machs (const char**)NULL
5172 * content selection pattern - do fix if pattern found
5174 tSCC zSolaris_Math_7Select0[] =
5175 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5178 * content bypass pattern - skip fix if pattern found
5180 tSCC zSolaris_Math_7Bypass0[] =
5183 #define SOLARIS_MATH_7_TEST_CT 2
5184 static tTestDesc aSolaris_Math_7Tests[] = {
5185 { TT_NEGREP, zSolaris_Math_7Bypass0, (regex_t*)NULL },
5186 { TT_EGREP, zSolaris_Math_7Select0, (regex_t*)NULL }, };
5189 * Fix Command Arguments for Solaris_Math_7
5191 static const char* apzSolaris_Math_7Patch[] = {
5193 "#define\tisnormal(x) \\\n\
5194 __extension__ ({ __typeof(x) __x_n = (x); \\\n\
5195 \t\t if (__x_n < 0.0) __x_n = -__x_n; \\\n\
5196 \t\t __builtin_expect(isfinite(__x_n) \\\n\
5197 \t\t\t\t && (sizeof(__x_n) == sizeof(float) \\\n\
5198 \t\t\t\t\t ? __x_n >= __FLT_MIN__ \\\n\
5199 \t\t\t\t\t : sizeof(__x_n) == sizeof(long double) \\\n\
5200 \t\t\t\t\t ? __x_n >= __LDBL_MIN__ \\\n\
5201 \t\t\t\t\t : __x_n >= __DBL_MIN__), 1); })",
5202 "^#define[ \t]+isnormal\\(x\\)[ \t]+__builtin_isnormal\\(x\\)",
5205 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5207 * Description of Solaris_Math_8 fix
5209 tSCC zSolaris_Math_8Name[] =
5213 * File name selection pattern
5215 tSCC zSolaris_Math_8List[] =
5218 * Machine/OS name selection pattern
5220 #define apzSolaris_Math_8Machs (const char**)NULL
5223 * content selection pattern - do fix if pattern found
5225 tSCC zSolaris_Math_8Select0[] =
5226 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5229 * content bypass pattern - skip fix if pattern found
5231 tSCC zSolaris_Math_8Bypass0[] =
5234 #define SOLARIS_MATH_8_TEST_CT 2
5235 static tTestDesc aSolaris_Math_8Tests[] = {
5236 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
5237 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
5240 * Fix Command Arguments for Solaris_Math_8
5242 static const char* apzSolaris_Math_8Patch[] = {
5244 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
5245 \t\t\t ? __builtin_signbitf(x) \\\n\
5246 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
5247 \t\t\t ? __builtin_signbitl(x) \\\n\
5248 \t\t\t : __builtin_signbit(x))",
5249 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
5252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5254 * Description of Solaris_Math_9 fix
5256 tSCC zSolaris_Math_9Name[] =
5260 * File name selection pattern
5262 tSCC zSolaris_Math_9List[] =
5265 * Machine/OS name selection pattern
5267 #define apzSolaris_Math_9Machs (const char**)NULL
5270 * content selection pattern - do fix if pattern found
5272 tSCC zSolaris_Math_9Select0[] =
5273 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5276 * content bypass pattern - skip fix if pattern found
5278 tSCC zSolaris_Math_9Bypass0[] =
5281 #define SOLARIS_MATH_9_TEST_CT 2
5282 static tTestDesc aSolaris_Math_9Tests[] = {
5283 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
5284 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
5287 * Fix Command Arguments for Solaris_Math_9
5289 static const char* apzSolaris_Math_9Patch[] = {
5291 "#define\t%1(x, y)%2__builtin_%1(x, y)",
5292 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
5295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5297 * Description of Solaris_Mutex_Init_1 fix
5299 tSCC zSolaris_Mutex_Init_1Name[] =
5300 "solaris_mutex_init_1";
5303 * File name selection pattern
5305 tSCC zSolaris_Mutex_Init_1List[] =
5308 * Machine/OS name selection pattern
5310 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
5313 * content selection pattern - do fix if pattern found
5315 tSCC zSolaris_Mutex_Init_1Select0[] =
5316 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
5318 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
5319 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
5320 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
5323 * Fix Command Arguments for Solaris_Mutex_Init_1
5325 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
5326 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
5327 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
5330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5332 * Description of Solaris_Mutex_Init_2 fix
5334 tSCC zSolaris_Mutex_Init_2Name[] =
5335 "solaris_mutex_init_2";
5338 * File name selection pattern
5340 tSCC zSolaris_Mutex_Init_2List[] =
5343 * Machine/OS name selection pattern
5345 #define apzSolaris_Mutex_Init_2Machs (const char**)NULL
5348 * content selection pattern - do fix if pattern found
5350 tSCC zSolaris_Mutex_Init_2Select0[] =
5351 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5353 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
5354 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
5355 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
5358 * Fix Command Arguments for Solaris_Mutex_Init_2
5360 static const char* apzSolaris_Mutex_Init_2Patch[] = {
5362 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5367 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*),[ \t]*0\\}(|[ \t].*)$",
5370 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5372 * Description of Solaris_Socket fix
5374 tSCC zSolaris_SocketName[] =
5378 * File name selection pattern
5380 tSCC zSolaris_SocketList[] =
5383 * Machine/OS name selection pattern
5385 #define apzSolaris_SocketMachs (const char**)NULL
5388 * content selection pattern - do fix if pattern found
5390 tSCC zSolaris_SocketSelect0[] =
5391 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
5393 #define SOLARIS_SOCKET_TEST_CT 1
5394 static tTestDesc aSolaris_SocketTests[] = {
5395 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
5398 * Fix Command Arguments for Solaris_Socket
5400 static const char* apzSolaris_SocketPatch[] = {
5402 "extern int %1(int, %2void *, int, int);",
5403 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
5406 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5408 * Description of Solaris_Stdio_Tag fix
5410 tSCC zSolaris_Stdio_TagName[] =
5411 "solaris_stdio_tag";
5414 * File name selection pattern
5416 tSCC zSolaris_Stdio_TagList[] =
5419 * Machine/OS name selection pattern
5421 #define apzSolaris_Stdio_TagMachs (const char**)NULL
5424 * content selection pattern - do fix if pattern found
5426 tSCC zSolaris_Stdio_TagSelect0[] =
5427 "__cplusplus < 54321L";
5430 * content bypass pattern - skip fix if pattern found
5432 tSCC zSolaris_Stdio_TagBypass0[] =
5435 #define SOLARIS_STDIO_TAG_TEST_CT 2
5436 static tTestDesc aSolaris_Stdio_TagTests[] = {
5437 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
5438 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
5441 * Fix Command Arguments for Solaris_Stdio_Tag
5443 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
5444 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
5447 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5449 * Description of Solaris_Unistd fix
5451 tSCC zSolaris_UnistdName[] =
5455 * File name selection pattern
5457 tSCC zSolaris_UnistdList[] =
5460 * Machine/OS name selection pattern
5462 #define apzSolaris_UnistdMachs (const char**)NULL
5465 * content selection pattern - do fix if pattern found
5467 tSCC zSolaris_UnistdSelect0[] =
5468 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
5471 * content bypass pattern - skip fix if pattern found
5473 tSCC zSolaris_UnistdBypass0[] =
5476 #define SOLARIS_UNISTD_TEST_CT 2
5477 static tTestDesc aSolaris_UnistdTests[] = {
5478 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
5479 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
5482 * Fix Command Arguments for Solaris_Unistd
5484 static const char* apzSolaris_UnistdPatch[] = {
5486 "extern int getpagesize();\n\
5488 "^extern (pid_t|int) getpgid\\(.*\\);",
5491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5493 * Description of Solaris_Widec fix
5495 tSCC zSolaris_WidecName[] =
5499 * File name selection pattern
5501 tSCC zSolaris_WidecList[] =
5504 * Machine/OS name selection pattern
5506 tSCC* apzSolaris_WidecMachs[] = {
5507 "*-*-solaris2.[0-5]",
5508 "*-*-solaris2.[0-5].*",
5509 (const char*)NULL };
5512 * content selection pattern - do fix if pattern found
5514 tSCC zSolaris_WidecSelect0[] =
5518 * content bypass pattern - skip fix if pattern found
5520 tSCC zSolaris_WidecBypass0[] =
5521 "include.*wchar\\.h";
5523 #define SOLARIS_WIDEC_TEST_CT 2
5524 static tTestDesc aSolaris_WidecTests[] = {
5525 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
5526 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
5529 * Fix Command Arguments for Solaris_Widec
5531 static const char* apzSolaris_WidecPatch[] = {
5534 #include <wchar.h>",
5537 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5539 * Description of Statsswtch fix
5541 tSCC zStatsswtchName[] =
5545 * File name selection pattern
5547 tSCC zStatsswtchList[] =
5550 * Machine/OS name selection pattern
5552 #define apzStatsswtchMachs (const char**)NULL
5555 * content selection pattern - do fix if pattern found
5557 tSCC zStatsswtchSelect0[] =
5560 #define STATSSWTCH_TEST_CT 1
5561 static tTestDesc aStatsswtchTests[] = {
5562 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
5565 * Fix Command Arguments for Statsswtch
5567 static const char* apzStatsswtchPatch[] = {
5572 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5574 * Description of Stdio_Stdarg_H fix
5576 tSCC zStdio_Stdarg_HName[] =
5580 * File name selection pattern
5582 tSCC zStdio_Stdarg_HList[] =
5585 * Machine/OS name selection pattern
5587 tSCC* apzStdio_Stdarg_HMachs[] = {
5588 "*-*-solaris2.1[0-9]*",
5589 (const char*)NULL };
5592 * content bypass pattern - skip fix if pattern found
5594 tSCC zStdio_Stdarg_HBypass0[] =
5595 "include.*(stdarg.h|machine/ansi.h)";
5597 #define STDIO_STDARG_H_TEST_CT 1
5598 static tTestDesc aStdio_Stdarg_HTests[] = {
5599 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
5602 * Fix Command Arguments for Stdio_Stdarg_H
5604 static const char* apzStdio_Stdarg_HPatch[] = {
5606 "#define __need___va_list\n\
5607 #include <stdarg.h>\n",
5610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5612 * Description of Stdio_Va_List fix
5614 tSCC zStdio_Va_ListName[] =
5618 * File name selection pattern
5620 tSCC zStdio_Va_ListList[] =
5621 "|stdio.h|internal/stdio_core.h|internal/wchar_core.h|";
5623 * Machine/OS name selection pattern
5625 tSCC* apzStdio_Va_ListMachs[] = {
5626 "*-*-solaris2.1[0-9]*",
5627 (const char*)NULL };
5630 * content bypass pattern - skip fix if pattern found
5632 tSCC zStdio_Va_ListBypass0[] =
5633 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
5635 #define STDIO_VA_LIST_TEST_CT 1
5636 static tTestDesc aStdio_Va_ListTests[] = {
5637 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
5640 * Fix Command Arguments for Stdio_Va_List
5642 static const char* apzStdio_Va_ListPatch[] = { "sed",
5643 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
5644 s@(va_list)&@(__gnuc_va_list)\\&@\n\
5645 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
5646 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
5647 s@ va_list@ __not_va_list__@\n\
5648 s@\\*va_list@*__not_va_list__@\n\
5649 s@ __va_list)@ __gnuc_va_list)@\n\
5650 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
5651 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
5652 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
5653 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
5654 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
5655 s@VA_LIST@DUMMY_VA_LIST@\n\
5656 s@_Va_LIST@_VA_LIST@",
5659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5661 * Description of Stdio_Va_List_Clients fix
5663 tSCC zStdio_Va_List_ClientsName[] =
5664 "stdio_va_list_clients";
5667 * File name selection pattern
5669 tSCC zStdio_Va_List_ClientsList[] =
5670 "|com_err.h|cps.h|curses.h|krb5.h|lc_core.h|pfmt.h|wchar.h|curses_colr/curses.h|";
5672 * Machine/OS name selection pattern
5674 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
5677 * content bypass pattern - skip fix if pattern found
5679 tSCC zStdio_Va_List_ClientsBypass0[] =
5680 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
5681 tSCC zStdio_Va_List_ClientsBypass1[] =
5682 "include <stdarg\\.h>|#ifdef va_start";
5684 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
5685 static tTestDesc aStdio_Va_List_ClientsTests[] = {
5686 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
5687 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
5690 * Fix Command Arguments for Stdio_Va_List_Clients
5692 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
5693 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
5694 s@(va_list)&@(__gnuc_va_list)\\&@\n\
5695 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
5696 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
5697 s@ va_list@ __not_va_list__@\n\
5698 s@\\*va_list@*__not_va_list__@\n\
5699 s@ __va_list)@ __gnuc_va_list)@\n\
5700 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
5701 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
5702 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
5703 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
5704 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
5705 s@VA_LIST@DUMMY_VA_LIST@\n\
5706 s@_Va_LIST@_VA_LIST@",
5709 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5711 * Description of Strict_Ansi_Not fix
5713 tSCC zStrict_Ansi_NotName[] =
5717 * File name selection pattern
5719 #define zStrict_Ansi_NotList (char*)NULL
5721 * Machine/OS name selection pattern
5723 #define apzStrict_Ansi_NotMachs (const char**)NULL
5726 * content selection pattern - do fix if pattern found
5728 tSCC zStrict_Ansi_NotSelect0[] =
5729 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
5732 * content bypass pattern - skip fix if pattern found
5734 tSCC zStrict_Ansi_NotBypass0[] =
5735 "GNU and MIPS C compilers define __STDC__ differently";
5736 tSCC zStrict_Ansi_NotBypass1[] =
5737 "__SCO_VERSION__.*__STDC__ != 1";
5740 * perform the C function call test
5742 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
5744 #define STRICT_ANSI_NOT_TEST_CT 4
5745 static tTestDesc aStrict_Ansi_NotTests[] = {
5746 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
5747 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
5748 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
5749 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
5752 * Fix Command Arguments for Strict_Ansi_Not
5754 static const char* apzStrict_Ansi_NotPatch[] = {
5756 "%1 !defined(__STRICT_ANSI__)",
5759 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5761 * Description of Strict_Ansi_Not_Ctd fix
5763 tSCC zStrict_Ansi_Not_CtdName[] =
5764 "strict_ansi_not_ctd";
5767 * File name selection pattern
5769 tSCC zStrict_Ansi_Not_CtdList[] =
5770 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
5772 * Machine/OS name selection pattern
5774 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
5777 * content selection pattern - do fix if pattern found
5779 tSCC zStrict_Ansi_Not_CtdSelect0[] =
5780 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
5783 * perform the C function call test
5785 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
5787 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
5788 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
5789 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
5790 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
5793 * Fix Command Arguments for Strict_Ansi_Not_Ctd
5795 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
5797 "%1 !defined(__STRICT_ANSI__)",
5800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5802 * Description of Strict_Ansi_Only fix
5804 tSCC zStrict_Ansi_OnlyName[] =
5808 * File name selection pattern
5810 #define zStrict_Ansi_OnlyList (char*)NULL
5812 * Machine/OS name selection pattern
5814 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
5817 * content selection pattern - do fix if pattern found
5819 tSCC zStrict_Ansi_OnlySelect0[] =
5820 "^([ \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)";
5823 * perform the C function call test
5825 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
5827 #define STRICT_ANSI_ONLY_TEST_CT 2
5828 static tTestDesc aStrict_Ansi_OnlyTests[] = {
5829 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
5830 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
5833 * Fix Command Arguments for Strict_Ansi_Only
5835 static const char* apzStrict_Ansi_OnlyPatch[] = {
5837 "%1 defined(__STRICT_ANSI__)",
5840 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5842 * Description of Struct_File fix
5844 tSCC zStruct_FileName[] =
5848 * File name selection pattern
5850 tSCC zStruct_FileList[] =
5853 * Machine/OS name selection pattern
5855 #define apzStruct_FileMachs (const char**)NULL
5858 * content selection pattern - do fix if pattern found
5860 tSCC zStruct_FileSelect0[] =
5861 "^.*xdrstdio_create.*struct __file_s";
5863 #define STRUCT_FILE_TEST_CT 1
5864 static tTestDesc aStruct_FileTests[] = {
5865 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
5868 * Fix Command Arguments for Struct_File
5870 static const char* apzStruct_FilePatch[] = {
5872 "struct __file_s;\n\
5876 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5878 * Description of Struct_Sockaddr fix
5880 tSCC zStruct_SockaddrName[] =
5884 * File name selection pattern
5886 tSCC zStruct_SockaddrList[] =
5889 * Machine/OS name selection pattern
5891 #define apzStruct_SockaddrMachs (const char**)NULL
5894 * content selection pattern - do fix if pattern found
5896 tSCC zStruct_SockaddrSelect0[] =
5897 "^.*authdes_create.*struct sockaddr[^_]";
5900 * content bypass pattern - skip fix if pattern found
5902 tSCC zStruct_SockaddrBypass0[] =
5904 tSCC zStruct_SockaddrBypass1[] =
5905 "struct sockaddr;\n";
5907 #define STRUCT_SOCKADDR_TEST_CT 3
5908 static tTestDesc aStruct_SockaddrTests[] = {
5909 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
5910 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
5911 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
5914 * Fix Command Arguments for Struct_Sockaddr
5916 static const char* apzStruct_SockaddrPatch[] = {
5918 "struct sockaddr;\n\
5922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5924 * Description of Sun_Auth_Proto fix
5926 tSCC zSun_Auth_ProtoName[] =
5930 * File name selection pattern
5932 tSCC zSun_Auth_ProtoList[] =
5933 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
5935 * Machine/OS name selection pattern
5937 #define apzSun_Auth_ProtoMachs (const char**)NULL
5940 * content selection pattern - do fix if pattern found
5942 tSCC zSun_Auth_ProtoSelect0[] =
5943 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
5946 * content bypass pattern - skip fix if pattern found
5948 tSCC zSun_Auth_ProtoBypass0[] =
5951 #define SUN_AUTH_PROTO_TEST_CT 2
5952 static tTestDesc aSun_Auth_ProtoTests[] = {
5953 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
5954 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
5957 * Fix Command Arguments for Sun_Auth_Proto
5959 static const char* apzSun_Auth_ProtoPatch[] = {
5961 "#ifdef __cplusplus\n\
5966 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
5969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5971 * Description of Sun_Bogus_Ifdef fix
5973 tSCC zSun_Bogus_IfdefName[] =
5977 * File name selection pattern
5979 tSCC zSun_Bogus_IfdefList[] =
5980 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
5982 * Machine/OS name selection pattern
5984 #define apzSun_Bogus_IfdefMachs (const char**)NULL
5987 * content selection pattern - do fix if pattern found
5989 tSCC zSun_Bogus_IfdefSelect0[] =
5990 "#ifdef(.*\\|\\|.*)";
5992 #define SUN_BOGUS_IFDEF_TEST_CT 1
5993 static tTestDesc aSun_Bogus_IfdefTests[] = {
5994 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
5997 * Fix Command Arguments for Sun_Bogus_Ifdef
5999 static const char* apzSun_Bogus_IfdefPatch[] = {
6004 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6006 * Description of Sun_Catmacro fix
6008 tSCC zSun_CatmacroName[] =
6012 * File name selection pattern
6014 tSCC zSun_CatmacroList[] =
6015 "|pixrect/memvar.h|";
6017 * Machine/OS name selection pattern
6019 #define apzSun_CatmacroMachs (const char**)NULL
6022 * content selection pattern - do fix if pattern found
6024 tSCC zSun_CatmacroSelect0[] =
6025 "^#define[ \t]+CAT\\(a,b\\).*";
6027 #define SUN_CATMACRO_TEST_CT 1
6028 static tTestDesc aSun_CatmacroTests[] = {
6029 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
6032 * Fix Command Arguments for Sun_Catmacro
6034 static const char* apzSun_CatmacroPatch[] = {
6037 # define CAT(a,b) a##b\n\
6043 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6045 * Description of Sun_Malloc fix
6047 tSCC zSun_MallocName[] =
6051 * File name selection pattern
6053 tSCC zSun_MallocList[] =
6056 * Machine/OS name selection pattern
6058 #define apzSun_MallocMachs (const char**)NULL
6061 * content bypass pattern - skip fix if pattern found
6063 tSCC zSun_MallocBypass0[] =
6064 "_CLASSIC_ANSI_TYPES";
6066 #define SUN_MALLOC_TEST_CT 1
6067 static tTestDesc aSun_MallocTests[] = {
6068 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
6071 * Fix Command Arguments for Sun_Malloc
6073 static const char* apzSun_MallocPatch[] = { "sed",
6074 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
6075 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
6076 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
6077 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
6078 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
6081 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6083 * Description of Sun_Rusers_Semi fix
6085 tSCC zSun_Rusers_SemiName[] =
6089 * File name selection pattern
6091 tSCC zSun_Rusers_SemiList[] =
6092 "|rpcsvc/rusers.h|";
6094 * Machine/OS name selection pattern
6096 #define apzSun_Rusers_SemiMachs (const char**)NULL
6099 * content selection pattern - do fix if pattern found
6101 tSCC zSun_Rusers_SemiSelect0[] =
6104 #define SUN_RUSERS_SEMI_TEST_CT 1
6105 static tTestDesc aSun_Rusers_SemiTests[] = {
6106 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
6109 * Fix Command Arguments for Sun_Rusers_Semi
6111 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
6112 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
6115 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6117 * Description of Sun_Signal fix
6119 tSCC zSun_SignalName[] =
6123 * File name selection pattern
6125 tSCC zSun_SignalList[] =
6126 "|sys/signal.h|signal.h|";
6128 * Machine/OS name selection pattern
6130 #define apzSun_SignalMachs (const char**)NULL
6133 * content selection pattern - do fix if pattern found
6135 tSCC zSun_SignalSelect0[] =
6136 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
6138 #define SUN_SIGNAL_TEST_CT 1
6139 static tTestDesc aSun_SignalTests[] = {
6140 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
6143 * Fix Command Arguments for Sun_Signal
6145 static const char* apzSun_SignalPatch[] = {
6147 "#ifdef __cplusplus\n\
6148 void\t(*signal(...))(...);\n\
6154 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6156 * Description of Sunos_Strlen fix
6158 tSCC zSunos_StrlenName[] =
6162 * File name selection pattern
6164 tSCC zSunos_StrlenList[] =
6167 * Machine/OS name selection pattern
6169 #define apzSunos_StrlenMachs (const char**)NULL
6172 * content selection pattern - do fix if pattern found
6174 tSCC zSunos_StrlenSelect0[] =
6175 "int[ \t]*strlen\\(\\);(.*)";
6177 #define SUNOS_STRLEN_TEST_CT 1
6178 static tTestDesc aSunos_StrlenTests[] = {
6179 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
6182 * Fix Command Arguments for Sunos_Strlen
6184 static const char* apzSunos_StrlenPatch[] = {
6186 "__SIZE_TYPE__ strlen();%1",
6189 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6191 * Description of Svr4_Disable_Opt fix
6193 tSCC zSvr4_Disable_OptName[] =
6197 * File name selection pattern
6199 tSCC zSvr4_Disable_OptList[] =
6202 * Machine/OS name selection pattern
6204 #define apzSvr4_Disable_OptMachs (const char**)NULL
6207 * content selection pattern - do fix if pattern found
6209 tSCC zSvr4_Disable_OptSelect0[] =
6210 "#define.*__std_hdr_";
6212 #define SVR4_DISABLE_OPT_TEST_CT 1
6213 static tTestDesc aSvr4_Disable_OptTests[] = {
6214 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
6217 * Fix Command Arguments for Svr4_Disable_Opt
6219 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
6220 "-e", "/#define.*__std_hdr_/d",
6223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6225 * Description of Svr4_Getcwd fix
6227 tSCC zSvr4_GetcwdName[] =
6231 * File name selection pattern
6233 tSCC zSvr4_GetcwdList[] =
6234 "|stdlib.h|unistd.h|prototypes.h|";
6236 * Machine/OS name selection pattern
6238 #define apzSvr4_GetcwdMachs (const char**)NULL
6241 * content selection pattern - do fix if pattern found
6243 tSCC zSvr4_GetcwdSelect0[] =
6244 "getcwd\\(char \\*, int\\)";
6246 #define SVR4_GETCWD_TEST_CT 1
6247 static tTestDesc aSvr4_GetcwdTests[] = {
6248 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
6251 * Fix Command Arguments for Svr4_Getcwd
6253 static const char* apzSvr4_GetcwdPatch[] = {
6255 "getcwd(char *, size_t)",
6258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6260 * Description of Svr4_Krnl fix
6262 tSCC zSvr4_KrnlName[] =
6266 * File name selection pattern
6268 tSCC zSvr4_KrnlList[] =
6269 "|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|";
6271 * Machine/OS name selection pattern
6273 tSCC* apzSvr4_KrnlMachs[] = {
6275 "i?86-sequent-ptx*",
6276 (const char*)NULL };
6279 * content bypass pattern - skip fix if pattern found
6281 tSCC zSvr4_KrnlBypass0[] =
6284 #define SVR4_KRNL_TEST_CT 1
6285 static tTestDesc aSvr4_KrnlTests[] = {
6286 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
6289 * Fix Command Arguments for Svr4_Krnl
6291 static const char* apzSvr4_KrnlPatch[] = {
6294 "#endif /* _KERNEL */\n",
6297 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6299 * Description of Svr4_Profil fix
6301 tSCC zSvr4_ProfilName[] =
6305 * File name selection pattern
6307 tSCC zSvr4_ProfilList[] =
6308 "|stdlib.h|unistd.h|";
6310 * Machine/OS name selection pattern
6312 #define apzSvr4_ProfilMachs (const char**)NULL
6315 * content selection pattern - do fix if pattern found
6317 tSCC zSvr4_ProfilSelect0[] =
6318 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
6321 * content bypass pattern - skip fix if pattern found
6323 tSCC zSvr4_ProfilBypass0[] =
6326 #define SVR4_PROFIL_TEST_CT 2
6327 static tTestDesc aSvr4_ProfilTests[] = {
6328 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
6329 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
6332 * Fix Command Arguments for Svr4_Profil
6334 static const char* apzSvr4_ProfilPatch[] = {
6336 "profil(unsigned short *, size_t, int, unsigned int)",
6339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6341 * Description of Svr4_Sighandler_Type fix
6343 tSCC zSvr4_Sighandler_TypeName[] =
6344 "svr4_sighandler_type";
6347 * File name selection pattern
6349 tSCC zSvr4_Sighandler_TypeList[] =
6352 * Machine/OS name selection pattern
6354 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
6357 * content selection pattern - do fix if pattern found
6359 tSCC zSvr4_Sighandler_TypeSelect0[] =
6360 "void *\\(\\*\\)\\(\\)";
6362 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
6363 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
6364 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
6367 * Fix Command Arguments for Svr4_Sighandler_Type
6369 static const char* apzSvr4_Sighandler_TypePatch[] = {
6374 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6376 * Description of Svr4_Undeclared_Getrnge fix
6378 tSCC zSvr4_Undeclared_GetrngeName[] =
6379 "svr4_undeclared_getrnge";
6382 * File name selection pattern
6384 tSCC zSvr4_Undeclared_GetrngeList[] =
6387 * Machine/OS name selection pattern
6389 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
6392 * content selection pattern - do fix if pattern found
6394 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
6398 * content bypass pattern - skip fix if pattern found
6400 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
6401 "static void getrnge";
6403 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
6404 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
6405 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
6406 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
6409 * Fix Command Arguments for Svr4_Undeclared_Getrnge
6411 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
6414 static int getrnge ();",
6415 "^static int[ \t]+size;",
6418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6420 * Description of Sysv68_String fix
6422 tSCC zSysv68_StringName[] =
6426 * File name selection pattern
6428 tSCC zSysv68_StringList[] =
6429 "|testing.h|string.h|";
6431 * Machine/OS name selection pattern
6433 #define apzSysv68_StringMachs (const char**)NULL
6436 * content bypass pattern - skip fix if pattern found
6438 tSCC zSysv68_StringBypass0[] =
6439 "_CLASSIC_ANSI_TYPES";
6441 #define SYSV68_STRING_TEST_CT 1
6442 static tTestDesc aSysv68_StringTests[] = {
6443 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
6446 * Fix Command Arguments for Sysv68_String
6448 static const char* apzSysv68_StringPatch[] = { "sed",
6449 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
6450 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
6451 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
6452 "-e", "/^extern char$/N",
6453 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
6454 "-e", "/^extern int$/N",
6455 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
6456 "-e", "/^\tstrncmp(),$/N",
6457 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
6458 extern unsigned int\\\n\
6462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6464 * Description of Sysz_Stdlib_For_Sun fix
6466 tSCC zSysz_Stdlib_For_SunName[] =
6467 "sysz_stdlib_for_sun";
6470 * File name selection pattern
6472 tSCC zSysz_Stdlib_For_SunList[] =
6475 * Machine/OS name selection pattern
6477 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
6480 * content selection pattern - do fix if pattern found
6482 tSCC zSysz_Stdlib_For_SunSelect0[] =
6483 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
6486 * content bypass pattern - skip fix if pattern found
6488 tSCC zSysz_Stdlib_For_SunBypass0[] =
6489 "_CLASSIC_ANSI_TYPES";
6491 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
6492 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
6493 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
6494 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
6497 * Fix Command Arguments for Sysz_Stdlib_For_Sun
6499 static const char* apzSysz_Stdlib_For_SunPatch[] = {
6504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6506 * Description of Thread_Keyword fix
6508 tSCC zThread_KeywordName[] =
6512 * File name selection pattern
6514 tSCC zThread_KeywordList[] =
6515 "|pthread.h|bits/sigthread.h|";
6517 * Machine/OS name selection pattern
6519 #define apzThread_KeywordMachs (const char**)NULL
6522 * content selection pattern - do fix if pattern found
6524 tSCC zThread_KeywordSelect0[] =
6525 "([* ])__thread([,)])";
6527 #define THREAD_KEYWORD_TEST_CT 1
6528 static tTestDesc aThread_KeywordTests[] = {
6529 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
6532 * Fix Command Arguments for Thread_Keyword
6534 static const char* apzThread_KeywordPatch[] = {
6539 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6541 * Description of Tinfo_Cplusplus fix
6543 tSCC zTinfo_CplusplusName[] =
6547 * File name selection pattern
6549 tSCC zTinfo_CplusplusList[] =
6552 * Machine/OS name selection pattern
6554 #define apzTinfo_CplusplusMachs (const char**)NULL
6557 * content selection pattern - do fix if pattern found
6559 tSCC zTinfo_CplusplusSelect0[] =
6562 #define TINFO_CPLUSPLUS_TEST_CT 1
6563 static tTestDesc aTinfo_CplusplusTests[] = {
6564 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
6567 * Fix Command Arguments for Tinfo_Cplusplus
6569 static const char* apzTinfo_CplusplusPatch[] = {
6574 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6576 * Description of Ultrix_Atexit_Param fix
6578 tSCC zUltrix_Atexit_ParamName[] =
6579 "ultrix_atexit_param";
6582 * File name selection pattern
6584 tSCC zUltrix_Atexit_ParamList[] =
6587 * Machine/OS name selection pattern
6589 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
6592 * content selection pattern - do fix if pattern found
6594 tSCC zUltrix_Atexit_ParamSelect0[] =
6595 "atexit\\(.*\\(\\)";
6597 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
6598 static tTestDesc aUltrix_Atexit_ParamTests[] = {
6599 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
6602 * Fix Command Arguments for Ultrix_Atexit_Param
6604 static const char* apzUltrix_Atexit_ParamPatch[] = {
6606 "atexit( void (*__func)( void )",
6609 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6611 * Description of Ultrix_Atof_Param fix
6613 tSCC zUltrix_Atof_ParamName[] =
6614 "ultrix_atof_param";
6617 * File name selection pattern
6619 tSCC zUltrix_Atof_ParamList[] =
6622 * Machine/OS name selection pattern
6624 #define apzUltrix_Atof_ParamMachs (const char**)NULL
6627 * content selection pattern - do fix if pattern found
6629 tSCC zUltrix_Atof_ParamSelect0[] =
6630 "atof\\([ \t]*char";
6632 #define ULTRIX_ATOF_PARAM_TEST_CT 1
6633 static tTestDesc aUltrix_Atof_ParamTests[] = {
6634 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
6637 * Fix Command Arguments for Ultrix_Atof_Param
6639 static const char* apzUltrix_Atof_ParamPatch[] = {
6644 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6646 * Description of Ultrix_Const fix
6648 tSCC zUltrix_ConstName[] =
6652 * File name selection pattern
6654 tSCC zUltrix_ConstList[] =
6657 * Machine/OS name selection pattern
6659 #define apzUltrix_ConstMachs (const char**)NULL
6662 * content selection pattern - do fix if pattern found
6664 tSCC zUltrix_ConstSelect0[] =
6665 "perror\\( char \\*";
6667 #define ULTRIX_CONST_TEST_CT 1
6668 static tTestDesc aUltrix_ConstTests[] = {
6669 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
6672 * Fix Command Arguments for Ultrix_Const
6674 static const char* apzUltrix_ConstPatch[] = {
6677 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
6680 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6682 * Description of Ultrix_Const2 fix
6684 tSCC zUltrix_Const2Name[] =
6688 * File name selection pattern
6690 tSCC zUltrix_Const2List[] =
6693 * Machine/OS name selection pattern
6695 #define apzUltrix_Const2Machs (const char**)NULL
6698 * content selection pattern - do fix if pattern found
6700 tSCC zUltrix_Const2Select0[] =
6701 "\\*fopen\\( char \\*";
6703 #define ULTRIX_CONST2_TEST_CT 1
6704 static tTestDesc aUltrix_Const2Tests[] = {
6705 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
6708 * Fix Command Arguments for Ultrix_Const2
6710 static const char* apzUltrix_Const2Patch[] = {
6712 "%1( const char *%3, const char *",
6713 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
6716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6718 * Description of Ultrix_Const3 fix
6720 tSCC zUltrix_Const3Name[] =
6724 * File name selection pattern
6726 tSCC zUltrix_Const3List[] =
6729 * Machine/OS name selection pattern
6731 #define apzUltrix_Const3Machs (const char**)NULL
6734 * content selection pattern - do fix if pattern found
6736 tSCC zUltrix_Const3Select0[] =
6737 "fdopen\\( .*, char \\*";
6739 #define ULTRIX_CONST3_TEST_CT 1
6740 static tTestDesc aUltrix_Const3Tests[] = {
6741 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
6744 * Fix Command Arguments for Ultrix_Const3
6746 static const char* apzUltrix_Const3Patch[] = {
6749 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
6752 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6754 * Description of Ultrix_Fix_Fixproto fix
6756 tSCC zUltrix_Fix_FixprotoName[] =
6757 "ultrix_fix_fixproto";
6760 * File name selection pattern
6762 tSCC zUltrix_Fix_FixprotoList[] =
6765 * Machine/OS name selection pattern
6767 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
6770 * content selection pattern - do fix if pattern found
6772 tSCC zUltrix_Fix_FixprotoSelect0[] =
6775 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
6776 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
6777 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
6780 * Fix Command Arguments for Ultrix_Fix_Fixproto
6782 static const char* apzUltrix_Fix_FixprotoPatch[] = {
6786 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
6789 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6791 * Description of Ultrix_Ifdef fix
6793 tSCC zUltrix_IfdefName[] =
6797 * File name selection pattern
6799 tSCC zUltrix_IfdefList[] =
6802 * Machine/OS name selection pattern
6804 #define apzUltrix_IfdefMachs (const char**)NULL
6807 * content selection pattern - do fix if pattern found
6809 tSCC zUltrix_IfdefSelect0[] =
6810 "^#ifdef KERNEL[ \t]+&&";
6812 #define ULTRIX_IFDEF_TEST_CT 1
6813 static tTestDesc aUltrix_IfdefTests[] = {
6814 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
6817 * Fix Command Arguments for Ultrix_Ifdef
6819 static const char* apzUltrix_IfdefPatch[] = {
6821 "#if defined(KERNEL) &&",
6824 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6826 * Description of Ultrix_Locale fix
6828 tSCC zUltrix_LocaleName[] =
6832 * File name selection pattern
6834 tSCC zUltrix_LocaleList[] =
6837 * Machine/OS name selection pattern
6839 #define apzUltrix_LocaleMachs (const char**)NULL
6842 * content selection pattern - do fix if pattern found
6844 tSCC zUltrix_LocaleSelect0[] =
6845 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
6847 #define ULTRIX_LOCALE_TEST_CT 1
6848 static tTestDesc aUltrix_LocaleTests[] = {
6849 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
6852 * Fix Command Arguments for Ultrix_Locale
6854 static const char* apzUltrix_LocalePatch[] = {
6858 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6860 * Description of Ultrix_Math_Ifdef fix
6862 tSCC zUltrix_Math_IfdefName[] =
6863 "ultrix_math_ifdef";
6866 * File name selection pattern
6868 tSCC zUltrix_Math_IfdefList[] =
6869 "|sys/limits.h|float.h|math.h|";
6871 * Machine/OS name selection pattern
6873 #define apzUltrix_Math_IfdefMachs (const char**)NULL
6876 * content selection pattern - do fix if pattern found
6878 tSCC zUltrix_Math_IfdefSelect0[] =
6879 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
6881 #define ULTRIX_MATH_IFDEF_TEST_CT 1
6882 static tTestDesc aUltrix_Math_IfdefTests[] = {
6883 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
6886 * Fix Command Arguments for Ultrix_Math_Ifdef
6888 static const char* apzUltrix_Math_IfdefPatch[] = {
6893 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6895 * Description of Ultrix_Nested_Ioctl fix
6897 tSCC zUltrix_Nested_IoctlName[] =
6898 "ultrix_nested_ioctl";
6901 * File name selection pattern
6903 tSCC zUltrix_Nested_IoctlList[] =
6906 * Machine/OS name selection pattern
6908 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
6911 * content selection pattern - do fix if pattern found
6913 tSCC zUltrix_Nested_IoctlSelect0[] =
6914 "^/\\* #define SIOCSCREEN";
6916 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
6917 static tTestDesc aUltrix_Nested_IoctlTests[] = {
6918 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
6921 * Fix Command Arguments for Ultrix_Nested_Ioctl
6923 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
6924 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
6927 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6929 * Description of Ultrix_Nested_Svc fix
6931 tSCC zUltrix_Nested_SvcName[] =
6932 "ultrix_nested_svc";
6935 * File name selection pattern
6937 tSCC zUltrix_Nested_SvcList[] =
6940 * Machine/OS name selection pattern
6942 #define apzUltrix_Nested_SvcMachs (const char**)NULL
6945 * content selection pattern - do fix if pattern found
6947 tSCC zUltrix_Nested_SvcSelect0[] =
6948 "^ \\*[ \t]*int protocol; */\\*";
6950 #define ULTRIX_NESTED_SVC_TEST_CT 1
6951 static tTestDesc aUltrix_Nested_SvcTests[] = {
6952 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
6955 * Fix Command Arguments for Ultrix_Nested_Svc
6957 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
6958 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
6961 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6963 * Description of Ultrix_Stat fix
6965 tSCC zUltrix_StatName[] =
6969 * File name selection pattern
6971 tSCC zUltrix_StatList[] =
6974 * Machine/OS name selection pattern
6976 #define apzUltrix_StatMachs (const char**)NULL
6979 * content selection pattern - do fix if pattern found
6981 tSCC zUltrix_StatSelect0[] =
6982 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
6984 #define ULTRIX_STAT_TEST_CT 1
6985 static tTestDesc aUltrix_StatTests[] = {
6986 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
6989 * Fix Command Arguments for Ultrix_Stat
6991 static const char* apzUltrix_StatPatch[] = { "sed",
6992 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
6994 /* macro to test for symbolic link */\\\n\
6995 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
6996 "-e", "/^[ \t]*fstat(),$/a\\\n\
7000 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7002 * Description of Ultrix_Static fix
7004 tSCC zUltrix_StaticName[] =
7008 * File name selection pattern
7010 tSCC zUltrix_StaticList[] =
7013 * Machine/OS name selection pattern
7015 #define apzUltrix_StaticMachs (const char**)NULL
7018 * content selection pattern - do fix if pattern found
7020 tSCC zUltrix_StaticSelect0[] =
7021 "#include \"r[34]_cpu";
7023 #define ULTRIX_STATIC_TEST_CT 1
7024 static tTestDesc aUltrix_StaticTests[] = {
7025 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
7028 * Fix Command Arguments for Ultrix_Static
7030 static const char* apzUltrix_StaticPatch[] = { "sed",
7031 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
7032 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
7033 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
7036 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7038 * Description of Ultrix_Stdlib fix
7040 tSCC zUltrix_StdlibName[] =
7044 * File name selection pattern
7046 tSCC zUltrix_StdlibList[] =
7049 * Machine/OS name selection pattern
7051 #define apzUltrix_StdlibMachs (const char**)NULL
7054 * content selection pattern - do fix if pattern found
7056 tSCC zUltrix_StdlibSelect0[] =
7057 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
7059 #define ULTRIX_STDLIB_TEST_CT 1
7060 static tTestDesc aUltrix_StdlibTests[] = {
7061 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
7064 * Fix Command Arguments for Ultrix_Stdlib
7066 static const char* apzUltrix_StdlibPatch[] = { "sed",
7067 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
7068 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
7069 void\t\tunsetenv( const char *__name );\\\n\
7070 int\t\tputenv( char *__s );\n",
7071 "-e", "/^char.*getenv();.*$/a\\\n\
7073 void\tunsetenv();\\\n\
7077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7079 * Description of Ultrix_Strings fix
7081 tSCC zUltrix_StringsName[] =
7085 * File name selection pattern
7087 tSCC zUltrix_StringsList[] =
7090 * Machine/OS name selection pattern
7092 #define apzUltrix_StringsMachs (const char**)NULL
7095 * content selection pattern - do fix if pattern found
7097 tSCC zUltrix_StringsSelect0[] =
7098 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7100 #define ULTRIX_STRINGS_TEST_CT 1
7101 static tTestDesc aUltrix_StringsTests[] = {
7102 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
7105 * Fix Command Arguments for Ultrix_Strings
7107 static const char* apzUltrix_StringsPatch[] = {
7111 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7113 * Description of Ultrix_Strings2 fix
7115 tSCC zUltrix_Strings2Name[] =
7119 * File name selection pattern
7121 tSCC zUltrix_Strings2List[] =
7124 * Machine/OS name selection pattern
7126 #define apzUltrix_Strings2Machs (const char**)NULL
7129 * content selection pattern - do fix if pattern found
7131 tSCC zUltrix_Strings2Select0[] =
7132 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
7134 #define ULTRIX_STRINGS2_TEST_CT 1
7135 static tTestDesc aUltrix_Strings2Tests[] = {
7136 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
7139 * Fix Command Arguments for Ultrix_Strings2
7141 static const char* apzUltrix_Strings2Patch[] = { "sed",
7142 "-e", "/^.*strncmp( const .* );.*/a\\\n\
7145 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
7146 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
7147 "-e", "/^.*strncmp();.*/a\\\n\
7149 \tstrcasecmp(),\\\n\
7150 \tstrncasecmp();\n",
7153 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7155 * Description of Ultrix_Sys_Time fix
7157 tSCC zUltrix_Sys_TimeName[] =
7161 * File name selection pattern
7163 tSCC zUltrix_Sys_TimeList[] =
7166 * Machine/OS name selection pattern
7168 #define apzUltrix_Sys_TimeMachs (const char**)NULL
7171 * content selection pattern - do fix if pattern found
7173 tSCC zUltrix_Sys_TimeSelect0[] =
7174 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
7176 #define ULTRIX_SYS_TIME_TEST_CT 1
7177 static tTestDesc aUltrix_Sys_TimeTests[] = {
7178 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
7181 * Fix Command Arguments for Ultrix_Sys_Time
7183 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
7184 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
7186 extern int adjtime(struct timeval *, struct timeval *);\\\n\
7187 extern int getitimer(int, struct itimerval *);\\\n\
7188 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
7189 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
7190 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
7191 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
7192 extern int stime(const time_t *);\\\n\
7193 extern int utimes(const char *, const struct timeval[2]);\\\n\
7194 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
7195 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
7196 extern\tint adjtime();\\\n\
7197 extern\tint getitimer();\\\n\
7198 extern\tint setitimer();\\\n\
7199 extern\tint gettimeofday();\\\n\
7200 extern\tint settimeofday();\\\n\
7201 extern\tvoid profil();\\\n\
7202 extern\tint stime();\\\n\
7203 extern\tint utimes();\\\n\
7204 extern\tint select();\n",
7207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7209 * Description of Ultrix_Unistd fix
7211 tSCC zUltrix_UnistdName[] =
7215 * File name selection pattern
7217 tSCC zUltrix_UnistdList[] =
7220 * Machine/OS name selection pattern
7222 #define apzUltrix_UnistdMachs (const char**)NULL
7225 * content selection pattern - do fix if pattern found
7227 tSCC zUltrix_UnistdSelect0[] =
7228 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
7230 #define ULTRIX_UNISTD_TEST_CT 1
7231 static tTestDesc aUltrix_UnistdTests[] = {
7232 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
7235 * Fix Command Arguments for Ultrix_Unistd
7237 static const char* apzUltrix_UnistdPatch[] = { "sed",
7238 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
7239 \tgetpagesize(),\n",
7240 "-e", "/^[ \t]*fork(),.*$/a\\\n\
7244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7246 * Description of Unicosmk_Restrict fix
7248 tSCC zUnicosmk_RestrictName[] =
7249 "unicosmk_restrict";
7252 * File name selection pattern
7254 tSCC zUnicosmk_RestrictList[] =
7255 "|stdio.h|stdlib.h|wchar.h|";
7257 * Machine/OS name selection pattern
7259 tSCC* apzUnicosmk_RestrictMachs[] = {
7261 (const char*)NULL };
7264 * content selection pattern - do fix if pattern found
7266 tSCC zUnicosmk_RestrictSelect0[] =
7267 "(\\*[ \t]*)restrict([ \t]+)";
7269 #define UNICOSMK_RESTRICT_TEST_CT 1
7270 static tTestDesc aUnicosmk_RestrictTests[] = {
7271 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
7274 * Fix Command Arguments for Unicosmk_Restrict
7276 static const char* apzUnicosmk_RestrictPatch[] = {
7281 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7283 * Description of Uw7_Byteorder_Fix fix
7285 tSCC zUw7_Byteorder_FixName[] =
7286 "uw7_byteorder_fix";
7289 * File name selection pattern
7291 tSCC zUw7_Byteorder_FixList[] =
7294 * Machine/OS name selection pattern
7296 tSCC* apzUw7_Byteorder_FixMachs[] = {
7300 "i?86-*-solaris2.[0-4]",
7301 "powerpcle-*-solaris2.[0-4]",
7302 "sparc-*-solaris2.[0-4]",
7303 (const char*)NULL };
7306 * content selection pattern - do fix if pattern found
7308 tSCC zUw7_Byteorder_FixSelect0[] =
7312 * perform the 'test' shell command - do fix on success
7314 tSCC zUw7_Byteorder_FixTest0[] =
7315 "-f sys/byteorder.h";
7317 #define UW7_BYTEORDER_FIX_TEST_CT 2
7318 static tTestDesc aUw7_Byteorder_FixTests[] = {
7319 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
7320 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
7323 * Fix Command Arguments for Uw7_Byteorder_Fix
7325 static const char* apzUw7_Byteorder_FixPatch[] = {
7328 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
7331 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7333 * Description of Va_I960_Macro fix
7335 tSCC zVa_I960_MacroName[] =
7339 * File name selection pattern
7341 tSCC zVa_I960_MacroList[] =
7342 "|arch/i960/archI960.h|";
7344 * Machine/OS name selection pattern
7346 #define apzVa_I960_MacroMachs (const char**)NULL
7349 * content selection pattern - do fix if pattern found
7351 tSCC zVa_I960_MacroSelect0[] =
7352 "__(vsiz|vali|vpad|alignof__)";
7354 #define VA_I960_MACRO_TEST_CT 1
7355 static tTestDesc aVa_I960_MacroTests[] = {
7356 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
7359 * Fix Command Arguments for Va_I960_Macro
7361 static const char* apzVa_I960_MacroPatch[] = {
7366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7368 * Description of Void_Null fix
7370 tSCC zVoid_NullName[] =
7374 * File name selection pattern
7376 tSCC zVoid_NullList[] =
7377 "|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|";
7379 * Machine/OS name selection pattern
7381 #define apzVoid_NullMachs (const char**)NULL
7384 * content selection pattern - do fix if pattern found
7386 tSCC zVoid_NullSelect0[] =
7387 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
7390 * content bypass pattern - skip fix if pattern found
7392 tSCC zVoid_NullBypass0[] =
7395 #define VOID_NULL_TEST_CT 2
7396 static tTestDesc aVoid_NullTests[] = {
7397 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
7398 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
7401 * Fix Command Arguments for Void_Null
7403 static const char* apzVoid_NullPatch[] = {
7408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7410 * Description of Vxworks_Gcc_Problem fix
7412 tSCC zVxworks_Gcc_ProblemName[] =
7413 "vxworks_gcc_problem";
7416 * File name selection pattern
7418 tSCC zVxworks_Gcc_ProblemList[] =
7419 "|types/vxTypesBase.h|";
7421 * Machine/OS name selection pattern
7423 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
7426 * content selection pattern - do fix if pattern found
7428 tSCC zVxworks_Gcc_ProblemSelect0[] =
7429 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
7431 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
7432 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
7433 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
7436 * Fix Command Arguments for Vxworks_Gcc_Problem
7438 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
7439 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
7440 "-e", "/[ \t]size_t/i\\\n\
7441 #ifndef _GCC_SIZE_T\\\n\
7442 #define _GCC_SIZE_T\n",
7443 "-e", "/[ \t]size_t/a\\\n\
7445 "-e", "/[ \t]ptrdiff_t/i\\\n\
7446 #ifndef _GCC_PTRDIFF_T\\\n\
7447 #define _GCC_PTRDIFF_T\n",
7448 "-e", "/[ \t]ptrdiff_t/a\\\n\
7450 "-e", "/[ \t]wchar_t/i\\\n\
7451 #ifndef _GCC_WCHAR_T\\\n\
7452 #define _GCC_WCHAR_T\n",
7453 "-e", "/[ \t]wchar_t/a\\\n\
7457 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7459 * Description of Vxworks_Needs_Vxtypes fix
7461 tSCC zVxworks_Needs_VxtypesName[] =
7462 "vxworks_needs_vxtypes";
7465 * File name selection pattern
7467 tSCC zVxworks_Needs_VxtypesList[] =
7470 * Machine/OS name selection pattern
7472 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
7475 * content selection pattern - do fix if pattern found
7477 tSCC zVxworks_Needs_VxtypesSelect0[] =
7478 "uint_t([ \t]+_clocks_per_sec)";
7480 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
7481 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
7482 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
7485 * Fix Command Arguments for Vxworks_Needs_Vxtypes
7487 static const char* apzVxworks_Needs_VxtypesPatch[] = {
7492 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7494 * Description of Vxworks_Needs_Vxworks fix
7496 tSCC zVxworks_Needs_VxworksName[] =
7497 "vxworks_needs_vxworks";
7500 * File name selection pattern
7502 tSCC zVxworks_Needs_VxworksList[] =
7505 * Machine/OS name selection pattern
7507 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
7510 * content selection pattern - do fix if pattern found
7512 tSCC zVxworks_Needs_VxworksSelect0[] =
7513 "#[ \t]define[ \t]+__INCstath";
7516 * perform the 'test' shell command - do fix on success
7518 tSCC zVxworks_Needs_VxworksTest0[] =
7519 " -r types/vxTypesOld.h";
7520 tSCC zVxworks_Needs_VxworksTest1[] =
7521 " -n \"`egrep '#include' $file`\"";
7522 tSCC zVxworks_Needs_VxworksTest2[] =
7523 " -n \"`egrep ULONG $file`\"";
7525 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
7526 static tTestDesc aVxworks_Needs_VxworksTests[] = {
7527 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
7528 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
7529 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
7530 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
7533 * Fix Command Arguments for Vxworks_Needs_Vxworks
7535 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
7536 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
7537 #include <types/vxTypesOld.h>\n",
7540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7542 * Description of Vxworks_Time fix
7544 tSCC zVxworks_TimeName[] =
7548 * File name selection pattern
7550 tSCC zVxworks_TimeList[] =
7553 * Machine/OS name selection pattern
7555 #define apzVxworks_TimeMachs (const char**)NULL
7558 * content selection pattern - do fix if pattern found
7560 tSCC zVxworks_TimeSelect0[] =
7561 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
7564 * perform the 'test' shell command - do fix on success
7566 tSCC zVxworks_TimeTest0[] =
7569 #define VXWORKS_TIME_TEST_CT 2
7570 static tTestDesc aVxworks_TimeTests[] = {
7571 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
7572 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
7575 * Fix Command Arguments for Vxworks_Time
7577 static const char* apzVxworks_TimePatch[] = {
7579 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
7580 #ifdef __cplusplus\n\
7581 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
7583 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
7585 #define __gcc_VOIDFUNCPTR_defined\n\
7587 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
7590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7592 * Description of Windiss_Math1 fix
7594 tSCC zWindiss_Math1Name[] =
7598 * File name selection pattern
7600 tSCC zWindiss_Math1List[] =
7603 * Machine/OS name selection pattern
7605 tSCC* apzWindiss_Math1Machs[] = {
7607 (const char*)NULL };
7608 #define WINDISS_MATH1_TEST_CT 0
7609 #define aWindiss_Math1Tests (tTestDesc*)NULL
7612 * Fix Command Arguments for Windiss_Math1
7614 static const char* apzWindiss_Math1Patch[] = { "sed",
7615 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
7618 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7620 * Description of Windiss_Math2 fix
7622 tSCC zWindiss_Math2Name[] =
7626 * File name selection pattern
7628 tSCC zWindiss_Math2List[] =
7631 * Machine/OS name selection pattern
7633 tSCC* apzWindiss_Math2Machs[] = {
7635 (const char*)NULL };
7636 #define WINDISS_MATH2_TEST_CT 0
7637 #define aWindiss_Math2Tests (tTestDesc*)NULL
7640 * Fix Command Arguments for Windiss_Math2
7642 static const char* apzWindiss_Math2Patch[] = { "sed",
7643 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
7646 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7648 * Description of Windiss_Valist fix
7650 tSCC zWindiss_ValistName[] =
7654 * File name selection pattern
7656 #define zWindiss_ValistList (char*)NULL
7658 * Machine/OS name selection pattern
7660 tSCC* apzWindiss_ValistMachs[] = {
7662 (const char*)NULL };
7665 * content selection pattern - do fix if pattern found
7667 tSCC zWindiss_ValistSelect0[] =
7668 "(#include.*)diab/va_list.h";
7670 #define WINDISS_VALIST_TEST_CT 1
7671 static tTestDesc aWindiss_ValistTests[] = {
7672 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
7675 * Fix Command Arguments for Windiss_Valist
7677 static const char* apzWindiss_ValistPatch[] = { "sed",
7678 "-e", "s|diab/va_list.h|stdarg.h|",
7681 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7683 * Description of X11_Class fix
7685 tSCC zX11_ClassName[] =
7689 * File name selection pattern
7691 tSCC zX11_ClassList[] =
7694 * Machine/OS name selection pattern
7696 #define apzX11_ClassMachs (const char**)NULL
7699 * content selection pattern - do fix if pattern found
7701 tSCC zX11_ClassSelect0[] =
7702 "^([ \t]*char \\*)class;(.*)";
7705 * content bypass pattern - skip fix if pattern found
7707 tSCC zX11_ClassBypass0[] =
7710 #define X11_CLASS_TEST_CT 2
7711 static tTestDesc aX11_ClassTests[] = {
7712 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
7713 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
7716 * Fix Command Arguments for X11_Class
7718 static const char* apzX11_ClassPatch[] = {
7720 "#ifdef __cplusplus\n\
7727 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7729 * Description of X11_Class_Usage fix
7731 tSCC zX11_Class_UsageName[] =
7735 * File name selection pattern
7737 tSCC zX11_Class_UsageList[] =
7738 "|Xm/BaseClassI.h|";
7740 * Machine/OS name selection pattern
7742 #define apzX11_Class_UsageMachs (const char**)NULL
7745 * content selection pattern - do fix if pattern found
7747 tSCC zX11_Class_UsageSelect0[] =
7751 * content bypass pattern - skip fix if pattern found
7753 tSCC zX11_Class_UsageBypass0[] =
7756 #define X11_CLASS_USAGE_TEST_CT 2
7757 static tTestDesc aX11_Class_UsageTests[] = {
7758 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
7759 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
7762 * Fix Command Arguments for X11_Class_Usage
7764 static const char* apzX11_Class_UsagePatch[] = {
7769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7771 * Description of X11_New fix
7773 tSCC zX11_NewName[] =
7777 * File name selection pattern
7779 tSCC zX11_NewList[] =
7782 * Machine/OS name selection pattern
7784 #define apzX11_NewMachs (const char**)NULL
7787 * content bypass pattern - skip fix if pattern found
7789 tSCC zX11_NewBypass0[] =
7792 #define X11_NEW_TEST_CT 1
7793 static tTestDesc aX11_NewTests[] = {
7794 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
7797 * Fix Command Arguments for X11_New
7799 static const char* apzX11_NewPatch[] = { "sed",
7800 "-e", "/Widget\told, new;/i\\\n\
7801 #ifdef __cplusplus\\\n\
7802 \tWidget\told, c_new;\\\n\
7804 "-e", "/Widget\told, new;/a\\\n\
7806 "-e", "s/Widget new,/Widget c_new,/g",
7809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7811 * Description of X11_Sprintf fix
7813 tSCC zX11_SprintfName[] =
7817 * File name selection pattern
7819 tSCC zX11_SprintfList[] =
7820 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
7822 * Machine/OS name selection pattern
7824 #define apzX11_SprintfMachs (const char**)NULL
7827 * content selection pattern - do fix if pattern found
7829 tSCC zX11_SprintfSelect0[] =
7830 "^extern char \\*\tsprintf\\(\\);$";
7832 #define X11_SPRINTF_TEST_CT 1
7833 static tTestDesc aX11_SprintfTests[] = {
7834 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
7837 * Fix Command Arguments for X11_Sprintf
7839 static const char* apzX11_SprintfPatch[] = {
7841 "#ifndef __STDC__\n\
7843 #endif /* !defined __STDC__ */",
7847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7851 #define REGEX_COUNT 235
7852 #define MACH_LIST_SIZE_LIMIT 261
7853 #define FIX_COUNT 193
7856 * Enumerate the fixes
7859 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
7860 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
7861 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
7862 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
7863 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
7864 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
7865 AAB_SUN_MEMCPY_FIXIDX,
7866 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
7867 AAB_ULTRIX_LIMITS_FIXIDX,
7868 AAB_ULTRIX_MEMORY_FIXIDX,
7869 AAB_ULTRIX_STRING_FIXIDX,
7871 AIX_SYSMACHINE_FIXIDX,
7873 AIX_SYSWAIT_2_FIXIDX,
7874 AIX_VOLATILE_FIXIDX,
7875 ALPHA___ASSERT_FIXIDX,
7876 ALPHA___EXTERN_PREFIX_FIXIDX,
7877 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
7878 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
7879 ALPHA_ASSERT_FIXIDX,
7880 ALPHA_BAD_LVAL_FIXIDX,
7881 ALPHA_GETOPT_FIXIDX,
7882 ALPHA_PARENS_FIXIDX,
7883 ALPHA_PTHREAD_FIXIDX,
7884 ALPHA_PTHREAD_GCC_FIXIDX,
7885 ALPHA_PTHREAD_INIT_FIXIDX,
7888 AVOID_BOOL_DEFINE_FIXIDX,
7889 AVOID_BOOL_TYPE_FIXIDX,
7890 AVOID_WCHAR_T_TYPE_FIXIDX,
7891 BAD_STRUCT_TERM_FIXIDX,
7893 BROKEN_ASSERT_STDIO_FIXIDX,
7894 BROKEN_ASSERT_STDLIB_FIXIDX,
7896 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
7897 CTRL_QUOTES_DEF_FIXIDX,
7898 CTRL_QUOTES_USE_FIXIDX,
7900 DARWIN_GCC4_BREAKAGE_FIXIDX,
7901 DARWIN_PRIVATE_EXTERN_FIXIDX,
7902 DEC_INTERN_ASM_FIXIDX,
7903 DJGPP_WCHAR_H_FIXIDX,
7905 EXCEPTION_STRUCTURE_FIXIDX,
7906 FREEBSD_GCC3_BREAKAGE_FIXIDX,
7907 FREEBSD_GCC4_BREAKAGE_FIXIDX,
7911 HPUX10_CPP_POW_INLINE_FIXIDX,
7912 HPUX11_CPP_POW_INLINE_FIXIDX,
7913 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
7914 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
7915 HPUX10_STDIO_DECLARATIONS_FIXIDX,
7917 HPUX11_FABSF_FIXIDX,
7918 HPUX11_SIZE_T_FIXIDX,
7919 HPUX11_SNPRINTF_FIXIDX,
7920 HPUX11_UINT32_C_FIXIDX,
7921 HPUX11_VSNPRINTF_FIXIDX,
7922 HPUX8_BOGUS_INLINES_FIXIDX,
7923 HPUX_CTYPE_MACROS_FIXIDX,
7925 HPUX_LONG_DOUBLE_FIXIDX,
7926 HPUX_SYSTIME_FIXIDX,
7927 HUGE_VAL_HEX_FIXIDX,
7928 HUGE_VALF_HEX_FIXIDX,
7929 HUGE_VALL_HEX_FIXIDX,
7930 INT_ABORT_FREE_AND_EXIT_FIXIDX,
7931 IO_QUOTES_DEF_FIXIDX,
7932 IO_QUOTES_USE_FIXIDX,
7933 IP_MISSING_SEMI_FIXIDX,
7934 IRIX___RESTRICT_FIXIDX,
7935 IRIX___GENERIC1_FIXIDX,
7936 IRIX___GENERIC2_FIXIDX,
7937 IRIX_ASM_APOSTROPHE_FIXIDX,
7938 IRIX_LIMITS_CONST_FIXIDX,
7939 IRIX_SOCKLEN_T_FIXIDX,
7940 IRIX_STDIO_VA_LIST_FIXIDX,
7941 IRIX_WCSFTIME_FIXIDX,
7943 ISC_OMITS_WITH_STDC_FIXIDX,
7944 KANDR_CONCAT_FIXIDX,
7945 LIBC1_G_VA_LIST_FIXIDX,
7946 LIBC1_IFDEFD_MEMX_FIXIDX,
7947 LINUX_IA64_UCONTEXT_FIXIDX,
7948 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
7949 LYNXOS_MISSING_PUTENV_FIXIDX,
7950 MACHINE_ANSI_H_VA_LIST_FIXIDX,
7951 MACHINE_NAME_FIXIDX,
7952 MATH_EXCEPTION_FIXIDX,
7953 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
7954 NESTED_AUTH_DES_FIXIDX,
7955 NESTED_MOTOROLA_FIXIDX,
7956 NESTED_SYS_LIMITS_FIXIDX,
7957 NETBSD_EXTRA_SEMICOLON_FIXIDX,
7958 NEXT_MATH_PREFIX_FIXIDX,
7959 NEXT_TEMPLATE_FIXIDX,
7960 NEXT_VOLITILE_FIXIDX,
7961 NEXT_WAIT_UNION_FIXIDX,
7962 NODEENT_SYNTAX_FIXIDX,
7963 OBSTACK_LVALUE_CAST_FIXIDX,
7964 OSF_NAMESPACE_A_FIXIDX,
7965 OSF_NAMESPACE_C_FIXIDX,
7966 PTHREAD_PAGE_SIZE_FIXIDX,
7967 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
7968 READ_RET_TYPE_FIXIDX,
7969 RPC_XDR_LVALUE_CAST_A_FIXIDX,
7970 RPC_XDR_LVALUE_CAST_B_FIXIDX,
7971 RS6000_DOUBLE_FIXIDX,
7972 RS6000_FCHMOD_FIXIDX,
7973 RS6000_PARAM_FIXIDX,
7976 SCO_STATIC_FUNC_FIXIDX,
7978 SOLARIS_MATH_1_FIXIDX,
7979 SOLARIS_MATH_2_FIXIDX,
7980 SOLARIS_MATH_3_FIXIDX,
7981 SOLARIS_MATH_4_FIXIDX,
7982 SOLARIS_MATH_5_FIXIDX,
7983 SOLARIS_MATH_6_FIXIDX,
7984 SOLARIS_MATH_7_FIXIDX,
7985 SOLARIS_MATH_8_FIXIDX,
7986 SOLARIS_MATH_9_FIXIDX,
7987 SOLARIS_MUTEX_INIT_1_FIXIDX,
7988 SOLARIS_MUTEX_INIT_2_FIXIDX,
7989 SOLARIS_SOCKET_FIXIDX,
7990 SOLARIS_STDIO_TAG_FIXIDX,
7991 SOLARIS_UNISTD_FIXIDX,
7992 SOLARIS_WIDEC_FIXIDX,
7994 STDIO_STDARG_H_FIXIDX,
7995 STDIO_VA_LIST_FIXIDX,
7996 STDIO_VA_LIST_CLIENTS_FIXIDX,
7997 STRICT_ANSI_NOT_FIXIDX,
7998 STRICT_ANSI_NOT_CTD_FIXIDX,
7999 STRICT_ANSI_ONLY_FIXIDX,
8001 STRUCT_SOCKADDR_FIXIDX,
8002 SUN_AUTH_PROTO_FIXIDX,
8003 SUN_BOGUS_IFDEF_FIXIDX,
8004 SUN_CATMACRO_FIXIDX,
8006 SUN_RUSERS_SEMI_FIXIDX,
8008 SUNOS_STRLEN_FIXIDX,
8009 SVR4_DISABLE_OPT_FIXIDX,
8013 SVR4_SIGHANDLER_TYPE_FIXIDX,
8014 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8015 SYSV68_STRING_FIXIDX,
8016 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8017 THREAD_KEYWORD_FIXIDX,
8018 TINFO_CPLUSPLUS_FIXIDX,
8019 ULTRIX_ATEXIT_PARAM_FIXIDX,
8020 ULTRIX_ATOF_PARAM_FIXIDX,
8021 ULTRIX_CONST_FIXIDX,
8022 ULTRIX_CONST2_FIXIDX,
8023 ULTRIX_CONST3_FIXIDX,
8024 ULTRIX_FIX_FIXPROTO_FIXIDX,
8025 ULTRIX_IFDEF_FIXIDX,
8026 ULTRIX_LOCALE_FIXIDX,
8027 ULTRIX_MATH_IFDEF_FIXIDX,
8028 ULTRIX_NESTED_IOCTL_FIXIDX,
8029 ULTRIX_NESTED_SVC_FIXIDX,
8031 ULTRIX_STATIC_FIXIDX,
8032 ULTRIX_STDLIB_FIXIDX,
8033 ULTRIX_STRINGS_FIXIDX,
8034 ULTRIX_STRINGS2_FIXIDX,
8035 ULTRIX_SYS_TIME_FIXIDX,
8036 ULTRIX_UNISTD_FIXIDX,
8037 UNICOSMK_RESTRICT_FIXIDX,
8038 UW7_BYTEORDER_FIX_FIXIDX,
8039 VA_I960_MACRO_FIXIDX,
8041 VXWORKS_GCC_PROBLEM_FIXIDX,
8042 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8043 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8044 VXWORKS_TIME_FIXIDX,
8045 WINDISS_MATH1_FIXIDX,
8046 WINDISS_MATH2_FIXIDX,
8047 WINDISS_VALIST_FIXIDX,
8049 X11_CLASS_USAGE_FIXIDX,
8054 tFixDesc fixDescList[ FIX_COUNT ] = {
8055 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8056 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8057 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8058 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8060 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8061 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8062 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8063 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8065 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8066 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8067 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8068 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8070 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8071 apzAab_Fd_Zero_Gnu_Types_HMachs,
8072 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8073 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8075 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8076 apzAab_Fd_Zero_Selectbits_HMachs,
8077 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8078 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8080 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8081 apzAab_Solaris_Sys_Varargs_HMachs,
8082 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8083 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8085 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8086 apzAab_Sun_MemcpyMachs,
8087 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8088 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8090 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
8091 apzAab_Ultrix_Ansi_CompatMachs,
8092 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8093 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
8095 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
8096 apzAab_Ultrix_LimitsMachs,
8097 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8098 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
8100 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
8101 apzAab_Ultrix_MemoryMachs,
8102 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8103 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
8105 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
8106 apzAab_Ultrix_StringMachs,
8107 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8108 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
8110 { zAix_PthreadName, zAix_PthreadList,
8111 apzAix_PthreadMachs,
8112 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8113 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8115 { zAix_SysmachineName, zAix_SysmachineList,
8116 apzAix_SysmachineMachs,
8117 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8118 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8120 { zAix_SyswaitName, zAix_SyswaitList,
8121 apzAix_SyswaitMachs,
8122 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8123 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
8125 { zAix_Syswait_2Name, zAix_Syswait_2List,
8126 apzAix_Syswait_2Machs,
8127 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8128 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8130 { zAix_VolatileName, zAix_VolatileList,
8131 apzAix_VolatileMachs,
8132 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8133 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8135 { zAlpha___AssertName, zAlpha___AssertList,
8136 apzAlpha___AssertMachs,
8137 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8138 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8140 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8141 apzAlpha___Extern_PrefixMachs,
8142 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8143 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8145 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8146 apzAlpha___Extern_Prefix_StandardsMachs,
8147 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8148 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8150 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8151 apzAlpha___Extern_Prefix_Sys_StatMachs,
8152 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8153 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8155 { zAlpha_AssertName, zAlpha_AssertList,
8156 apzAlpha_AssertMachs,
8157 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8158 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8160 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8161 apzAlpha_Bad_LvalMachs,
8162 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8163 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8165 { zAlpha_GetoptName, zAlpha_GetoptList,
8166 apzAlpha_GetoptMachs,
8167 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8168 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8170 { zAlpha_ParensName, zAlpha_ParensList,
8171 apzAlpha_ParensMachs,
8172 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8173 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8175 { zAlpha_PthreadName, zAlpha_PthreadList,
8176 apzAlpha_PthreadMachs,
8177 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8178 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8180 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8181 apzAlpha_Pthread_GccMachs,
8182 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8183 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8185 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8186 apzAlpha_Pthread_InitMachs,
8187 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8188 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8190 { zAlpha_SbrkName, zAlpha_SbrkList,
8192 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8193 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8195 { zAlpha_WcharName, zAlpha_WcharList,
8196 apzAlpha_WcharMachs,
8197 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8198 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8200 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8201 apzAvoid_Bool_DefineMachs,
8202 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8203 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8205 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8206 apzAvoid_Bool_TypeMachs,
8207 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8208 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
8210 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
8211 apzAvoid_Wchar_T_TypeMachs,
8212 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8213 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
8215 { zBad_Struct_TermName, zBad_Struct_TermList,
8216 apzBad_Struct_TermMachs,
8217 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8218 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
8220 { zBadquoteName, zBadquoteList,
8222 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8223 aBadquoteTests, apzBadquotePatch, 0 },
8225 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
8226 apzBroken_Assert_StdioMachs,
8227 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8228 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
8230 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
8231 apzBroken_Assert_StdlibMachs,
8232 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8233 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
8235 { zBroken_CabsName, zBroken_CabsList,
8236 apzBroken_CabsMachs,
8237 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8238 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
8240 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
8241 apzBsd_Stdio_Attrs_ConflictMachs,
8242 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8243 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
8245 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
8246 apzCtrl_Quotes_DefMachs,
8247 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8248 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
8250 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
8251 apzCtrl_Quotes_UseMachs,
8252 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8253 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
8255 { zCxx_UnreadyName, zCxx_UnreadyList,
8256 apzCxx_UnreadyMachs,
8257 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8258 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
8260 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
8261 apzDarwin_Gcc4_BreakageMachs,
8262 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8263 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
8265 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
8266 apzDarwin_Private_ExternMachs,
8267 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8268 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
8270 { zDec_Intern_AsmName, zDec_Intern_AsmList,
8271 apzDec_Intern_AsmMachs,
8272 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
8273 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
8275 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
8276 apzDjgpp_Wchar_HMachs,
8277 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8278 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
8280 { zEcd_CursorName, zEcd_CursorList,
8282 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8283 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
8285 { zException_StructureName, zException_StructureList,
8286 apzException_StructureMachs,
8287 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8288 aException_StructureTests, apzException_StructurePatch, 0 },
8290 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
8291 apzFreebsd_Gcc3_BreakageMachs,
8292 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8293 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
8295 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
8296 apzFreebsd_Gcc4_BreakageMachs,
8297 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8298 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
8300 { zGnu_TypesName, zGnu_TypesList,
8302 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8303 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
8305 { zHp_InlineName, zHp_InlineList,
8307 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8308 aHp_InlineTests, apzHp_InlinePatch, 0 },
8310 { zHp_SysfileName, zHp_SysfileList,
8312 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8313 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
8315 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
8316 apzHpux10_Cpp_Pow_InlineMachs,
8317 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8318 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
8320 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
8321 apzHpux11_Cpp_Pow_InlineMachs,
8322 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8323 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
8325 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
8326 apzHpux10_Ctype_Declarations1Machs,
8327 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8328 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
8330 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
8331 apzHpux10_Ctype_Declarations2Machs,
8332 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8333 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
8335 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
8336 apzHpux10_Stdio_DeclarationsMachs,
8337 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8338 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
8340 { zHpux11_AbsName, zHpux11_AbsList,
8342 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8343 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
8345 { zHpux11_FabsfName, zHpux11_FabsfList,
8346 apzHpux11_FabsfMachs,
8347 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8348 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
8350 { zHpux11_Size_TName, zHpux11_Size_TList,
8351 apzHpux11_Size_TMachs,
8352 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8353 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
8355 { zHpux11_SnprintfName, zHpux11_SnprintfList,
8356 apzHpux11_SnprintfMachs,
8357 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8358 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
8360 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
8361 apzHpux11_Uint32_CMachs,
8362 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8363 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
8365 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
8366 apzHpux11_VsnprintfMachs,
8367 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8368 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
8370 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
8371 apzHpux8_Bogus_InlinesMachs,
8372 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
8373 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
8375 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
8376 apzHpux_Ctype_MacrosMachs,
8377 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8378 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
8380 { zHpux_HtonlName, zHpux_HtonlList,
8382 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8383 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
8385 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
8386 apzHpux_Long_DoubleMachs,
8387 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
8388 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
8390 { zHpux_SystimeName, zHpux_SystimeList,
8391 apzHpux_SystimeMachs,
8392 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8393 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
8395 { zHuge_Val_HexName, zHuge_Val_HexList,
8396 apzHuge_Val_HexMachs,
8397 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8398 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
8400 { zHuge_Valf_HexName, zHuge_Valf_HexList,
8401 apzHuge_Valf_HexMachs,
8402 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8403 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
8405 { zHuge_Vall_HexName, zHuge_Vall_HexList,
8406 apzHuge_Vall_HexMachs,
8407 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8408 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
8410 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
8411 apzInt_Abort_Free_And_ExitMachs,
8412 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8413 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
8415 { zIo_Quotes_DefName, zIo_Quotes_DefList,
8416 apzIo_Quotes_DefMachs,
8417 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8418 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
8420 { zIo_Quotes_UseName, zIo_Quotes_UseList,
8421 apzIo_Quotes_UseMachs,
8422 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8423 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
8425 { zIp_Missing_SemiName, zIp_Missing_SemiList,
8426 apzIp_Missing_SemiMachs,
8427 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
8428 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
8430 { zIrix___RestrictName, zIrix___RestrictList,
8431 apzIrix___RestrictMachs,
8432 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8433 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
8435 { zIrix___Generic1Name, zIrix___Generic1List,
8436 apzIrix___Generic1Machs,
8437 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8438 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
8440 { zIrix___Generic2Name, zIrix___Generic2List,
8441 apzIrix___Generic2Machs,
8442 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8443 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
8445 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
8446 apzIrix_Asm_ApostropheMachs,
8447 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8448 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
8450 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
8451 apzIrix_Limits_ConstMachs,
8452 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8453 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
8455 { zIrix_Socklen_TName, zIrix_Socklen_TList,
8456 apzIrix_Socklen_TMachs,
8457 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8458 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
8460 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
8461 apzIrix_Stdio_Va_ListMachs,
8462 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8463 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
8465 { zIrix_WcsftimeName, zIrix_WcsftimeList,
8466 apzIrix_WcsftimeMachs,
8467 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8468 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
8470 { zIsc_FmodName, zIsc_FmodList,
8472 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8473 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
8475 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
8476 apzIsc_Omits_With_StdcMachs,
8477 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8478 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
8480 { zKandr_ConcatName, zKandr_ConcatList,
8481 apzKandr_ConcatMachs,
8482 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8483 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
8485 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
8486 apzLibc1_G_Va_ListMachs,
8487 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8488 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
8490 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
8491 apzLibc1_Ifdefd_MemxMachs,
8492 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8493 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
8495 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
8496 apzLinux_Ia64_UcontextMachs,
8497 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8498 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
8500 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
8501 apzLynxos_No_Warning_In_Sys_Time_HMachs,
8502 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8503 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
8505 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
8506 apzLynxos_Missing_PutenvMachs,
8507 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8508 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
8510 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
8511 apzMachine_Ansi_H_Va_ListMachs,
8512 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8513 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
8515 { zMachine_NameName, zMachine_NameList,
8516 apzMachine_NameMachs,
8517 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8518 aMachine_NameTests, apzMachine_NamePatch, 0 },
8520 { zMath_ExceptionName, zMath_ExceptionList,
8521 apzMath_ExceptionMachs,
8522 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8523 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
8525 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
8526 apzMath_Huge_Val_From_Dbl_MaxMachs,
8527 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
8528 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
8530 { zNested_Auth_DesName, zNested_Auth_DesList,
8531 apzNested_Auth_DesMachs,
8532 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8533 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
8535 { zNested_MotorolaName, zNested_MotorolaList,
8536 apzNested_MotorolaMachs,
8537 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
8538 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
8540 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
8541 apzNested_Sys_LimitsMachs,
8542 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
8543 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
8545 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
8546 apzNetbsd_Extra_SemicolonMachs,
8547 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8548 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
8550 { zNext_Math_PrefixName, zNext_Math_PrefixList,
8551 apzNext_Math_PrefixMachs,
8552 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8553 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
8555 { zNext_TemplateName, zNext_TemplateList,
8556 apzNext_TemplateMachs,
8557 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8558 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
8560 { zNext_VolitileName, zNext_VolitileList,
8561 apzNext_VolitileMachs,
8562 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8563 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
8565 { zNext_Wait_UnionName, zNext_Wait_UnionList,
8566 apzNext_Wait_UnionMachs,
8567 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8568 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
8570 { zNodeent_SyntaxName, zNodeent_SyntaxList,
8571 apzNodeent_SyntaxMachs,
8572 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8573 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
8575 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
8576 apzObstack_Lvalue_CastMachs,
8577 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8578 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
8580 { zOsf_Namespace_AName, zOsf_Namespace_AList,
8581 apzOsf_Namespace_AMachs,
8582 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8583 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
8585 { zOsf_Namespace_CName, zOsf_Namespace_CList,
8586 apzOsf_Namespace_CMachs,
8587 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8588 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
8590 { zPthread_Page_SizeName, zPthread_Page_SizeList,
8591 apzPthread_Page_SizeMachs,
8592 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8593 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
8595 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
8596 apzPthread_Incomplete_Struct_ArgumentMachs,
8597 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8598 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
8600 { zRead_Ret_TypeName, zRead_Ret_TypeList,
8601 apzRead_Ret_TypeMachs,
8602 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8603 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
8605 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
8606 apzRpc_Xdr_Lvalue_Cast_AMachs,
8607 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8608 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
8610 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
8611 apzRpc_Xdr_Lvalue_Cast_BMachs,
8612 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8613 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
8615 { zRs6000_DoubleName, zRs6000_DoubleList,
8616 apzRs6000_DoubleMachs,
8617 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8618 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
8620 { zRs6000_FchmodName, zRs6000_FchmodList,
8621 apzRs6000_FchmodMachs,
8622 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8623 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
8625 { zRs6000_ParamName, zRs6000_ParamList,
8626 apzRs6000_ParamMachs,
8627 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8628 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
8630 { zSco_MathName, zSco_MathList,
8632 SCO_MATH_TEST_CT, FD_MACH_ONLY,
8633 aSco_MathTests, apzSco_MathPatch, 0 },
8635 { zSco_RegsetName, zSco_RegsetList,
8637 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8638 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
8640 { zSco_Static_FuncName, zSco_Static_FuncList,
8641 apzSco_Static_FuncMachs,
8642 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
8643 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
8645 { zSco_UtimeName, zSco_UtimeList,
8647 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8648 aSco_UtimeTests, apzSco_UtimePatch, 0 },
8650 { zSolaris_Math_1Name, zSolaris_Math_1List,
8651 apzSolaris_Math_1Machs,
8652 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8653 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
8655 { zSolaris_Math_2Name, zSolaris_Math_2List,
8656 apzSolaris_Math_2Machs,
8657 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8658 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
8660 { zSolaris_Math_3Name, zSolaris_Math_3List,
8661 apzSolaris_Math_3Machs,
8662 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8663 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
8665 { zSolaris_Math_4Name, zSolaris_Math_4List,
8666 apzSolaris_Math_4Machs,
8667 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8668 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
8670 { zSolaris_Math_5Name, zSolaris_Math_5List,
8671 apzSolaris_Math_5Machs,
8672 SOLARIS_MATH_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8673 aSolaris_Math_5Tests, apzSolaris_Math_5Patch, 0 },
8675 { zSolaris_Math_6Name, zSolaris_Math_6List,
8676 apzSolaris_Math_6Machs,
8677 SOLARIS_MATH_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8678 aSolaris_Math_6Tests, apzSolaris_Math_6Patch, 0 },
8680 { zSolaris_Math_7Name, zSolaris_Math_7List,
8681 apzSolaris_Math_7Machs,
8682 SOLARIS_MATH_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8683 aSolaris_Math_7Tests, apzSolaris_Math_7Patch, 0 },
8685 { zSolaris_Math_8Name, zSolaris_Math_8List,
8686 apzSolaris_Math_8Machs,
8687 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8688 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
8690 { zSolaris_Math_9Name, zSolaris_Math_9List,
8691 apzSolaris_Math_9Machs,
8692 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8693 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
8695 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
8696 apzSolaris_Mutex_Init_1Machs,
8697 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
8698 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
8700 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
8701 apzSolaris_Mutex_Init_2Machs,
8702 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8703 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
8705 { zSolaris_SocketName, zSolaris_SocketList,
8706 apzSolaris_SocketMachs,
8707 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8708 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
8710 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
8711 apzSolaris_Stdio_TagMachs,
8712 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
8713 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
8715 { zSolaris_UnistdName, zSolaris_UnistdList,
8716 apzSolaris_UnistdMachs,
8717 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8718 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
8720 { zSolaris_WidecName, zSolaris_WidecList,
8721 apzSolaris_WidecMachs,
8722 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8723 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
8725 { zStatsswtchName, zStatsswtchList,
8727 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8728 aStatsswtchTests, apzStatsswtchPatch, 0 },
8730 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
8731 apzStdio_Stdarg_HMachs,
8732 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8733 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
8735 { zStdio_Va_ListName, zStdio_Va_ListList,
8736 apzStdio_Va_ListMachs,
8737 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
8738 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
8740 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
8741 apzStdio_Va_List_ClientsMachs,
8742 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
8743 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
8745 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
8746 apzStrict_Ansi_NotMachs,
8747 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8748 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
8750 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
8751 apzStrict_Ansi_Not_CtdMachs,
8752 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8753 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
8755 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
8756 apzStrict_Ansi_OnlyMachs,
8757 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8758 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
8760 { zStruct_FileName, zStruct_FileList,
8761 apzStruct_FileMachs,
8762 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8763 aStruct_FileTests, apzStruct_FilePatch, 0 },
8765 { zStruct_SockaddrName, zStruct_SockaddrList,
8766 apzStruct_SockaddrMachs,
8767 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8768 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
8770 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
8771 apzSun_Auth_ProtoMachs,
8772 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8773 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
8775 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
8776 apzSun_Bogus_IfdefMachs,
8777 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8778 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
8780 { zSun_CatmacroName, zSun_CatmacroList,
8781 apzSun_CatmacroMachs,
8782 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8783 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
8785 { zSun_MallocName, zSun_MallocList,
8787 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
8788 aSun_MallocTests, apzSun_MallocPatch, 0 },
8790 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
8791 apzSun_Rusers_SemiMachs,
8792 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
8793 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
8795 { zSun_SignalName, zSun_SignalList,
8797 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8798 aSun_SignalTests, apzSun_SignalPatch, 0 },
8800 { zSunos_StrlenName, zSunos_StrlenList,
8801 apzSunos_StrlenMachs,
8802 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8803 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
8805 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
8806 apzSvr4_Disable_OptMachs,
8807 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
8808 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
8810 { zSvr4_GetcwdName, zSvr4_GetcwdList,
8811 apzSvr4_GetcwdMachs,
8812 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8813 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
8815 { zSvr4_KrnlName, zSvr4_KrnlList,
8817 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8818 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
8820 { zSvr4_ProfilName, zSvr4_ProfilList,
8821 apzSvr4_ProfilMachs,
8822 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8823 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
8825 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
8826 apzSvr4_Sighandler_TypeMachs,
8827 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8828 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
8830 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
8831 apzSvr4_Undeclared_GetrngeMachs,
8832 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8833 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
8835 { zSysv68_StringName, zSysv68_StringList,
8836 apzSysv68_StringMachs,
8837 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
8838 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
8840 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
8841 apzSysz_Stdlib_For_SunMachs,
8842 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8843 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
8845 { zThread_KeywordName, zThread_KeywordList,
8846 apzThread_KeywordMachs,
8847 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8848 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
8850 { zTinfo_CplusplusName, zTinfo_CplusplusList,
8851 apzTinfo_CplusplusMachs,
8852 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8853 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
8855 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
8856 apzUltrix_Atexit_ParamMachs,
8857 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8858 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
8860 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
8861 apzUltrix_Atof_ParamMachs,
8862 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8863 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
8865 { zUltrix_ConstName, zUltrix_ConstList,
8866 apzUltrix_ConstMachs,
8867 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8868 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
8870 { zUltrix_Const2Name, zUltrix_Const2List,
8871 apzUltrix_Const2Machs,
8872 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8873 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
8875 { zUltrix_Const3Name, zUltrix_Const3List,
8876 apzUltrix_Const3Machs,
8877 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8878 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
8880 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
8881 apzUltrix_Fix_FixprotoMachs,
8882 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8883 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
8885 { zUltrix_IfdefName, zUltrix_IfdefList,
8886 apzUltrix_IfdefMachs,
8887 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8888 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
8890 { zUltrix_LocaleName, zUltrix_LocaleList,
8891 apzUltrix_LocaleMachs,
8892 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8893 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
8895 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
8896 apzUltrix_Math_IfdefMachs,
8897 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8898 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
8900 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
8901 apzUltrix_Nested_IoctlMachs,
8902 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
8903 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
8905 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
8906 apzUltrix_Nested_SvcMachs,
8907 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
8908 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
8910 { zUltrix_StatName, zUltrix_StatList,
8911 apzUltrix_StatMachs,
8912 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
8913 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
8915 { zUltrix_StaticName, zUltrix_StaticList,
8916 apzUltrix_StaticMachs,
8917 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
8918 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
8920 { zUltrix_StdlibName, zUltrix_StdlibList,
8921 apzUltrix_StdlibMachs,
8922 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
8923 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
8925 { zUltrix_StringsName, zUltrix_StringsList,
8926 apzUltrix_StringsMachs,
8927 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8928 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
8930 { zUltrix_Strings2Name, zUltrix_Strings2List,
8931 apzUltrix_Strings2Machs,
8932 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
8933 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
8935 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
8936 apzUltrix_Sys_TimeMachs,
8937 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
8938 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
8940 { zUltrix_UnistdName, zUltrix_UnistdList,
8941 apzUltrix_UnistdMachs,
8942 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
8943 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
8945 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
8946 apzUnicosmk_RestrictMachs,
8947 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8948 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
8950 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
8951 apzUw7_Byteorder_FixMachs,
8952 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8953 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
8955 { zVa_I960_MacroName, zVa_I960_MacroList,
8956 apzVa_I960_MacroMachs,
8957 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8958 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
8960 { zVoid_NullName, zVoid_NullList,
8962 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8963 aVoid_NullTests, apzVoid_NullPatch, 0 },
8965 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
8966 apzVxworks_Gcc_ProblemMachs,
8967 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
8968 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
8970 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
8971 apzVxworks_Needs_VxtypesMachs,
8972 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8973 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
8975 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
8976 apzVxworks_Needs_VxworksMachs,
8977 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
8978 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
8980 { zVxworks_TimeName, zVxworks_TimeList,
8981 apzVxworks_TimeMachs,
8982 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8983 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
8985 { zWindiss_Math1Name, zWindiss_Math1List,
8986 apzWindiss_Math1Machs,
8987 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
8988 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
8990 { zWindiss_Math2Name, zWindiss_Math2List,
8991 apzWindiss_Math2Machs,
8992 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
8993 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
8995 { zWindiss_ValistName, zWindiss_ValistList,
8996 apzWindiss_ValistMachs,
8997 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
8998 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
9000 { zX11_ClassName, zX11_ClassList,
9002 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9003 aX11_ClassTests, apzX11_ClassPatch, 0 },
9005 { zX11_Class_UsageName, zX11_Class_UsageList,
9006 apzX11_Class_UsageMachs,
9007 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9008 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9010 { zX11_NewName, zX11_NewList,
9012 X11_NEW_TEST_CT, FD_MACH_ONLY,
9013 aX11_NewTests, apzX11_NewPatch, 0 },
9015 { zX11_SprintfName, zX11_SprintfList,
9016 apzX11_SprintfMachs,
9017 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9018 aX11_SprintfTests, apzX11_SprintfPatch, 0 }