1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
6 * It has been AutoGen-ed September 5, 2009 at 01:31:09 PM by AutoGen 5.9.9
8 * It has been AutoGen-ed Friday January 29, 2010 at 04:49:43 PM MET
10 * From the definitions inclhack.def
11 * and the template file fixincl
14 /* DO NOT SVN-MERGE THIS FILE, EITHER Sat Sep 5 13:31:09 PDT 2009
16 /* DO NOT SVN-MERGE THIS FILE, EITHER Fri Jan 29 16:49:43 MET 2010
19 * You must regenerate it. Use the ./genfixes script.
22 * This is part of the fixincl program used to install modified versions of
23 * certain ANSI-incompatible system header files which are fixed to work
24 * correctly with ANSI C and placed in a directory that GNU C will search.
26 * This file contains 205 fixup descriptions.
28 * See README for more information.
30 * inclhack copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
32 * The Free Software Foundation, Inc.
34 * inclhack is free software: you can redistribute it and/or modify it
35 * under the terms of the GNU General Public License as published by the
36 * Free Software Foundation, either version 3 of the License, or
37 * (at your option) any later version.
39 * inclhack is distributed in the hope that it will be useful, but
40 * WITHOUT ANY WARRANTY; without even the implied warranty of
41 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
42 * See the GNU General Public License for more details.
44 * You should have received a copy of the GNU General Public License along
45 * with this program. If not, see <http://www.gnu.org/licenses/>.
48 #define SED_PROGRAM "/usr/bin/sed"
50 static char const sed_cmd_z[] = SED_PROGRAM;
52 /* * * * * * * * * * * * * * * * * * * * * * * * * *
54 * Description of Aab_Aix_Stdio fix
56 tSCC zAab_Aix_StdioName[] =
60 * File name selection pattern
62 tSCC zAab_Aix_StdioList[] =
65 * Machine/OS name selection pattern
67 tSCC* apzAab_Aix_StdioMachs[] = {
72 * content selection pattern - do fix if pattern found
74 tSCC zAab_Aix_StdioSelect0[] =
75 "define fopen fopen64";
77 #define AAB_AIX_STDIO_TEST_CT 1
78 static tTestDesc aAab_Aix_StdioTests[] = {
79 { TT_EGREP, zAab_Aix_StdioSelect0, (regex_t*)NULL }, };
82 * Fix Command Arguments for Aab_Aix_Stdio
84 static const char* apzAab_Aix_StdioPatch[] = {
88 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
89 #define __need__aix_stdio_h_fix\n\
90 #ifdef __need__aix_stdio_h_fix\n\
97 /* Alias the symbols using asm */\n\
99 extern int fgetpos(FILE *, fpos64_t *) __asm__(\"fgetpos64\");\n\
100 extern FILE *fopen(const char *, const char *) __asm__(\"fopen64\");\n\
101 extern FILE *freopen(const char *, const char *, FILE *) __asm__(\"freopen64\");\n\
102 extern int fseeko(FILE *, off64_t, int) __asm__(\"fseeko64\");\n\
103 extern int fsetpos(FILE *, const fpos64_t *) __asm__(\"fsetpos64\");\n\
104 extern off64_t ftello(FILE *) __asm__(\"ftello64\");\n\
110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
112 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
114 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
115 "AAB_darwin7_9_long_double_funcs";
118 * File name selection pattern
120 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
121 "architecture/ppc/math.h\0";
123 * Machine/OS name selection pattern
125 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
130 * content bypass pattern - skip fix if pattern found
132 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
135 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
136 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
137 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
140 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
142 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
143 "/* This file prototypes the long double functions available on Mac OS\n\
146 # undef __APPLE_CC__\n\
147 # define __APPLE_CC__ 1345\n\
148 # include_next <architecture/ppc/math.h>\n\
149 # undef __APPLE_CC__\n\
150 # define __APPLE_CC__ 1\n\
151 # ifndef __LIBMLDBL_COMPAT\n\
152 # ifdef __LONG_DOUBLE_128__\n\
153 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
155 # define __LIBMLDBL_COMPAT(sym)\n\
156 # endif /* __LONG_DOUBLE_128__ */\n\
157 # endif /* __LIBMLDBL_COMPAT */\n\
158 # ifdef __cplusplus\n\
161 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
162 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
163 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
164 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
165 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
166 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
167 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
168 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
169 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
170 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
171 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
172 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
173 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
174 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
175 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
176 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
177 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
178 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
179 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
180 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
181 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
182 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
183 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
184 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
185 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
186 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
187 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
188 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
189 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
190 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
191 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
192 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
193 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
194 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
195 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
196 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
197 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
198 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
199 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
200 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
201 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
202 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
203 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
204 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
205 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
206 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
207 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
208 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
209 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
210 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
211 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
212 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
213 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
214 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
215 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
216 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
217 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
218 # ifdef __cplusplus\n\
221 #endif /* __MATH__ */",
224 /* * * * * * * * * * * * * * * * * * * * * * * * * *
226 * Description of Aab_Darwin7_9_Long_Double_Funcs_2 fix
228 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
229 "AAB_darwin7_9_long_double_funcs_2";
232 * File name selection pattern
234 tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
237 * Machine/OS name selection pattern
239 tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
244 * content selection pattern - do fix if pattern found
246 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
247 "#include[ \\t]+\\\"";
249 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
250 static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
251 { TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
254 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
256 static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
259 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
262 /* * * * * * * * * * * * * * * * * * * * * * * * * *
264 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
266 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
267 "AAB_fd_zero_asm_posix_types_h";
270 * File name selection pattern
272 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
273 "asm/posix_types.h\0";
275 * Machine/OS name selection pattern
277 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
278 "i[34567]86-*-linux*",
282 * content bypass pattern - skip fix if pattern found
284 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
286 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
288 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
291 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
292 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
293 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
294 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
295 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
298 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
300 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
301 "/* This file fixes a bug in the __FD_ZERO macro\n\
302 for older versions of the Linux kernel. */\n\
303 #ifndef _POSIX_TYPES_H_WRAPPER\n\
304 #include <features.h>\n\
305 #include_next <asm/posix_types.h>\n\n\
306 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
308 #define __FD_ZERO(fdsetp) \\\n\
310 int __d0, __d1; \\\n\
311 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
312 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
313 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
314 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
317 #define _POSIX_TYPES_H_WRAPPER\n\
318 #endif /* _POSIX_TYPES_H_WRAPPER */",
321 /* * * * * * * * * * * * * * * * * * * * * * * * * *
323 * Description of Aab_Fd_Zero_Gnu_Types_H fix
325 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
326 "AAB_fd_zero_gnu_types_h";
329 * File name selection pattern
331 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
334 * Machine/OS name selection pattern
336 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
337 "i[34567]86-*-linux*",
339 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
340 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
343 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
345 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
346 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
347 #ifndef _TYPES_H_WRAPPER\n\
348 #include <features.h>\n\
349 #include_next <gnu/types.h>\n\n\
350 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
352 # define __FD_ZERO(fdsetp) \\\n\
354 int __d0, __d1; \\\n\
355 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
356 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
357 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
358 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
361 #define _TYPES_H_WRAPPER\n\
362 #endif /* _TYPES_H_WRAPPER */",
365 /* * * * * * * * * * * * * * * * * * * * * * * * * *
367 * Description of Aab_Fd_Zero_Selectbits_H fix
369 tSCC zAab_Fd_Zero_Selectbits_HName[] =
370 "AAB_fd_zero_selectbits_h";
373 * File name selection pattern
375 tSCC zAab_Fd_Zero_Selectbits_HList[] =
378 * Machine/OS name selection pattern
380 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
381 "i[34567]86-*-linux*",
383 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
384 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
387 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
389 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
390 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
391 #ifndef _SELECTBITS_H_WRAPPER\n\
392 #include <features.h>\n\
393 #include_next <selectbits.h>\n\n\
394 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
395 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
396 && __GLIBC_MINOR__ == 0\n\
398 #define __FD_ZERO(fdsetp) \\\\\n\
400 int __d0, __d1; \\\\\n\
401 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
402 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
403 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
404 / sizeof (__fd_mask)), \\\\\n\
405 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
406 : \"memory\"); \\\\\n\
409 #define _SELECTBITS_H_WRAPPER\n\
410 #endif /* _SELECTBITS_H_WRAPPER */",
413 /* * * * * * * * * * * * * * * * * * * * * * * * * *
415 * Description of Aab_Solaris_Sys_Varargs_H fix
417 tSCC zAab_Solaris_Sys_Varargs_HName[] =
418 "AAB_solaris_sys_varargs_h";
421 * File name selection pattern
423 tSCC zAab_Solaris_Sys_Varargs_HList[] =
426 * Machine/OS name selection pattern
428 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
431 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
432 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
435 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
437 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
439 #include <stdarg.h>\n\
441 #include <varargs.h>\n\
445 /* * * * * * * * * * * * * * * * * * * * * * * * * *
447 * Description of Aab_Sun_Memcpy fix
449 tSCC zAab_Sun_MemcpyName[] =
453 * File name selection pattern
455 tSCC zAab_Sun_MemcpyList[] =
458 * Machine/OS name selection pattern
460 #define apzAab_Sun_MemcpyMachs (const char**)NULL
463 * content selection pattern - do fix if pattern found
465 tSCC zAab_Sun_MemcpySelect0[] =
466 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
468 #define AAB_SUN_MEMCPY_TEST_CT 1
469 static tTestDesc aAab_Sun_MemcpyTests[] = {
470 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
473 * Fix Command Arguments for Aab_Sun_Memcpy
475 static const char* apzAab_Sun_MemcpyPatch[] = {
476 "/* This file was generated by fixincludes */\n\
477 #ifndef __memory_h__\n\
478 #define __memory_h__\n\n\
480 extern void *memccpy();\n\
481 extern void *memchr();\n\
482 extern void *memcpy();\n\
483 extern void *memset();\n\
485 extern char *memccpy();\n\
486 extern char *memchr();\n\
487 extern char *memcpy();\n\
488 extern char *memset();\n\
489 #endif /* __STDC__ */\n\n\
490 extern int memcmp();\n\n\
491 #endif /* __memory_h__ */",
494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
496 * Description of Aix_Complex fix
498 tSCC zAix_ComplexName[] =
502 * File name selection pattern
504 tSCC zAix_ComplexList[] =
507 * Machine/OS name selection pattern
509 tSCC* apzAix_ComplexMachs[] = {
514 * content selection pattern - do fix if pattern found
516 tSCC zAix_ComplexSelect0[] =
517 "#define[ \t]_Complex_I[ \t]__I";
519 #define AIX_COMPLEX_TEST_CT 1
520 static tTestDesc aAix_ComplexTests[] = {
521 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
524 * Fix Command Arguments for Aix_Complex
526 static const char* apzAix_ComplexPatch[] = {
528 "#define _Complex_I (__extension__ 1.0iF)",
531 /* * * * * * * * * * * * * * * * * * * * * * * * * *
533 * Description of Aix_Pthread fix
535 tSCC zAix_PthreadName[] =
539 * File name selection pattern
541 tSCC zAix_PthreadList[] =
544 * Machine/OS name selection pattern
546 #define apzAix_PthreadMachs (const char**)NULL
549 * content selection pattern - do fix if pattern found
551 tSCC zAix_PthreadSelect0[] =
552 "(#define [A-Za-z_0-9]+)(\\\\\n\
556 #define AIX_PTHREAD_TEST_CT 1
557 static tTestDesc aAix_PthreadTests[] = {
558 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
561 * Fix Command Arguments for Aix_Pthread
563 static const char* apzAix_PthreadPatch[] = {
568 /* * * * * * * * * * * * * * * * * * * * * * * * * *
570 * Description of Aix_Stdint_1 fix
572 tSCC zAix_Stdint_1Name[] =
576 * File name selection pattern
578 tSCC zAix_Stdint_1List[] =
579 "stdint-aix.h\0stdint.h\0";
581 * Machine/OS name selection pattern
583 tSCC* apzAix_Stdint_1Machs[] = {
588 * content selection pattern - do fix if pattern found
590 tSCC zAix_Stdint_1Select0[] =
591 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
592 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
594 #define AIX_STDINT_1_TEST_CT 1
595 static tTestDesc aAix_Stdint_1Tests[] = {
596 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
599 * Fix Command Arguments for Aix_Stdint_1
601 static const char* apzAix_Stdint_1Patch[] = {
603 "#define UINT8_MAX\t(255)\n\
604 #define UINT16_MAX\t(65535)",
607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
609 * Description of Aix_Stdint_2 fix
611 tSCC zAix_Stdint_2Name[] =
615 * File name selection pattern
617 tSCC zAix_Stdint_2List[] =
618 "stdint-aix.h\0stdint.h\0";
620 * Machine/OS name selection pattern
622 tSCC* apzAix_Stdint_2Machs[] = {
627 * content selection pattern - do fix if pattern found
629 tSCC zAix_Stdint_2Select0[] =
630 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
631 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
632 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
634 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
635 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
636 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
638 #define AIX_STDINT_2_TEST_CT 1
639 static tTestDesc aAix_Stdint_2Tests[] = {
640 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
643 * Fix Command Arguments for Aix_Stdint_2
645 static const char* apzAix_Stdint_2Patch[] = {
647 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
648 #define INTPTR_MAX\t9223372036854775807L\n\
649 #define UINTPTR_MAX\t18446744073709551615UL\n\
651 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
652 #define INTPTR_MAX\t2147483647L\n\
653 #define UINTPTR_MAX\t4294967295UL",
656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
658 * Description of Aix_Stdint_3 fix
660 tSCC zAix_Stdint_3Name[] =
664 * File name selection pattern
666 tSCC zAix_Stdint_3List[] =
667 "stdint-aix.h\0stdint.h\0";
669 * Machine/OS name selection pattern
671 tSCC* apzAix_Stdint_3Machs[] = {
676 * content selection pattern - do fix if pattern found
678 tSCC zAix_Stdint_3Select0[] =
679 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
680 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
682 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
683 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
685 #define AIX_STDINT_3_TEST_CT 1
686 static tTestDesc aAix_Stdint_3Tests[] = {
687 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
690 * Fix Command Arguments for Aix_Stdint_3
692 static const char* apzAix_Stdint_3Patch[] = {
694 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
695 #define PTRDIFF_MAX\t9223372036854775807L\n\
697 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
698 #define PTRDIFF_MAX\t2147483647L",
701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
703 * Description of Aix_Stdint_4 fix
705 tSCC zAix_Stdint_4Name[] =
709 * File name selection pattern
711 tSCC zAix_Stdint_4List[] =
712 "stdint-aix.h\0stdint.h\0";
714 * Machine/OS name selection pattern
716 tSCC* apzAix_Stdint_4Machs[] = {
721 * content selection pattern - do fix if pattern found
723 tSCC zAix_Stdint_4Select0[] =
724 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
726 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
728 #define AIX_STDINT_4_TEST_CT 1
729 static tTestDesc aAix_Stdint_4Tests[] = {
730 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
733 * Fix Command Arguments for Aix_Stdint_4
735 static const char* apzAix_Stdint_4Patch[] = {
737 "#define SIZE_MAX\t18446744073709551615UL\n\
739 #define SIZE_MAX\t4294967295UL",
742 /* * * * * * * * * * * * * * * * * * * * * * * * * *
744 * Description of Aix_Stdint_5 fix
746 tSCC zAix_Stdint_5Name[] =
750 * File name selection pattern
752 tSCC zAix_Stdint_5List[] =
753 "stdint-aix.h\0stdint.h\0";
755 * Machine/OS name selection pattern
757 tSCC* apzAix_Stdint_5Machs[] = {
762 * content selection pattern - do fix if pattern found
764 tSCC zAix_Stdint_5Select0[] =
765 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
766 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
768 #define AIX_STDINT_5_TEST_CT 1
769 static tTestDesc aAix_Stdint_5Tests[] = {
770 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
773 * Fix Command Arguments for Aix_Stdint_5
775 static const char* apzAix_Stdint_5Patch[] = {
777 "#define UINT8_C(c)\tc\n\
778 #define UINT16_C(c)\tc",
781 /* * * * * * * * * * * * * * * * * * * * * * * * * *
783 * Description of Aix_Sysmachine fix
785 tSCC zAix_SysmachineName[] =
789 * File name selection pattern
791 tSCC zAix_SysmachineList[] =
794 * Machine/OS name selection pattern
796 #define apzAix_SysmachineMachs (const char**)NULL
799 * content selection pattern - do fix if pattern found
801 tSCC zAix_SysmachineSelect0[] =
804 #define AIX_SYSMACHINE_TEST_CT 1
805 static tTestDesc aAix_SysmachineTests[] = {
806 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
809 * Fix Command Arguments for Aix_Sysmachine
811 static const char* apzAix_SysmachinePatch[] = {
816 /* * * * * * * * * * * * * * * * * * * * * * * * * *
818 * Description of Aix_Syswait_2 fix
820 tSCC zAix_Syswait_2Name[] =
824 * File name selection pattern
826 tSCC zAix_Syswait_2List[] =
829 * Machine/OS name selection pattern
831 #define apzAix_Syswait_2Machs (const char**)NULL
834 * content selection pattern - do fix if pattern found
836 tSCC zAix_Syswait_2Select0[] =
837 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
839 #define AIX_SYSWAIT_2_TEST_CT 1
840 static tTestDesc aAix_Syswait_2Tests[] = {
841 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
844 * Fix Command Arguments for Aix_Syswait_2
846 static const char* apzAix_Syswait_2Patch[] = {
851 /* * * * * * * * * * * * * * * * * * * * * * * * * *
853 * Description of Aix_Volatile fix
855 tSCC zAix_VolatileName[] =
859 * File name selection pattern
861 tSCC zAix_VolatileList[] =
864 * Machine/OS name selection pattern
866 #define apzAix_VolatileMachs (const char**)NULL
869 * content selection pattern - do fix if pattern found
871 tSCC zAix_VolatileSelect0[] =
872 "typedef volatile int sig_atomic_t";
874 #define AIX_VOLATILE_TEST_CT 1
875 static tTestDesc aAix_VolatileTests[] = {
876 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
879 * Fix Command Arguments for Aix_Volatile
881 static const char* apzAix_VolatilePatch[] = {
883 "typedef int sig_atomic_t",
886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
888 * Description of Alpha___Assert fix
890 tSCC zAlpha___AssertName[] =
894 * File name selection pattern
896 tSCC zAlpha___AssertList[] =
899 * Machine/OS name selection pattern
901 #define apzAlpha___AssertMachs (const char**)NULL
904 * content selection pattern - do fix if pattern found
906 tSCC zAlpha___AssertSelect0[] =
907 "__assert\\(char \\*, char \\*, int\\)";
909 #define ALPHA___ASSERT_TEST_CT 1
910 static tTestDesc aAlpha___AssertTests[] = {
911 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
914 * Fix Command Arguments for Alpha___Assert
916 static const char* apzAlpha___AssertPatch[] = {
918 "__assert(const char *, const char *, int)",
921 /* * * * * * * * * * * * * * * * * * * * * * * * * *
923 * Description of Alpha___Extern_Prefix fix
925 tSCC zAlpha___Extern_PrefixName[] =
926 "alpha___extern_prefix";
929 * File name selection pattern
931 #define zAlpha___Extern_PrefixList (char*)NULL
933 * Machine/OS name selection pattern
935 tSCC* apzAlpha___Extern_PrefixMachs[] = {
940 * content selection pattern - do fix if pattern found
942 tSCC zAlpha___Extern_PrefixSelect0[] =
943 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
944 (#[ \t]*pragma[ \t]*extern_prefix.*)";
946 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
947 static tTestDesc aAlpha___Extern_PrefixTests[] = {
948 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
951 * Fix Command Arguments for Alpha___Extern_Prefix
953 static const char* apzAlpha___Extern_PrefixPatch[] = {
955 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
959 /* * * * * * * * * * * * * * * * * * * * * * * * * *
961 * Description of Alpha___Extern_Prefix_Standards fix
963 tSCC zAlpha___Extern_Prefix_StandardsName[] =
964 "alpha___extern_prefix_standards";
967 * File name selection pattern
969 tSCC zAlpha___Extern_Prefix_StandardsList[] =
972 * Machine/OS name selection pattern
974 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
979 * content selection pattern - do fix if pattern found
981 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
982 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
984 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
985 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
986 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
989 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
991 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
993 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
998 * Description of Alpha___Extern_Prefix_Sys_Stat fix
1000 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
1001 "alpha___extern_prefix_sys_stat";
1004 * File name selection pattern
1006 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
1007 "sys/stat.h\0sys/mount.h\0";
1009 * Machine/OS name selection pattern
1011 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
1013 (const char*)NULL };
1016 * content selection pattern - do fix if pattern found
1018 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
1019 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
1021 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
1022 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
1023 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
1026 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
1028 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
1030 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
1033 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1035 * Description of Alpha_Assert fix
1037 tSCC zAlpha_AssertName[] =
1041 * File name selection pattern
1043 tSCC zAlpha_AssertList[] =
1046 * Machine/OS name selection pattern
1048 #define apzAlpha_AssertMachs (const char**)NULL
1051 * content selection pattern - do fix if pattern found
1053 tSCC zAlpha_AssertSelect0[] =
1054 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1056 #define ALPHA_ASSERT_TEST_CT 1
1057 static tTestDesc aAlpha_AssertTests[] = {
1058 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1061 * Fix Command Arguments for Alpha_Assert
1063 static const char* apzAlpha_AssertPatch[] = {
1068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1070 * Description of Alpha_Bad_Lval fix
1072 tSCC zAlpha_Bad_LvalName[] =
1076 * File name selection pattern
1078 #define zAlpha_Bad_LvalList (char*)NULL
1080 * Machine/OS name selection pattern
1082 tSCC* apzAlpha_Bad_LvalMachs[] = {
1084 (const char*)NULL };
1087 * content selection pattern - do fix if pattern found
1089 tSCC zAlpha_Bad_LvalSelect0[] =
1090 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1092 #define ALPHA_BAD_LVAL_TEST_CT 1
1093 static tTestDesc aAlpha_Bad_LvalTests[] = {
1094 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
1097 * Fix Command Arguments for Alpha_Bad_Lval
1099 static const char* apzAlpha_Bad_LvalPatch[] = { sed_cmd_z,
1100 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1105 * Description of Alpha_Getopt fix
1107 tSCC zAlpha_GetoptName[] =
1111 * File name selection pattern
1113 tSCC zAlpha_GetoptList[] =
1114 "stdio.h\0stdlib.h\0";
1116 * Machine/OS name selection pattern
1118 #define apzAlpha_GetoptMachs (const char**)NULL
1121 * content selection pattern - do fix if pattern found
1123 tSCC zAlpha_GetoptSelect0[] =
1124 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1126 #define ALPHA_GETOPT_TEST_CT 1
1127 static tTestDesc aAlpha_GetoptTests[] = {
1128 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1131 * Fix Command Arguments for Alpha_Getopt
1133 static const char* apzAlpha_GetoptPatch[] = {
1135 "getopt(int, char *const[], const char *)",
1138 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1140 * Description of Alpha_If_Semicolon fix
1142 tSCC zAlpha_If_SemicolonName[] =
1143 "alpha_if_semicolon";
1146 * File name selection pattern
1148 tSCC zAlpha_If_SemicolonList[] =
1151 * Machine/OS name selection pattern
1153 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1156 * content selection pattern - do fix if pattern found
1158 tSCC zAlpha_If_SemicolonSelect0[] =
1159 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1161 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1162 static tTestDesc aAlpha_If_SemicolonTests[] = {
1163 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1166 * Fix Command Arguments for Alpha_If_Semicolon
1168 static const char* apzAlpha_If_SemicolonPatch[] = {
1170 "struct sockaddr vmif_paddr;\t/*",
1173 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1175 * Description of Alpha_Parens fix
1177 tSCC zAlpha_ParensName[] =
1181 * File name selection pattern
1183 tSCC zAlpha_ParensList[] =
1186 * Machine/OS name selection pattern
1188 #define apzAlpha_ParensMachs (const char**)NULL
1191 * content selection pattern - do fix if pattern found
1193 tSCC zAlpha_ParensSelect0[] =
1194 "#ifndef\\(__mips64\\)";
1196 #define ALPHA_PARENS_TEST_CT 1
1197 static tTestDesc aAlpha_ParensTests[] = {
1198 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1201 * Fix Command Arguments for Alpha_Parens
1203 static const char* apzAlpha_ParensPatch[] = {
1208 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1210 * Description of Alpha_Pthread fix
1212 tSCC zAlpha_PthreadName[] =
1216 * File name selection pattern
1218 tSCC zAlpha_PthreadList[] =
1221 * Machine/OS name selection pattern
1223 tSCC* apzAlpha_PthreadMachs[] = {
1225 (const char*)NULL };
1228 * content selection pattern - do fix if pattern found
1230 tSCC zAlpha_PthreadSelect0[] =
1231 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
1232 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
1234 #define ALPHA_PTHREAD_TEST_CT 1
1235 static tTestDesc aAlpha_PthreadTests[] = {
1236 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
1239 * Fix Command Arguments for Alpha_Pthread
1241 static const char* apzAlpha_PthreadPatch[] = {
1243 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
1247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1249 * Description of Alpha_Pthread_Gcc fix
1251 tSCC zAlpha_Pthread_GccName[] =
1252 "alpha_pthread_gcc";
1255 * File name selection pattern
1257 tSCC zAlpha_Pthread_GccList[] =
1260 * Machine/OS name selection pattern
1262 tSCC* apzAlpha_Pthread_GccMachs[] = {
1264 (const char*)NULL };
1267 * content selection pattern - do fix if pattern found
1269 tSCC zAlpha_Pthread_GccSelect0[] =
1271 # error <pthread.h>: unrecognized compiler.";
1273 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1274 static tTestDesc aAlpha_Pthread_GccTests[] = {
1275 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1278 * Fix Command Arguments for Alpha_Pthread_Gcc
1280 static const char* apzAlpha_Pthread_GccPatch[] = {
1282 "#elif defined (__GNUC__)\n\
1283 # define _PTHREAD_ENV_GCC\n\
1287 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1289 * Description of Alpha_Pthread_Init fix
1291 tSCC zAlpha_Pthread_InitName[] =
1292 "alpha_pthread_init";
1295 * File name selection pattern
1297 tSCC zAlpha_Pthread_InitList[] =
1300 * Machine/OS name selection pattern
1302 tSCC* apzAlpha_Pthread_InitMachs[] = {
1304 (const char*)NULL };
1307 * content selection pattern - do fix if pattern found
1309 tSCC zAlpha_Pthread_InitSelect0[] =
1310 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1312 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1313 static tTestDesc aAlpha_Pthread_InitTests[] = {
1314 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1317 * Fix Command Arguments for Alpha_Pthread_Init
1319 static const char* apzAlpha_Pthread_InitPatch[] = { sed_cmd_z,
1320 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1321 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1322 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1323 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1324 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1325 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1328 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1330 * Description of Alpha_Sbrk fix
1332 tSCC zAlpha_SbrkName[] =
1336 * File name selection pattern
1338 tSCC zAlpha_SbrkList[] =
1341 * Machine/OS name selection pattern
1343 #define apzAlpha_SbrkMachs (const char**)NULL
1346 * content selection pattern - do fix if pattern found
1348 tSCC zAlpha_SbrkSelect0[] =
1349 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1351 #define ALPHA_SBRK_TEST_CT 1
1352 static tTestDesc aAlpha_SbrkTests[] = {
1353 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1356 * Fix Command Arguments for Alpha_Sbrk
1358 static const char* apzAlpha_SbrkPatch[] = {
1363 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1365 * Description of Alpha_Wchar fix
1367 tSCC zAlpha_WcharName[] =
1371 * File name selection pattern
1373 tSCC zAlpha_WcharList[] =
1376 * Machine/OS name selection pattern
1378 tSCC* apzAlpha_WcharMachs[] = {
1380 (const char*)NULL };
1383 * content selection pattern - do fix if pattern found
1385 tSCC zAlpha_WcharSelect0[] =
1386 "#define wcstok wcstok_r";
1388 #define ALPHA_WCHAR_TEST_CT 1
1389 static tTestDesc aAlpha_WcharTests[] = {
1390 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1393 * Fix Command Arguments for Alpha_Wchar
1395 static const char* apzAlpha_WcharPatch[] = { sed_cmd_z,
1396 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1397 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1400 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1402 * Description of Avoid_Bool_Define fix
1404 tSCC zAvoid_Bool_DefineName[] =
1405 "avoid_bool_define";
1408 * File name selection pattern
1410 tSCC zAvoid_Bool_DefineList[] =
1411 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1413 * Machine/OS name selection pattern
1415 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1418 * content selection pattern - do fix if pattern found
1420 tSCC zAvoid_Bool_DefineSelect0[] =
1421 "#[ \t]*define[ \t]+bool[ \t]";
1424 * content bypass pattern - skip fix if pattern found
1426 tSCC zAvoid_Bool_DefineBypass0[] =
1429 #define AVOID_BOOL_DEFINE_TEST_CT 2
1430 static tTestDesc aAvoid_Bool_DefineTests[] = {
1431 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1432 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1435 * Fix Command Arguments for Avoid_Bool_Define
1437 static const char* apzAvoid_Bool_DefinePatch[] = {
1439 "#ifndef __cplusplus\n\
1442 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1445 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1447 * Description of Avoid_Bool_Type fix
1449 tSCC zAvoid_Bool_TypeName[] =
1453 * File name selection pattern
1455 tSCC zAvoid_Bool_TypeList[] =
1456 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1458 * Machine/OS name selection pattern
1460 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1463 * content selection pattern - do fix if pattern found
1465 tSCC zAvoid_Bool_TypeSelect0[] =
1466 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1469 * content bypass pattern - skip fix if pattern found
1471 tSCC zAvoid_Bool_TypeBypass0[] =
1474 #define AVOID_BOOL_TYPE_TEST_CT 2
1475 static tTestDesc aAvoid_Bool_TypeTests[] = {
1476 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1477 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1480 * Fix Command Arguments for Avoid_Bool_Type
1482 static const char* apzAvoid_Bool_TypePatch[] = {
1484 "#ifndef __cplusplus\n\
1489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1491 * Description of Avoid_Wchar_T_Type fix
1493 tSCC zAvoid_Wchar_T_TypeName[] =
1494 "avoid_wchar_t_type";
1497 * File name selection pattern
1499 #define zAvoid_Wchar_T_TypeList (char*)NULL
1501 * Machine/OS name selection pattern
1503 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1506 * content selection pattern - do fix if pattern found
1508 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1509 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1512 * content bypass pattern - skip fix if pattern found
1514 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1516 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1518 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1519 "XFree86: xc/lib/X11/Xlib\\.h";
1521 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1522 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1523 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1524 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1525 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1526 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1529 * Fix Command Arguments for Avoid_Wchar_T_Type
1531 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1533 "#ifndef __cplusplus\n\
1538 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1540 * Description of Bad_Struct_Term fix
1542 tSCC zBad_Struct_TermName[] =
1546 * File name selection pattern
1548 tSCC zBad_Struct_TermList[] =
1551 * Machine/OS name selection pattern
1553 #define apzBad_Struct_TermMachs (const char**)NULL
1556 * content selection pattern - do fix if pattern found
1558 tSCC zBad_Struct_TermSelect0[] =
1559 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1561 #define BAD_STRUCT_TERM_TEST_CT 1
1562 static tTestDesc aBad_Struct_TermTests[] = {
1563 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1566 * Fix Command Arguments for Bad_Struct_Term
1568 static const char* apzBad_Struct_TermPatch[] = {
1573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1575 * Description of Badquote fix
1577 tSCC zBadquoteName[] =
1581 * File name selection pattern
1583 tSCC zBadquoteList[] =
1584 "sundev/vuid_event.h\0";
1586 * Machine/OS name selection pattern
1588 #define apzBadquoteMachs (const char**)NULL
1591 * content selection pattern - do fix if pattern found
1593 tSCC zBadquoteSelect0[] =
1596 #define BADQUOTE_TEST_CT 1
1597 static tTestDesc aBadquoteTests[] = {
1598 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1601 * Fix Command Arguments for Badquote
1603 static const char* apzBadquotePatch[] = {
1608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1610 * Description of Broken_Assert_Stdio fix
1612 tSCC zBroken_Assert_StdioName[] =
1613 "broken_assert_stdio";
1616 * File name selection pattern
1618 tSCC zBroken_Assert_StdioList[] =
1621 * Machine/OS name selection pattern
1623 #define apzBroken_Assert_StdioMachs (const char**)NULL
1626 * content selection pattern - do fix if pattern found
1628 tSCC zBroken_Assert_StdioSelect0[] =
1632 * content bypass pattern - skip fix if pattern found
1634 tSCC zBroken_Assert_StdioBypass0[] =
1635 "include.*stdio\\.h";
1637 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1638 static tTestDesc aBroken_Assert_StdioTests[] = {
1639 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1640 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1643 * Fix Command Arguments for Broken_Assert_Stdio
1645 static const char* apzBroken_Assert_StdioPatch[] = {
1647 "#include <stdio.h>\n",
1650 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1652 * Description of Broken_Assert_Stdlib fix
1654 tSCC zBroken_Assert_StdlibName[] =
1655 "broken_assert_stdlib";
1658 * File name selection pattern
1660 tSCC zBroken_Assert_StdlibList[] =
1663 * Machine/OS name selection pattern
1665 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1668 * content selection pattern - do fix if pattern found
1670 tSCC zBroken_Assert_StdlibSelect0[] =
1671 "exit *\\(|abort *\\(";
1674 * content bypass pattern - skip fix if pattern found
1676 tSCC zBroken_Assert_StdlibBypass0[] =
1677 "include.*stdlib\\.h";
1679 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1680 static tTestDesc aBroken_Assert_StdlibTests[] = {
1681 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1682 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1685 * Fix Command Arguments for Broken_Assert_Stdlib
1687 static const char* apzBroken_Assert_StdlibPatch[] = {
1689 "#ifdef __cplusplus\n\
1690 #include <stdlib.h>\n\
1694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1696 * Description of Broken_Cabs fix
1698 tSCC zBroken_CabsName[] =
1702 * File name selection pattern
1704 tSCC zBroken_CabsList[] =
1705 "math.h\0architecture/*/math.h\0";
1707 * Machine/OS name selection pattern
1709 #define apzBroken_CabsMachs (const char**)NULL
1712 * content selection pattern - do fix if pattern found
1714 tSCC zBroken_CabsSelect0[] =
1715 "^extern[ \t]+double[ \t]+cabs";
1717 #define BROKEN_CABS_TEST_CT 1
1718 static tTestDesc aBroken_CabsTests[] = {
1719 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1722 * Fix Command Arguments for Broken_Cabs
1724 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
1725 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1726 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1731 * Description of Broken_Nan fix
1733 tSCC zBroken_NanName[] =
1737 * File name selection pattern
1739 tSCC zBroken_NanList[] =
1740 "architecture/ppc/math.h\0architecture/*/math.h\0";
1742 * Machine/OS name selection pattern
1744 #define apzBroken_NanMachs (const char**)NULL
1747 * content selection pattern - do fix if pattern found
1749 tSCC zBroken_NanSelect0[] =
1750 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1753 * content bypass pattern - skip fix if pattern found
1755 tSCC zBroken_NanBypass0[] =
1758 #define BROKEN_NAN_TEST_CT 2
1759 static tTestDesc aBroken_NanTests[] = {
1760 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1761 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1764 * Fix Command Arguments for Broken_Nan
1766 static const char* apzBroken_NanPatch[] = {
1771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1773 * Description of Bsd_Stdio_Attrs_Conflict fix
1775 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1776 "bsd_stdio_attrs_conflict";
1779 * File name selection pattern
1781 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1784 * Machine/OS name selection pattern
1786 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1789 (const char*)NULL };
1792 * content selection pattern - do fix if pattern found
1794 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1795 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1797 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1798 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1799 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1802 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1804 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1806 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1807 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1808 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1813 * Description of Ctrl_Quotes_Def fix
1815 tSCC zCtrl_Quotes_DefName[] =
1819 * File name selection pattern
1821 #define zCtrl_Quotes_DefList (char*)NULL
1823 * Machine/OS name selection pattern
1825 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1828 * content selection pattern - do fix if pattern found
1830 tSCC zCtrl_Quotes_DefSelect0[] =
1831 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1833 #define CTRL_QUOTES_DEF_TEST_CT 1
1834 static tTestDesc aCtrl_Quotes_DefTests[] = {
1835 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1838 * Fix Command Arguments for Ctrl_Quotes_Def
1840 static const char* apzCtrl_Quotes_DefPatch[] = {
1845 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1847 * Description of Ctrl_Quotes_Use fix
1849 tSCC zCtrl_Quotes_UseName[] =
1853 * File name selection pattern
1855 #define zCtrl_Quotes_UseList (char*)NULL
1857 * Machine/OS name selection pattern
1859 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1862 * content selection pattern - do fix if pattern found
1864 tSCC zCtrl_Quotes_UseSelect0[] =
1865 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1867 #define CTRL_QUOTES_USE_TEST_CT 1
1868 static tTestDesc aCtrl_Quotes_UseTests[] = {
1869 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1872 * Fix Command Arguments for Ctrl_Quotes_Use
1874 static const char* apzCtrl_Quotes_UsePatch[] = {
1879 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1881 * Description of Cxx_Unready fix
1883 tSCC zCxx_UnreadyName[] =
1887 * File name selection pattern
1889 tSCC zCxx_UnreadyList[] =
1890 "sys/mman.h\0rpc/types.h\0";
1892 * Machine/OS name selection pattern
1894 #define apzCxx_UnreadyMachs (const char**)NULL
1897 * content selection pattern - do fix if pattern found
1899 tSCC zCxx_UnreadySelect0[] =
1903 * content bypass pattern - skip fix if pattern found
1905 tSCC zCxx_UnreadyBypass0[] =
1906 "\"C\"|__BEGIN_DECLS";
1908 #define CXX_UNREADY_TEST_CT 2
1909 static tTestDesc aCxx_UnreadyTests[] = {
1910 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1911 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1914 * Fix Command Arguments for Cxx_Unready
1916 static const char* apzCxx_UnreadyPatch[] = {
1918 "#ifdef __cplusplus\n\
1921 "#ifdef __cplusplus\n\
1926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1928 * Description of Darwin_Externc fix
1930 tSCC zDarwin_ExterncName[] =
1934 * File name selection pattern
1936 tSCC zDarwin_ExterncList[] =
1937 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
1939 * Machine/OS name selection pattern
1941 tSCC* apzDarwin_ExterncMachs[] = {
1943 (const char*)NULL };
1946 * content bypass pattern - skip fix if pattern found
1948 tSCC zDarwin_ExterncBypass0[] =
1950 tSCC zDarwin_ExterncBypass1[] =
1953 #define DARWIN_EXTERNC_TEST_CT 2
1954 static tTestDesc aDarwin_ExterncTests[] = {
1955 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
1956 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
1959 * Fix Command Arguments for Darwin_Externc
1961 static const char* apzDarwin_ExterncPatch[] = {
1963 "#ifdef __cplusplus\n\
1966 "#ifdef __cplusplus\n\
1971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1973 * Description of Darwin_Gcc4_Breakage fix
1975 tSCC zDarwin_Gcc4_BreakageName[] =
1976 "darwin_gcc4_breakage";
1979 * File name selection pattern
1981 tSCC zDarwin_Gcc4_BreakageList[] =
1982 "AvailabilityMacros.h\0";
1984 * Machine/OS name selection pattern
1986 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1988 (const char*)NULL };
1991 * content selection pattern - do fix if pattern found
1993 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1994 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1996 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1997 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1998 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2001 * Fix Command Arguments for Darwin_Gcc4_Breakage
2003 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2005 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2008 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2010 * Description of Darwin_Private_Extern fix
2012 tSCC zDarwin_Private_ExternName[] =
2013 "darwin_private_extern";
2016 * File name selection pattern
2018 tSCC zDarwin_Private_ExternList[] =
2021 * Machine/OS name selection pattern
2023 tSCC* apzDarwin_Private_ExternMachs[] = {
2025 (const char*)NULL };
2028 * content selection pattern - do fix if pattern found
2030 tSCC zDarwin_Private_ExternSelect0[] =
2031 "__private_extern__ [a-z_]+ _dyld_";
2033 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2034 static tTestDesc aDarwin_Private_ExternTests[] = {
2035 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2038 * Fix Command Arguments for Darwin_Private_Extern
2040 static const char* apzDarwin_Private_ExternPatch[] = {
2043 "__private_extern__",
2046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2048 * Description of Darwin_Stdint_1 fix
2050 tSCC zDarwin_Stdint_1Name[] =
2054 * File name selection pattern
2056 tSCC zDarwin_Stdint_1List[] =
2057 "stdint-darwin.h\0stdint.h\0";
2059 * Machine/OS name selection pattern
2061 tSCC* apzDarwin_Stdint_1Machs[] = {
2063 (const char*)NULL };
2066 * content selection pattern - do fix if pattern found
2068 tSCC zDarwin_Stdint_1Select0[] =
2069 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2070 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2072 #define DARWIN_STDINT_1_TEST_CT 1
2073 static tTestDesc aDarwin_Stdint_1Tests[] = {
2074 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2077 * Fix Command Arguments for Darwin_Stdint_1
2079 static const char* apzDarwin_Stdint_1Patch[] = {
2081 "#define UINT8_C(v)\tv\n\
2082 #define UINT16_C(v)\tv",
2085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2087 * Description of Darwin_Stdint_2 fix
2089 tSCC zDarwin_Stdint_2Name[] =
2093 * File name selection pattern
2095 tSCC zDarwin_Stdint_2List[] =
2096 "stdint-darwin.h\0stdint.h\0";
2098 * Machine/OS name selection pattern
2100 tSCC* apzDarwin_Stdint_2Machs[] = {
2102 (const char*)NULL };
2105 * content selection pattern - do fix if pattern found
2107 tSCC zDarwin_Stdint_2Select0[] =
2108 "#if __WORDSIZE == 64\n\
2109 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2110 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2112 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2113 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2116 #define DARWIN_STDINT_2_TEST_CT 1
2117 static tTestDesc aDarwin_Stdint_2Tests[] = {
2118 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2121 * Fix Command Arguments for Darwin_Stdint_2
2123 static const char* apzDarwin_Stdint_2Patch[] = {
2125 "#if __WORDSIZE == 64\n\
2126 #define INTPTR_MAX 9223372036854775807L\n\
2127 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2129 #define INTPTR_MAX 2147483647L\n\
2130 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2134 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2136 * Description of Darwin_Stdint_3 fix
2138 tSCC zDarwin_Stdint_3Name[] =
2142 * File name selection pattern
2144 tSCC zDarwin_Stdint_3List[] =
2145 "stdint-darwin.h\0stdint.h\0";
2147 * Machine/OS name selection pattern
2149 tSCC* apzDarwin_Stdint_3Machs[] = {
2151 (const char*)NULL };
2154 * content selection pattern - do fix if pattern found
2156 tSCC zDarwin_Stdint_3Select0[] =
2157 "#if __WORDSIZE == 64\n\
2158 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2160 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2163 #define DARWIN_STDINT_3_TEST_CT 1
2164 static tTestDesc aDarwin_Stdint_3Tests[] = {
2165 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2168 * Fix Command Arguments for Darwin_Stdint_3
2170 static const char* apzDarwin_Stdint_3Patch[] = {
2172 "#if __WORDSIZE == 64\n\
2173 #define UINTPTR_MAX 18446744073709551615UL\n\
2175 #define UINTPTR_MAX 4294967295UL\n\
2179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2181 * Description of Darwin_Stdint_4 fix
2183 tSCC zDarwin_Stdint_4Name[] =
2187 * File name selection pattern
2189 tSCC zDarwin_Stdint_4List[] =
2190 "stdint-darwin.h\0stdint.h\0";
2192 * Machine/OS name selection pattern
2194 tSCC* apzDarwin_Stdint_4Machs[] = {
2196 (const char*)NULL };
2199 * content selection pattern - do fix if pattern found
2201 tSCC zDarwin_Stdint_4Select0[] =
2202 "#if __WORDSIZE == 64\n\
2203 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2205 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2208 #define DARWIN_STDINT_4_TEST_CT 1
2209 static tTestDesc aDarwin_Stdint_4Tests[] = {
2210 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2213 * Fix Command Arguments for Darwin_Stdint_4
2215 static const char* apzDarwin_Stdint_4Patch[] = {
2217 "#if __WORDSIZE == 64\n\
2218 #define SIZE_MAX 18446744073709551615UL\n\
2220 #define SIZE_MAX 4294967295UL\n\
2224 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2226 * Description of Darwin_Stdint_5 fix
2228 tSCC zDarwin_Stdint_5Name[] =
2232 * File name selection pattern
2234 tSCC zDarwin_Stdint_5List[] =
2235 "stdint-darwin.h\0stdint.h\0";
2237 * Machine/OS name selection pattern
2239 tSCC* apzDarwin_Stdint_5Machs[] = {
2241 (const char*)NULL };
2244 * content selection pattern - do fix if pattern found
2246 tSCC zDarwin_Stdint_5Select0[] =
2247 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2248 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2249 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2251 #define DARWIN_STDINT_5_TEST_CT 1
2252 static tTestDesc aDarwin_Stdint_5Tests[] = {
2253 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2256 * Fix Command Arguments for Darwin_Stdint_5
2258 static const char* apzDarwin_Stdint_5Patch[] = {
2260 "#if __WORDSIZE == 64\n\
2261 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
2262 #define INTMAX_MAX 9223372036854775807L\n\
2263 #define UINTMAX_MAX 18446744073709551615UL\n\
2265 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
2266 #define INTMAX_MAX 9223372036854775807LL\n\
2267 #define UINTMAX_MAX 18446744073709551615ULL\n\
2271 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2273 * Description of Darwin_Stdint_6 fix
2275 tSCC zDarwin_Stdint_6Name[] =
2279 * File name selection pattern
2281 tSCC zDarwin_Stdint_6List[] =
2282 "stdint-darwin.h\0stdint.h\0";
2284 * Machine/OS name selection pattern
2286 tSCC* apzDarwin_Stdint_6Machs[] = {
2288 (const char*)NULL };
2291 * content selection pattern - do fix if pattern found
2293 tSCC zDarwin_Stdint_6Select0[] =
2294 "#if __WORDSIZE == 64\n\
2295 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
2296 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
2298 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
2299 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
2302 #define DARWIN_STDINT_6_TEST_CT 1
2303 static tTestDesc aDarwin_Stdint_6Tests[] = {
2304 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
2307 * Fix Command Arguments for Darwin_Stdint_6
2309 static const char* apzDarwin_Stdint_6Patch[] = {
2311 "#if __WORDSIZE == 64\n\
2312 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
2313 #define PTRDIFF_MAX 9223372036854775807L\n\
2315 #define PTRDIFF_MIN (-2147483647 - 1)\n\
2316 #define PTRDIFF_MAX 2147483647\n\
2320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2322 * Description of Darwin_Stdint_7 fix
2324 tSCC zDarwin_Stdint_7Name[] =
2328 * File name selection pattern
2330 tSCC zDarwin_Stdint_7List[] =
2331 "stdint-darwin.h\0stdint.h\0";
2333 * Machine/OS name selection pattern
2335 tSCC* apzDarwin_Stdint_7Machs[] = {
2337 (const char*)NULL };
2340 * content selection pattern - do fix if pattern found
2342 tSCC zDarwin_Stdint_7Select0[] =
2343 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
2344 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
2346 #define DARWIN_STDINT_7_TEST_CT 1
2347 static tTestDesc aDarwin_Stdint_7Tests[] = {
2348 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
2351 * Fix Command Arguments for Darwin_Stdint_7
2353 static const char* apzDarwin_Stdint_7Patch[] = {
2355 "#if __WORDSIZE == 64\n\
2356 #define INTMAX_C(v) (v ## L)\n\
2357 #define UINTMAX_C(v) (v ## UL)\n\
2359 #define INTMAX_C(v) (v ## LL)\n\
2360 #define UINTMAX_C(v) (v ## ULL)\n\
2364 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2366 * Description of Dec_Intern_Asm fix
2368 tSCC zDec_Intern_AsmName[] =
2372 * File name selection pattern
2374 tSCC zDec_Intern_AsmList[] =
2377 * Machine/OS name selection pattern
2379 #define apzDec_Intern_AsmMachs (const char**)NULL
2380 #define DEC_INTERN_ASM_TEST_CT 0
2381 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2384 * Fix Command Arguments for Dec_Intern_Asm
2386 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
2387 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2389 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2393 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2395 * Description of Djgpp_Wchar_H fix
2397 tSCC zDjgpp_Wchar_HName[] =
2401 * File name selection pattern
2403 #define zDjgpp_Wchar_HList (char*)NULL
2405 * Machine/OS name selection pattern
2407 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2410 * content selection pattern - do fix if pattern found
2412 tSCC zDjgpp_Wchar_HSelect0[] =
2416 * content bypass pattern - skip fix if pattern found
2418 tSCC zDjgpp_Wchar_HBypass0[] =
2421 #define DJGPP_WCHAR_H_TEST_CT 2
2422 static tTestDesc aDjgpp_Wchar_HTests[] = {
2423 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2424 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2427 * Fix Command Arguments for Djgpp_Wchar_H
2429 static const char* apzDjgpp_Wchar_HPatch[] = {
2432 #include <sys/djtypes.h>",
2433 "#include <stddef.h>",
2436 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2438 * Description of Ecd_Cursor fix
2440 tSCC zEcd_CursorName[] =
2444 * File name selection pattern
2446 tSCC zEcd_CursorList[] =
2447 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2449 * Machine/OS name selection pattern
2451 #define apzEcd_CursorMachs (const char**)NULL
2454 * content selection pattern - do fix if pattern found
2456 tSCC zEcd_CursorSelect0[] =
2459 #define ECD_CURSOR_TEST_CT 1
2460 static tTestDesc aEcd_CursorTests[] = {
2461 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2464 * Fix Command Arguments for Ecd_Cursor
2466 static const char* apzEcd_CursorPatch[] = {
2471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2473 * Description of Freebsd_Gcc3_Breakage fix
2475 tSCC zFreebsd_Gcc3_BreakageName[] =
2476 "freebsd_gcc3_breakage";
2479 * File name selection pattern
2481 tSCC zFreebsd_Gcc3_BreakageList[] =
2484 * Machine/OS name selection pattern
2486 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2488 (const char*)NULL };
2491 * content selection pattern - do fix if pattern found
2493 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2494 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2497 * content bypass pattern - skip fix if pattern found
2499 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2500 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2502 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2503 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2504 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2505 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2508 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2510 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2512 "%0 || __GNUC__ >= 3",
2515 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2517 * Description of Freebsd_Gcc4_Breakage fix
2519 tSCC zFreebsd_Gcc4_BreakageName[] =
2520 "freebsd_gcc4_breakage";
2523 * File name selection pattern
2525 tSCC zFreebsd_Gcc4_BreakageList[] =
2528 * Machine/OS name selection pattern
2530 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2532 (const char*)NULL };
2535 * content selection pattern - do fix if pattern found
2537 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2538 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2540 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2541 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2542 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2545 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2547 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2549 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2552 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2554 * Description of Glibc_C99_Inline_1 fix
2556 tSCC zGlibc_C99_Inline_1Name[] =
2557 "glibc_c99_inline_1";
2560 * File name selection pattern
2562 tSCC zGlibc_C99_Inline_1List[] =
2563 "features.h\0*/features.h\0";
2565 * Machine/OS name selection pattern
2567 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2570 * content selection pattern - do fix if pattern found
2572 tSCC zGlibc_C99_Inline_1Select0[] =
2573 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2575 #define GLIBC_C99_INLINE_1_TEST_CT 1
2576 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2577 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2580 * Fix Command Arguments for Glibc_C99_Inline_1
2582 static const char* apzGlibc_C99_Inline_1Patch[] = {
2584 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2589 * Description of Glibc_C99_Inline_1a fix
2591 tSCC zGlibc_C99_Inline_1aName[] =
2592 "glibc_c99_inline_1a";
2595 * File name selection pattern
2597 tSCC zGlibc_C99_Inline_1aList[] =
2598 "features.h\0*/features.h\0";
2600 * Machine/OS name selection pattern
2602 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2605 * content selection pattern - do fix if pattern found
2607 tSCC zGlibc_C99_Inline_1aSelect0[] =
2608 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2609 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2611 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2612 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2613 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2616 * Fix Command Arguments for Glibc_C99_Inline_1a
2618 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2620 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2624 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2626 * Description of Glibc_C99_Inline_2 fix
2628 tSCC zGlibc_C99_Inline_2Name[] =
2629 "glibc_c99_inline_2";
2632 * File name selection pattern
2634 tSCC zGlibc_C99_Inline_2List[] =
2635 "sys/stat.h\0*/sys/stat.h\0";
2637 * Machine/OS name selection pattern
2639 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2642 * content selection pattern - do fix if pattern found
2644 tSCC zGlibc_C99_Inline_2Select0[] =
2645 "extern __inline__ int";
2647 #define GLIBC_C99_INLINE_2_TEST_CT 1
2648 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2649 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2652 * Fix Command Arguments for Glibc_C99_Inline_2
2654 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
2655 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2658 __inline__ int \\1/",
2659 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2662 __inline__ int \\1/",
2663 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2666 __inline__ int \\1/",
2667 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2670 __inline__ int __REDIRECT\\1 (\\2/",
2671 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2674 __inline__ int __REDIRECT\\1 (\\2/",
2675 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
2681 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2683 * Description of Glibc_C99_Inline_3 fix
2685 tSCC zGlibc_C99_Inline_3Name[] =
2686 "glibc_c99_inline_3";
2689 * File name selection pattern
2691 tSCC zGlibc_C99_Inline_3List[] =
2692 "bits/string2.h\0*/bits/string2.h\0";
2694 * Machine/OS name selection pattern
2696 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2699 * content selection pattern - do fix if pattern found
2701 tSCC zGlibc_C99_Inline_3Select0[] =
2705 * content bypass pattern - skip fix if pattern found
2707 tSCC zGlibc_C99_Inline_3Bypass0[] =
2708 "__extern_inline|__GNU_STDC_INLINE__";
2710 #define GLIBC_C99_INLINE_3_TEST_CT 2
2711 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2712 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
2713 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
2716 * Fix Command Arguments for Glibc_C99_Inline_3
2718 static const char* apzGlibc_C99_Inline_3Patch[] = {
2720 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
2721 "^# ifdef __cplusplus$",
2724 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2726 * Description of Glibc_C99_Inline_4 fix
2728 tSCC zGlibc_C99_Inline_4Name[] =
2729 "glibc_c99_inline_4";
2732 * File name selection pattern
2734 tSCC zGlibc_C99_Inline_4List[] =
2735 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
2737 * Machine/OS name selection pattern
2739 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2742 * content selection pattern - do fix if pattern found
2744 tSCC zGlibc_C99_Inline_4Select0[] =
2745 "(^| )extern __inline";
2748 * content bypass pattern - skip fix if pattern found
2750 tSCC zGlibc_C99_Inline_4Bypass0[] =
2751 "__extern_inline|__gnu_inline__";
2753 #define GLIBC_C99_INLINE_4_TEST_CT 2
2754 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2755 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
2756 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
2759 * Fix Command Arguments for Glibc_C99_Inline_4
2761 static const char* apzGlibc_C99_Inline_4Patch[] = {
2763 "%0 __attribute__ ((__gnu_inline__))",
2766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2768 * Description of Glibc_Mutex_Init fix
2770 tSCC zGlibc_Mutex_InitName[] =
2774 * File name selection pattern
2776 tSCC zGlibc_Mutex_InitList[] =
2779 * Machine/OS name selection pattern
2781 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2784 * content selection pattern - do fix if pattern found
2786 tSCC zGlibc_Mutex_InitSelect0[] =
2787 "\\{ *\\{ *0, *\\} *\\}";
2789 #define GLIBC_MUTEX_INIT_TEST_CT 1
2790 static tTestDesc aGlibc_Mutex_InitTests[] = {
2791 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2794 * Fix Command Arguments for Glibc_Mutex_Init
2796 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
2797 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
2799 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
2801 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
2802 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
2803 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2804 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2805 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
2806 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2807 "-e", "/define[ \t]\\{1,\\}PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\/N;s/^[ \t]*#[ \t]*\\(define[ \t]\\{1,\\}PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\\\)\\n[ \t]*{ { 0, } }/# if __WORDSIZE == 64\\\n\
2809 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
2812 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
2814 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2815 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2820 * Description of Glibc_Stdint fix
2822 tSCC zGlibc_StdintName[] =
2826 * File name selection pattern
2828 tSCC zGlibc_StdintList[] =
2831 * Machine/OS name selection pattern
2833 #define apzGlibc_StdintMachs (const char**)NULL
2836 * content selection pattern - do fix if pattern found
2838 tSCC zGlibc_StdintSelect0[] =
2841 #define GLIBC_STDINT_TEST_CT 1
2842 static tTestDesc aGlibc_StdintTests[] = {
2843 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
2846 * Fix Command Arguments for Glibc_Stdint
2848 static const char* apzGlibc_StdintPatch[] = {
2850 "# define UINT8_C(c)\tc\n\
2851 # define UINT16_C(c)\tc",
2852 "# define UINT8_C\\(c\\)\tc ## U\n\
2853 # define UINT16_C\\(c\\)\tc ## U",
2856 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2858 * Description of Glibc_Tgmath fix
2860 tSCC zGlibc_TgmathName[] =
2864 * File name selection pattern
2866 tSCC zGlibc_TgmathList[] =
2869 * Machine/OS name selection pattern
2871 #define apzGlibc_TgmathMachs (const char**)NULL
2874 * content selection pattern - do fix if pattern found
2876 tSCC zGlibc_TgmathSelect0[] =
2877 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
2880 * content bypass pattern - skip fix if pattern found
2882 tSCC zGlibc_TgmathBypass0[] =
2883 "__floating_type\\(type\\) \\\\\n\
2884 .*__builtin_classify_type";
2886 #define GLIBC_TGMATH_TEST_CT 2
2887 static tTestDesc aGlibc_TgmathTests[] = {
2888 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
2889 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
2892 * Fix Command Arguments for Glibc_Tgmath
2894 static const char* apzGlibc_TgmathPatch[] = {
2896 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
2899 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2901 * Description of Gnu_Types fix
2903 tSCC zGnu_TypesName[] =
2907 * File name selection pattern
2909 tSCC zGnu_TypesList[] =
2910 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2912 * Machine/OS name selection pattern
2914 tSCC* apzGnu_TypesMachs[] = {
2915 "*-*-solaris2.1[0-9]*",
2916 (const char*)NULL };
2919 * content selection pattern - do fix if pattern found
2921 tSCC zGnu_TypesSelect0[] =
2922 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2925 * content bypass pattern - skip fix if pattern found
2927 tSCC zGnu_TypesBypass0[] =
2928 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2930 #define GNU_TYPES_TEST_CT 2
2931 static tTestDesc aGnu_TypesTests[] = {
2932 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2933 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2936 * Fix Command Arguments for Gnu_Types
2938 static const char* apzGnu_TypesPatch[] = {
2942 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2944 * Description of Hp_Inline fix
2946 tSCC zHp_InlineName[] =
2950 * File name selection pattern
2952 tSCC zHp_InlineList[] =
2953 "sys/spinlock.h\0machine/machparam.h\0";
2955 * Machine/OS name selection pattern
2957 #define apzHp_InlineMachs (const char**)NULL
2960 * content selection pattern - do fix if pattern found
2962 tSCC zHp_InlineSelect0[] =
2963 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2965 #define HP_INLINE_TEST_CT 1
2966 static tTestDesc aHp_InlineTests[] = {
2967 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2970 * Fix Command Arguments for Hp_Inline
2972 static const char* apzHp_InlinePatch[] = {
2975 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2980 * Description of Hp_Sysfile fix
2982 tSCC zHp_SysfileName[] =
2986 * File name selection pattern
2988 tSCC zHp_SysfileList[] =
2991 * Machine/OS name selection pattern
2993 #define apzHp_SysfileMachs (const char**)NULL
2996 * content selection pattern - do fix if pattern found
2998 tSCC zHp_SysfileSelect0[] =
3001 #define HP_SYSFILE_TEST_CT 1
3002 static tTestDesc aHp_SysfileTests[] = {
3003 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
3006 * Fix Command Arguments for Hp_Sysfile
3008 static const char* apzHp_SysfilePatch[] = {
3010 "(struct file *, ...)",
3014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3016 * Description of Hppa_Hpux_Fp_Macros fix
3018 tSCC zHppa_Hpux_Fp_MacrosName[] =
3019 "hppa_hpux_fp_macros";
3022 * File name selection pattern
3024 tSCC zHppa_Hpux_Fp_MacrosList[] =
3027 * Machine/OS name selection pattern
3029 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3031 (const char*)NULL };
3034 * content selection pattern - do fix if pattern found
3036 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3037 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3038 #[ \t]*define[ \t]*FP_ZERO.*\n\
3039 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3040 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3041 #[ \t]*define[ \t]*FP_NAN.*\n";
3043 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
3044 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3045 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3048 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
3050 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3052 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3053 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3054 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3056 #ifdef _INCLUDE_HPUX_SOURCE\n",
3059 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3061 * Description of Hpux10_Cpp_Pow_Inline fix
3063 tSCC zHpux10_Cpp_Pow_InlineName[] =
3064 "hpux10_cpp_pow_inline";
3067 * File name selection pattern
3069 tSCC zHpux10_Cpp_Pow_InlineList[] =
3070 "fixinc-test-limits.h\0math.h\0";
3072 * Machine/OS name selection pattern
3074 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3077 * content selection pattern - do fix if pattern found
3079 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3080 "^# +ifdef +__cplusplus\n\
3082 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3083 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3085 +extern +\"C\" +\\{\n\
3089 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
3090 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3091 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3094 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3096 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3103 * Description of Hpux11_Cpp_Pow_Inline fix
3105 tSCC zHpux11_Cpp_Pow_InlineName[] =
3106 "hpux11_cpp_pow_inline";
3109 * File name selection pattern
3111 tSCC zHpux11_Cpp_Pow_InlineList[] =
3114 * Machine/OS name selection pattern
3116 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3119 * content selection pattern - do fix if pattern found
3121 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3122 " +inline double pow\\(double d,int expon\\) \\{\n\
3123 +return pow\\(d, \\(double\\)expon\\);\n\
3126 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
3127 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
3128 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3131 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
3133 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
3138 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3140 * Description of Hpux10_Ctype_Declarations1 fix
3142 tSCC zHpux10_Ctype_Declarations1Name[] =
3143 "hpux10_ctype_declarations1";
3146 * File name selection pattern
3148 tSCC zHpux10_Ctype_Declarations1List[] =
3151 * Machine/OS name selection pattern
3153 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
3156 * content selection pattern - do fix if pattern found
3158 tSCC zHpux10_Ctype_Declarations1Select0[] =
3159 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
3162 * content bypass pattern - skip fix if pattern found
3164 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
3165 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
3167 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
3168 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
3169 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
3170 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
3173 * Fix Command Arguments for Hpux10_Ctype_Declarations1
3175 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
3177 "#ifdef _PROTOTYPES\n\
3178 extern int __tolower(int);\n\
3179 extern int __toupper(int);\n\
3180 #else /* NOT _PROTOTYPES */\n\
3181 extern int __tolower();\n\
3182 extern int __toupper();\n\
3183 #endif /* _PROTOTYPES */\n\n\
3187 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3189 * Description of Hpux10_Ctype_Declarations2 fix
3191 tSCC zHpux10_Ctype_Declarations2Name[] =
3192 "hpux10_ctype_declarations2";
3195 * File name selection pattern
3197 tSCC zHpux10_Ctype_Declarations2List[] =
3200 * Machine/OS name selection pattern
3202 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
3205 * content selection pattern - do fix if pattern found
3207 tSCC zHpux10_Ctype_Declarations2Select0[] =
3208 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
3211 * content bypass pattern - skip fix if pattern found
3213 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
3214 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
3216 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
3217 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
3218 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
3219 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
3222 * Fix Command Arguments for Hpux10_Ctype_Declarations2
3224 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
3227 #ifdef _PROTOTYPES\n\
3228 extern int _isalnum(int);\n\
3229 extern int _isalpha(int);\n\
3230 extern int _iscntrl(int);\n\
3231 extern int _isdigit(int);\n\
3232 extern int _isgraph(int);\n\
3233 extern int _islower(int);\n\
3234 extern int _isprint(int);\n\
3235 extern int _ispunct(int);\n\
3236 extern int _isspace(int);\n\
3237 extern int _isupper(int);\n\
3238 extern int _isxdigit(int);\n\
3239 # else /* not _PROTOTYPES */\n\
3240 extern int _isalnum();\n\
3241 extern int _isalpha();\n\
3242 extern int _iscntrl();\n\
3243 extern int _isdigit();\n\
3244 extern int _isgraph();\n\
3245 extern int _islower();\n\
3246 extern int _isprint();\n\
3247 extern int _ispunct();\n\
3248 extern int _isspace();\n\
3249 extern int _isupper();\n\
3250 extern int _isxdigit();\n\
3251 #endif /* _PROTOTYPES */\n",
3254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3256 * Description of Hpux10_Stdio_Declarations fix
3258 tSCC zHpux10_Stdio_DeclarationsName[] =
3259 "hpux10_stdio_declarations";
3262 * File name selection pattern
3264 tSCC zHpux10_Stdio_DeclarationsList[] =
3267 * Machine/OS name selection pattern
3269 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
3272 * content selection pattern - do fix if pattern found
3274 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
3275 "^#[ \t]*define _iob[ \t]*__iob";
3278 * content bypass pattern - skip fix if pattern found
3280 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
3281 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
3283 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
3284 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
3285 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
3286 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
3289 * Fix Command Arguments for Hpux10_Stdio_Declarations
3291 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
3294 # if defined(__STDC__) || defined(__cplusplus)\n\
3295 extern int snprintf(char *, size_t, const char *, ...);\n\
3296 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
3297 # else /* not __STDC__) || __cplusplus */\n\
3298 extern int snprintf();\n\
3299 extern int vsnprintf();\n\
3300 # endif /* __STDC__) || __cplusplus */\n",
3303 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3305 * Description of Hpux11_Abs fix
3307 tSCC zHpux11_AbsName[] =
3311 * File name selection pattern
3313 tSCC zHpux11_AbsList[] =
3316 * Machine/OS name selection pattern
3318 tSCC* apzHpux11_AbsMachs[] = {
3320 (const char*)NULL };
3323 * content selection pattern - do fix if pattern found
3325 tSCC zHpux11_AbsSelect0[] =
3326 "ifndef _MATH_INCLUDED";
3328 #define HPUX11_ABS_TEST_CT 1
3329 static tTestDesc aHpux11_AbsTests[] = {
3330 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
3333 * Fix Command Arguments for Hpux11_Abs
3335 static const char* apzHpux11_AbsPatch[] = {
3337 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
3340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3342 * Description of Hpux11_Fabsf fix
3344 tSCC zHpux11_FabsfName[] =
3348 * File name selection pattern
3350 tSCC zHpux11_FabsfList[] =
3353 * Machine/OS name selection pattern
3355 #define apzHpux11_FabsfMachs (const char**)NULL
3358 * content selection pattern - do fix if pattern found
3360 tSCC zHpux11_FabsfSelect0[] =
3361 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
3364 * content bypass pattern - skip fix if pattern found
3366 tSCC zHpux11_FabsfBypass0[] =
3369 #define HPUX11_FABSF_TEST_CT 2
3370 static tTestDesc aHpux11_FabsfTests[] = {
3371 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
3372 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
3375 * Fix Command Arguments for Hpux11_Fabsf
3377 static const char* apzHpux11_FabsfPatch[] = {
3379 "#ifndef __cplusplus\n\
3384 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3386 * Description of Hpux11_Pthread_Const fix
3388 tSCC zHpux11_Pthread_ConstName[] =
3389 "hpux11_pthread_const";
3392 * File name selection pattern
3394 tSCC zHpux11_Pthread_ConstList[] =
3397 * Machine/OS name selection pattern
3399 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3400 "*-hp-hpux11.[0-3]*",
3401 (const char*)NULL };
3404 * content selection pattern - do fix if pattern found
3406 tSCC zHpux11_Pthread_ConstSelect0[] =
3407 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3409 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3410 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3411 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3414 * Fix Command Arguments for Hpux11_Pthread_Const
3416 static const char* apzHpux11_Pthread_ConstPatch[] = {
3418 "#define __POINTER_SET\t\t((void *) 1L)",
3421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3423 * Description of Hpux11_Size_T fix
3425 tSCC zHpux11_Size_TName[] =
3429 * File name selection pattern
3431 #define zHpux11_Size_TList (char*)NULL
3433 * Machine/OS name selection pattern
3435 tSCC* apzHpux11_Size_TMachs[] = {
3437 (const char*)NULL };
3440 * content selection pattern - do fix if pattern found
3442 tSCC zHpux11_Size_TSelect0[] =
3445 #define HPUX11_SIZE_T_TEST_CT 1
3446 static tTestDesc aHpux11_Size_TTests[] = {
3447 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
3450 * Fix Command Arguments for Hpux11_Size_T
3452 static const char* apzHpux11_Size_TPatch[] = {
3457 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3459 * Description of Hpux11_Snprintf fix
3461 tSCC zHpux11_SnprintfName[] =
3465 * File name selection pattern
3467 tSCC zHpux11_SnprintfList[] =
3470 * Machine/OS name selection pattern
3472 #define apzHpux11_SnprintfMachs (const char**)NULL
3475 * content selection pattern - do fix if pattern found
3477 tSCC zHpux11_SnprintfSelect0[] =
3478 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3480 #define HPUX11_SNPRINTF_TEST_CT 1
3481 static tTestDesc aHpux11_SnprintfTests[] = {
3482 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3485 * Fix Command Arguments for Hpux11_Snprintf
3487 static const char* apzHpux11_SnprintfPatch[] = {
3492 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3494 * Description of Hpux11_Vsnprintf fix
3496 tSCC zHpux11_VsnprintfName[] =
3500 * File name selection pattern
3502 tSCC zHpux11_VsnprintfList[] =
3505 * Machine/OS name selection pattern
3507 #define apzHpux11_VsnprintfMachs (const char**)NULL
3510 * content selection pattern - do fix if pattern found
3512 tSCC zHpux11_VsnprintfSelect0[] =
3513 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3515 #define HPUX11_VSNPRINTF_TEST_CT 1
3516 static tTestDesc aHpux11_VsnprintfTests[] = {
3517 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3520 * Fix Command Arguments for Hpux11_Vsnprintf
3522 static const char* apzHpux11_VsnprintfPatch[] = {
3527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3529 * Description of Hpux8_Bogus_Inlines fix
3531 tSCC zHpux8_Bogus_InlinesName[] =
3532 "hpux8_bogus_inlines";
3535 * File name selection pattern
3537 tSCC zHpux8_Bogus_InlinesList[] =
3540 * Machine/OS name selection pattern
3542 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3545 * content selection pattern - do fix if pattern found
3547 tSCC zHpux8_Bogus_InlinesSelect0[] =
3551 * content bypass pattern - skip fix if pattern found
3553 tSCC zHpux8_Bogus_InlinesBypass0[] =
3556 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3557 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3558 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3559 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3562 * Fix Command Arguments for Hpux8_Bogus_Inlines
3564 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
3565 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3566 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3567 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3568 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3571 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3573 * Description of Hpux_Ctype_Macros fix
3575 tSCC zHpux_Ctype_MacrosName[] =
3576 "hpux_ctype_macros";
3579 * File name selection pattern
3581 tSCC zHpux_Ctype_MacrosList[] =
3584 * Machine/OS name selection pattern
3586 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3589 * content selection pattern - do fix if pattern found
3591 tSCC zHpux_Ctype_MacrosSelect0[] =
3592 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3594 #define HPUX_CTYPE_MACROS_TEST_CT 1
3595 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3596 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3599 * Fix Command Arguments for Hpux_Ctype_Macros
3601 static const char* apzHpux_Ctype_MacrosPatch[] = {
3606 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3608 * Description of Hpux_Htonl fix
3610 tSCC zHpux_HtonlName[] =
3614 * File name selection pattern
3616 tSCC zHpux_HtonlList[] =
3619 * Machine/OS name selection pattern
3621 #define apzHpux_HtonlMachs (const char**)NULL
3624 * content selection pattern - do fix if pattern found
3626 tSCC zHpux_HtonlSelect0[] =
3627 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
3629 \\* Macros for number representation conversion\\.\n\
3633 #define HPUX_HTONL_TEST_CT 1
3634 static tTestDesc aHpux_HtonlTests[] = {
3635 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3638 * Fix Command Arguments for Hpux_Htonl
3640 static const char* apzHpux_HtonlPatch[] = {
3646 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3648 * Description of Hpux_Long_Double fix
3650 tSCC zHpux_Long_DoubleName[] =
3654 * File name selection pattern
3656 tSCC zHpux_Long_DoubleList[] =
3659 * Machine/OS name selection pattern
3661 tSCC* apzHpux_Long_DoubleMachs[] = {
3663 "*-*-hpux11.[012]*",
3664 (const char*)NULL };
3667 * content selection pattern - do fix if pattern found
3669 tSCC zHpux_Long_DoubleSelect0[] =
3670 "extern[ \t]long_double[ \t]strtold";
3673 * content bypass pattern - skip fix if pattern found
3675 tSCC zHpux_Long_DoubleBypass0[] =
3678 #define HPUX_LONG_DOUBLE_TEST_CT 2
3679 static tTestDesc aHpux_Long_DoubleTests[] = {
3680 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3681 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3684 * Fix Command Arguments for Hpux_Long_Double
3686 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
3687 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3688 "-e", "s/long_double/long double/g",
3691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3693 * Description of Hpux_Long_Double_2 fix
3695 tSCC zHpux_Long_Double_2Name[] =
3696 "hpux_long_double_2";
3699 * File name selection pattern
3701 tSCC zHpux_Long_Double_2List[] =
3704 * Machine/OS name selection pattern
3706 tSCC* apzHpux_Long_Double_2Machs[] = {
3707 "hppa*-*-hpux11.3*",
3708 (const char*)NULL };
3711 * content selection pattern - do fix if pattern found
3713 tSCC zHpux_Long_Double_2Select0[] =
3714 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
3716 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
3717 static tTestDesc aHpux_Long_Double_2Tests[] = {
3718 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
3721 * Fix Command Arguments for Hpux_Long_Double_2
3723 static const char* apzHpux_Long_Double_2Patch[] = {
3725 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
3728 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3730 * Description of Hpux_Systime fix
3732 tSCC zHpux_SystimeName[] =
3736 * File name selection pattern
3738 tSCC zHpux_SystimeList[] =
3741 * Machine/OS name selection pattern
3743 #define apzHpux_SystimeMachs (const char**)NULL
3746 * content selection pattern - do fix if pattern found
3748 tSCC zHpux_SystimeSelect0[] =
3749 "^extern struct sigevent;";
3751 #define HPUX_SYSTIME_TEST_CT 1
3752 static tTestDesc aHpux_SystimeTests[] = {
3753 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3756 * Fix Command Arguments for Hpux_Systime
3758 static const char* apzHpux_SystimePatch[] = {
3763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3765 * Description of Hpux_Spu_Info fix
3767 tSCC zHpux_Spu_InfoName[] =
3771 * File name selection pattern
3773 tSCC zHpux_Spu_InfoList[] =
3774 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
3776 * Machine/OS name selection pattern
3778 tSCC* apzHpux_Spu_InfoMachs[] = {
3780 (const char*)NULL };
3783 * content selection pattern - do fix if pattern found
3785 tSCC zHpux_Spu_InfoSelect0[] =
3786 "^.*extern.*spu_info.*";
3788 #define HPUX_SPU_INFO_TEST_CT 1
3789 static tTestDesc aHpux_Spu_InfoTests[] = {
3790 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3793 * Fix Command Arguments for Hpux_Spu_Info
3795 static const char* apzHpux_Spu_InfoPatch[] = {
3802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3804 * Description of Hpux11_Extern_Sendfile fix
3806 tSCC zHpux11_Extern_SendfileName[] =
3807 "hpux11_extern_sendfile";
3810 * File name selection pattern
3812 tSCC zHpux11_Extern_SendfileList[] =
3815 * Machine/OS name selection pattern
3817 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3818 "*-hp-hpux11.[12]*",
3819 (const char*)NULL };
3822 * content selection pattern - do fix if pattern found
3824 tSCC zHpux11_Extern_SendfileSelect0[] =
3825 "^[ \t]*extern sbsize_t sendfile.*\n\
3828 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3829 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3830 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3833 * Fix Command Arguments for Hpux11_Extern_Sendfile
3835 static const char* apzHpux11_Extern_SendfilePatch[] = {
3837 "#ifndef _APP32_64BIT_OFF_T\n\
3841 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3843 * Description of Hpux11_Extern_Sendpath fix
3845 tSCC zHpux11_Extern_SendpathName[] =
3846 "hpux11_extern_sendpath";
3849 * File name selection pattern
3851 tSCC zHpux11_Extern_SendpathList[] =
3854 * Machine/OS name selection pattern
3856 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3857 "*-hp-hpux11.[12]*",
3858 (const char*)NULL };
3861 * content selection pattern - do fix if pattern found
3863 tSCC zHpux11_Extern_SendpathSelect0[] =
3864 "^[ \t]*extern sbsize_t sendpath.*\n\
3867 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3868 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3869 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3872 * Fix Command Arguments for Hpux11_Extern_Sendpath
3874 static const char* apzHpux11_Extern_SendpathPatch[] = {
3876 "#ifndef _APP32_64BIT_OFF_T\n\
3880 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3882 * Description of Hpux_Extern_Errno fix
3884 tSCC zHpux_Extern_ErrnoName[] =
3885 "hpux_extern_errno";
3888 * File name selection pattern
3890 tSCC zHpux_Extern_ErrnoList[] =
3893 * Machine/OS name selection pattern
3895 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3897 "*-hp-hpux11.[0-2]*",
3898 (const char*)NULL };
3901 * content selection pattern - do fix if pattern found
3903 tSCC zHpux_Extern_ErrnoSelect0[] =
3904 "^[ \t]*extern int errno;$";
3906 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3907 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3908 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3911 * Fix Command Arguments for Hpux_Extern_Errno
3913 static const char* apzHpux_Extern_ErrnoPatch[] = {
3915 "#ifdef __cplusplus\n\
3919 #ifdef __cplusplus\n\
3924 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3926 * Description of Hpux_Pthread_Initializers fix
3928 tSCC zHpux_Pthread_InitializersName[] =
3929 "hpux_pthread_initializers";
3932 * File name selection pattern
3934 tSCC zHpux_Pthread_InitializersList[] =
3937 * Machine/OS name selection pattern
3939 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3940 "*-hp-hpux11.[0-3]*",
3941 (const char*)NULL };
3942 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3943 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3946 * Fix Command Arguments for Hpux_Pthread_Initializers
3948 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
3949 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3950 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3951 "-e", "/^[ \t]*0$/d",
3952 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3953 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3954 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3955 "-e", "s@^[ \t]*__LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@\t{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3956 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3957 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3958 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3959 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3960 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3961 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3964 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3966 * Description of Hpux_C99_Intptr fix
3968 tSCC zHpux_C99_IntptrName[] =
3972 * File name selection pattern
3974 tSCC zHpux_C99_IntptrList[] =
3975 "stdint-hpux11.h\0stdint.h\0";
3977 * Machine/OS name selection pattern
3979 tSCC* apzHpux_C99_IntptrMachs[] = {
3981 (const char*)NULL };
3982 #define HPUX_C99_INTPTR_TEST_CT 0
3983 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
3986 * Fix Command Arguments for Hpux_C99_Intptr
3988 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
3989 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
3990 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
3991 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
3992 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
3993 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
3994 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
3997 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3999 * Description of Hpux_C99_Inttypes fix
4001 tSCC zHpux_C99_InttypesName[] =
4002 "hpux_c99_inttypes";
4005 * File name selection pattern
4007 tSCC zHpux_C99_InttypesList[] =
4008 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4010 * Machine/OS name selection pattern
4012 tSCC* apzHpux_C99_InttypesMachs[] = {
4013 "*-hp-hpux11.[23]*",
4014 (const char*)NULL };
4015 #define HPUX_C99_INTTYPES_TEST_CT 0
4016 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4019 * Fix Command Arguments for Hpux_C99_Inttypes
4021 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4022 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4023 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4024 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4025 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4030 * Description of Hpux_C99_Inttypes2 fix
4032 tSCC zHpux_C99_Inttypes2Name[] =
4033 "hpux_c99_inttypes2";
4036 * File name selection pattern
4038 tSCC zHpux_C99_Inttypes2List[] =
4039 "stdint-hpux11.h\0stdint.h\0";
4041 * Machine/OS name selection pattern
4043 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4045 (const char*)NULL };
4046 #define HPUX_C99_INTTYPES2_TEST_CT 0
4047 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4050 * Fix Command Arguments for Hpux_C99_Inttypes2
4052 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4053 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4054 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4055 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4056 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4059 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4061 * Description of Hpux_Stdint_Least_Fast fix
4063 tSCC zHpux_Stdint_Least_FastName[] =
4064 "hpux_stdint_least_fast";
4067 * File name selection pattern
4069 tSCC zHpux_Stdint_Least_FastList[] =
4070 "stdint-hpux11.h\0stdint.h\0";
4072 * Machine/OS name selection pattern
4074 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
4076 (const char*)NULL };
4079 * content selection pattern - do fix if pattern found
4081 tSCC zHpux_Stdint_Least_FastSelect0[] =
4082 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
4084 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
4085 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
4086 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
4089 * Fix Command Arguments for Hpux_Stdint_Least_Fast
4091 static const char* apzHpux_Stdint_Least_FastPatch[] = {
4093 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
4096 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4098 * Description of Hpux_Inttype_Int8_T fix
4100 tSCC zHpux_Inttype_Int8_TName[] =
4101 "hpux_inttype_int8_t";
4104 * File name selection pattern
4106 tSCC zHpux_Inttype_Int8_TList[] =
4107 "sys/_inttypes.h\0";
4109 * Machine/OS name selection pattern
4111 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4113 (const char*)NULL };
4116 * content selection pattern - do fix if pattern found
4118 tSCC zHpux_Inttype_Int8_TSelect0[] =
4119 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4121 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
4122 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4123 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4126 * Fix Command Arguments for Hpux_Inttype_Int8_T
4128 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4130 "typedef signed char int%18_t;",
4133 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4135 * Description of Hpux_Imaginary_I fix
4137 tSCC zHpux_Imaginary_IName[] =
4141 * File name selection pattern
4143 tSCC zHpux_Imaginary_IList[] =
4146 * Machine/OS name selection pattern
4148 tSCC* apzHpux_Imaginary_IMachs[] = {
4150 (const char*)NULL };
4153 * content selection pattern - do fix if pattern found
4155 tSCC zHpux_Imaginary_ISelect0[] =
4156 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4158 #define HPUX_IMAGINARY_I_TEST_CT 1
4159 static tTestDesc aHpux_Imaginary_ITests[] = {
4160 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4163 * Fix Command Arguments for Hpux_Imaginary_I
4165 static const char* apzHpux_Imaginary_IPatch[] = {
4167 "#define _Complex_I (__extension__ 1.0iF)",
4170 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4172 * Description of Huge_Val_Hex fix
4174 tSCC zHuge_Val_HexName[] =
4178 * File name selection pattern
4180 tSCC zHuge_Val_HexList[] =
4181 "bits/huge_val.h\0";
4183 * Machine/OS name selection pattern
4185 #define apzHuge_Val_HexMachs (const char**)NULL
4188 * content selection pattern - do fix if pattern found
4190 tSCC zHuge_Val_HexSelect0[] =
4191 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
4194 * content bypass pattern - skip fix if pattern found
4196 tSCC zHuge_Val_HexBypass0[] =
4197 "__builtin_huge_val";
4199 #define HUGE_VAL_HEX_TEST_CT 2
4200 static tTestDesc aHuge_Val_HexTests[] = {
4201 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
4202 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
4205 * Fix Command Arguments for Huge_Val_Hex
4207 static const char* apzHuge_Val_HexPatch[] = {
4209 "#define HUGE_VAL (__builtin_huge_val())\n",
4212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4214 * Description of Huge_Valf_Hex fix
4216 tSCC zHuge_Valf_HexName[] =
4220 * File name selection pattern
4222 tSCC zHuge_Valf_HexList[] =
4223 "bits/huge_val.h\0";
4225 * Machine/OS name selection pattern
4227 #define apzHuge_Valf_HexMachs (const char**)NULL
4230 * content selection pattern - do fix if pattern found
4232 tSCC zHuge_Valf_HexSelect0[] =
4233 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
4236 * content bypass pattern - skip fix if pattern found
4238 tSCC zHuge_Valf_HexBypass0[] =
4239 "__builtin_huge_valf";
4241 #define HUGE_VALF_HEX_TEST_CT 2
4242 static tTestDesc aHuge_Valf_HexTests[] = {
4243 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
4244 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
4247 * Fix Command Arguments for Huge_Valf_Hex
4249 static const char* apzHuge_Valf_HexPatch[] = {
4251 "#define HUGE_VALF (__builtin_huge_valf())\n",
4254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4256 * Description of Huge_Vall_Hex fix
4258 tSCC zHuge_Vall_HexName[] =
4262 * File name selection pattern
4264 tSCC zHuge_Vall_HexList[] =
4265 "bits/huge_val.h\0";
4267 * Machine/OS name selection pattern
4269 #define apzHuge_Vall_HexMachs (const char**)NULL
4272 * content selection pattern - do fix if pattern found
4274 tSCC zHuge_Vall_HexSelect0[] =
4275 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
4278 * content bypass pattern - skip fix if pattern found
4280 tSCC zHuge_Vall_HexBypass0[] =
4281 "__builtin_huge_vall";
4283 #define HUGE_VALL_HEX_TEST_CT 2
4284 static tTestDesc aHuge_Vall_HexTests[] = {
4285 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
4286 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
4289 * Fix Command Arguments for Huge_Vall_Hex
4291 static const char* apzHuge_Vall_HexPatch[] = {
4293 "#define HUGE_VALL (__builtin_huge_vall())\n",
4296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4298 * Description of Int_Abort_Free_And_Exit fix
4300 tSCC zInt_Abort_Free_And_ExitName[] =
4301 "int_abort_free_and_exit";
4304 * File name selection pattern
4306 tSCC zInt_Abort_Free_And_ExitList[] =
4309 * Machine/OS name selection pattern
4311 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
4314 * content selection pattern - do fix if pattern found
4316 tSCC zInt_Abort_Free_And_ExitSelect0[] =
4317 "int[ \t]+(abort|free|exit)[ \t]*\\(";
4320 * content bypass pattern - skip fix if pattern found
4322 tSCC zInt_Abort_Free_And_ExitBypass0[] =
4323 "_CLASSIC_ANSI_TYPES";
4325 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
4326 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
4327 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
4328 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
4331 * Fix Command Arguments for Int_Abort_Free_And_Exit
4333 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
4338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4340 * Description of Io_Quotes_Def fix
4342 tSCC zIo_Quotes_DefName[] =
4346 * File name selection pattern
4348 #define zIo_Quotes_DefList (char*)NULL
4350 * Machine/OS name selection pattern
4352 #define apzIo_Quotes_DefMachs (const char**)NULL
4355 * content selection pattern - do fix if pattern found
4357 tSCC zIo_Quotes_DefSelect0[] =
4358 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
4360 #define IO_QUOTES_DEF_TEST_CT 1
4361 static tTestDesc aIo_Quotes_DefTests[] = {
4362 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
4365 * Fix Command Arguments for Io_Quotes_Def
4367 static const char* apzIo_Quotes_DefPatch[] = {
4372 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4374 * Description of Io_Quotes_Use fix
4376 tSCC zIo_Quotes_UseName[] =
4380 * File name selection pattern
4382 #define zIo_Quotes_UseList (char*)NULL
4384 * Machine/OS name selection pattern
4386 #define apzIo_Quotes_UseMachs (const char**)NULL
4389 * content selection pattern - do fix if pattern found
4391 tSCC zIo_Quotes_UseSelect0[] =
4392 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
4394 #define IO_QUOTES_USE_TEST_CT 1
4395 static tTestDesc aIo_Quotes_UseTests[] = {
4396 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
4399 * Fix Command Arguments for Io_Quotes_Use
4401 static const char* apzIo_Quotes_UsePatch[] = {
4406 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4408 * Description of Ip_Missing_Semi fix
4410 tSCC zIp_Missing_SemiName[] =
4414 * File name selection pattern
4416 tSCC zIp_Missing_SemiList[] =
4419 * Machine/OS name selection pattern
4421 #define apzIp_Missing_SemiMachs (const char**)NULL
4424 * content selection pattern - do fix if pattern found
4426 tSCC zIp_Missing_SemiSelect0[] =
4429 #define IP_MISSING_SEMI_TEST_CT 1
4430 static tTestDesc aIp_Missing_SemiTests[] = {
4431 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
4434 * Fix Command Arguments for Ip_Missing_Semi
4436 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
4437 "-e", "/^struct/,/^};/s/}$/};/",
4440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4442 * Description of Irix___Restrict fix
4444 tSCC zIrix___RestrictName[] =
4448 * File name selection pattern
4450 tSCC zIrix___RestrictList[] =
4451 "internal/sgimacros.h\0";
4453 * Machine/OS name selection pattern
4455 tSCC* apzIrix___RestrictMachs[] = {
4457 (const char*)NULL };
4460 * content selection pattern - do fix if pattern found
4462 tSCC zIrix___RestrictSelect0[] =
4464 )(#[ \t]*define __restrict restrict)";
4466 #define IRIX___RESTRICT_TEST_CT 1
4467 static tTestDesc aIrix___RestrictTests[] = {
4468 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
4471 * Fix Command Arguments for Irix___Restrict
4473 static const char* apzIrix___RestrictPatch[] = {
4475 "%1# ifndef __cplusplus\n\
4480 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4482 * Description of Irix___Generic1 fix
4484 tSCC zIrix___Generic1Name[] =
4488 * File name selection pattern
4490 tSCC zIrix___Generic1List[] =
4491 "internal/math_core.h\0";
4493 * Machine/OS name selection pattern
4495 tSCC* apzIrix___Generic1Machs[] = {
4497 (const char*)NULL };
4500 * content selection pattern - do fix if pattern found
4502 tSCC zIrix___Generic1Select0[] =
4503 "#define ([a-z]+)\\(x\\) *__generic.*";
4505 #define IRIX___GENERIC1_TEST_CT 1
4506 static tTestDesc aIrix___Generic1Tests[] = {
4507 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
4510 * Fix Command Arguments for Irix___Generic1
4512 static const char* apzIrix___Generic1Patch[] = {
4514 "extern int %1(double);\n\
4515 extern int %1f(float);\n\
4516 extern int %1l(long double);\n\
4517 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
4518 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
4522 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4524 * Description of Irix___Generic2 fix
4526 tSCC zIrix___Generic2Name[] =
4530 * File name selection pattern
4532 tSCC zIrix___Generic2List[] =
4533 "internal/math_core.h\0";
4535 * Machine/OS name selection pattern
4537 tSCC* apzIrix___Generic2Machs[] = {
4539 (const char*)NULL };
4542 * content selection pattern - do fix if pattern found
4544 tSCC zIrix___Generic2Select0[] =
4545 "#define ([a-z]+)\\(x,y\\) *__generic.*";
4547 #define IRIX___GENERIC2_TEST_CT 1
4548 static tTestDesc aIrix___Generic2Tests[] = {
4549 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
4552 * Fix Command Arguments for Irix___Generic2
4554 static const char* apzIrix___Generic2Patch[] = {
4556 "#define %1(x,y) \\\n\
4557 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
4558 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
4562 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4564 * Description of Irix_Asm_Apostrophe fix
4566 tSCC zIrix_Asm_ApostropheName[] =
4567 "irix_asm_apostrophe";
4570 * File name selection pattern
4572 tSCC zIrix_Asm_ApostropheList[] =
4575 * Machine/OS name selection pattern
4577 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
4580 * content selection pattern - do fix if pattern found
4582 tSCC zIrix_Asm_ApostropheSelect0[] =
4583 "^[ \t]*#.*[Ww]e're";
4585 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
4586 static tTestDesc aIrix_Asm_ApostropheTests[] = {
4587 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
4590 * Fix Command Arguments for Irix_Asm_Apostrophe
4592 static const char* apzIrix_Asm_ApostrophePatch[] = {
4595 "^([ \t]*#.*[Ww]e)'re",
4598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4600 * Description of Irix_Complex fix
4602 tSCC zIrix_ComplexName[] =
4606 * File name selection pattern
4608 tSCC zIrix_ComplexList[] =
4611 * Machine/OS name selection pattern
4613 tSCC* apzIrix_ComplexMachs[] = {
4615 (const char*)NULL };
4618 * content selection pattern - do fix if pattern found
4620 tSCC zIrix_ComplexSelect0[] =
4621 "#define[ \t]_Complex_I[ \t]\\(\\(float[ \t]_Complex\\)[ \t]\\(__I__\\)\\)";
4623 #define IRIX_COMPLEX_TEST_CT 1
4624 static tTestDesc aIrix_ComplexTests[] = {
4625 { TT_EGREP, zIrix_ComplexSelect0, (regex_t*)NULL }, };
4628 * Fix Command Arguments for Irix_Complex
4630 static const char* apzIrix_ComplexPatch[] = { sed_cmd_z,
4631 "-e", "s/#define[ \t]_Complex_I[ \t]((float[ \t]_Complex)[ \t](__I__))/#define _Complex_I (__extension__ 1.0iF)/",
4632 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
4633 "-e", "/#define[ \t]_Imaginary_I/d",
4634 "-e", "s/#define[ \t]I[ \t]_Imaginary_I/#define I _Complex_I/",
4637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4639 * Description of Irix_Limits_Const fix
4641 tSCC zIrix_Limits_ConstName[] =
4642 "irix_limits_const";
4645 * File name selection pattern
4647 tSCC zIrix_Limits_ConstList[] =
4648 "fixinc-test-limits.h\0limits.h\0";
4650 * Machine/OS name selection pattern
4652 #define apzIrix_Limits_ConstMachs (const char**)NULL
4655 * content selection pattern - do fix if pattern found
4657 tSCC zIrix_Limits_ConstSelect0[] =
4660 #define IRIX_LIMITS_CONST_TEST_CT 1
4661 static tTestDesc aIrix_Limits_ConstTests[] = {
4662 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
4665 * Fix Command Arguments for Irix_Limits_Const
4667 static const char* apzIrix_Limits_ConstPatch[] = {
4672 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4674 * Description of Irix_Socklen_T fix
4676 tSCC zIrix_Socklen_TName[] =
4680 * File name selection pattern
4682 tSCC zIrix_Socklen_TList[] =
4685 * Machine/OS name selection pattern
4687 tSCC* apzIrix_Socklen_TMachs[] = {
4689 (const char*)NULL };
4692 * content selection pattern - do fix if pattern found
4694 tSCC zIrix_Socklen_TSelect0[] =
4695 "(#define _SOCKLEN_T\n\
4696 )(typedef u_int32_t socklen_t;)";
4698 #define IRIX_SOCKLEN_T_TEST_CT 1
4699 static tTestDesc aIrix_Socklen_TTests[] = {
4700 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
4703 * Fix Command Arguments for Irix_Socklen_T
4705 static const char* apzIrix_Socklen_TPatch[] = {
4707 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
4708 typedef int socklen_t;\n\
4711 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
4714 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4716 * Description of Irix_Stdint_C99_Mode fix
4718 tSCC zIrix_Stdint_C99_ModeName[] =
4719 "irix_stdint_c99_mode";
4722 * File name selection pattern
4724 tSCC zIrix_Stdint_C99_ModeList[] =
4727 * Machine/OS name selection pattern
4729 tSCC* apzIrix_Stdint_C99_ModeMachs[] = {
4731 (const char*)NULL };
4734 * content selection pattern - do fix if pattern found
4736 tSCC zIrix_Stdint_C99_ModeSelect0[] =
4738 )(#error This header file is to be used only for c99 mode compilations)";
4740 #define IRIX_STDINT_C99_MODE_TEST_CT 1
4741 static tTestDesc aIrix_Stdint_C99_ModeTests[] = {
4742 { TT_EGREP, zIrix_Stdint_C99_ModeSelect0, (regex_t*)NULL }, };
4745 * Fix Command Arguments for Irix_Stdint_C99_Mode
4747 static const char* apzIrix_Stdint_C99_ModePatch[] = {
4753 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4755 * Description of Irix_Stdint_C99_Types fix
4757 tSCC zIrix_Stdint_C99_TypesName[] =
4758 "irix_stdint_c99_types";
4761 * File name selection pattern
4763 tSCC zIrix_Stdint_C99_TypesList[] =
4764 "stdint-irix65.h\0stdint.h\0";
4766 * Machine/OS name selection pattern
4768 tSCC* apzIrix_Stdint_C99_TypesMachs[] = {
4770 (const char*)NULL };
4771 #define IRIX_STDINT_C99_TYPES_TEST_CT 0
4772 #define aIrix_Stdint_C99_TypesTests (tTestDesc*)NULL
4775 * Fix Command Arguments for Irix_Stdint_C99_Types
4777 static const char* apzIrix_Stdint_C99_TypesPatch[] = { sed_cmd_z,
4778 "-e", "s@^#define INT64_MIN.*(-0x7fffffffffffffff - 1)$@#define INT64_MIN (-0x7fffffffffffffffLL - 1)@",
4779 "-e", "s@^#define INT64_MAX.*0x7fffffffffffffff$@#define INT64_MAX 0x7fffffffffffffffLL@",
4780 "-e", "s@^#define UINT32_MAX.*0xffffffff$@#define UINT32_MAX 0xffffffffU@",
4781 "-e", "s@^#define UINT64_MAX.*0xffffffffffffffff$@#define UINT64_MAX 0xffffffffffffffffULL@",
4782 "-e", "s@^#define INTPTR_MIN.*INT32_MIN$@#define INTPTR_MIN (-0x7fffffffL - 1)@",
4783 "-e", "s@^#define INTPTR_MAX.*INT32_MAX$@#define INTPTR_MAX 0x7fffffffL@",
4784 "-e", "s@^#define UINTPTR_MAX.*UINT32_MAX$@#define UINTPTR_MAX 0xffffffffUL@",
4785 "-e", "s@^#define INTPTR_MIN.*INT64_MIN@#define INTPTR_MIN (-0x7fffffffffffffffL - 1)@",
4786 "-e", "s@^#define INTPTR_MAX.*INT64_MAX$@#define INTPTR_MAX 0x7fffffffffffffffL@",
4787 "-e", "s@^#define UINTPTR_MAX.*UINT64_MAX$@#define UINTPTR_MAX 0xffffffffffffffffUL@",
4788 "-e", "s@^#define PTRDIFF_MIN.*INT64_MIN$@#define PTRDIFF_MIN (-0x7fffffffffffffffL - 1)@",
4789 "-e", "s@^#define PTRDIFF_MAX.*INT64_MAX$@#define PTRDIFF_MAX 0x7fffffffffffffffL@",
4790 "-e", "s@^#define SIZE_MAX.*UINT64_MAX$@#define SIZE_MAX 0xffffffffffffffffUL@",
4793 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4795 * Description of Irix_Stdint_C99_Macros fix
4797 tSCC zIrix_Stdint_C99_MacrosName[] =
4798 "irix_stdint_c99_macros";
4801 * File name selection pattern
4803 tSCC zIrix_Stdint_C99_MacrosList[] =
4804 "stdint-irix65.h\0stdint.h\0";
4806 * Machine/OS name selection pattern
4808 tSCC* apzIrix_Stdint_C99_MacrosMachs[] = {
4810 (const char*)NULL };
4811 #define IRIX_STDINT_C99_MACROS_TEST_CT 0
4812 #define aIrix_Stdint_C99_MacrosTests (tTestDesc*)NULL
4815 * Fix Command Arguments for Irix_Stdint_C99_Macros
4817 static const char* apzIrix_Stdint_C99_MacrosPatch[] = { sed_cmd_z,
4818 "-e", "s@^#define INT8_C(x).*int.*_t.*$@#define INT8_C(x) (x)@",
4819 "-e", "s@^#define INT16_C(x).*int.*_t.*$@#define INT16_C(x) (x)@",
4820 "-e", "s@^#define INT32_C(x).*int.*_t.*$@#define INT32_C(x) (x)@",
4821 "-e", "s@^#define INT64_C(x).*int.*_t.*$@#define INT64_C(x) (x ## LL)@",
4822 "-e", "s@^#define UINT8_C(x).*int.*_t.*$@#define UINT8_C(x) (x)@",
4823 "-e", "s@^#define UINT16_C(x).*int.*_t.*$@#define UINT16_C(x) (x)@",
4824 "-e", "s@^#define UINT32_C(x).*int.*_t.*$@#define UINT32_C(x) (x ## U)@",
4825 "-e", "s@^#define UINT64_C(x).*int.*_t.*$@#define UINT64_C(x) (x ## ULL)@",
4826 "-e", "s@^#define INTMAX_C(x).*int.*_t.*$@#define INTMAX_C(x) (x ## LL)@",
4827 "-e", "s@^#define UINTMAX_C(x).*int.*_t.*$@#define UINTMAX_C(x) (x ## ULL)@",
4830 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4832 * Description of Irix_Stdio_Va_List fix
4834 tSCC zIrix_Stdio_Va_ListName[] =
4835 "irix_stdio_va_list";
4838 * File name selection pattern
4840 tSCC zIrix_Stdio_Va_ListList[] =
4841 "stdio.h\0internal/stdio_core.h\0";
4843 * Machine/OS name selection pattern
4845 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4848 * content selection pattern - do fix if pattern found
4850 tSCC zIrix_Stdio_Va_ListSelect0[] =
4851 "/\\* va_list \\*/ char \\*";
4853 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4854 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4855 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4858 * Fix Command Arguments for Irix_Stdio_Va_List
4860 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4865 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4867 * Description of Irix_Wcsftime fix
4869 tSCC zIrix_WcsftimeName[] =
4873 * File name selection pattern
4875 tSCC zIrix_WcsftimeList[] =
4876 "internal/wchar_core.h\0";
4878 * Machine/OS name selection pattern
4880 tSCC* apzIrix_WcsftimeMachs[] = {
4882 (const char*)NULL };
4885 * content selection pattern - do fix if pattern found
4887 tSCC zIrix_WcsftimeSelect0[] =
4889 (extern size_t[ \t]+wcsftime.*const char *.*)";
4891 #define IRIX_WCSFTIME_TEST_CT 1
4892 static tTestDesc aIrix_WcsftimeTests[] = {
4893 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
4896 * Fix Command Arguments for Irix_Wcsftime
4898 static const char* apzIrix_WcsftimePatch[] = {
4900 "#if _NO_XOPEN5 && !defined(__c99)\n\
4904 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4906 * Description of Kandr_Concat fix
4908 tSCC zKandr_ConcatName[] =
4912 * File name selection pattern
4914 tSCC zKandr_ConcatList[] =
4915 "sparc/asm_linkage.h\0sun*/asm_linkage.h\0arm/as_support.h\0arm/mc_type.h\0arm/xcb.h\0dev/chardefmac.h\0dev/ps_irq.h\0dev/screen.h\0dev/scsi.h\0sys/tty.h\0Xm.acorn/XmP.h\0bsd43/bsd43_.h\0";
4917 * Machine/OS name selection pattern
4919 #define apzKandr_ConcatMachs (const char**)NULL
4922 * content selection pattern - do fix if pattern found
4924 tSCC zKandr_ConcatSelect0[] =
4927 #define KANDR_CONCAT_TEST_CT 1
4928 static tTestDesc aKandr_ConcatTests[] = {
4929 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4932 * Fix Command Arguments for Kandr_Concat
4934 static const char* apzKandr_ConcatPatch[] = {
4939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4941 * Description of Linux_Ia64_Ucontext fix
4943 tSCC zLinux_Ia64_UcontextName[] =
4944 "linux_ia64_ucontext";
4947 * File name selection pattern
4949 tSCC zLinux_Ia64_UcontextList[] =
4952 * Machine/OS name selection pattern
4954 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4956 (const char*)NULL };
4959 * content selection pattern - do fix if pattern found
4961 tSCC zLinux_Ia64_UcontextSelect0[] =
4962 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4964 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4965 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4966 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4969 * Fix Command Arguments for Linux_Ia64_Ucontext
4971 static const char* apzLinux_Ia64_UcontextPatch[] = {
4973 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4976 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4978 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4980 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4981 "lynxos_no_warning_in_sys_time_h";
4984 * File name selection pattern
4986 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4989 * Machine/OS name selection pattern
4991 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4994 * content selection pattern - do fix if pattern found
4996 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4997 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4999 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
5000 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
5001 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
5004 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
5006 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
5011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5013 * Description of Lynxos_Missing_Putenv fix
5015 tSCC zLynxos_Missing_PutenvName[] =
5016 "lynxos_missing_putenv";
5019 * File name selection pattern
5021 tSCC zLynxos_Missing_PutenvList[] =
5024 * Machine/OS name selection pattern
5026 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5028 (const char*)NULL };
5031 * content selection pattern - do fix if pattern found
5033 tSCC zLynxos_Missing_PutenvSelect0[] =
5034 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5037 * content bypass pattern - skip fix if pattern found
5039 tSCC zLynxos_Missing_PutenvBypass0[] =
5042 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
5043 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5044 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5045 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5048 * Fix Command Arguments for Lynxos_Missing_Putenv
5050 static const char* apzLynxos_Missing_PutenvPatch[] = {
5053 extern int putenv\t\t\t\t_AP((char *));",
5054 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5059 * Description of Machine_Ansi_H_Va_List fix
5061 tSCC zMachine_Ansi_H_Va_ListName[] =
5062 "machine_ansi_h_va_list";
5065 * File name selection pattern
5067 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5069 * Machine/OS name selection pattern
5071 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5074 * content selection pattern - do fix if pattern found
5076 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5077 "define[ \t]+_BSD_VA_LIST_[ \t]";
5080 * content bypass pattern - skip fix if pattern found
5082 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5083 "__builtin_va_list";
5085 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5086 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5087 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5088 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5091 * Fix Command Arguments for Machine_Ansi_H_Va_List
5093 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5095 "%1__builtin_va_list",
5096 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5101 * Description of Machine_Name fix
5103 tSCC zMachine_NameName[] =
5107 * File name selection pattern
5109 #define zMachine_NameList (char*)NULL
5111 * Machine/OS name selection pattern
5113 #define apzMachine_NameMachs (const char**)NULL
5116 * perform the C function call test
5118 tSCC zMachine_NameFTst0[] = "machine_name";
5120 #define MACHINE_NAME_TEST_CT 1
5121 static tTestDesc aMachine_NameTests[] = {
5122 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5125 * Fix Command Arguments for Machine_Name
5127 static const char* apzMachine_NamePatch[] = {
5131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5133 * Description of Math_Exception fix
5135 tSCC zMath_ExceptionName[] =
5139 * File name selection pattern
5141 tSCC zMath_ExceptionList[] =
5144 * Machine/OS name selection pattern
5146 #define apzMath_ExceptionMachs (const char**)NULL
5149 * content selection pattern - do fix if pattern found
5151 tSCC zMath_ExceptionSelect0[] =
5155 * content bypass pattern - skip fix if pattern found
5157 tSCC zMath_ExceptionBypass0[] =
5158 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5160 #define MATH_EXCEPTION_TEST_CT 2
5161 static tTestDesc aMath_ExceptionTests[] = {
5162 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5163 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5166 * Fix Command Arguments for Math_Exception
5168 static const char* apzMath_ExceptionPatch[] = {
5170 "#ifdef __cplusplus\n\
5171 #define exception __math_exception\n\
5173 "#ifdef __cplusplus\n\
5178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5180 * Description of Math_Huge_Val_From_Dbl_Max fix
5182 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5183 "math_huge_val_from_dbl_max";
5186 * File name selection pattern
5188 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5191 * Machine/OS name selection pattern
5193 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5196 * content selection pattern - do fix if pattern found
5198 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5199 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5202 * content bypass pattern - skip fix if pattern found
5204 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5205 "define[ \t]+DBL_MAX";
5207 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
5208 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5209 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5210 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5213 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5215 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5216 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5217 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5218 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5225 * Description of Nested_Auth_Des fix
5227 tSCC zNested_Auth_DesName[] =
5231 * File name selection pattern
5233 tSCC zNested_Auth_DesList[] =
5236 * Machine/OS name selection pattern
5238 #define apzNested_Auth_DesMachs (const char**)NULL
5241 * content selection pattern - do fix if pattern found
5243 tSCC zNested_Auth_DesSelect0[] =
5244 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5246 #define NESTED_AUTH_DES_TEST_CT 1
5247 static tTestDesc aNested_Auth_DesTests[] = {
5248 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5251 * Fix Command Arguments for Nested_Auth_Des
5253 static const char* apzNested_Auth_DesPatch[] = {
5258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5260 * Description of Netbsd_C99_Inline_1 fix
5262 tSCC zNetbsd_C99_Inline_1Name[] =
5263 "netbsd_c99_inline_1";
5266 * File name selection pattern
5268 tSCC zNetbsd_C99_Inline_1List[] =
5271 * Machine/OS name selection pattern
5273 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5275 (const char*)NULL };
5278 * content selection pattern - do fix if pattern found
5280 tSCC zNetbsd_C99_Inline_1Select0[] =
5281 "extern __inline int";
5283 #define NETBSD_C99_INLINE_1_TEST_CT 1
5284 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
5285 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
5288 * Fix Command Arguments for Netbsd_C99_Inline_1
5290 static const char* apzNetbsd_C99_Inline_1Patch[] = {
5293 #ifdef __GNUC_STDC_INLINE__\n\
5294 __attribute__((__gnu_inline__))\n\
5299 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5301 * Description of Netbsd_C99_Inline_2 fix
5303 tSCC zNetbsd_C99_Inline_2Name[] =
5304 "netbsd_c99_inline_2";
5307 * File name selection pattern
5309 tSCC zNetbsd_C99_Inline_2List[] =
5312 * Machine/OS name selection pattern
5314 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5316 (const char*)NULL };
5319 * content selection pattern - do fix if pattern found
5321 tSCC zNetbsd_C99_Inline_2Select0[] =
5322 "#define _SIGINLINE extern __inline";
5324 #define NETBSD_C99_INLINE_2_TEST_CT 1
5325 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5326 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5329 * Fix Command Arguments for Netbsd_C99_Inline_2
5331 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5333 "#ifdef __GNUC_STDC_INLINE__\n\
5334 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5342 * Description of Netbsd_Extra_Semicolon fix
5344 tSCC zNetbsd_Extra_SemicolonName[] =
5345 "netbsd_extra_semicolon";
5348 * File name selection pattern
5350 tSCC zNetbsd_Extra_SemicolonList[] =
5353 * Machine/OS name selection pattern
5355 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5357 (const char*)NULL };
5360 * content selection pattern - do fix if pattern found
5362 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5363 "#define[ \t]*__END_DECLS[ \t]*};";
5365 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
5366 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5367 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5370 * Fix Command Arguments for Netbsd_Extra_Semicolon
5372 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5374 "#define __END_DECLS }",
5377 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5379 * Description of Newlib_Stdint_1 fix
5381 tSCC zNewlib_Stdint_1Name[] =
5385 * File name selection pattern
5387 tSCC zNewlib_Stdint_1List[] =
5388 "stdint-newlib.h\0stdint.h\0";
5390 * Machine/OS name selection pattern
5392 #define apzNewlib_Stdint_1Machs (const char**)NULL
5395 * content selection pattern - do fix if pattern found
5397 tSCC zNewlib_Stdint_1Select0[] =
5398 "@todo - Add support for wint_t types";
5400 #define NEWLIB_STDINT_1_TEST_CT 1
5401 static tTestDesc aNewlib_Stdint_1Tests[] = {
5402 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5405 * Fix Command Arguments for Newlib_Stdint_1
5407 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5408 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5409 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5410 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5411 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5412 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5413 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5414 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5415 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5416 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5417 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5418 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5419 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5420 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5421 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5426 * Description of Newlib_Stdint_2 fix
5428 tSCC zNewlib_Stdint_2Name[] =
5432 * File name selection pattern
5434 tSCC zNewlib_Stdint_2List[] =
5435 "stdint-newlib.h\0stdint.h\0";
5437 * Machine/OS name selection pattern
5439 #define apzNewlib_Stdint_2Machs (const char**)NULL
5442 * content selection pattern - do fix if pattern found
5444 tSCC zNewlib_Stdint_2Select0[] =
5445 "@todo - Add support for wint_t types";
5447 #define NEWLIB_STDINT_2_TEST_CT 1
5448 static tTestDesc aNewlib_Stdint_2Tests[] = {
5449 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5452 * Fix Command Arguments for Newlib_Stdint_2
5454 static const char* apzNewlib_Stdint_2Patch[] = {
5456 "#define INTMAX_MAX __INTMAX_MAX__\n\
5457 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5458 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5459 #define WCHAR_MAX __WCHAR_MAX__\n\
5460 #define WCHAR_MIN __WCHAR_MIN__\n\
5461 #define WINT_MAX __WINT_MAX__\n\
5462 #define WINT_MIN __WINT_MIN__\n\n\
5464 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5467 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5469 * Description of Next_Math_Prefix fix
5471 tSCC zNext_Math_PrefixName[] =
5475 * File name selection pattern
5477 tSCC zNext_Math_PrefixList[] =
5480 * Machine/OS name selection pattern
5482 #define apzNext_Math_PrefixMachs (const char**)NULL
5485 * content selection pattern - do fix if pattern found
5487 tSCC zNext_Math_PrefixSelect0[] =
5488 "^extern[ \t]+double[ \t]+__const__[ \t]";
5490 #define NEXT_MATH_PREFIX_TEST_CT 1
5491 static tTestDesc aNext_Math_PrefixTests[] = {
5492 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
5495 * Fix Command Arguments for Next_Math_Prefix
5497 static const char* apzNext_Math_PrefixPatch[] = {
5499 "extern double %1(",
5500 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
5503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5505 * Description of Next_Template fix
5507 tSCC zNext_TemplateName[] =
5511 * File name selection pattern
5513 tSCC zNext_TemplateList[] =
5516 * Machine/OS name selection pattern
5518 #define apzNext_TemplateMachs (const char**)NULL
5521 * content selection pattern - do fix if pattern found
5523 tSCC zNext_TemplateSelect0[] =
5526 #define NEXT_TEMPLATE_TEST_CT 1
5527 static tTestDesc aNext_TemplateTests[] = {
5528 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
5531 * Fix Command Arguments for Next_Template
5533 static const char* apzNext_TemplatePatch[] = {
5536 "\\(([^)]*)[ \t]template\\)",
5539 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5541 * Description of Next_Volitile fix
5543 tSCC zNext_VolitileName[] =
5547 * File name selection pattern
5549 tSCC zNext_VolitileList[] =
5552 * Machine/OS name selection pattern
5554 #define apzNext_VolitileMachs (const char**)NULL
5557 * content selection pattern - do fix if pattern found
5559 tSCC zNext_VolitileSelect0[] =
5560 "^extern[ \t]+volatile[ \t]+void[ \t]";
5562 #define NEXT_VOLITILE_TEST_CT 1
5563 static tTestDesc aNext_VolitileTests[] = {
5564 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
5567 * Fix Command Arguments for Next_Volitile
5569 static const char* apzNext_VolitilePatch[] = {
5572 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5575 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5577 * Description of Next_Wait_Union fix
5579 tSCC zNext_Wait_UnionName[] =
5583 * File name selection pattern
5585 tSCC zNext_Wait_UnionList[] =
5588 * Machine/OS name selection pattern
5590 #define apzNext_Wait_UnionMachs (const char**)NULL
5593 * content selection pattern - do fix if pattern found
5595 tSCC zNext_Wait_UnionSelect0[] =
5596 "wait\\(union wait";
5598 #define NEXT_WAIT_UNION_TEST_CT 1
5599 static tTestDesc aNext_Wait_UnionTests[] = {
5600 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5603 * Fix Command Arguments for Next_Wait_Union
5605 static const char* apzNext_Wait_UnionPatch[] = {
5610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5612 * Description of Nodeent_Syntax fix
5614 tSCC zNodeent_SyntaxName[] =
5618 * File name selection pattern
5620 tSCC zNodeent_SyntaxList[] =
5621 "netdnet/dnetdb.h\0";
5623 * Machine/OS name selection pattern
5625 #define apzNodeent_SyntaxMachs (const char**)NULL
5628 * content selection pattern - do fix if pattern found
5630 tSCC zNodeent_SyntaxSelect0[] =
5631 "char[ \t]*\\*na_addr[ \t]*$";
5633 #define NODEENT_SYNTAX_TEST_CT 1
5634 static tTestDesc aNodeent_SyntaxTests[] = {
5635 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5638 * Fix Command Arguments for Nodeent_Syntax
5640 static const char* apzNodeent_SyntaxPatch[] = {
5645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5647 * Description of Openbsd_Null_Definition fix
5649 tSCC zOpenbsd_Null_DefinitionName[] =
5650 "openbsd_null_definition";
5653 * File name selection pattern
5655 tSCC zOpenbsd_Null_DefinitionList[] =
5656 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
5658 * Machine/OS name selection pattern
5660 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
5662 (const char*)NULL };
5665 * content selection pattern - do fix if pattern found
5667 tSCC zOpenbsd_Null_DefinitionSelect0[] =
5670 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
5671 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
5672 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
5675 * Fix Command Arguments for Openbsd_Null_Definition
5677 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
5680 #ifdef __cplusplus\n\
5682 #define NULL\t__null\n\
5683 #else\t /* ! __GNUG__ */\n\
5685 #endif\t /* __GNUG__ */\n\
5686 #else\t /* ! __cplusplus */\n\
5687 #define NULL\t((void *)0)\n\
5688 #endif\t /* __cplusplus */\n\
5689 #endif\t /* !NULL */",
5690 "^#ifndef[ \t]*NULL\n\
5691 ^#ifdef[ \t]*__GNUG__\n\
5692 ^#define[ \t]*NULL[ \t]*__null\n\
5694 ^#define[ \t]*NULL[ \t]*0L\n\
5699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5701 * Description of Obstack_Lvalue_Cast fix
5703 tSCC zObstack_Lvalue_CastName[] =
5704 "obstack_lvalue_cast";
5707 * File name selection pattern
5709 tSCC zObstack_Lvalue_CastList[] =
5712 * Machine/OS name selection pattern
5714 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5717 * content selection pattern - do fix if pattern found
5719 tSCC zObstack_Lvalue_CastSelect0[] =
5720 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5722 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5723 static tTestDesc aObstack_Lvalue_CastTests[] = {
5724 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5727 * Fix Command Arguments for Obstack_Lvalue_Cast
5729 static const char* apzObstack_Lvalue_CastPatch[] = {
5731 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5734 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5736 * Description of Openbsd_Va_Start fix
5738 tSCC zOpenbsd_Va_StartName[] =
5742 * File name selection pattern
5744 tSCC zOpenbsd_Va_StartList[] =
5747 * Machine/OS name selection pattern
5749 tSCC* apzOpenbsd_Va_StartMachs[] = {
5751 (const char*)NULL };
5754 * content selection pattern - do fix if pattern found
5756 tSCC zOpenbsd_Va_StartSelect0[] =
5757 "__builtin_stdarg_start";
5759 #define OPENBSD_VA_START_TEST_CT 1
5760 static tTestDesc aOpenbsd_Va_StartTests[] = {
5761 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
5764 * Fix Command Arguments for Openbsd_Va_Start
5766 static const char* apzOpenbsd_Va_StartPatch[] = {
5768 "__builtin_va_start",
5771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5773 * Description of Osf_Namespace_A fix
5775 tSCC zOsf_Namespace_AName[] =
5779 * File name selection pattern
5781 tSCC zOsf_Namespace_AList[] =
5782 "reg_types.h\0sys/lc_core.h\0";
5784 * Machine/OS name selection pattern
5786 #define apzOsf_Namespace_AMachs (const char**)NULL
5789 * perform the 'test' shell command - do fix on success
5791 tSCC zOsf_Namespace_ATest0[] =
5793 tSCC zOsf_Namespace_ATest1[] =
5794 " -r sys/lc_core.h";
5795 tSCC zOsf_Namespace_ATest2[] =
5796 " -n \"`grep '} regex_t;' reg_types.h`\"";
5797 tSCC zOsf_Namespace_ATest3[] =
5798 " -z \"`grep __regex_t regex.h`\"";
5800 #define OSF_NAMESPACE_A_TEST_CT 4
5801 static tTestDesc aOsf_Namespace_ATests[] = {
5802 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5803 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5804 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5805 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5808 * Fix Command Arguments for Osf_Namespace_A
5810 static const char* apzOsf_Namespace_APatch[] = {
5813 "reg(ex|off|match)_t",
5816 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5818 * Description of Osf_Namespace_C fix
5820 tSCC zOsf_Namespace_CName[] =
5824 * File name selection pattern
5826 tSCC zOsf_Namespace_CList[] =
5829 * Machine/OS name selection pattern
5831 #define apzOsf_Namespace_CMachs (const char**)NULL
5834 * content selection pattern - do fix if pattern found
5836 tSCC zOsf_Namespace_CSelect0[] =
5837 "#include <reg_types.h>.*";
5840 * perform the 'test' shell command - do fix on success
5842 tSCC zOsf_Namespace_CTest0[] =
5844 tSCC zOsf_Namespace_CTest1[] =
5845 " -r sys/lc_core.h";
5846 tSCC zOsf_Namespace_CTest2[] =
5847 " -n \"`grep '} regex_t;' reg_types.h`\"";
5848 tSCC zOsf_Namespace_CTest3[] =
5849 " -z \"`grep __regex_t regex.h`\"";
5851 #define OSF_NAMESPACE_C_TEST_CT 5
5852 static tTestDesc aOsf_Namespace_CTests[] = {
5853 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5854 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5855 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5856 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5857 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5860 * Fix Command Arguments for Osf_Namespace_C
5862 static const char* apzOsf_Namespace_CPatch[] = {
5865 typedef __regex_t\tregex_t;\n\
5866 typedef __regoff_t\tregoff_t;\n\
5867 typedef __regmatch_t\tregmatch_t;",
5870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5872 * Description of Pthread_Incomplete_Struct_Argument fix
5874 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5875 "pthread_incomplete_struct_argument";
5878 * File name selection pattern
5880 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5883 * Machine/OS name selection pattern
5885 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5888 * content selection pattern - do fix if pattern found
5890 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5891 "struct __jmp_buf_tag";
5893 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5894 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5895 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5898 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5900 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5903 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5906 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5908 * Description of Read_Ret_Type fix
5910 tSCC zRead_Ret_TypeName[] =
5914 * File name selection pattern
5916 tSCC zRead_Ret_TypeList[] =
5919 * Machine/OS name selection pattern
5921 #define apzRead_Ret_TypeMachs (const char**)NULL
5924 * content selection pattern - do fix if pattern found
5926 tSCC zRead_Ret_TypeSelect0[] =
5927 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5929 #define READ_RET_TYPE_TEST_CT 1
5930 static tTestDesc aRead_Ret_TypeTests[] = {
5931 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5934 * Fix Command Arguments for Read_Ret_Type
5936 static const char* apzRead_Ret_TypePatch[] = {
5938 "extern unsigned int fread(), fwrite();\n\
5940 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5943 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5945 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5947 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5948 "rpc_xdr_lvalue_cast_a";
5951 * File name selection pattern
5953 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5956 * Machine/OS name selection pattern
5958 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5961 * content selection pattern - do fix if pattern found
5963 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5964 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5967 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5968 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5969 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5972 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5974 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5976 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5979 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5981 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5983 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5984 "rpc_xdr_lvalue_cast_b";
5987 * File name selection pattern
5989 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5992 * Machine/OS name selection pattern
5994 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5997 * content selection pattern - do fix if pattern found
5999 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
6000 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
6003 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
6004 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
6005 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
6008 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
6010 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
6012 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
6015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6017 * Description of Rs6000_Double fix
6019 tSCC zRs6000_DoubleName[] =
6023 * File name selection pattern
6025 tSCC zRs6000_DoubleList[] =
6028 * Machine/OS name selection pattern
6030 #define apzRs6000_DoubleMachs (const char**)NULL
6033 * content selection pattern - do fix if pattern found
6035 tSCC zRs6000_DoubleSelect0[] =
6036 "[^a-zA-Z_]class\\(";
6038 #define RS6000_DOUBLE_TEST_CT 1
6039 static tTestDesc aRs6000_DoubleTests[] = {
6040 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6043 * Fix Command Arguments for Rs6000_Double
6045 static const char* apzRs6000_DoublePatch[] = {
6047 "#ifndef __cplusplus\n\
6050 "^.*[^a-zA-Z_]class\\(.*",
6053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6055 * Description of Rs6000_Fchmod fix
6057 tSCC zRs6000_FchmodName[] =
6061 * File name selection pattern
6063 tSCC zRs6000_FchmodList[] =
6066 * Machine/OS name selection pattern
6068 #define apzRs6000_FchmodMachs (const char**)NULL
6071 * content selection pattern - do fix if pattern found
6073 tSCC zRs6000_FchmodSelect0[] =
6074 "fchmod\\(char \\*";
6076 #define RS6000_FCHMOD_TEST_CT 1
6077 static tTestDesc aRs6000_FchmodTests[] = {
6078 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6081 * Fix Command Arguments for Rs6000_Fchmod
6083 static const char* apzRs6000_FchmodPatch[] = {
6088 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6090 * Description of Rs6000_Param fix
6092 tSCC zRs6000_ParamName[] =
6096 * File name selection pattern
6098 tSCC zRs6000_ParamList[] =
6099 "stdio.h\0unistd.h\0";
6101 * Machine/OS name selection pattern
6103 #define apzRs6000_ParamMachs (const char**)NULL
6106 * content selection pattern - do fix if pattern found
6108 tSCC zRs6000_ParamSelect0[] =
6109 "rename\\(const char \\*old, const char \\*new\\)";
6111 #define RS6000_PARAM_TEST_CT 1
6112 static tTestDesc aRs6000_ParamTests[] = {
6113 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6116 * Fix Command Arguments for Rs6000_Param
6118 static const char* apzRs6000_ParamPatch[] = {
6120 "rename(const char *_old, const char *_new)",
6123 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6126 * Description of Sco_Math fix
6128 tSCC zSco_MathName[] =
6132 * File name selection pattern
6134 tSCC zSco_MathList[] =
6135 "math.h\0*/math.h\0";
6137 * Machine/OS name selection pattern
6139 #define apzSco_MathMachs (const char**)NULL
6142 * content selection pattern - do fix if pattern found
6144 tSCC zSco_MathSelect0[] =
6145 "inline double abs";
6148 * content bypass pattern - skip fix if pattern found
6150 tSCC zSco_MathBypass0[] =
6153 #define SCO_MATH_TEST_CT 2
6154 static tTestDesc aSco_MathTests[] = {
6155 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
6156 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
6159 * Fix Command Arguments for Sco_Math
6161 static const char* apzSco_MathPatch[] = { sed_cmd_z,
6162 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
6163 #ifndef __GNUC__\n",
6164 "-e", "/.*__builtin_generic/a\\\n\
6166 #define __fp_class(a) \\\\\\\n\
6167 \\ __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
6168 \\ __fpclassifyl(a), \\\\\\\n\
6169 \\ __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
6170 \\ __fpclassifyf(a),__fpclassify(a)))\\\n\
6172 "-e", "/extern \"C++\"/N;/inline double abs/i\\\n\
6173 #ifndef __GNUC__\n",
6174 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C++\"/a\\\n\
6175 #endif /* ! __GNUC__ */\n",
6178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6182 * Description of Solaris_Complex fix
6184 tSCC zSolaris_ComplexName[] =
6188 * File name selection pattern
6190 tSCC zSolaris_ComplexList[] =
6193 * Machine/OS name selection pattern
6195 tSCC* apzSolaris_ComplexMachs[] = {
6197 (const char*)NULL };
6200 * content selection pattern - do fix if pattern found
6202 tSCC zSolaris_ComplexSelect0[] =
6203 "#define[ \t]_Complex_I[ \t]_Complex_I";
6205 #define SOLARIS_COMPLEX_TEST_CT 1
6206 static tTestDesc aSolaris_ComplexTests[] = {
6207 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6210 * Fix Command Arguments for Solaris_Complex
6212 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6213 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6214 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6215 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6216 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6221 * Description of Solaris_Math_1 fix
6223 tSCC zSolaris_Math_1Name[] =
6227 * File name selection pattern
6229 tSCC zSolaris_Math_1List[] =
6232 * Machine/OS name selection pattern
6234 #define apzSolaris_Math_1Machs (const char**)NULL
6237 * content selection pattern - do fix if pattern found
6239 tSCC zSolaris_Math_1Select0[] =
6240 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6243 * content bypass pattern - skip fix if pattern found
6245 tSCC zSolaris_Math_1Bypass0[] =
6248 #define SOLARIS_MATH_1_TEST_CT 2
6249 static tTestDesc aSolaris_Math_1Tests[] = {
6250 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
6251 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
6254 * Fix Command Arguments for Solaris_Math_1
6256 static const char* apzSolaris_Math_1Patch[] = {
6258 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
6259 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
6262 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6264 * Description of Solaris_Math_2 fix
6266 tSCC zSolaris_Math_2Name[] =
6270 * File name selection pattern
6272 tSCC zSolaris_Math_2List[] =
6275 * Machine/OS name selection pattern
6277 #define apzSolaris_Math_2Machs (const char**)NULL
6280 * content selection pattern - do fix if pattern found
6282 tSCC zSolaris_Math_2Select0[] =
6283 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6286 * content bypass pattern - skip fix if pattern found
6288 tSCC zSolaris_Math_2Bypass0[] =
6291 #define SOLARIS_MATH_2_TEST_CT 2
6292 static tTestDesc aSolaris_Math_2Tests[] = {
6293 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
6294 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
6297 * Fix Command Arguments for Solaris_Math_2
6299 static const char* apzSolaris_Math_2Patch[] = {
6301 "#define\tINFINITY\t(__builtin_inff())",
6302 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
6305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6307 * Description of Solaris_Math_3 fix
6309 tSCC zSolaris_Math_3Name[] =
6313 * File name selection pattern
6315 tSCC zSolaris_Math_3List[] =
6318 * Machine/OS name selection pattern
6320 #define apzSolaris_Math_3Machs (const char**)NULL
6323 * content selection pattern - do fix if pattern found
6325 tSCC zSolaris_Math_3Select0[] =
6326 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6329 * content bypass pattern - skip fix if pattern found
6331 tSCC zSolaris_Math_3Bypass0[] =
6334 #define SOLARIS_MATH_3_TEST_CT 2
6335 static tTestDesc aSolaris_Math_3Tests[] = {
6336 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
6337 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
6340 * Fix Command Arguments for Solaris_Math_3
6342 static const char* apzSolaris_Math_3Patch[] = {
6344 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
6345 "^#define[ \t]+NAN[ \t]+__builtin_nan",
6348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6350 * Description of Solaris_Math_4 fix
6352 tSCC zSolaris_Math_4Name[] =
6356 * File name selection pattern
6358 tSCC zSolaris_Math_4List[] =
6361 * Machine/OS name selection pattern
6363 #define apzSolaris_Math_4Machs (const char**)NULL
6366 * content selection pattern - do fix if pattern found
6368 tSCC zSolaris_Math_4Select0[] =
6369 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6372 * content bypass pattern - skip fix if pattern found
6374 tSCC zSolaris_Math_4Bypass0[] =
6377 #define SOLARIS_MATH_4_TEST_CT 2
6378 static tTestDesc aSolaris_Math_4Tests[] = {
6379 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
6380 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
6383 * Fix Command Arguments for Solaris_Math_4
6385 static const char* apzSolaris_Math_4Patch[] = {
6387 "#define\tfpclassify(x) \\\n\
6388 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
6389 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
6392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6394 * Description of Solaris_Math_8 fix
6396 tSCC zSolaris_Math_8Name[] =
6400 * File name selection pattern
6402 tSCC zSolaris_Math_8List[] =
6405 * Machine/OS name selection pattern
6407 #define apzSolaris_Math_8Machs (const char**)NULL
6410 * content selection pattern - do fix if pattern found
6412 tSCC zSolaris_Math_8Select0[] =
6413 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6416 * content bypass pattern - skip fix if pattern found
6418 tSCC zSolaris_Math_8Bypass0[] =
6421 #define SOLARIS_MATH_8_TEST_CT 2
6422 static tTestDesc aSolaris_Math_8Tests[] = {
6423 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
6424 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
6427 * Fix Command Arguments for Solaris_Math_8
6429 static const char* apzSolaris_Math_8Patch[] = {
6431 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6432 \t\t\t ? __builtin_signbitf(x) \\\n\
6433 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6434 \t\t\t ? __builtin_signbitl(x) \\\n\
6435 \t\t\t : __builtin_signbit(x))",
6436 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
6439 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6441 * Description of Solaris_Math_9 fix
6443 tSCC zSolaris_Math_9Name[] =
6447 * File name selection pattern
6449 tSCC zSolaris_Math_9List[] =
6452 * Machine/OS name selection pattern
6454 #define apzSolaris_Math_9Machs (const char**)NULL
6457 * content selection pattern - do fix if pattern found
6459 tSCC zSolaris_Math_9Select0[] =
6460 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6463 * content bypass pattern - skip fix if pattern found
6465 tSCC zSolaris_Math_9Bypass0[] =
6468 #define SOLARIS_MATH_9_TEST_CT 2
6469 static tTestDesc aSolaris_Math_9Tests[] = {
6470 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
6471 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
6474 * Fix Command Arguments for Solaris_Math_9
6476 static const char* apzSolaris_Math_9Patch[] = {
6478 "#define\t%1(x, y)%2__builtin_%1(x, y)",
6479 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
6482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6484 * Description of Solaris_Math_10 fix
6486 tSCC zSolaris_Math_10Name[] =
6490 * File name selection pattern
6492 tSCC zSolaris_Math_10List[] =
6495 * Machine/OS name selection pattern
6497 #define apzSolaris_Math_10Machs (const char**)NULL
6500 * content selection pattern - do fix if pattern found
6502 tSCC zSolaris_Math_10Select0[] =
6503 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6505 #define SOLARIS_MATH_10_TEST_CT 1
6506 static tTestDesc aSolaris_Math_10Tests[] = {
6507 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
6510 * Fix Command Arguments for Solaris_Math_10
6512 static const char* apzSolaris_Math_10Patch[] = {
6514 "#define\tisinf(x) __builtin_isinf(x)",
6515 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
6516 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6517 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
6518 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
6521 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6523 * Description of Solaris_Mutex_Init_2 fix
6525 tSCC zSolaris_Mutex_Init_2Name[] =
6526 "solaris_mutex_init_2";
6529 * File name selection pattern
6531 tSCC zSolaris_Mutex_Init_2List[] =
6534 * Machine/OS name selection pattern
6536 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
6537 "*-*-solaris2.[0-9]",
6538 "*-*-solaris2.[0-9][!0-9]*",
6539 (const char*)NULL };
6542 * content selection pattern - do fix if pattern found
6544 tSCC zSolaris_Mutex_Init_2Select0[] =
6545 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6547 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
6548 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
6549 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
6552 * Fix Command Arguments for Solaris_Mutex_Init_2
6554 static const char* apzSolaris_Mutex_Init_2Patch[] = {
6556 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6561 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
6562 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
6565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6567 * Description of Solaris_Rwlock_Init_1 fix
6569 tSCC zSolaris_Rwlock_Init_1Name[] =
6570 "solaris_rwlock_init_1";
6573 * File name selection pattern
6575 tSCC zSolaris_Rwlock_Init_1List[] =
6578 * Machine/OS name selection pattern
6580 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
6582 (const char*)NULL };
6585 * content selection pattern - do fix if pattern found
6587 tSCC zSolaris_Rwlock_Init_1Select0[] =
6588 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6590 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
6591 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
6592 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
6595 * Fix Command Arguments for Solaris_Rwlock_Init_1
6597 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6599 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6602 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6604 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6609 * Description of Solaris_Once_Init_1 fix
6611 tSCC zSolaris_Once_Init_1Name[] =
6612 "solaris_once_init_1";
6615 * File name selection pattern
6617 tSCC zSolaris_Once_Init_1List[] =
6620 * Machine/OS name selection pattern
6622 tSCC* apzSolaris_Once_Init_1Machs[] = {
6624 (const char*)NULL };
6627 * content selection pattern - do fix if pattern found
6629 tSCC zSolaris_Once_Init_1Select0[] =
6630 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6632 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6633 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6634 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6637 * Fix Command Arguments for Solaris_Once_Init_1
6639 static const char* apzSolaris_Once_Init_1Patch[] = {
6642 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6647 * Description of Solaris_Once_Init_2 fix
6649 tSCC zSolaris_Once_Init_2Name[] =
6650 "solaris_once_init_2";
6653 * File name selection pattern
6655 tSCC zSolaris_Once_Init_2List[] =
6658 * Machine/OS name selection pattern
6660 tSCC* apzSolaris_Once_Init_2Machs[] = {
6661 "*-*-solaris2.[0-9]",
6662 "*-*-solaris2.[0-9][!0-9]*",
6663 (const char*)NULL };
6666 * content selection pattern - do fix if pattern found
6668 tSCC zSolaris_Once_Init_2Select0[] =
6669 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6671 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6672 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6673 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6676 * Fix Command Arguments for Solaris_Once_Init_2
6678 static const char* apzSolaris_Once_Init_2Patch[] = {
6680 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6683 %1{0}, {0}, {0}, {%3}%4\n\
6685 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6688 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6690 * Description of Solaris_Int_Const fix
6692 tSCC zSolaris_Int_ConstName[] =
6693 "solaris_int_const";
6696 * File name selection pattern
6698 tSCC zSolaris_Int_ConstList[] =
6699 "sys/int_const.h\0";
6701 * Machine/OS name selection pattern
6703 tSCC* apzSolaris_Int_ConstMachs[] = {
6705 (const char*)NULL };
6708 * content selection pattern - do fix if pattern found
6710 tSCC zSolaris_Int_ConstSelect0[] =
6711 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6713 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
6715 #define SOLARIS_INT_CONST_TEST_CT 1
6716 static tTestDesc aSolaris_Int_ConstTests[] = {
6717 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6720 * Fix Command Arguments for Solaris_Int_Const
6722 static const char* apzSolaris_Int_ConstPatch[] = {
6724 "#define\tUINT8_C(c)\t(c)\n\
6726 #define\tUINT16_C(c)\t(c)",
6729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6731 * Description of Solaris_Int_Limits_1 fix
6733 tSCC zSolaris_Int_Limits_1Name[] =
6734 "solaris_int_limits_1";
6737 * File name selection pattern
6739 tSCC zSolaris_Int_Limits_1List[] =
6740 "sys/int_limits.h\0";
6742 * Machine/OS name selection pattern
6744 tSCC* apzSolaris_Int_Limits_1Machs[] = {
6746 (const char*)NULL };
6749 * content selection pattern - do fix if pattern found
6751 tSCC zSolaris_Int_Limits_1Select0[] =
6752 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6753 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
6755 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
6756 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6757 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6760 * Fix Command Arguments for Solaris_Int_Limits_1
6762 static const char* apzSolaris_Int_Limits_1Patch[] = {
6764 "#define\tUINT8_MAX\t(255)\n\
6765 #define\tUINT16_MAX\t(65535)",
6768 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6770 * Description of Solaris_Int_Limits_2 fix
6772 tSCC zSolaris_Int_Limits_2Name[] =
6773 "solaris_int_limits_2";
6776 * File name selection pattern
6778 tSCC zSolaris_Int_Limits_2List[] =
6779 "sys/int_limits.h\0";
6781 * Machine/OS name selection pattern
6783 tSCC* apzSolaris_Int_Limits_2Machs[] = {
6785 (const char*)NULL };
6788 * content selection pattern - do fix if pattern found
6790 tSCC zSolaris_Int_Limits_2Select0[] =
6791 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
6793 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
6794 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6795 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6798 * Fix Command Arguments for Solaris_Int_Limits_2
6800 static const char* apzSolaris_Int_Limits_2Patch[] = {
6802 "#define\t%1_FAST16_%2 %132_%2",
6805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6807 * Description of Solaris_Int_Limits_3 fix
6809 tSCC zSolaris_Int_Limits_3Name[] =
6810 "solaris_int_limits_3";
6813 * File name selection pattern
6815 tSCC zSolaris_Int_Limits_3List[] =
6816 "sys/int_limits.h\0";
6818 * Machine/OS name selection pattern
6820 tSCC* apzSolaris_Int_Limits_3Machs[] = {
6822 (const char*)NULL };
6825 * content selection pattern - do fix if pattern found
6827 tSCC zSolaris_Int_Limits_3Select0[] =
6828 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
6830 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
6831 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
6832 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
6835 * Fix Command Arguments for Solaris_Int_Limits_3
6837 static const char* apzSolaris_Int_Limits_3Patch[] = {
6839 "#define\tSIZE_MAX\t4294967295U",
6842 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6844 * Description of Solaris_Int_Types fix
6846 tSCC zSolaris_Int_TypesName[] =
6847 "solaris_int_types";
6850 * File name selection pattern
6852 tSCC zSolaris_Int_TypesList[] =
6853 "sys/int_types.h\0";
6855 * Machine/OS name selection pattern
6857 #define apzSolaris_Int_TypesMachs (const char**)NULL
6860 * content selection pattern - do fix if pattern found
6862 tSCC zSolaris_Int_TypesSelect0[] =
6863 "__STDC__ - 0 == 0";
6866 * content bypass pattern - skip fix if pattern found
6868 tSCC zSolaris_Int_TypesBypass0[] =
6871 #define SOLARIS_INT_TYPES_TEST_CT 2
6872 static tTestDesc aSolaris_Int_TypesTests[] = {
6873 { TT_NEGREP, zSolaris_Int_TypesBypass0, (regex_t*)NULL },
6874 { TT_EGREP, zSolaris_Int_TypesSelect0, (regex_t*)NULL }, };
6877 * Fix Command Arguments for Solaris_Int_Types
6879 static const char* apzSolaris_Int_TypesPatch[] = {
6881 "(defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__))",
6884 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6886 * Description of Solaris_Stdio_Tag fix
6888 tSCC zSolaris_Stdio_TagName[] =
6889 "solaris_stdio_tag";
6892 * File name selection pattern
6894 tSCC zSolaris_Stdio_TagList[] =
6897 * Machine/OS name selection pattern
6899 #define apzSolaris_Stdio_TagMachs (const char**)NULL
6902 * content selection pattern - do fix if pattern found
6904 tSCC zSolaris_Stdio_TagSelect0[] =
6905 "__cplusplus < 54321L";
6908 * content bypass pattern - skip fix if pattern found
6910 tSCC zSolaris_Stdio_TagBypass0[] =
6913 #define SOLARIS_STDIO_TAG_TEST_CT 2
6914 static tTestDesc aSolaris_Stdio_TagTests[] = {
6915 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6916 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6919 * Fix Command Arguments for Solaris_Stdio_Tag
6921 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
6922 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6925 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6927 * Description of Statsswtch fix
6929 tSCC zStatsswtchName[] =
6933 * File name selection pattern
6935 tSCC zStatsswtchList[] =
6938 * Machine/OS name selection pattern
6940 #define apzStatsswtchMachs (const char**)NULL
6943 * content selection pattern - do fix if pattern found
6945 tSCC zStatsswtchSelect0[] =
6948 #define STATSSWTCH_TEST_CT 1
6949 static tTestDesc aStatsswtchTests[] = {
6950 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6953 * Fix Command Arguments for Statsswtch
6955 static const char* apzStatsswtchPatch[] = {
6960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6962 * Description of Stdio_Stdarg_H fix
6964 tSCC zStdio_Stdarg_HName[] =
6968 * File name selection pattern
6970 tSCC zStdio_Stdarg_HList[] =
6973 * Machine/OS name selection pattern
6975 tSCC* apzStdio_Stdarg_HMachs[] = {
6976 "*-*-solaris2.1[0-9]*",
6977 (const char*)NULL };
6980 * content bypass pattern - skip fix if pattern found
6982 tSCC zStdio_Stdarg_HBypass0[] =
6983 "include.*(stdarg.h|machine/ansi.h)";
6985 #define STDIO_STDARG_H_TEST_CT 1
6986 static tTestDesc aStdio_Stdarg_HTests[] = {
6987 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6990 * Fix Command Arguments for Stdio_Stdarg_H
6992 static const char* apzStdio_Stdarg_HPatch[] = {
6994 "#define __need___va_list\n\
6995 #include <stdarg.h>\n",
6998 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7000 * Description of Stdio_Va_List fix
7002 tSCC zStdio_Va_ListName[] =
7006 * File name selection pattern
7008 tSCC zStdio_Va_ListList[] =
7009 "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0";
7011 * Machine/OS name selection pattern
7013 tSCC* apzStdio_Va_ListMachs[] = {
7014 "*-*-solaris2.1[0-9]*",
7015 (const char*)NULL };
7018 * content bypass pattern - skip fix if pattern found
7020 tSCC zStdio_Va_ListBypass0[] =
7021 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7023 #define STDIO_VA_LIST_TEST_CT 1
7024 static tTestDesc aStdio_Va_ListTests[] = {
7025 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
7028 * Fix Command Arguments for Stdio_Va_List
7030 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
7031 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7032 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7033 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7034 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7035 s@ va_list@ __not_va_list__@\n\
7036 s@\\*va_list@*__not_va_list__@\n\
7037 s@ __va_list)@ __gnuc_va_list)@\n\
7038 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7039 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7040 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7041 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7042 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7043 s@VA_LIST@DUMMY_VA_LIST@\n\
7044 s@_Va_LIST@_VA_LIST@",
7047 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7049 * Description of Stdio_Va_List_Clients fix
7051 tSCC zStdio_Va_List_ClientsName[] =
7052 "stdio_va_list_clients";
7055 * File name selection pattern
7057 tSCC zStdio_Va_List_ClientsList[] =
7058 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7060 * Machine/OS name selection pattern
7062 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
7065 * content bypass pattern - skip fix if pattern found
7067 tSCC zStdio_Va_List_ClientsBypass0[] =
7068 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7069 tSCC zStdio_Va_List_ClientsBypass1[] =
7070 "include <stdarg\\.h>|#ifdef va_start";
7072 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
7073 static tTestDesc aStdio_Va_List_ClientsTests[] = {
7074 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
7075 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
7078 * Fix Command Arguments for Stdio_Va_List_Clients
7080 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
7081 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7082 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7083 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7084 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7085 s@ va_list@ __not_va_list__@\n\
7086 s@\\*va_list@*__not_va_list__@\n\
7087 s@ __va_list)@ __gnuc_va_list)@\n\
7088 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7089 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7090 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7091 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7092 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7093 s@VA_LIST@DUMMY_VA_LIST@\n\
7094 s@_Va_LIST@_VA_LIST@",
7097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7099 * Description of Strict_Ansi_Not fix
7101 tSCC zStrict_Ansi_NotName[] =
7105 * File name selection pattern
7107 #define zStrict_Ansi_NotList (char*)NULL
7109 * Machine/OS name selection pattern
7111 #define apzStrict_Ansi_NotMachs (const char**)NULL
7114 * content selection pattern - do fix if pattern found
7116 tSCC zStrict_Ansi_NotSelect0[] =
7117 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
7120 * content bypass pattern - skip fix if pattern found
7122 tSCC zStrict_Ansi_NotBypass0[] =
7123 "GNU and MIPS C compilers define __STDC__ differently";
7124 tSCC zStrict_Ansi_NotBypass1[] =
7125 "__SCO_VERSION__.*__STDC__ != 1";
7128 * perform the C function call test
7130 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
7132 #define STRICT_ANSI_NOT_TEST_CT 4
7133 static tTestDesc aStrict_Ansi_NotTests[] = {
7134 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
7135 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
7136 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
7137 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
7140 * Fix Command Arguments for Strict_Ansi_Not
7142 static const char* apzStrict_Ansi_NotPatch[] = {
7144 "%1 !defined(__STRICT_ANSI__)",
7147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7149 * Description of Strict_Ansi_Not_Ctd fix
7151 tSCC zStrict_Ansi_Not_CtdName[] =
7152 "strict_ansi_not_ctd";
7155 * File name selection pattern
7157 tSCC zStrict_Ansi_Not_CtdList[] =
7158 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
7160 * Machine/OS name selection pattern
7162 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
7165 * content selection pattern - do fix if pattern found
7167 tSCC zStrict_Ansi_Not_CtdSelect0[] =
7168 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
7171 * perform the C function call test
7173 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
7175 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
7176 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
7177 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
7178 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
7181 * Fix Command Arguments for Strict_Ansi_Not_Ctd
7183 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7185 "%1 !defined(__STRICT_ANSI__)",
7188 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7190 * Description of Strict_Ansi_Only fix
7192 tSCC zStrict_Ansi_OnlyName[] =
7196 * File name selection pattern
7198 #define zStrict_Ansi_OnlyList (char*)NULL
7200 * Machine/OS name selection pattern
7202 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7205 * content selection pattern - do fix if pattern found
7207 tSCC zStrict_Ansi_OnlySelect0[] =
7208 "^([ \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)";
7211 * perform the C function call test
7213 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7215 #define STRICT_ANSI_ONLY_TEST_CT 2
7216 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7217 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
7218 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7221 * Fix Command Arguments for Strict_Ansi_Only
7223 static const char* apzStrict_Ansi_OnlyPatch[] = {
7225 "%1 defined(__STRICT_ANSI__)",
7228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7230 * Description of Struct_File fix
7232 tSCC zStruct_FileName[] =
7236 * File name selection pattern
7238 tSCC zStruct_FileList[] =
7241 * Machine/OS name selection pattern
7243 #define apzStruct_FileMachs (const char**)NULL
7246 * content selection pattern - do fix if pattern found
7248 tSCC zStruct_FileSelect0[] =
7249 "^.*xdrstdio_create.*struct __file_s";
7251 #define STRUCT_FILE_TEST_CT 1
7252 static tTestDesc aStruct_FileTests[] = {
7253 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
7256 * Fix Command Arguments for Struct_File
7258 static const char* apzStruct_FilePatch[] = {
7260 "struct __file_s;\n\
7264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7266 * Description of Struct_Sockaddr fix
7268 tSCC zStruct_SockaddrName[] =
7272 * File name selection pattern
7274 tSCC zStruct_SockaddrList[] =
7277 * Machine/OS name selection pattern
7279 #define apzStruct_SockaddrMachs (const char**)NULL
7282 * content selection pattern - do fix if pattern found
7284 tSCC zStruct_SockaddrSelect0[] =
7285 "^.*authdes_create.*struct sockaddr[^_]";
7288 * content bypass pattern - skip fix if pattern found
7290 tSCC zStruct_SockaddrBypass0[] =
7292 tSCC zStruct_SockaddrBypass1[] =
7293 "struct sockaddr;\n";
7295 #define STRUCT_SOCKADDR_TEST_CT 3
7296 static tTestDesc aStruct_SockaddrTests[] = {
7297 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
7298 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
7299 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7302 * Fix Command Arguments for Struct_Sockaddr
7304 static const char* apzStruct_SockaddrPatch[] = {
7306 "struct sockaddr;\n\
7310 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7312 * Description of Sun_Auth_Proto fix
7314 tSCC zSun_Auth_ProtoName[] =
7318 * File name selection pattern
7320 tSCC zSun_Auth_ProtoList[] =
7321 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7323 * Machine/OS name selection pattern
7325 #define apzSun_Auth_ProtoMachs (const char**)NULL
7328 * content selection pattern - do fix if pattern found
7330 tSCC zSun_Auth_ProtoSelect0[] =
7331 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7334 * content bypass pattern - skip fix if pattern found
7336 tSCC zSun_Auth_ProtoBypass0[] =
7339 #define SUN_AUTH_PROTO_TEST_CT 2
7340 static tTestDesc aSun_Auth_ProtoTests[] = {
7341 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
7342 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
7345 * Fix Command Arguments for Sun_Auth_Proto
7347 static const char* apzSun_Auth_ProtoPatch[] = {
7349 "#ifdef __cplusplus\n\
7354 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
7357 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7359 * Description of Sun_Bogus_Ifdef fix
7361 tSCC zSun_Bogus_IfdefName[] =
7365 * File name selection pattern
7367 tSCC zSun_Bogus_IfdefList[] =
7368 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
7370 * Machine/OS name selection pattern
7372 #define apzSun_Bogus_IfdefMachs (const char**)NULL
7375 * content selection pattern - do fix if pattern found
7377 tSCC zSun_Bogus_IfdefSelect0[] =
7378 "#ifdef(.*\\|\\|.*)";
7380 #define SUN_BOGUS_IFDEF_TEST_CT 1
7381 static tTestDesc aSun_Bogus_IfdefTests[] = {
7382 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
7385 * Fix Command Arguments for Sun_Bogus_Ifdef
7387 static const char* apzSun_Bogus_IfdefPatch[] = {
7392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7394 * Description of Sun_Catmacro fix
7396 tSCC zSun_CatmacroName[] =
7400 * File name selection pattern
7402 tSCC zSun_CatmacroList[] =
7403 "pixrect/memvar.h\0";
7405 * Machine/OS name selection pattern
7407 #define apzSun_CatmacroMachs (const char**)NULL
7410 * content selection pattern - do fix if pattern found
7412 tSCC zSun_CatmacroSelect0[] =
7413 "^#define[ \t]+CAT\\(a,b\\).*";
7415 #define SUN_CATMACRO_TEST_CT 1
7416 static tTestDesc aSun_CatmacroTests[] = {
7417 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
7420 * Fix Command Arguments for Sun_Catmacro
7422 static const char* apzSun_CatmacroPatch[] = {
7425 # define CAT(a,b) a##b\n\
7431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7433 * Description of Sun_Malloc fix
7435 tSCC zSun_MallocName[] =
7439 * File name selection pattern
7441 tSCC zSun_MallocList[] =
7444 * Machine/OS name selection pattern
7446 #define apzSun_MallocMachs (const char**)NULL
7449 * content bypass pattern - skip fix if pattern found
7451 tSCC zSun_MallocBypass0[] =
7452 "_CLASSIC_ANSI_TYPES";
7454 #define SUN_MALLOC_TEST_CT 1
7455 static tTestDesc aSun_MallocTests[] = {
7456 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
7459 * Fix Command Arguments for Sun_Malloc
7461 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
7462 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
7463 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
7464 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
7465 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
7466 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
7469 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7471 * Description of Sun_Rusers_Semi fix
7473 tSCC zSun_Rusers_SemiName[] =
7477 * File name selection pattern
7479 tSCC zSun_Rusers_SemiList[] =
7480 "rpcsvc/rusers.h\0";
7482 * Machine/OS name selection pattern
7484 #define apzSun_Rusers_SemiMachs (const char**)NULL
7487 * content selection pattern - do fix if pattern found
7489 tSCC zSun_Rusers_SemiSelect0[] =
7492 #define SUN_RUSERS_SEMI_TEST_CT 1
7493 static tTestDesc aSun_Rusers_SemiTests[] = {
7494 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
7497 * Fix Command Arguments for Sun_Rusers_Semi
7499 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
7500 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
7503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7505 * Description of Sun_Signal fix
7507 tSCC zSun_SignalName[] =
7511 * File name selection pattern
7513 tSCC zSun_SignalList[] =
7514 "sys/signal.h\0signal.h\0";
7516 * Machine/OS name selection pattern
7518 #define apzSun_SignalMachs (const char**)NULL
7521 * content selection pattern - do fix if pattern found
7523 tSCC zSun_SignalSelect0[] =
7524 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
7526 #define SUN_SIGNAL_TEST_CT 1
7527 static tTestDesc aSun_SignalTests[] = {
7528 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
7531 * Fix Command Arguments for Sun_Signal
7533 static const char* apzSun_SignalPatch[] = {
7535 "#ifdef __cplusplus\n\
7536 void\t(*signal(...))(...);\n\
7542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7544 * Description of Sunos_Strlen fix
7546 tSCC zSunos_StrlenName[] =
7550 * File name selection pattern
7552 tSCC zSunos_StrlenList[] =
7555 * Machine/OS name selection pattern
7557 #define apzSunos_StrlenMachs (const char**)NULL
7560 * content selection pattern - do fix if pattern found
7562 tSCC zSunos_StrlenSelect0[] =
7563 "int[ \t]*strlen\\(\\);(.*)";
7565 #define SUNOS_STRLEN_TEST_CT 1
7566 static tTestDesc aSunos_StrlenTests[] = {
7567 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
7570 * Fix Command Arguments for Sunos_Strlen
7572 static const char* apzSunos_StrlenPatch[] = {
7574 "__SIZE_TYPE__ strlen();%1",
7577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7579 * Description of Svr4_Disable_Opt fix
7581 tSCC zSvr4_Disable_OptName[] =
7585 * File name selection pattern
7587 tSCC zSvr4_Disable_OptList[] =
7590 * Machine/OS name selection pattern
7592 #define apzSvr4_Disable_OptMachs (const char**)NULL
7595 * content selection pattern - do fix if pattern found
7597 tSCC zSvr4_Disable_OptSelect0[] =
7598 "#define.*__std_hdr_";
7600 #define SVR4_DISABLE_OPT_TEST_CT 1
7601 static tTestDesc aSvr4_Disable_OptTests[] = {
7602 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
7605 * Fix Command Arguments for Svr4_Disable_Opt
7607 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
7608 "-e", "/#define.*__std_hdr_/d",
7611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7613 * Description of Svr4_Getcwd fix
7615 tSCC zSvr4_GetcwdName[] =
7619 * File name selection pattern
7621 tSCC zSvr4_GetcwdList[] =
7622 "stdlib.h\0unistd.h\0prototypes.h\0";
7624 * Machine/OS name selection pattern
7626 #define apzSvr4_GetcwdMachs (const char**)NULL
7629 * content selection pattern - do fix if pattern found
7631 tSCC zSvr4_GetcwdSelect0[] =
7632 "getcwd\\(char \\*, int\\)";
7634 #define SVR4_GETCWD_TEST_CT 1
7635 static tTestDesc aSvr4_GetcwdTests[] = {
7636 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
7639 * Fix Command Arguments for Svr4_Getcwd
7641 static const char* apzSvr4_GetcwdPatch[] = {
7643 "getcwd(char *, size_t)",
7646 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7648 * Description of Svr4_Profil fix
7650 tSCC zSvr4_ProfilName[] =
7654 * File name selection pattern
7656 tSCC zSvr4_ProfilList[] =
7657 "stdlib.h\0unistd.h\0";
7659 * Machine/OS name selection pattern
7661 #define apzSvr4_ProfilMachs (const char**)NULL
7664 * content selection pattern - do fix if pattern found
7666 tSCC zSvr4_ProfilSelect0[] =
7667 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7670 * content bypass pattern - skip fix if pattern found
7672 tSCC zSvr4_ProfilBypass0[] =
7675 #define SVR4_PROFIL_TEST_CT 2
7676 static tTestDesc aSvr4_ProfilTests[] = {
7677 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
7678 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7681 * Fix Command Arguments for Svr4_Profil
7683 static const char* apzSvr4_ProfilPatch[] = {
7685 "profil(unsigned short *, size_t, int, unsigned int)",
7688 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7690 * Description of Svr4_Sighandler_Type fix
7692 tSCC zSvr4_Sighandler_TypeName[] =
7693 "svr4_sighandler_type";
7696 * File name selection pattern
7698 tSCC zSvr4_Sighandler_TypeList[] =
7701 * Machine/OS name selection pattern
7703 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7706 * content selection pattern - do fix if pattern found
7708 tSCC zSvr4_Sighandler_TypeSelect0[] =
7709 "void *\\(\\*\\)\\(\\)";
7711 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
7712 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
7713 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
7716 * Fix Command Arguments for Svr4_Sighandler_Type
7718 static const char* apzSvr4_Sighandler_TypePatch[] = {
7723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7725 * Description of Svr4_Undeclared_Getrnge fix
7727 tSCC zSvr4_Undeclared_GetrngeName[] =
7728 "svr4_undeclared_getrnge";
7731 * File name selection pattern
7733 tSCC zSvr4_Undeclared_GetrngeList[] =
7736 * Machine/OS name selection pattern
7738 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
7741 * content selection pattern - do fix if pattern found
7743 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
7747 * content bypass pattern - skip fix if pattern found
7749 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
7750 "static void getrnge";
7752 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
7753 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
7754 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
7755 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
7758 * Fix Command Arguments for Svr4_Undeclared_Getrnge
7760 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
7763 static int getrnge ();",
7764 "^static int[ \t]+size;",
7767 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7769 * Description of Sysv68_String fix
7771 tSCC zSysv68_StringName[] =
7775 * File name selection pattern
7777 tSCC zSysv68_StringList[] =
7778 "testing.h\0string.h\0";
7780 * Machine/OS name selection pattern
7782 #define apzSysv68_StringMachs (const char**)NULL
7785 * content bypass pattern - skip fix if pattern found
7787 tSCC zSysv68_StringBypass0[] =
7788 "_CLASSIC_ANSI_TYPES";
7790 #define SYSV68_STRING_TEST_CT 1
7791 static tTestDesc aSysv68_StringTests[] = {
7792 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7795 * Fix Command Arguments for Sysv68_String
7797 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
7798 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7799 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7800 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7801 "-e", "/^extern char$/N",
7802 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7803 "-e", "/^extern int$/N",
7804 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7805 "-e", "/^\tstrncmp(),$/N",
7806 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7807 extern unsigned int\\\n\
7811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7813 * Description of Sysz_Stdlib_For_Sun fix
7815 tSCC zSysz_Stdlib_For_SunName[] =
7816 "sysz_stdlib_for_sun";
7819 * File name selection pattern
7821 tSCC zSysz_Stdlib_For_SunList[] =
7824 * Machine/OS name selection pattern
7826 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7829 * content selection pattern - do fix if pattern found
7831 tSCC zSysz_Stdlib_For_SunSelect0[] =
7832 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7835 * content bypass pattern - skip fix if pattern found
7837 tSCC zSysz_Stdlib_For_SunBypass0[] =
7838 "_CLASSIC_ANSI_TYPES";
7840 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7841 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7842 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7843 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7846 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7848 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7855 * Description of Thread_Keyword fix
7857 tSCC zThread_KeywordName[] =
7861 * File name selection pattern
7863 tSCC zThread_KeywordList[] =
7864 "pthread.h\0bits/sigthread.h\0";
7866 * Machine/OS name selection pattern
7868 #define apzThread_KeywordMachs (const char**)NULL
7871 * content selection pattern - do fix if pattern found
7873 tSCC zThread_KeywordSelect0[] =
7874 "([* ])__thread([,)])";
7876 #define THREAD_KEYWORD_TEST_CT 1
7877 static tTestDesc aThread_KeywordTests[] = {
7878 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7881 * Fix Command Arguments for Thread_Keyword
7883 static const char* apzThread_KeywordPatch[] = {
7888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7890 * Description of Tinfo_Cplusplus fix
7892 tSCC zTinfo_CplusplusName[] =
7896 * File name selection pattern
7898 tSCC zTinfo_CplusplusList[] =
7901 * Machine/OS name selection pattern
7903 #define apzTinfo_CplusplusMachs (const char**)NULL
7906 * content selection pattern - do fix if pattern found
7908 tSCC zTinfo_CplusplusSelect0[] =
7911 #define TINFO_CPLUSPLUS_TEST_CT 1
7912 static tTestDesc aTinfo_CplusplusTests[] = {
7913 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7916 * Fix Command Arguments for Tinfo_Cplusplus
7918 static const char* apzTinfo_CplusplusPatch[] = {
7923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7925 * Description of Ultrix_Const fix
7927 tSCC zUltrix_ConstName[] =
7931 * File name selection pattern
7933 tSCC zUltrix_ConstList[] =
7936 * Machine/OS name selection pattern
7938 #define apzUltrix_ConstMachs (const char**)NULL
7941 * content selection pattern - do fix if pattern found
7943 tSCC zUltrix_ConstSelect0[] =
7944 "perror\\( char \\*";
7946 #define ULTRIX_CONST_TEST_CT 1
7947 static tTestDesc aUltrix_ConstTests[] = {
7948 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7951 * Fix Command Arguments for Ultrix_Const
7953 static const char* apzUltrix_ConstPatch[] = {
7956 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7959 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7961 * Description of Ultrix_Const2 fix
7963 tSCC zUltrix_Const2Name[] =
7967 * File name selection pattern
7969 tSCC zUltrix_Const2List[] =
7972 * Machine/OS name selection pattern
7974 #define apzUltrix_Const2Machs (const char**)NULL
7977 * content selection pattern - do fix if pattern found
7979 tSCC zUltrix_Const2Select0[] =
7980 "\\*fopen\\( char \\*";
7982 #define ULTRIX_CONST2_TEST_CT 1
7983 static tTestDesc aUltrix_Const2Tests[] = {
7984 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7987 * Fix Command Arguments for Ultrix_Const2
7989 static const char* apzUltrix_Const2Patch[] = {
7991 "%1( const char *%3, const char *",
7992 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7997 * Description of Va_I960_Macro fix
7999 tSCC zVa_I960_MacroName[] =
8003 * File name selection pattern
8005 tSCC zVa_I960_MacroList[] =
8006 "arch/i960/archI960.h\0";
8008 * Machine/OS name selection pattern
8010 #define apzVa_I960_MacroMachs (const char**)NULL
8013 * content selection pattern - do fix if pattern found
8015 tSCC zVa_I960_MacroSelect0[] =
8016 "__(vsiz|vali|vpad|alignof__)";
8018 #define VA_I960_MACRO_TEST_CT 1
8019 static tTestDesc aVa_I960_MacroTests[] = {
8020 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8023 * Fix Command Arguments for Va_I960_Macro
8025 static const char* apzVa_I960_MacroPatch[] = {
8030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8032 * Description of Void_Null fix
8034 tSCC zVoid_NullName[] =
8038 * File name selection pattern
8040 tSCC zVoid_NullList[] =
8041 "curses.h\0dbm.h\0locale.h\0stdio.h\0stdlib.h\0string.h\0time.h\0unistd.h\0sys/dir.h\0sys/param.h\0sys/types.h\0";
8043 * Machine/OS name selection pattern
8045 #define apzVoid_NullMachs (const char**)NULL
8048 * content selection pattern - do fix if pattern found
8050 tSCC zVoid_NullSelect0[] =
8051 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8054 * content bypass pattern - skip fix if pattern found
8056 tSCC zVoid_NullBypass0[] =
8059 #define VOID_NULL_TEST_CT 2
8060 static tTestDesc aVoid_NullTests[] = {
8061 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8062 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8065 * Fix Command Arguments for Void_Null
8067 static const char* apzVoid_NullPatch[] = {
8072 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8074 * Description of Vxworks_Gcc_Problem fix
8076 tSCC zVxworks_Gcc_ProblemName[] =
8077 "vxworks_gcc_problem";
8080 * File name selection pattern
8082 tSCC zVxworks_Gcc_ProblemList[] =
8083 "types/vxTypesBase.h\0";
8085 * Machine/OS name selection pattern
8087 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8090 * content selection pattern - do fix if pattern found
8092 tSCC zVxworks_Gcc_ProblemSelect0[] =
8093 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8095 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8096 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8097 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8100 * Fix Command Arguments for Vxworks_Gcc_Problem
8102 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
8103 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8104 "-e", "/[ \t]size_t/i\\\n\
8105 #ifndef _GCC_SIZE_T\\\n\
8106 #define _GCC_SIZE_T\n",
8107 "-e", "/[ \t]size_t/a\\\n\
8109 "-e", "/[ \t]ptrdiff_t/i\\\n\
8110 #ifndef _GCC_PTRDIFF_T\\\n\
8111 #define _GCC_PTRDIFF_T\n",
8112 "-e", "/[ \t]ptrdiff_t/a\\\n\
8114 "-e", "/[ \t]wchar_t/i\\\n\
8115 #ifndef _GCC_WCHAR_T\\\n\
8116 #define _GCC_WCHAR_T\n",
8117 "-e", "/[ \t]wchar_t/a\\\n\
8121 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8123 * Description of Vxworks_Needs_Vxtypes fix
8125 tSCC zVxworks_Needs_VxtypesName[] =
8126 "vxworks_needs_vxtypes";
8129 * File name selection pattern
8131 tSCC zVxworks_Needs_VxtypesList[] =
8134 * Machine/OS name selection pattern
8136 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8139 * content selection pattern - do fix if pattern found
8141 tSCC zVxworks_Needs_VxtypesSelect0[] =
8142 "uint_t([ \t]+_clocks_per_sec)";
8144 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8145 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8146 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8149 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8151 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8158 * Description of Vxworks_Needs_Vxworks fix
8160 tSCC zVxworks_Needs_VxworksName[] =
8161 "vxworks_needs_vxworks";
8164 * File name selection pattern
8166 tSCC zVxworks_Needs_VxworksList[] =
8169 * Machine/OS name selection pattern
8171 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8174 * content selection pattern - do fix if pattern found
8176 tSCC zVxworks_Needs_VxworksSelect0[] =
8177 "#[ \t]define[ \t]+__INCstath";
8180 * perform the 'test' shell command - do fix on success
8182 tSCC zVxworks_Needs_VxworksTest0[] =
8183 " -r types/vxTypesOld.h";
8184 tSCC zVxworks_Needs_VxworksTest1[] =
8185 " -n \"`egrep '#include' $file`\"";
8186 tSCC zVxworks_Needs_VxworksTest2[] =
8187 " -n \"`egrep ULONG $file`\"";
8189 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8190 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8191 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8192 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8193 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8194 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8197 * Fix Command Arguments for Vxworks_Needs_Vxworks
8199 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
8200 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8201 #include <types/vxTypesOld.h>\n",
8204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8206 * Description of Vxworks_Time fix
8208 tSCC zVxworks_TimeName[] =
8212 * File name selection pattern
8214 tSCC zVxworks_TimeList[] =
8217 * Machine/OS name selection pattern
8219 #define apzVxworks_TimeMachs (const char**)NULL
8222 * content selection pattern - do fix if pattern found
8224 tSCC zVxworks_TimeSelect0[] =
8225 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8228 * perform the 'test' shell command - do fix on success
8230 tSCC zVxworks_TimeTest0[] =
8233 #define VXWORKS_TIME_TEST_CT 2
8234 static tTestDesc aVxworks_TimeTests[] = {
8235 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8236 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8239 * Fix Command Arguments for Vxworks_Time
8241 static const char* apzVxworks_TimePatch[] = {
8243 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8244 #ifdef __cplusplus\n\
8245 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8247 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
8249 #define __gcc_VOIDFUNCPTR_defined\n\
8251 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
8254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8256 * Description of X11_Class fix
8258 tSCC zX11_ClassName[] =
8262 * File name selection pattern
8264 tSCC zX11_ClassList[] =
8267 * Machine/OS name selection pattern
8269 #define apzX11_ClassMachs (const char**)NULL
8272 * content selection pattern - do fix if pattern found
8274 tSCC zX11_ClassSelect0[] =
8275 "^([ \t]*char \\*)class;(.*)";
8278 * content bypass pattern - skip fix if pattern found
8280 tSCC zX11_ClassBypass0[] =
8283 #define X11_CLASS_TEST_CT 2
8284 static tTestDesc aX11_ClassTests[] = {
8285 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8286 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8289 * Fix Command Arguments for X11_Class
8291 static const char* apzX11_ClassPatch[] = {
8293 "#ifdef __cplusplus\n\
8300 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8302 * Description of X11_Class_Usage fix
8304 tSCC zX11_Class_UsageName[] =
8308 * File name selection pattern
8310 tSCC zX11_Class_UsageList[] =
8311 "Xm/BaseClassI.h\0";
8313 * Machine/OS name selection pattern
8315 #define apzX11_Class_UsageMachs (const char**)NULL
8318 * content selection pattern - do fix if pattern found
8320 tSCC zX11_Class_UsageSelect0[] =
8324 * content bypass pattern - skip fix if pattern found
8326 tSCC zX11_Class_UsageBypass0[] =
8329 #define X11_CLASS_USAGE_TEST_CT 2
8330 static tTestDesc aX11_Class_UsageTests[] = {
8331 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8332 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8335 * Fix Command Arguments for X11_Class_Usage
8337 static const char* apzX11_Class_UsagePatch[] = {
8342 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8344 * Description of X11_New fix
8346 tSCC zX11_NewName[] =
8350 * File name selection pattern
8352 tSCC zX11_NewList[] =
8355 * Machine/OS name selection pattern
8357 #define apzX11_NewMachs (const char**)NULL
8360 * content bypass pattern - skip fix if pattern found
8362 tSCC zX11_NewBypass0[] =
8365 #define X11_NEW_TEST_CT 1
8366 static tTestDesc aX11_NewTests[] = {
8367 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8370 * Fix Command Arguments for X11_New
8372 static const char* apzX11_NewPatch[] = { sed_cmd_z,
8373 "-e", "/Widget\told, new;/i\\\n\
8374 #ifdef __cplusplus\\\n\
8375 \\\tWidget\told, c_new;\\\n\
8377 "-e", "/Widget\told, new;/a\\\n\
8379 "-e", "s/Widget new,/Widget c_new,/g",
8382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8384 * Description of X11_Sprintf fix
8386 tSCC zX11_SprintfName[] =
8390 * File name selection pattern
8392 tSCC zX11_SprintfList[] =
8393 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
8395 * Machine/OS name selection pattern
8397 #define apzX11_SprintfMachs (const char**)NULL
8400 * content selection pattern - do fix if pattern found
8402 tSCC zX11_SprintfSelect0[] =
8403 "^extern char \\*\tsprintf\\(\\);$";
8405 #define X11_SPRINTF_TEST_CT 1
8406 static tTestDesc aX11_SprintfTests[] = {
8407 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8410 * Fix Command Arguments for X11_Sprintf
8412 static const char* apzX11_SprintfPatch[] = {
8414 "#ifndef __STDC__\n\
8416 #endif /* !defined __STDC__ */",
8420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8424 #define REGEX_COUNT 245
8425 #define MACH_LIST_SIZE_LIMIT 181
8426 #define FIX_COUNT 205
8429 * Enumerate the fixes
8432 AAB_AIX_STDIO_FIXIDX,
8433 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8434 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8435 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8436 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8437 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8438 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8439 AAB_SUN_MEMCPY_FIXIDX,
8442 AIX_STDINT_1_FIXIDX,
8443 AIX_STDINT_2_FIXIDX,
8444 AIX_STDINT_3_FIXIDX,
8445 AIX_STDINT_4_FIXIDX,
8446 AIX_STDINT_5_FIXIDX,
8447 AIX_SYSMACHINE_FIXIDX,
8448 AIX_SYSWAIT_2_FIXIDX,
8449 AIX_VOLATILE_FIXIDX,
8450 ALPHA___ASSERT_FIXIDX,
8451 ALPHA___EXTERN_PREFIX_FIXIDX,
8452 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
8453 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
8454 ALPHA_ASSERT_FIXIDX,
8455 ALPHA_BAD_LVAL_FIXIDX,
8456 ALPHA_GETOPT_FIXIDX,
8457 ALPHA_IF_SEMICOLON_FIXIDX,
8458 ALPHA_PARENS_FIXIDX,
8459 ALPHA_PTHREAD_FIXIDX,
8460 ALPHA_PTHREAD_GCC_FIXIDX,
8461 ALPHA_PTHREAD_INIT_FIXIDX,
8464 AVOID_BOOL_DEFINE_FIXIDX,
8465 AVOID_BOOL_TYPE_FIXIDX,
8466 AVOID_WCHAR_T_TYPE_FIXIDX,
8467 BAD_STRUCT_TERM_FIXIDX,
8469 BROKEN_ASSERT_STDIO_FIXIDX,
8470 BROKEN_ASSERT_STDLIB_FIXIDX,
8473 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8474 CTRL_QUOTES_DEF_FIXIDX,
8475 CTRL_QUOTES_USE_FIXIDX,
8477 DARWIN_EXTERNC_FIXIDX,
8478 DARWIN_GCC4_BREAKAGE_FIXIDX,
8479 DARWIN_PRIVATE_EXTERN_FIXIDX,
8480 DARWIN_STDINT_1_FIXIDX,
8481 DARWIN_STDINT_2_FIXIDX,
8482 DARWIN_STDINT_3_FIXIDX,
8483 DARWIN_STDINT_4_FIXIDX,
8484 DARWIN_STDINT_5_FIXIDX,
8485 DARWIN_STDINT_6_FIXIDX,
8486 DARWIN_STDINT_7_FIXIDX,
8487 DEC_INTERN_ASM_FIXIDX,
8488 DJGPP_WCHAR_H_FIXIDX,
8490 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8491 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8492 GLIBC_C99_INLINE_1_FIXIDX,
8493 GLIBC_C99_INLINE_1A_FIXIDX,
8494 GLIBC_C99_INLINE_2_FIXIDX,
8495 GLIBC_C99_INLINE_3_FIXIDX,
8496 GLIBC_C99_INLINE_4_FIXIDX,
8497 GLIBC_MUTEX_INIT_FIXIDX,
8498 GLIBC_STDINT_FIXIDX,
8499 GLIBC_TGMATH_FIXIDX,
8503 HPPA_HPUX_FP_MACROS_FIXIDX,
8504 HPUX10_CPP_POW_INLINE_FIXIDX,
8505 HPUX11_CPP_POW_INLINE_FIXIDX,
8506 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8507 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8508 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8510 HPUX11_FABSF_FIXIDX,
8511 HPUX11_PTHREAD_CONST_FIXIDX,
8512 HPUX11_SIZE_T_FIXIDX,
8513 HPUX11_SNPRINTF_FIXIDX,
8514 HPUX11_VSNPRINTF_FIXIDX,
8515 HPUX8_BOGUS_INLINES_FIXIDX,
8516 HPUX_CTYPE_MACROS_FIXIDX,
8518 HPUX_LONG_DOUBLE_FIXIDX,
8519 HPUX_LONG_DOUBLE_2_FIXIDX,
8520 HPUX_SYSTIME_FIXIDX,
8521 HPUX_SPU_INFO_FIXIDX,
8522 HPUX11_EXTERN_SENDFILE_FIXIDX,
8523 HPUX11_EXTERN_SENDPATH_FIXIDX,
8524 HPUX_EXTERN_ERRNO_FIXIDX,
8525 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8526 HPUX_C99_INTPTR_FIXIDX,
8527 HPUX_C99_INTTYPES_FIXIDX,
8528 HPUX_C99_INTTYPES2_FIXIDX,
8529 HPUX_STDINT_LEAST_FAST_FIXIDX,
8530 HPUX_INTTYPE_INT8_T_FIXIDX,
8531 HPUX_IMAGINARY_I_FIXIDX,
8532 HUGE_VAL_HEX_FIXIDX,
8533 HUGE_VALF_HEX_FIXIDX,
8534 HUGE_VALL_HEX_FIXIDX,
8535 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8536 IO_QUOTES_DEF_FIXIDX,
8537 IO_QUOTES_USE_FIXIDX,
8538 IP_MISSING_SEMI_FIXIDX,
8539 IRIX___RESTRICT_FIXIDX,
8540 IRIX___GENERIC1_FIXIDX,
8541 IRIX___GENERIC2_FIXIDX,
8542 IRIX_ASM_APOSTROPHE_FIXIDX,
8543 IRIX_COMPLEX_FIXIDX,
8544 IRIX_LIMITS_CONST_FIXIDX,
8545 IRIX_SOCKLEN_T_FIXIDX,
8546 IRIX_STDINT_C99_MODE_FIXIDX,
8547 IRIX_STDINT_C99_TYPES_FIXIDX,
8548 IRIX_STDINT_C99_MACROS_FIXIDX,
8549 IRIX_STDIO_VA_LIST_FIXIDX,
8550 IRIX_WCSFTIME_FIXIDX,
8551 KANDR_CONCAT_FIXIDX,
8552 LINUX_IA64_UCONTEXT_FIXIDX,
8553 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8554 LYNXOS_MISSING_PUTENV_FIXIDX,
8555 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8556 MACHINE_NAME_FIXIDX,
8557 MATH_EXCEPTION_FIXIDX,
8558 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8559 NESTED_AUTH_DES_FIXIDX,
8560 NETBSD_C99_INLINE_1_FIXIDX,
8561 NETBSD_C99_INLINE_2_FIXIDX,
8562 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8563 NEWLIB_STDINT_1_FIXIDX,
8564 NEWLIB_STDINT_2_FIXIDX,
8565 NEXT_MATH_PREFIX_FIXIDX,
8566 NEXT_TEMPLATE_FIXIDX,
8567 NEXT_VOLITILE_FIXIDX,
8568 NEXT_WAIT_UNION_FIXIDX,
8569 NODEENT_SYNTAX_FIXIDX,
8570 OPENBSD_NULL_DEFINITION_FIXIDX,
8571 OBSTACK_LVALUE_CAST_FIXIDX,
8572 OPENBSD_VA_START_FIXIDX,
8573 OSF_NAMESPACE_A_FIXIDX,
8574 OSF_NAMESPACE_C_FIXIDX,
8575 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8576 READ_RET_TYPE_FIXIDX,
8577 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8578 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8579 RS6000_DOUBLE_FIXIDX,
8580 RS6000_FCHMOD_FIXIDX,
8581 RS6000_PARAM_FIXIDX,
8582 SOLARIS_COMPLEX_FIXIDX,
8583 SOLARIS_MATH_1_FIXIDX,
8584 SOLARIS_MATH_2_FIXIDX,
8585 SOLARIS_MATH_3_FIXIDX,
8586 SOLARIS_MATH_4_FIXIDX,
8587 SOLARIS_MATH_8_FIXIDX,
8588 SOLARIS_MATH_9_FIXIDX,
8589 SOLARIS_MATH_10_FIXIDX,
8590 SOLARIS_MUTEX_INIT_2_FIXIDX,
8591 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8592 SOLARIS_ONCE_INIT_1_FIXIDX,
8593 SOLARIS_ONCE_INIT_2_FIXIDX,
8594 SOLARIS_INT_CONST_FIXIDX,
8595 SOLARIS_INT_LIMITS_1_FIXIDX,
8596 SOLARIS_INT_LIMITS_2_FIXIDX,
8597 SOLARIS_INT_LIMITS_3_FIXIDX,
8598 SOLARIS_INT_TYPES_FIXIDX,
8599 SOLARIS_STDIO_TAG_FIXIDX,
8601 STDIO_STDARG_H_FIXIDX,
8602 STDIO_VA_LIST_FIXIDX,
8603 STDIO_VA_LIST_CLIENTS_FIXIDX,
8604 STRICT_ANSI_NOT_FIXIDX,
8605 STRICT_ANSI_NOT_CTD_FIXIDX,
8606 STRICT_ANSI_ONLY_FIXIDX,
8608 STRUCT_SOCKADDR_FIXIDX,
8609 SUN_AUTH_PROTO_FIXIDX,
8610 SUN_BOGUS_IFDEF_FIXIDX,
8611 SUN_CATMACRO_FIXIDX,
8613 SUN_RUSERS_SEMI_FIXIDX,
8615 SUNOS_STRLEN_FIXIDX,
8616 SVR4_DISABLE_OPT_FIXIDX,
8619 SVR4_SIGHANDLER_TYPE_FIXIDX,
8620 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8621 SYSV68_STRING_FIXIDX,
8622 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8623 THREAD_KEYWORD_FIXIDX,
8624 TINFO_CPLUSPLUS_FIXIDX,
8625 ULTRIX_CONST_FIXIDX,
8626 ULTRIX_CONST2_FIXIDX,
8627 VA_I960_MACRO_FIXIDX,
8629 VXWORKS_GCC_PROBLEM_FIXIDX,
8630 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8631 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8632 VXWORKS_TIME_FIXIDX,
8634 X11_CLASS_USAGE_FIXIDX,
8639 tFixDesc fixDescList[ FIX_COUNT ] = {
8640 { zAab_Aix_StdioName, zAab_Aix_StdioList,
8641 apzAab_Aix_StdioMachs,
8642 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8643 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
8645 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8646 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8647 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8648 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8650 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8651 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8652 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8653 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8655 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8656 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8657 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8658 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8660 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8661 apzAab_Fd_Zero_Gnu_Types_HMachs,
8662 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8663 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8665 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8666 apzAab_Fd_Zero_Selectbits_HMachs,
8667 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8668 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8670 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8671 apzAab_Solaris_Sys_Varargs_HMachs,
8672 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8673 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8675 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8676 apzAab_Sun_MemcpyMachs,
8677 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8678 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8680 { zAix_ComplexName, zAix_ComplexList,
8681 apzAix_ComplexMachs,
8682 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8683 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
8685 { zAix_PthreadName, zAix_PthreadList,
8686 apzAix_PthreadMachs,
8687 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8688 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8690 { zAix_Stdint_1Name, zAix_Stdint_1List,
8691 apzAix_Stdint_1Machs,
8692 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8693 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
8695 { zAix_Stdint_2Name, zAix_Stdint_2List,
8696 apzAix_Stdint_2Machs,
8697 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8698 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
8700 { zAix_Stdint_3Name, zAix_Stdint_3List,
8701 apzAix_Stdint_3Machs,
8702 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8703 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
8705 { zAix_Stdint_4Name, zAix_Stdint_4List,
8706 apzAix_Stdint_4Machs,
8707 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8708 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
8710 { zAix_Stdint_5Name, zAix_Stdint_5List,
8711 apzAix_Stdint_5Machs,
8712 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8713 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
8715 { zAix_SysmachineName, zAix_SysmachineList,
8716 apzAix_SysmachineMachs,
8717 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8718 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8720 { zAix_Syswait_2Name, zAix_Syswait_2List,
8721 apzAix_Syswait_2Machs,
8722 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8723 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8725 { zAix_VolatileName, zAix_VolatileList,
8726 apzAix_VolatileMachs,
8727 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8728 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8730 { zAlpha___AssertName, zAlpha___AssertList,
8731 apzAlpha___AssertMachs,
8732 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8733 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8735 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8736 apzAlpha___Extern_PrefixMachs,
8737 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8738 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8740 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8741 apzAlpha___Extern_Prefix_StandardsMachs,
8742 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8743 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8745 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8746 apzAlpha___Extern_Prefix_Sys_StatMachs,
8747 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8748 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8750 { zAlpha_AssertName, zAlpha_AssertList,
8751 apzAlpha_AssertMachs,
8752 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8753 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8755 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8756 apzAlpha_Bad_LvalMachs,
8757 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8758 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8760 { zAlpha_GetoptName, zAlpha_GetoptList,
8761 apzAlpha_GetoptMachs,
8762 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8763 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8765 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
8766 apzAlpha_If_SemicolonMachs,
8767 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8768 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
8770 { zAlpha_ParensName, zAlpha_ParensList,
8771 apzAlpha_ParensMachs,
8772 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8773 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8775 { zAlpha_PthreadName, zAlpha_PthreadList,
8776 apzAlpha_PthreadMachs,
8777 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8778 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8780 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8781 apzAlpha_Pthread_GccMachs,
8782 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8783 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8785 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8786 apzAlpha_Pthread_InitMachs,
8787 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8788 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8790 { zAlpha_SbrkName, zAlpha_SbrkList,
8792 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8793 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8795 { zAlpha_WcharName, zAlpha_WcharList,
8796 apzAlpha_WcharMachs,
8797 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8798 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8800 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8801 apzAvoid_Bool_DefineMachs,
8802 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8803 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8805 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8806 apzAvoid_Bool_TypeMachs,
8807 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8808 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
8810 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
8811 apzAvoid_Wchar_T_TypeMachs,
8812 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8813 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
8815 { zBad_Struct_TermName, zBad_Struct_TermList,
8816 apzBad_Struct_TermMachs,
8817 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8818 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
8820 { zBadquoteName, zBadquoteList,
8822 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8823 aBadquoteTests, apzBadquotePatch, 0 },
8825 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
8826 apzBroken_Assert_StdioMachs,
8827 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8828 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
8830 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
8831 apzBroken_Assert_StdlibMachs,
8832 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8833 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
8835 { zBroken_CabsName, zBroken_CabsList,
8836 apzBroken_CabsMachs,
8837 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
8838 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
8840 { zBroken_NanName, zBroken_NanList,
8842 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8843 aBroken_NanTests, apzBroken_NanPatch, 0 },
8845 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
8846 apzBsd_Stdio_Attrs_ConflictMachs,
8847 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8848 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
8850 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
8851 apzCtrl_Quotes_DefMachs,
8852 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8853 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
8855 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
8856 apzCtrl_Quotes_UseMachs,
8857 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8858 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
8860 { zCxx_UnreadyName, zCxx_UnreadyList,
8861 apzCxx_UnreadyMachs,
8862 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8863 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
8865 { zDarwin_ExterncName, zDarwin_ExterncList,
8866 apzDarwin_ExterncMachs,
8867 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8868 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
8870 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
8871 apzDarwin_Gcc4_BreakageMachs,
8872 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8873 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
8875 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
8876 apzDarwin_Private_ExternMachs,
8877 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8878 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
8880 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
8881 apzDarwin_Stdint_1Machs,
8882 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8883 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
8885 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
8886 apzDarwin_Stdint_2Machs,
8887 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8888 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
8890 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
8891 apzDarwin_Stdint_3Machs,
8892 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8893 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
8895 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
8896 apzDarwin_Stdint_4Machs,
8897 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8898 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
8900 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
8901 apzDarwin_Stdint_5Machs,
8902 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8903 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
8905 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
8906 apzDarwin_Stdint_6Machs,
8907 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8908 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
8910 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
8911 apzDarwin_Stdint_7Machs,
8912 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8913 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
8915 { zDec_Intern_AsmName, zDec_Intern_AsmList,
8916 apzDec_Intern_AsmMachs,
8917 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
8918 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
8920 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
8921 apzDjgpp_Wchar_HMachs,
8922 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8923 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
8925 { zEcd_CursorName, zEcd_CursorList,
8927 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8928 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
8930 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
8931 apzFreebsd_Gcc3_BreakageMachs,
8932 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8933 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
8935 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
8936 apzFreebsd_Gcc4_BreakageMachs,
8937 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8938 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
8940 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
8941 apzGlibc_C99_Inline_1Machs,
8942 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8943 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
8945 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
8946 apzGlibc_C99_Inline_1aMachs,
8947 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8948 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
8950 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
8951 apzGlibc_C99_Inline_2Machs,
8952 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
8953 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
8955 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
8956 apzGlibc_C99_Inline_3Machs,
8957 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8958 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
8960 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
8961 apzGlibc_C99_Inline_4Machs,
8962 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8963 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
8965 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
8966 apzGlibc_Mutex_InitMachs,
8967 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
8968 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
8970 { zGlibc_StdintName, zGlibc_StdintList,
8971 apzGlibc_StdintMachs,
8972 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8973 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
8975 { zGlibc_TgmathName, zGlibc_TgmathList,
8976 apzGlibc_TgmathMachs,
8977 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8978 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
8980 { zGnu_TypesName, zGnu_TypesList,
8982 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8983 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
8985 { zHp_InlineName, zHp_InlineList,
8987 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8988 aHp_InlineTests, apzHp_InlinePatch, 0 },
8990 { zHp_SysfileName, zHp_SysfileList,
8992 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8993 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
8995 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
8996 apzHppa_Hpux_Fp_MacrosMachs,
8997 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8998 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
9000 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
9001 apzHpux10_Cpp_Pow_InlineMachs,
9002 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9003 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
9005 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
9006 apzHpux11_Cpp_Pow_InlineMachs,
9007 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9008 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
9010 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
9011 apzHpux10_Ctype_Declarations1Machs,
9012 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9013 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
9015 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
9016 apzHpux10_Ctype_Declarations2Machs,
9017 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9018 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
9020 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
9021 apzHpux10_Stdio_DeclarationsMachs,
9022 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9023 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
9025 { zHpux11_AbsName, zHpux11_AbsList,
9027 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9028 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
9030 { zHpux11_FabsfName, zHpux11_FabsfList,
9031 apzHpux11_FabsfMachs,
9032 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9033 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
9035 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
9036 apzHpux11_Pthread_ConstMachs,
9037 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9038 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
9040 { zHpux11_Size_TName, zHpux11_Size_TList,
9041 apzHpux11_Size_TMachs,
9042 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9043 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
9045 { zHpux11_SnprintfName, zHpux11_SnprintfList,
9046 apzHpux11_SnprintfMachs,
9047 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9048 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
9050 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
9051 apzHpux11_VsnprintfMachs,
9052 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9053 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
9055 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
9056 apzHpux8_Bogus_InlinesMachs,
9057 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
9058 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
9060 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
9061 apzHpux_Ctype_MacrosMachs,
9062 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9063 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
9065 { zHpux_HtonlName, zHpux_HtonlList,
9067 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9068 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
9070 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
9071 apzHpux_Long_DoubleMachs,
9072 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
9073 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
9075 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
9076 apzHpux_Long_Double_2Machs,
9077 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9078 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
9080 { zHpux_SystimeName, zHpux_SystimeList,
9081 apzHpux_SystimeMachs,
9082 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9083 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
9085 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
9086 apzHpux_Spu_InfoMachs,
9087 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9088 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
9090 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
9091 apzHpux11_Extern_SendfileMachs,
9092 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9093 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
9095 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
9096 apzHpux11_Extern_SendpathMachs,
9097 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9098 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
9100 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
9101 apzHpux_Extern_ErrnoMachs,
9102 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9103 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
9105 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
9106 apzHpux_Pthread_InitializersMachs,
9107 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
9108 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
9110 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
9111 apzHpux_C99_IntptrMachs,
9112 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
9113 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
9115 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
9116 apzHpux_C99_InttypesMachs,
9117 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
9118 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
9120 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
9121 apzHpux_C99_Inttypes2Machs,
9122 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
9123 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
9125 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
9126 apzHpux_Stdint_Least_FastMachs,
9127 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9128 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
9130 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
9131 apzHpux_Inttype_Int8_TMachs,
9132 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9133 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
9135 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
9136 apzHpux_Imaginary_IMachs,
9137 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9138 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
9140 { zHuge_Val_HexName, zHuge_Val_HexList,
9141 apzHuge_Val_HexMachs,
9142 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9143 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
9145 { zHuge_Valf_HexName, zHuge_Valf_HexList,
9146 apzHuge_Valf_HexMachs,
9147 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9148 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
9150 { zHuge_Vall_HexName, zHuge_Vall_HexList,
9151 apzHuge_Vall_HexMachs,
9152 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9153 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
9155 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
9156 apzInt_Abort_Free_And_ExitMachs,
9157 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9158 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
9160 { zIo_Quotes_DefName, zIo_Quotes_DefList,
9161 apzIo_Quotes_DefMachs,
9162 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9163 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
9165 { zIo_Quotes_UseName, zIo_Quotes_UseList,
9166 apzIo_Quotes_UseMachs,
9167 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9168 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
9170 { zIp_Missing_SemiName, zIp_Missing_SemiList,
9171 apzIp_Missing_SemiMachs,
9172 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
9173 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
9175 { zIrix___RestrictName, zIrix___RestrictList,
9176 apzIrix___RestrictMachs,
9177 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9178 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
9180 { zIrix___Generic1Name, zIrix___Generic1List,
9181 apzIrix___Generic1Machs,
9182 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9183 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
9185 { zIrix___Generic2Name, zIrix___Generic2List,
9186 apzIrix___Generic2Machs,
9187 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9188 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
9190 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
9191 apzIrix_Asm_ApostropheMachs,
9192 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9193 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
9195 { zIrix_ComplexName, zIrix_ComplexList,
9196 apzIrix_ComplexMachs,
9197 IRIX_COMPLEX_TEST_CT, FD_MACH_ONLY,
9198 aIrix_ComplexTests, apzIrix_ComplexPatch, 0 },
9200 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
9201 apzIrix_Limits_ConstMachs,
9202 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9203 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
9205 { zIrix_Socklen_TName, zIrix_Socklen_TList,
9206 apzIrix_Socklen_TMachs,
9207 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9208 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
9210 { zIrix_Stdint_C99_ModeName, zIrix_Stdint_C99_ModeList,
9211 apzIrix_Stdint_C99_ModeMachs,
9212 IRIX_STDINT_C99_MODE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9213 aIrix_Stdint_C99_ModeTests, apzIrix_Stdint_C99_ModePatch, 0 },
9215 { zIrix_Stdint_C99_TypesName, zIrix_Stdint_C99_TypesList,
9216 apzIrix_Stdint_C99_TypesMachs,
9217 IRIX_STDINT_C99_TYPES_TEST_CT, FD_MACH_ONLY,
9218 aIrix_Stdint_C99_TypesTests, apzIrix_Stdint_C99_TypesPatch, 0 },
9220 { zIrix_Stdint_C99_MacrosName, zIrix_Stdint_C99_MacrosList,
9221 apzIrix_Stdint_C99_MacrosMachs,
9222 IRIX_STDINT_C99_MACROS_TEST_CT, FD_MACH_ONLY,
9223 aIrix_Stdint_C99_MacrosTests, apzIrix_Stdint_C99_MacrosPatch, 0 },
9225 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
9226 apzIrix_Stdio_Va_ListMachs,
9227 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9228 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
9230 { zIrix_WcsftimeName, zIrix_WcsftimeList,
9231 apzIrix_WcsftimeMachs,
9232 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9233 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
9235 { zKandr_ConcatName, zKandr_ConcatList,
9236 apzKandr_ConcatMachs,
9237 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9238 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
9240 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
9241 apzLinux_Ia64_UcontextMachs,
9242 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9243 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
9245 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
9246 apzLynxos_No_Warning_In_Sys_Time_HMachs,
9247 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9248 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
9250 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
9251 apzLynxos_Missing_PutenvMachs,
9252 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9253 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
9255 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
9256 apzMachine_Ansi_H_Va_ListMachs,
9257 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9258 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
9260 { zMachine_NameName, zMachine_NameList,
9261 apzMachine_NameMachs,
9262 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9263 aMachine_NameTests, apzMachine_NamePatch, 0 },
9265 { zMath_ExceptionName, zMath_ExceptionList,
9266 apzMath_ExceptionMachs,
9267 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9268 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
9270 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
9271 apzMath_Huge_Val_From_Dbl_MaxMachs,
9272 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
9273 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
9275 { zNested_Auth_DesName, zNested_Auth_DesList,
9276 apzNested_Auth_DesMachs,
9277 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9278 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9280 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
9281 apzNetbsd_C99_Inline_1Machs,
9282 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9283 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
9285 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
9286 apzNetbsd_C99_Inline_2Machs,
9287 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9288 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
9290 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9291 apzNetbsd_Extra_SemicolonMachs,
9292 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9293 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9295 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
9296 apzNewlib_Stdint_1Machs,
9297 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
9298 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
9300 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
9301 apzNewlib_Stdint_2Machs,
9302 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9303 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
9305 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9306 apzNext_Math_PrefixMachs,
9307 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9308 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9310 { zNext_TemplateName, zNext_TemplateList,
9311 apzNext_TemplateMachs,
9312 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9313 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9315 { zNext_VolitileName, zNext_VolitileList,
9316 apzNext_VolitileMachs,
9317 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9318 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9320 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9321 apzNext_Wait_UnionMachs,
9322 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9323 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9325 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9326 apzNodeent_SyntaxMachs,
9327 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9328 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9330 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
9331 apzOpenbsd_Null_DefinitionMachs,
9332 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9333 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
9335 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9336 apzObstack_Lvalue_CastMachs,
9337 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9338 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9340 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
9341 apzOpenbsd_Va_StartMachs,
9342 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9343 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
9345 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9346 apzOsf_Namespace_AMachs,
9347 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9348 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9350 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9351 apzOsf_Namespace_CMachs,
9352 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9353 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9355 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9356 apzPthread_Incomplete_Struct_ArgumentMachs,
9357 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9358 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9360 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9361 apzRead_Ret_TypeMachs,
9362 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9363 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9365 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9366 apzRpc_Xdr_Lvalue_Cast_AMachs,
9367 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9368 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9370 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9371 apzRpc_Xdr_Lvalue_Cast_BMachs,
9372 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9373 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9375 { zRs6000_DoubleName, zRs6000_DoubleList,
9376 apzRs6000_DoubleMachs,
9377 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9378 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9380 { zRs6000_FchmodName, zRs6000_FchmodList,
9381 apzRs6000_FchmodMachs,
9382 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9383 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9385 { zRs6000_ParamName, zRs6000_ParamList,
9386 apzRs6000_ParamMachs,
9387 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9388 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9390 { zSolaris_ComplexName, zSolaris_ComplexList,
9391 apzSolaris_ComplexMachs,
9392 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
9393 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
9395 { zSolaris_Math_1Name, zSolaris_Math_1List,
9396 apzSolaris_Math_1Machs,
9397 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9398 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9400 { zSolaris_Math_2Name, zSolaris_Math_2List,
9401 apzSolaris_Math_2Machs,
9402 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9403 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9405 { zSolaris_Math_3Name, zSolaris_Math_3List,
9406 apzSolaris_Math_3Machs,
9407 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9408 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9410 { zSolaris_Math_4Name, zSolaris_Math_4List,
9411 apzSolaris_Math_4Machs,
9412 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9413 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9415 { zSolaris_Math_8Name, zSolaris_Math_8List,
9416 apzSolaris_Math_8Machs,
9417 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9418 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9420 { zSolaris_Math_9Name, zSolaris_Math_9List,
9421 apzSolaris_Math_9Machs,
9422 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9423 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9425 { zSolaris_Math_10Name, zSolaris_Math_10List,
9426 apzSolaris_Math_10Machs,
9427 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9428 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
9430 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9431 apzSolaris_Mutex_Init_2Machs,
9432 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9433 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9435 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9436 apzSolaris_Rwlock_Init_1Machs,
9437 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9438 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9440 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9441 apzSolaris_Once_Init_1Machs,
9442 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9443 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9445 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9446 apzSolaris_Once_Init_2Machs,
9447 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9448 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9450 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
9451 apzSolaris_Int_ConstMachs,
9452 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9453 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
9455 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
9456 apzSolaris_Int_Limits_1Machs,
9457 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9458 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
9460 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
9461 apzSolaris_Int_Limits_2Machs,
9462 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9463 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
9465 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
9466 apzSolaris_Int_Limits_3Machs,
9467 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9468 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
9470 { zSolaris_Int_TypesName, zSolaris_Int_TypesList,
9471 apzSolaris_Int_TypesMachs,
9472 SOLARIS_INT_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9473 aSolaris_Int_TypesTests, apzSolaris_Int_TypesPatch, 0 },
9475 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9476 apzSolaris_Stdio_TagMachs,
9477 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9478 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9480 { zStatsswtchName, zStatsswtchList,
9482 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9483 aStatsswtchTests, apzStatsswtchPatch, 0 },
9485 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9486 apzStdio_Stdarg_HMachs,
9487 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9488 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9490 { zStdio_Va_ListName, zStdio_Va_ListList,
9491 apzStdio_Va_ListMachs,
9492 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9493 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9495 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9496 apzStdio_Va_List_ClientsMachs,
9497 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9498 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9500 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9501 apzStrict_Ansi_NotMachs,
9502 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9503 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9505 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9506 apzStrict_Ansi_Not_CtdMachs,
9507 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9508 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9510 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9511 apzStrict_Ansi_OnlyMachs,
9512 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9513 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9515 { zStruct_FileName, zStruct_FileList,
9516 apzStruct_FileMachs,
9517 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9518 aStruct_FileTests, apzStruct_FilePatch, 0 },
9520 { zStruct_SockaddrName, zStruct_SockaddrList,
9521 apzStruct_SockaddrMachs,
9522 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9523 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9525 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9526 apzSun_Auth_ProtoMachs,
9527 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9528 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9530 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9531 apzSun_Bogus_IfdefMachs,
9532 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9533 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9535 { zSun_CatmacroName, zSun_CatmacroList,
9536 apzSun_CatmacroMachs,
9537 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9538 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9540 { zSun_MallocName, zSun_MallocList,
9542 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9543 aSun_MallocTests, apzSun_MallocPatch, 0 },
9545 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9546 apzSun_Rusers_SemiMachs,
9547 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9548 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9550 { zSun_SignalName, zSun_SignalList,
9552 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9553 aSun_SignalTests, apzSun_SignalPatch, 0 },
9555 { zSunos_StrlenName, zSunos_StrlenList,
9556 apzSunos_StrlenMachs,
9557 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9558 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9560 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9561 apzSvr4_Disable_OptMachs,
9562 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9563 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9565 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9566 apzSvr4_GetcwdMachs,
9567 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9568 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9570 { zSvr4_ProfilName, zSvr4_ProfilList,
9571 apzSvr4_ProfilMachs,
9572 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9573 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9575 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9576 apzSvr4_Sighandler_TypeMachs,
9577 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9578 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9580 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9581 apzSvr4_Undeclared_GetrngeMachs,
9582 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9583 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9585 { zSysv68_StringName, zSysv68_StringList,
9586 apzSysv68_StringMachs,
9587 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9588 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9590 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9591 apzSysz_Stdlib_For_SunMachs,
9592 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9593 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9595 { zThread_KeywordName, zThread_KeywordList,
9596 apzThread_KeywordMachs,
9597 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9598 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9600 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9601 apzTinfo_CplusplusMachs,
9602 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9603 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9605 { zUltrix_ConstName, zUltrix_ConstList,
9606 apzUltrix_ConstMachs,
9607 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9608 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9610 { zUltrix_Const2Name, zUltrix_Const2List,
9611 apzUltrix_Const2Machs,
9612 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9613 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9615 { zVa_I960_MacroName, zVa_I960_MacroList,
9616 apzVa_I960_MacroMachs,
9617 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9618 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9620 { zVoid_NullName, zVoid_NullList,
9622 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9623 aVoid_NullTests, apzVoid_NullPatch, 0 },
9625 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
9626 apzVxworks_Gcc_ProblemMachs,
9627 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
9628 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
9630 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
9631 apzVxworks_Needs_VxtypesMachs,
9632 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9633 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
9635 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
9636 apzVxworks_Needs_VxworksMachs,
9637 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
9638 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
9640 { zVxworks_TimeName, zVxworks_TimeList,
9641 apzVxworks_TimeMachs,
9642 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9643 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
9645 { zX11_ClassName, zX11_ClassList,
9647 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9648 aX11_ClassTests, apzX11_ClassPatch, 0 },
9650 { zX11_Class_UsageName, zX11_Class_UsageList,
9651 apzX11_Class_UsageMachs,
9652 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9653 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9655 { zX11_NewName, zX11_NewList,
9657 X11_NEW_TEST_CT, FD_MACH_ONLY,
9658 aX11_NewTests, apzX11_NewPatch, 0 },
9660 { zX11_SprintfName, zX11_SprintfList,
9661 apzX11_SprintfMachs,
9662 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9663 aX11_SprintfTests, apzX11_SprintfPatch, 0 }