1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Thursday August 13, 2009 at 08:49:14 AM PDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Thu Aug 13 08:49:14 PDT 2009
11 * You must regenerate it. Use the ./genfixes script.
14 * This is part of the fixincl program used to install modified versions of
15 * certain ANSI-incompatible system header files which are fixed to work
16 * correctly with ANSI C and placed in a directory that GNU C will search.
18 * This file contains 201 fixup descriptions.
20 * See README for more information.
22 * inclhack copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
24 * The Free Software Foundation, Inc.
26 * inclhack is free software: you can redistribute it and/or modify it
27 * under the terms of the GNU General Public License as published by the
28 * Free Software Foundation, either version 3 of the License, or
29 * (at your option) any later version.
31 * inclhack is distributed in the hope that it will be useful, but
32 * WITHOUT ANY WARRANTY; without even the implied warranty of
33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
34 * See the GNU General Public License for more details.
36 * You should have received a copy of the GNU General Public License along
37 * with this program. If not, see <http://www.gnu.org/licenses/>.
40 #define SED_PROGRAM "/usr/bin/sed"
42 static char const sed_cmd_z[] = SED_PROGRAM;
44 /* * * * * * * * * * * * * * * * * * * * * * * * * *
46 * Description of Aab_Aix_Stdio fix
48 tSCC zAab_Aix_StdioName[] =
52 * File name selection pattern
54 tSCC zAab_Aix_StdioList[] =
57 * Machine/OS name selection pattern
59 tSCC* apzAab_Aix_StdioMachs[] = {
64 * content selection pattern - do fix if pattern found
66 tSCC zAab_Aix_StdioSelect0[] =
67 "define fopen fopen64";
69 #define AAB_AIX_STDIO_TEST_CT 1
70 static tTestDesc aAab_Aix_StdioTests[] = {
71 { TT_EGREP, zAab_Aix_StdioSelect0, (regex_t*)NULL }, };
74 * Fix Command Arguments for Aab_Aix_Stdio
76 static const char* apzAab_Aix_StdioPatch[] = {
80 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
81 #define __need__aix_stdio_h_fix\n\
82 #ifdef __need__aix_stdio_h_fix\n\
89 /* Alias the symbols using asm */\n\
91 extern int fgetpos(FILE *, fpos64_t *) __asm__(\"fgetpos64\");\n\
92 extern FILE *fopen(const char *, const char *) __asm__(\"fopen64\");\n\
93 extern FILE *freopen(const char *, const char *, FILE *) __asm__(\"freopen64\");\n\
94 extern int fseeko(FILE *, off64_t, int) __asm__(\"fseeko64\");\n\
95 extern int fsetpos(FILE *, const fpos64_t *) __asm__(\"fsetpos64\");\n\
96 extern off64_t ftello(FILE *) __asm__(\"ftello64\");\n\
102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
104 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
106 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
107 "AAB_darwin7_9_long_double_funcs";
110 * File name selection pattern
112 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
113 "architecture/ppc/math.h\0";
115 * Machine/OS name selection pattern
117 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
122 * content bypass pattern - skip fix if pattern found
124 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
127 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
128 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
129 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
132 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
134 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
135 "/* This file prototypes the long double functions available on Mac OS\n\
138 # undef __APPLE_CC__\n\
139 # define __APPLE_CC__ 1345\n\
140 # include_next <architecture/ppc/math.h>\n\
141 # undef __APPLE_CC__\n\
142 # define __APPLE_CC__ 1\n\
143 # ifndef __LIBMLDBL_COMPAT\n\
144 # ifdef __LONG_DOUBLE_128__\n\
145 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
147 # define __LIBMLDBL_COMPAT(sym)\n\
148 # endif /* __LONG_DOUBLE_128__ */\n\
149 # endif /* __LIBMLDBL_COMPAT */\n\
150 # ifdef __cplusplus\n\
153 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
154 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
155 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
156 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
157 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
158 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
159 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
160 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
161 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
162 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
163 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
164 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
165 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
166 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
167 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
168 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
169 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
170 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
171 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
172 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
173 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
174 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
175 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
176 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
177 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
178 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
179 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
180 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
181 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
182 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
183 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
184 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
185 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
186 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
187 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
188 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
189 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
190 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
191 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
192 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
193 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
194 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
195 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
196 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
197 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
198 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
199 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
200 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
201 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
202 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
203 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
204 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
205 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
206 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
207 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
208 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
209 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
210 # ifdef __cplusplus\n\
213 #endif /* __MATH__ */",
216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
218 * Description of Aab_Darwin7_9_Long_Double_Funcs_2 fix
220 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
221 "AAB_darwin7_9_long_double_funcs_2";
224 * File name selection pattern
226 tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
229 * Machine/OS name selection pattern
231 tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
236 * content selection pattern - do fix if pattern found
238 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
239 "#include[ \\t]+\\\"";
241 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
242 static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
243 { TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
246 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
248 static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
251 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
256 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
258 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
259 "AAB_fd_zero_asm_posix_types_h";
262 * File name selection pattern
264 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
265 "asm/posix_types.h\0";
267 * Machine/OS name selection pattern
269 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
270 "i[34567]86-*-linux*",
274 * content bypass pattern - skip fix if pattern found
276 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
278 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
280 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
283 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
284 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
285 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
286 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
287 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
290 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
292 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
293 "/* This file fixes a bug in the __FD_ZERO macro\n\
294 for older versions of the Linux kernel. */\n\
295 #ifndef _POSIX_TYPES_H_WRAPPER\n\
296 #include <features.h>\n\
297 #include_next <asm/posix_types.h>\n\n\
298 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
300 #define __FD_ZERO(fdsetp) \\\n\
302 int __d0, __d1; \\\n\
303 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
304 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
305 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
306 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
309 #define _POSIX_TYPES_H_WRAPPER\n\
310 #endif /* _POSIX_TYPES_H_WRAPPER */",
313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
315 * Description of Aab_Fd_Zero_Gnu_Types_H fix
317 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
318 "AAB_fd_zero_gnu_types_h";
321 * File name selection pattern
323 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
326 * Machine/OS name selection pattern
328 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
329 "i[34567]86-*-linux*",
331 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
332 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
335 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
337 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
338 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
339 #ifndef _TYPES_H_WRAPPER\n\
340 #include <features.h>\n\
341 #include_next <gnu/types.h>\n\n\
342 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
344 # define __FD_ZERO(fdsetp) \\\n\
346 int __d0, __d1; \\\n\
347 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
348 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
349 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
350 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
353 #define _TYPES_H_WRAPPER\n\
354 #endif /* _TYPES_H_WRAPPER */",
357 /* * * * * * * * * * * * * * * * * * * * * * * * * *
359 * Description of Aab_Fd_Zero_Selectbits_H fix
361 tSCC zAab_Fd_Zero_Selectbits_HName[] =
362 "AAB_fd_zero_selectbits_h";
365 * File name selection pattern
367 tSCC zAab_Fd_Zero_Selectbits_HList[] =
370 * Machine/OS name selection pattern
372 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
373 "i[34567]86-*-linux*",
375 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
376 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
379 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
381 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
382 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
383 #ifndef _SELECTBITS_H_WRAPPER\n\
384 #include <features.h>\n\
385 #include_next <selectbits.h>\n\n\
386 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
387 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
388 && __GLIBC_MINOR__ == 0\n\
390 #define __FD_ZERO(fdsetp) \\\\\n\
392 int __d0, __d1; \\\\\n\
393 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
394 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
395 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
396 / sizeof (__fd_mask)), \\\\\n\
397 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
398 : \"memory\"); \\\\\n\
401 #define _SELECTBITS_H_WRAPPER\n\
402 #endif /* _SELECTBITS_H_WRAPPER */",
405 /* * * * * * * * * * * * * * * * * * * * * * * * * *
407 * Description of Aab_Solaris_Sys_Varargs_H fix
409 tSCC zAab_Solaris_Sys_Varargs_HName[] =
410 "AAB_solaris_sys_varargs_h";
413 * File name selection pattern
415 tSCC zAab_Solaris_Sys_Varargs_HList[] =
418 * Machine/OS name selection pattern
420 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
423 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
424 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
427 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
429 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
431 #include <stdarg.h>\n\
433 #include <varargs.h>\n\
437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
439 * Description of Aab_Sun_Memcpy fix
441 tSCC zAab_Sun_MemcpyName[] =
445 * File name selection pattern
447 tSCC zAab_Sun_MemcpyList[] =
450 * Machine/OS name selection pattern
452 #define apzAab_Sun_MemcpyMachs (const char**)NULL
455 * content selection pattern - do fix if pattern found
457 tSCC zAab_Sun_MemcpySelect0[] =
458 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
460 #define AAB_SUN_MEMCPY_TEST_CT 1
461 static tTestDesc aAab_Sun_MemcpyTests[] = {
462 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
465 * Fix Command Arguments for Aab_Sun_Memcpy
467 static const char* apzAab_Sun_MemcpyPatch[] = {
468 "/* This file was generated by fixincludes */\n\
469 #ifndef __memory_h__\n\
470 #define __memory_h__\n\n\
472 extern void *memccpy();\n\
473 extern void *memchr();\n\
474 extern void *memcpy();\n\
475 extern void *memset();\n\
477 extern char *memccpy();\n\
478 extern char *memchr();\n\
479 extern char *memcpy();\n\
480 extern char *memset();\n\
481 #endif /* __STDC__ */\n\n\
482 extern int memcmp();\n\n\
483 #endif /* __memory_h__ */",
486 /* * * * * * * * * * * * * * * * * * * * * * * * * *
488 * Description of Aix_Complex fix
490 tSCC zAix_ComplexName[] =
494 * File name selection pattern
496 tSCC zAix_ComplexList[] =
499 * Machine/OS name selection pattern
501 #define apzAix_ComplexMachs (const char**)NULL
504 * content selection pattern - do fix if pattern found
506 tSCC zAix_ComplexSelect0[] =
509 #define AIX_COMPLEX_TEST_CT 1
510 static tTestDesc aAix_ComplexTests[] = {
511 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
514 * Fix Command Arguments for Aix_Complex
516 static const char* apzAix_ComplexPatch[] = { sed_cmd_z,
517 "-e", "s/^#define[ \t]_Complex_I[ \t]__I//",
518 "-e", "s/^#define[ \t]I[ \t]_Complex_I//",
521 /* * * * * * * * * * * * * * * * * * * * * * * * * *
523 * Description of Aix_Pthread fix
525 tSCC zAix_PthreadName[] =
529 * File name selection pattern
531 tSCC zAix_PthreadList[] =
534 * Machine/OS name selection pattern
536 #define apzAix_PthreadMachs (const char**)NULL
539 * content selection pattern - do fix if pattern found
541 tSCC zAix_PthreadSelect0[] =
542 "(#define [A-Za-z_0-9]+)(\\\\\n\
546 #define AIX_PTHREAD_TEST_CT 1
547 static tTestDesc aAix_PthreadTests[] = {
548 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
551 * Fix Command Arguments for Aix_Pthread
553 static const char* apzAix_PthreadPatch[] = {
558 /* * * * * * * * * * * * * * * * * * * * * * * * * *
560 * Description of Aix_Sysmachine fix
562 tSCC zAix_SysmachineName[] =
566 * File name selection pattern
568 tSCC zAix_SysmachineList[] =
571 * Machine/OS name selection pattern
573 #define apzAix_SysmachineMachs (const char**)NULL
576 * content selection pattern - do fix if pattern found
578 tSCC zAix_SysmachineSelect0[] =
581 #define AIX_SYSMACHINE_TEST_CT 1
582 static tTestDesc aAix_SysmachineTests[] = {
583 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
586 * Fix Command Arguments for Aix_Sysmachine
588 static const char* apzAix_SysmachinePatch[] = {
593 /* * * * * * * * * * * * * * * * * * * * * * * * * *
595 * Description of Aix_Syswait_2 fix
597 tSCC zAix_Syswait_2Name[] =
601 * File name selection pattern
603 tSCC zAix_Syswait_2List[] =
606 * Machine/OS name selection pattern
608 #define apzAix_Syswait_2Machs (const char**)NULL
611 * content selection pattern - do fix if pattern found
613 tSCC zAix_Syswait_2Select0[] =
614 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
616 #define AIX_SYSWAIT_2_TEST_CT 1
617 static tTestDesc aAix_Syswait_2Tests[] = {
618 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
621 * Fix Command Arguments for Aix_Syswait_2
623 static const char* apzAix_Syswait_2Patch[] = {
628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
630 * Description of Aix_Volatile fix
632 tSCC zAix_VolatileName[] =
636 * File name selection pattern
638 tSCC zAix_VolatileList[] =
641 * Machine/OS name selection pattern
643 #define apzAix_VolatileMachs (const char**)NULL
646 * content selection pattern - do fix if pattern found
648 tSCC zAix_VolatileSelect0[] =
649 "typedef volatile int sig_atomic_t";
651 #define AIX_VOLATILE_TEST_CT 1
652 static tTestDesc aAix_VolatileTests[] = {
653 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
656 * Fix Command Arguments for Aix_Volatile
658 static const char* apzAix_VolatilePatch[] = {
660 "typedef int sig_atomic_t",
663 /* * * * * * * * * * * * * * * * * * * * * * * * * *
665 * Description of Alpha___Assert fix
667 tSCC zAlpha___AssertName[] =
671 * File name selection pattern
673 tSCC zAlpha___AssertList[] =
676 * Machine/OS name selection pattern
678 #define apzAlpha___AssertMachs (const char**)NULL
681 * content selection pattern - do fix if pattern found
683 tSCC zAlpha___AssertSelect0[] =
684 "__assert\\(char \\*, char \\*, int\\)";
686 #define ALPHA___ASSERT_TEST_CT 1
687 static tTestDesc aAlpha___AssertTests[] = {
688 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
691 * Fix Command Arguments for Alpha___Assert
693 static const char* apzAlpha___AssertPatch[] = {
695 "__assert(const char *, const char *, int)",
698 /* * * * * * * * * * * * * * * * * * * * * * * * * *
700 * Description of Alpha___Extern_Prefix fix
702 tSCC zAlpha___Extern_PrefixName[] =
703 "alpha___extern_prefix";
706 * File name selection pattern
708 #define zAlpha___Extern_PrefixList (char*)NULL
710 * Machine/OS name selection pattern
712 tSCC* apzAlpha___Extern_PrefixMachs[] = {
717 * content selection pattern - do fix if pattern found
719 tSCC zAlpha___Extern_PrefixSelect0[] =
720 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
721 (#[ \t]*pragma[ \t]*extern_prefix.*)";
723 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
724 static tTestDesc aAlpha___Extern_PrefixTests[] = {
725 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
728 * Fix Command Arguments for Alpha___Extern_Prefix
730 static const char* apzAlpha___Extern_PrefixPatch[] = {
732 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
736 /* * * * * * * * * * * * * * * * * * * * * * * * * *
738 * Description of Alpha___Extern_Prefix_Standards fix
740 tSCC zAlpha___Extern_Prefix_StandardsName[] =
741 "alpha___extern_prefix_standards";
744 * File name selection pattern
746 tSCC zAlpha___Extern_Prefix_StandardsList[] =
749 * Machine/OS name selection pattern
751 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
756 * content selection pattern - do fix if pattern found
758 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
759 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
761 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
762 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
763 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
766 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
768 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
770 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
773 /* * * * * * * * * * * * * * * * * * * * * * * * * *
775 * Description of Alpha___Extern_Prefix_Sys_Stat fix
777 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
778 "alpha___extern_prefix_sys_stat";
781 * File name selection pattern
783 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
784 "sys/stat.h\0sys/mount.h\0";
786 * Machine/OS name selection pattern
788 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
793 * content selection pattern - do fix if pattern found
795 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
796 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
798 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
799 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
800 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
803 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
805 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
807 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
812 * Description of Alpha_Assert fix
814 tSCC zAlpha_AssertName[] =
818 * File name selection pattern
820 tSCC zAlpha_AssertList[] =
823 * Machine/OS name selection pattern
825 #define apzAlpha_AssertMachs (const char**)NULL
828 * content selection pattern - do fix if pattern found
830 tSCC zAlpha_AssertSelect0[] =
831 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
833 #define ALPHA_ASSERT_TEST_CT 1
834 static tTestDesc aAlpha_AssertTests[] = {
835 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
838 * Fix Command Arguments for Alpha_Assert
840 static const char* apzAlpha_AssertPatch[] = {
845 /* * * * * * * * * * * * * * * * * * * * * * * * * *
847 * Description of Alpha_Bad_Lval fix
849 tSCC zAlpha_Bad_LvalName[] =
853 * File name selection pattern
855 #define zAlpha_Bad_LvalList (char*)NULL
857 * Machine/OS name selection pattern
859 tSCC* apzAlpha_Bad_LvalMachs[] = {
864 * content selection pattern - do fix if pattern found
866 tSCC zAlpha_Bad_LvalSelect0[] =
867 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
869 #define ALPHA_BAD_LVAL_TEST_CT 1
870 static tTestDesc aAlpha_Bad_LvalTests[] = {
871 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
874 * Fix Command Arguments for Alpha_Bad_Lval
876 static const char* apzAlpha_Bad_LvalPatch[] = { sed_cmd_z,
877 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
880 /* * * * * * * * * * * * * * * * * * * * * * * * * *
882 * Description of Alpha_Getopt fix
884 tSCC zAlpha_GetoptName[] =
888 * File name selection pattern
890 tSCC zAlpha_GetoptList[] =
891 "stdio.h\0stdlib.h\0";
893 * Machine/OS name selection pattern
895 #define apzAlpha_GetoptMachs (const char**)NULL
898 * content selection pattern - do fix if pattern found
900 tSCC zAlpha_GetoptSelect0[] =
901 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
903 #define ALPHA_GETOPT_TEST_CT 1
904 static tTestDesc aAlpha_GetoptTests[] = {
905 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
908 * Fix Command Arguments for Alpha_Getopt
910 static const char* apzAlpha_GetoptPatch[] = {
912 "getopt(int, char *const[], const char *)",
915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
917 * Description of Alpha_If_Semicolon fix
919 tSCC zAlpha_If_SemicolonName[] =
920 "alpha_if_semicolon";
923 * File name selection pattern
925 tSCC zAlpha_If_SemicolonList[] =
928 * Machine/OS name selection pattern
930 #define apzAlpha_If_SemicolonMachs (const char**)NULL
933 * content selection pattern - do fix if pattern found
935 tSCC zAlpha_If_SemicolonSelect0[] =
936 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
938 #define ALPHA_IF_SEMICOLON_TEST_CT 1
939 static tTestDesc aAlpha_If_SemicolonTests[] = {
940 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
943 * Fix Command Arguments for Alpha_If_Semicolon
945 static const char* apzAlpha_If_SemicolonPatch[] = {
947 "struct sockaddr vmif_paddr;\t/*",
950 /* * * * * * * * * * * * * * * * * * * * * * * * * *
952 * Description of Alpha_Parens fix
954 tSCC zAlpha_ParensName[] =
958 * File name selection pattern
960 tSCC zAlpha_ParensList[] =
963 * Machine/OS name selection pattern
965 #define apzAlpha_ParensMachs (const char**)NULL
968 * content selection pattern - do fix if pattern found
970 tSCC zAlpha_ParensSelect0[] =
971 "#ifndef\\(__mips64\\)";
973 #define ALPHA_PARENS_TEST_CT 1
974 static tTestDesc aAlpha_ParensTests[] = {
975 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
978 * Fix Command Arguments for Alpha_Parens
980 static const char* apzAlpha_ParensPatch[] = {
985 /* * * * * * * * * * * * * * * * * * * * * * * * * *
987 * Description of Alpha_Pthread fix
989 tSCC zAlpha_PthreadName[] =
993 * File name selection pattern
995 tSCC zAlpha_PthreadList[] =
998 * Machine/OS name selection pattern
1000 tSCC* apzAlpha_PthreadMachs[] = {
1002 (const char*)NULL };
1005 * content selection pattern - do fix if pattern found
1007 tSCC zAlpha_PthreadSelect0[] =
1008 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
1009 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
1011 #define ALPHA_PTHREAD_TEST_CT 1
1012 static tTestDesc aAlpha_PthreadTests[] = {
1013 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
1016 * Fix Command Arguments for Alpha_Pthread
1018 static const char* apzAlpha_PthreadPatch[] = {
1020 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
1024 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1026 * Description of Alpha_Pthread_Gcc fix
1028 tSCC zAlpha_Pthread_GccName[] =
1029 "alpha_pthread_gcc";
1032 * File name selection pattern
1034 tSCC zAlpha_Pthread_GccList[] =
1037 * Machine/OS name selection pattern
1039 tSCC* apzAlpha_Pthread_GccMachs[] = {
1041 (const char*)NULL };
1044 * content selection pattern - do fix if pattern found
1046 tSCC zAlpha_Pthread_GccSelect0[] =
1048 # error <pthread.h>: unrecognized compiler.";
1050 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1051 static tTestDesc aAlpha_Pthread_GccTests[] = {
1052 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1055 * Fix Command Arguments for Alpha_Pthread_Gcc
1057 static const char* apzAlpha_Pthread_GccPatch[] = {
1059 "#elif defined (__GNUC__)\n\
1060 # define _PTHREAD_ENV_GCC\n\
1064 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1066 * Description of Alpha_Pthread_Init fix
1068 tSCC zAlpha_Pthread_InitName[] =
1069 "alpha_pthread_init";
1072 * File name selection pattern
1074 tSCC zAlpha_Pthread_InitList[] =
1077 * Machine/OS name selection pattern
1079 tSCC* apzAlpha_Pthread_InitMachs[] = {
1081 (const char*)NULL };
1084 * content selection pattern - do fix if pattern found
1086 tSCC zAlpha_Pthread_InitSelect0[] =
1087 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1089 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1090 static tTestDesc aAlpha_Pthread_InitTests[] = {
1091 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1094 * Fix Command Arguments for Alpha_Pthread_Init
1096 static const char* apzAlpha_Pthread_InitPatch[] = { sed_cmd_z,
1097 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1098 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1099 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1100 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1101 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1102 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1107 * Description of Alpha_Sbrk fix
1109 tSCC zAlpha_SbrkName[] =
1113 * File name selection pattern
1115 tSCC zAlpha_SbrkList[] =
1118 * Machine/OS name selection pattern
1120 #define apzAlpha_SbrkMachs (const char**)NULL
1123 * content selection pattern - do fix if pattern found
1125 tSCC zAlpha_SbrkSelect0[] =
1126 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1128 #define ALPHA_SBRK_TEST_CT 1
1129 static tTestDesc aAlpha_SbrkTests[] = {
1130 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1133 * Fix Command Arguments for Alpha_Sbrk
1135 static const char* apzAlpha_SbrkPatch[] = {
1140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1142 * Description of Alpha_Wchar fix
1144 tSCC zAlpha_WcharName[] =
1148 * File name selection pattern
1150 tSCC zAlpha_WcharList[] =
1153 * Machine/OS name selection pattern
1155 tSCC* apzAlpha_WcharMachs[] = {
1157 (const char*)NULL };
1160 * content selection pattern - do fix if pattern found
1162 tSCC zAlpha_WcharSelect0[] =
1163 "#define wcstok wcstok_r";
1165 #define ALPHA_WCHAR_TEST_CT 1
1166 static tTestDesc aAlpha_WcharTests[] = {
1167 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1170 * Fix Command Arguments for Alpha_Wchar
1172 static const char* apzAlpha_WcharPatch[] = { sed_cmd_z,
1173 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1174 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1177 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1179 * Description of Avoid_Bool_Define fix
1181 tSCC zAvoid_Bool_DefineName[] =
1182 "avoid_bool_define";
1185 * File name selection pattern
1187 tSCC zAvoid_Bool_DefineList[] =
1188 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1190 * Machine/OS name selection pattern
1192 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1195 * content selection pattern - do fix if pattern found
1197 tSCC zAvoid_Bool_DefineSelect0[] =
1198 "#[ \t]*define[ \t]+bool[ \t]";
1201 * content bypass pattern - skip fix if pattern found
1203 tSCC zAvoid_Bool_DefineBypass0[] =
1206 #define AVOID_BOOL_DEFINE_TEST_CT 2
1207 static tTestDesc aAvoid_Bool_DefineTests[] = {
1208 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1209 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1212 * Fix Command Arguments for Avoid_Bool_Define
1214 static const char* apzAvoid_Bool_DefinePatch[] = {
1216 "#ifndef __cplusplus\n\
1219 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1222 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1224 * Description of Avoid_Bool_Type fix
1226 tSCC zAvoid_Bool_TypeName[] =
1230 * File name selection pattern
1232 tSCC zAvoid_Bool_TypeList[] =
1233 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1235 * Machine/OS name selection pattern
1237 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1240 * content selection pattern - do fix if pattern found
1242 tSCC zAvoid_Bool_TypeSelect0[] =
1243 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1246 * content bypass pattern - skip fix if pattern found
1248 tSCC zAvoid_Bool_TypeBypass0[] =
1251 #define AVOID_BOOL_TYPE_TEST_CT 2
1252 static tTestDesc aAvoid_Bool_TypeTests[] = {
1253 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1254 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1257 * Fix Command Arguments for Avoid_Bool_Type
1259 static const char* apzAvoid_Bool_TypePatch[] = {
1261 "#ifndef __cplusplus\n\
1266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1268 * Description of Avoid_Wchar_T_Type fix
1270 tSCC zAvoid_Wchar_T_TypeName[] =
1271 "avoid_wchar_t_type";
1274 * File name selection pattern
1276 #define zAvoid_Wchar_T_TypeList (char*)NULL
1278 * Machine/OS name selection pattern
1280 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1283 * content selection pattern - do fix if pattern found
1285 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1286 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1289 * content bypass pattern - skip fix if pattern found
1291 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1293 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1295 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1296 "XFree86: xc/lib/X11/Xlib\\.h";
1298 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1299 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1300 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1301 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1302 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1303 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1306 * Fix Command Arguments for Avoid_Wchar_T_Type
1308 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1310 "#ifndef __cplusplus\n\
1315 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1317 * Description of Bad_Struct_Term fix
1319 tSCC zBad_Struct_TermName[] =
1323 * File name selection pattern
1325 tSCC zBad_Struct_TermList[] =
1328 * Machine/OS name selection pattern
1330 #define apzBad_Struct_TermMachs (const char**)NULL
1333 * content selection pattern - do fix if pattern found
1335 tSCC zBad_Struct_TermSelect0[] =
1336 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1338 #define BAD_STRUCT_TERM_TEST_CT 1
1339 static tTestDesc aBad_Struct_TermTests[] = {
1340 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1343 * Fix Command Arguments for Bad_Struct_Term
1345 static const char* apzBad_Struct_TermPatch[] = {
1350 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1352 * Description of Badquote fix
1354 tSCC zBadquoteName[] =
1358 * File name selection pattern
1360 tSCC zBadquoteList[] =
1361 "sundev/vuid_event.h\0";
1363 * Machine/OS name selection pattern
1365 #define apzBadquoteMachs (const char**)NULL
1368 * content selection pattern - do fix if pattern found
1370 tSCC zBadquoteSelect0[] =
1373 #define BADQUOTE_TEST_CT 1
1374 static tTestDesc aBadquoteTests[] = {
1375 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1378 * Fix Command Arguments for Badquote
1380 static const char* apzBadquotePatch[] = {
1385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1387 * Description of Broken_Assert_Stdio fix
1389 tSCC zBroken_Assert_StdioName[] =
1390 "broken_assert_stdio";
1393 * File name selection pattern
1395 tSCC zBroken_Assert_StdioList[] =
1398 * Machine/OS name selection pattern
1400 #define apzBroken_Assert_StdioMachs (const char**)NULL
1403 * content selection pattern - do fix if pattern found
1405 tSCC zBroken_Assert_StdioSelect0[] =
1409 * content bypass pattern - skip fix if pattern found
1411 tSCC zBroken_Assert_StdioBypass0[] =
1412 "include.*stdio\\.h";
1414 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1415 static tTestDesc aBroken_Assert_StdioTests[] = {
1416 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1417 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1420 * Fix Command Arguments for Broken_Assert_Stdio
1422 static const char* apzBroken_Assert_StdioPatch[] = {
1424 "#include <stdio.h>\n",
1427 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1429 * Description of Broken_Assert_Stdlib fix
1431 tSCC zBroken_Assert_StdlibName[] =
1432 "broken_assert_stdlib";
1435 * File name selection pattern
1437 tSCC zBroken_Assert_StdlibList[] =
1440 * Machine/OS name selection pattern
1442 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1445 * content selection pattern - do fix if pattern found
1447 tSCC zBroken_Assert_StdlibSelect0[] =
1448 "exit *\\(|abort *\\(";
1451 * content bypass pattern - skip fix if pattern found
1453 tSCC zBroken_Assert_StdlibBypass0[] =
1454 "include.*stdlib\\.h";
1456 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1457 static tTestDesc aBroken_Assert_StdlibTests[] = {
1458 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1459 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1462 * Fix Command Arguments for Broken_Assert_Stdlib
1464 static const char* apzBroken_Assert_StdlibPatch[] = {
1466 "#ifdef __cplusplus\n\
1467 #include <stdlib.h>\n\
1471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1473 * Description of Broken_Cabs fix
1475 tSCC zBroken_CabsName[] =
1479 * File name selection pattern
1481 tSCC zBroken_CabsList[] =
1482 "math.h\0architecture/*/math.h\0";
1484 * Machine/OS name selection pattern
1486 #define apzBroken_CabsMachs (const char**)NULL
1489 * content selection pattern - do fix if pattern found
1491 tSCC zBroken_CabsSelect0[] =
1492 "^extern[ \t]+double[ \t]+cabs";
1494 #define BROKEN_CABS_TEST_CT 1
1495 static tTestDesc aBroken_CabsTests[] = {
1496 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1499 * Fix Command Arguments for Broken_Cabs
1501 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
1502 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1503 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1506 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1508 * Description of Broken_Nan fix
1510 tSCC zBroken_NanName[] =
1514 * File name selection pattern
1516 tSCC zBroken_NanList[] =
1517 "architecture/ppc/math.h\0architecture/*/math.h\0";
1519 * Machine/OS name selection pattern
1521 #define apzBroken_NanMachs (const char**)NULL
1524 * content selection pattern - do fix if pattern found
1526 tSCC zBroken_NanSelect0[] =
1527 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1530 * content bypass pattern - skip fix if pattern found
1532 tSCC zBroken_NanBypass0[] =
1535 #define BROKEN_NAN_TEST_CT 2
1536 static tTestDesc aBroken_NanTests[] = {
1537 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1538 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1541 * Fix Command Arguments for Broken_Nan
1543 static const char* apzBroken_NanPatch[] = {
1548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1550 * Description of Bsd_Stdio_Attrs_Conflict fix
1552 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1553 "bsd_stdio_attrs_conflict";
1556 * File name selection pattern
1558 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1561 * Machine/OS name selection pattern
1563 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1566 (const char*)NULL };
1569 * content selection pattern - do fix if pattern found
1571 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1572 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1574 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1575 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1576 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1579 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1581 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1583 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1584 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1585 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1588 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1590 * Description of Ctrl_Quotes_Def fix
1592 tSCC zCtrl_Quotes_DefName[] =
1596 * File name selection pattern
1598 #define zCtrl_Quotes_DefList (char*)NULL
1600 * Machine/OS name selection pattern
1602 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1605 * content selection pattern - do fix if pattern found
1607 tSCC zCtrl_Quotes_DefSelect0[] =
1608 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1610 #define CTRL_QUOTES_DEF_TEST_CT 1
1611 static tTestDesc aCtrl_Quotes_DefTests[] = {
1612 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1615 * Fix Command Arguments for Ctrl_Quotes_Def
1617 static const char* apzCtrl_Quotes_DefPatch[] = {
1622 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1624 * Description of Ctrl_Quotes_Use fix
1626 tSCC zCtrl_Quotes_UseName[] =
1630 * File name selection pattern
1632 #define zCtrl_Quotes_UseList (char*)NULL
1634 * Machine/OS name selection pattern
1636 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1639 * content selection pattern - do fix if pattern found
1641 tSCC zCtrl_Quotes_UseSelect0[] =
1642 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1644 #define CTRL_QUOTES_USE_TEST_CT 1
1645 static tTestDesc aCtrl_Quotes_UseTests[] = {
1646 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1649 * Fix Command Arguments for Ctrl_Quotes_Use
1651 static const char* apzCtrl_Quotes_UsePatch[] = {
1656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1658 * Description of Cxx_Unready fix
1660 tSCC zCxx_UnreadyName[] =
1664 * File name selection pattern
1666 tSCC zCxx_UnreadyList[] =
1667 "sys/mman.h\0rpc/types.h\0";
1669 * Machine/OS name selection pattern
1671 #define apzCxx_UnreadyMachs (const char**)NULL
1674 * content selection pattern - do fix if pattern found
1676 tSCC zCxx_UnreadySelect0[] =
1680 * content bypass pattern - skip fix if pattern found
1682 tSCC zCxx_UnreadyBypass0[] =
1683 "\"C\"|__BEGIN_DECLS";
1685 #define CXX_UNREADY_TEST_CT 2
1686 static tTestDesc aCxx_UnreadyTests[] = {
1687 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1688 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1691 * Fix Command Arguments for Cxx_Unready
1693 static const char* apzCxx_UnreadyPatch[] = {
1695 "#ifdef __cplusplus\n\
1698 "#ifdef __cplusplus\n\
1703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1705 * Description of Darwin_Externc fix
1707 tSCC zDarwin_ExterncName[] =
1711 * File name selection pattern
1713 tSCC zDarwin_ExterncList[] =
1714 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
1716 * Machine/OS name selection pattern
1718 tSCC* apzDarwin_ExterncMachs[] = {
1720 (const char*)NULL };
1723 * content bypass pattern - skip fix if pattern found
1725 tSCC zDarwin_ExterncBypass0[] =
1727 tSCC zDarwin_ExterncBypass1[] =
1730 #define DARWIN_EXTERNC_TEST_CT 2
1731 static tTestDesc aDarwin_ExterncTests[] = {
1732 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
1733 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
1736 * Fix Command Arguments for Darwin_Externc
1738 static const char* apzDarwin_ExterncPatch[] = {
1740 "#ifdef __cplusplus\n\
1743 "#ifdef __cplusplus\n\
1748 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1750 * Description of Darwin_Gcc4_Breakage fix
1752 tSCC zDarwin_Gcc4_BreakageName[] =
1753 "darwin_gcc4_breakage";
1756 * File name selection pattern
1758 tSCC zDarwin_Gcc4_BreakageList[] =
1759 "AvailabilityMacros.h\0";
1761 * Machine/OS name selection pattern
1763 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1765 (const char*)NULL };
1768 * content selection pattern - do fix if pattern found
1770 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1771 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1773 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1774 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1775 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1778 * Fix Command Arguments for Darwin_Gcc4_Breakage
1780 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1782 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1785 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1787 * Description of Darwin_Private_Extern fix
1789 tSCC zDarwin_Private_ExternName[] =
1790 "darwin_private_extern";
1793 * File name selection pattern
1795 tSCC zDarwin_Private_ExternList[] =
1798 * Machine/OS name selection pattern
1800 tSCC* apzDarwin_Private_ExternMachs[] = {
1802 (const char*)NULL };
1805 * content selection pattern - do fix if pattern found
1807 tSCC zDarwin_Private_ExternSelect0[] =
1808 "__private_extern__ [a-z_]+ _dyld_";
1810 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1811 static tTestDesc aDarwin_Private_ExternTests[] = {
1812 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1815 * Fix Command Arguments for Darwin_Private_Extern
1817 static const char* apzDarwin_Private_ExternPatch[] = {
1820 "__private_extern__",
1823 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1825 * Description of Darwin_Stdint_1 fix
1827 tSCC zDarwin_Stdint_1Name[] =
1831 * File name selection pattern
1833 tSCC zDarwin_Stdint_1List[] =
1836 * Machine/OS name selection pattern
1838 tSCC* apzDarwin_Stdint_1Machs[] = {
1840 (const char*)NULL };
1843 * content selection pattern - do fix if pattern found
1845 tSCC zDarwin_Stdint_1Select0[] =
1846 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
1847 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
1849 #define DARWIN_STDINT_1_TEST_CT 1
1850 static tTestDesc aDarwin_Stdint_1Tests[] = {
1851 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
1854 * Fix Command Arguments for Darwin_Stdint_1
1856 static const char* apzDarwin_Stdint_1Patch[] = {
1858 "#define UINT8_C(v)\tv\n\
1859 #define UINT16_C(v)\tv",
1862 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1864 * Description of Darwin_Stdint_2 fix
1866 tSCC zDarwin_Stdint_2Name[] =
1870 * File name selection pattern
1872 tSCC zDarwin_Stdint_2List[] =
1875 * Machine/OS name selection pattern
1877 tSCC* apzDarwin_Stdint_2Machs[] = {
1879 (const char*)NULL };
1882 * content selection pattern - do fix if pattern found
1884 tSCC zDarwin_Stdint_2Select0[] =
1885 "#if __WORDSIZE == 64\n\
1886 #define INTPTR_MIN[ \t]+INT64_MIN\n\
1887 #define INTPTR_MAX[ \t]+INT64_MAX\n\
1889 #define INTPTR_MIN[ \t]+INT32_MIN\n\
1890 #define INTPTR_MAX[ \t]+INT32_MAX\n\
1893 #define DARWIN_STDINT_2_TEST_CT 1
1894 static tTestDesc aDarwin_Stdint_2Tests[] = {
1895 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
1898 * Fix Command Arguments for Darwin_Stdint_2
1900 static const char* apzDarwin_Stdint_2Patch[] = {
1902 "#if __WORDSIZE == 64\n\
1903 #define INTPTR_MAX 9223372036854775807L\n\
1904 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
1906 #define INTPTR_MAX 2147483647L\n\
1907 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
1911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1913 * Description of Darwin_Stdint_3 fix
1915 tSCC zDarwin_Stdint_3Name[] =
1919 * File name selection pattern
1921 tSCC zDarwin_Stdint_3List[] =
1924 * Machine/OS name selection pattern
1926 tSCC* apzDarwin_Stdint_3Machs[] = {
1928 (const char*)NULL };
1931 * content selection pattern - do fix if pattern found
1933 tSCC zDarwin_Stdint_3Select0[] =
1934 "#if __WORDSIZE == 64\n\
1935 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
1937 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
1940 #define DARWIN_STDINT_3_TEST_CT 1
1941 static tTestDesc aDarwin_Stdint_3Tests[] = {
1942 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
1945 * Fix Command Arguments for Darwin_Stdint_3
1947 static const char* apzDarwin_Stdint_3Patch[] = {
1949 "#if __WORDSIZE == 64\n\
1950 #define UINTPTR_MAX 18446744073709551615UL\n\
1952 #define UINTPTR_MAX 4294967295UL\n\
1956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1958 * Description of Darwin_Stdint_4 fix
1960 tSCC zDarwin_Stdint_4Name[] =
1964 * File name selection pattern
1966 tSCC zDarwin_Stdint_4List[] =
1969 * Machine/OS name selection pattern
1971 tSCC* apzDarwin_Stdint_4Machs[] = {
1973 (const char*)NULL };
1976 * content selection pattern - do fix if pattern found
1978 tSCC zDarwin_Stdint_4Select0[] =
1979 "#if __WORDSIZE == 64\n\
1980 #define SIZE_MAX[ \t]+UINT64_MAX\n\
1982 #define SIZE_MAX[ \t]+UINT32_MAX\n\
1985 #define DARWIN_STDINT_4_TEST_CT 1
1986 static tTestDesc aDarwin_Stdint_4Tests[] = {
1987 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
1990 * Fix Command Arguments for Darwin_Stdint_4
1992 static const char* apzDarwin_Stdint_4Patch[] = {
1994 "#if __WORDSIZE == 64\n\
1995 #define SIZE_MAX 18446744073709551615UL\n\
1997 #define SIZE_MAX 4294967295UL\n\
2001 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2003 * Description of Darwin_Stdint_5 fix
2005 tSCC zDarwin_Stdint_5Name[] =
2009 * File name selection pattern
2011 tSCC zDarwin_Stdint_5List[] =
2014 * Machine/OS name selection pattern
2016 tSCC* apzDarwin_Stdint_5Machs[] = {
2018 (const char*)NULL };
2021 * content selection pattern - do fix if pattern found
2023 tSCC zDarwin_Stdint_5Select0[] =
2024 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2025 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2026 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2028 #define DARWIN_STDINT_5_TEST_CT 1
2029 static tTestDesc aDarwin_Stdint_5Tests[] = {
2030 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2033 * Fix Command Arguments for Darwin_Stdint_5
2035 static const char* apzDarwin_Stdint_5Patch[] = {
2037 "#if __WORDSIZE == 64\n\
2038 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
2039 #define INTMAX_MAX 9223372036854775807L\n\
2040 #define UINTMAX_MAX 18446744073709551615UL\n\
2042 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
2043 #define INTMAX_MAX 9223372036854775807LL\n\
2044 #define UINTMAX_MAX 18446744073709551615ULL\n\
2048 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2050 * Description of Darwin_Stdint_6 fix
2052 tSCC zDarwin_Stdint_6Name[] =
2056 * File name selection pattern
2058 tSCC zDarwin_Stdint_6List[] =
2061 * Machine/OS name selection pattern
2063 tSCC* apzDarwin_Stdint_6Machs[] = {
2065 (const char*)NULL };
2068 * content selection pattern - do fix if pattern found
2070 tSCC zDarwin_Stdint_6Select0[] =
2071 "#if __WORDSIZE == 64\n\
2072 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
2073 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
2075 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
2076 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
2079 #define DARWIN_STDINT_6_TEST_CT 1
2080 static tTestDesc aDarwin_Stdint_6Tests[] = {
2081 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
2084 * Fix Command Arguments for Darwin_Stdint_6
2086 static const char* apzDarwin_Stdint_6Patch[] = {
2088 "#if __WORDSIZE == 64\n\
2089 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
2090 #define PTRDIFF_MAX 9223372036854775807L\n\
2092 #define PTRDIFF_MIN (-2147483647 - 1)\n\
2093 #define PTRDIFF_MAX 2147483647\n\
2097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2099 * Description of Darwin_Stdint_7 fix
2101 tSCC zDarwin_Stdint_7Name[] =
2105 * File name selection pattern
2107 tSCC zDarwin_Stdint_7List[] =
2110 * Machine/OS name selection pattern
2112 tSCC* apzDarwin_Stdint_7Machs[] = {
2114 (const char*)NULL };
2117 * content selection pattern - do fix if pattern found
2119 tSCC zDarwin_Stdint_7Select0[] =
2120 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
2121 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
2123 #define DARWIN_STDINT_7_TEST_CT 1
2124 static tTestDesc aDarwin_Stdint_7Tests[] = {
2125 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
2128 * Fix Command Arguments for Darwin_Stdint_7
2130 static const char* apzDarwin_Stdint_7Patch[] = {
2132 "#if __WORDSIZE == 64\n\
2133 #define INTMAX_C(v) (v ## L)\n\
2134 #define UINTMAX_C(v) (v ## UL)\n\
2136 #define INTMAX_C(v) (v ## LL)\n\
2137 #define UINTMAX_C(v) (v ## ULL)\n\
2141 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2143 * Description of Dec_Intern_Asm fix
2145 tSCC zDec_Intern_AsmName[] =
2149 * File name selection pattern
2151 tSCC zDec_Intern_AsmList[] =
2154 * Machine/OS name selection pattern
2156 #define apzDec_Intern_AsmMachs (const char**)NULL
2157 #define DEC_INTERN_ASM_TEST_CT 0
2158 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2161 * Fix Command Arguments for Dec_Intern_Asm
2163 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
2164 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2166 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2170 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2172 * Description of Djgpp_Wchar_H fix
2174 tSCC zDjgpp_Wchar_HName[] =
2178 * File name selection pattern
2180 #define zDjgpp_Wchar_HList (char*)NULL
2182 * Machine/OS name selection pattern
2184 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2187 * content selection pattern - do fix if pattern found
2189 tSCC zDjgpp_Wchar_HSelect0[] =
2193 * content bypass pattern - skip fix if pattern found
2195 tSCC zDjgpp_Wchar_HBypass0[] =
2198 #define DJGPP_WCHAR_H_TEST_CT 2
2199 static tTestDesc aDjgpp_Wchar_HTests[] = {
2200 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2201 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2204 * Fix Command Arguments for Djgpp_Wchar_H
2206 static const char* apzDjgpp_Wchar_HPatch[] = {
2209 #include <sys/djtypes.h>",
2210 "#include <stddef.h>",
2213 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2215 * Description of Ecd_Cursor fix
2217 tSCC zEcd_CursorName[] =
2221 * File name selection pattern
2223 tSCC zEcd_CursorList[] =
2224 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2226 * Machine/OS name selection pattern
2228 #define apzEcd_CursorMachs (const char**)NULL
2231 * content selection pattern - do fix if pattern found
2233 tSCC zEcd_CursorSelect0[] =
2236 #define ECD_CURSOR_TEST_CT 1
2237 static tTestDesc aEcd_CursorTests[] = {
2238 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2241 * Fix Command Arguments for Ecd_Cursor
2243 static const char* apzEcd_CursorPatch[] = {
2248 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2250 * Description of Freebsd_Gcc3_Breakage fix
2252 tSCC zFreebsd_Gcc3_BreakageName[] =
2253 "freebsd_gcc3_breakage";
2256 * File name selection pattern
2258 tSCC zFreebsd_Gcc3_BreakageList[] =
2261 * Machine/OS name selection pattern
2263 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2265 (const char*)NULL };
2268 * content selection pattern - do fix if pattern found
2270 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2271 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2274 * content bypass pattern - skip fix if pattern found
2276 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2277 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2279 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2280 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2281 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2282 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2285 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2287 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2289 "%0 || __GNUC__ >= 3",
2292 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2294 * Description of Freebsd_Gcc4_Breakage fix
2296 tSCC zFreebsd_Gcc4_BreakageName[] =
2297 "freebsd_gcc4_breakage";
2300 * File name selection pattern
2302 tSCC zFreebsd_Gcc4_BreakageList[] =
2305 * Machine/OS name selection pattern
2307 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2309 (const char*)NULL };
2312 * content selection pattern - do fix if pattern found
2314 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2315 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2317 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2318 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2319 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2322 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2324 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2326 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2331 * Description of Glibc_C99_Inline_1 fix
2333 tSCC zGlibc_C99_Inline_1Name[] =
2334 "glibc_c99_inline_1";
2337 * File name selection pattern
2339 tSCC zGlibc_C99_Inline_1List[] =
2340 "features.h\0*/features.h\0";
2342 * Machine/OS name selection pattern
2344 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2347 * content selection pattern - do fix if pattern found
2349 tSCC zGlibc_C99_Inline_1Select0[] =
2350 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2352 #define GLIBC_C99_INLINE_1_TEST_CT 1
2353 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2354 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2357 * Fix Command Arguments for Glibc_C99_Inline_1
2359 static const char* apzGlibc_C99_Inline_1Patch[] = {
2361 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2364 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2366 * Description of Glibc_C99_Inline_1a fix
2368 tSCC zGlibc_C99_Inline_1aName[] =
2369 "glibc_c99_inline_1a";
2372 * File name selection pattern
2374 tSCC zGlibc_C99_Inline_1aList[] =
2375 "features.h\0*/features.h\0";
2377 * Machine/OS name selection pattern
2379 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2382 * content selection pattern - do fix if pattern found
2384 tSCC zGlibc_C99_Inline_1aSelect0[] =
2385 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2386 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2388 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2389 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2390 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2393 * Fix Command Arguments for Glibc_C99_Inline_1a
2395 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2397 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2403 * Description of Glibc_C99_Inline_2 fix
2405 tSCC zGlibc_C99_Inline_2Name[] =
2406 "glibc_c99_inline_2";
2409 * File name selection pattern
2411 tSCC zGlibc_C99_Inline_2List[] =
2412 "sys/stat.h\0*/sys/stat.h\0";
2414 * Machine/OS name selection pattern
2416 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2419 * content selection pattern - do fix if pattern found
2421 tSCC zGlibc_C99_Inline_2Select0[] =
2422 "extern __inline__ int";
2424 #define GLIBC_C99_INLINE_2_TEST_CT 1
2425 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2426 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2429 * Fix Command Arguments for Glibc_C99_Inline_2
2431 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
2432 "-e", "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2435 __inline__ int \\1/",
2436 "-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2439 __inline__ int __REDIRECT\\1 (\\2/",
2440 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
2446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2448 * Description of Glibc_C99_Inline_3 fix
2450 tSCC zGlibc_C99_Inline_3Name[] =
2451 "glibc_c99_inline_3";
2454 * File name selection pattern
2456 tSCC zGlibc_C99_Inline_3List[] =
2457 "bits/string2.h\0*/bits/string2.h\0";
2459 * Machine/OS name selection pattern
2461 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2464 * content selection pattern - do fix if pattern found
2466 tSCC zGlibc_C99_Inline_3Select0[] =
2470 * content bypass pattern - skip fix if pattern found
2472 tSCC zGlibc_C99_Inline_3Bypass0[] =
2473 "__extern_inline|__GNU_STDC_INLINE__";
2475 #define GLIBC_C99_INLINE_3_TEST_CT 2
2476 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2477 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
2478 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
2481 * Fix Command Arguments for Glibc_C99_Inline_3
2483 static const char* apzGlibc_C99_Inline_3Patch[] = {
2485 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
2486 "^# ifdef __cplusplus$",
2489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2491 * Description of Glibc_C99_Inline_4 fix
2493 tSCC zGlibc_C99_Inline_4Name[] =
2494 "glibc_c99_inline_4";
2497 * File name selection pattern
2499 tSCC zGlibc_C99_Inline_4List[] =
2500 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
2502 * Machine/OS name selection pattern
2504 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2507 * content selection pattern - do fix if pattern found
2509 tSCC zGlibc_C99_Inline_4Select0[] =
2510 "(^| )extern __inline";
2513 * content bypass pattern - skip fix if pattern found
2515 tSCC zGlibc_C99_Inline_4Bypass0[] =
2516 "__extern_inline|__gnu_inline__";
2518 #define GLIBC_C99_INLINE_4_TEST_CT 2
2519 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2520 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
2521 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
2524 * Fix Command Arguments for Glibc_C99_Inline_4
2526 static const char* apzGlibc_C99_Inline_4Patch[] = {
2528 "%0 __attribute__ ((__gnu_inline__))",
2531 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2533 * Description of Glibc_Mutex_Init fix
2535 tSCC zGlibc_Mutex_InitName[] =
2539 * File name selection pattern
2541 tSCC zGlibc_Mutex_InitList[] =
2544 * Machine/OS name selection pattern
2546 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2549 * content selection pattern - do fix if pattern found
2551 tSCC zGlibc_Mutex_InitSelect0[] =
2552 "\\{ *\\{ *0, *\\} *\\}";
2554 #define GLIBC_MUTEX_INIT_TEST_CT 1
2555 static tTestDesc aGlibc_Mutex_InitTests[] = {
2556 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2559 * Fix Command Arguments for Glibc_Mutex_Init
2561 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
2562 "-e", "/define[ \t]\\+PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
2564 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
2566 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2567 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2568 "-e", "/define[ \t]\\+PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\/N;s/^[ \t]*#[ \t]*\\(define[ \t]\\+PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\\\)\\n[ \t]*{ { 0, } }/# if __WORDSIZE == 64\\n# \\1\\n { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\n# else\\n# \\1\\n { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\n# endif/",
2569 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2570 "-e", "/define[ \t]\\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2575 * Description of Glibc_Stdint fix
2577 tSCC zGlibc_StdintName[] =
2581 * File name selection pattern
2583 tSCC zGlibc_StdintList[] =
2586 * Machine/OS name selection pattern
2588 #define apzGlibc_StdintMachs (const char**)NULL
2591 * content selection pattern - do fix if pattern found
2593 tSCC zGlibc_StdintSelect0[] =
2596 #define GLIBC_STDINT_TEST_CT 1
2597 static tTestDesc aGlibc_StdintTests[] = {
2598 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
2601 * Fix Command Arguments for Glibc_Stdint
2603 static const char* apzGlibc_StdintPatch[] = {
2605 "# define UINT8_C(c)\tc\n\
2606 # define UINT16_C(c)\tc",
2607 "# define UINT8_C\\(c\\)\tc ## U\n\
2608 # define UINT16_C\\(c\\)\tc ## U",
2611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2613 * Description of Glibc_Tgmath fix
2615 tSCC zGlibc_TgmathName[] =
2619 * File name selection pattern
2621 tSCC zGlibc_TgmathList[] =
2624 * Machine/OS name selection pattern
2626 #define apzGlibc_TgmathMachs (const char**)NULL
2629 * content selection pattern - do fix if pattern found
2631 tSCC zGlibc_TgmathSelect0[] =
2632 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
2635 * content bypass pattern - skip fix if pattern found
2637 tSCC zGlibc_TgmathBypass0[] =
2638 "__floating_type\\(type\\) \\\\\n\
2639 .*__builtin_classify_type";
2641 #define GLIBC_TGMATH_TEST_CT 2
2642 static tTestDesc aGlibc_TgmathTests[] = {
2643 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
2644 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
2647 * Fix Command Arguments for Glibc_Tgmath
2649 static const char* apzGlibc_TgmathPatch[] = {
2651 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
2654 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2656 * Description of Gnu_Types fix
2658 tSCC zGnu_TypesName[] =
2662 * File name selection pattern
2664 tSCC zGnu_TypesList[] =
2665 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2667 * Machine/OS name selection pattern
2669 tSCC* apzGnu_TypesMachs[] = {
2670 "*-*-solaris2.1[0-9]*",
2671 (const char*)NULL };
2674 * content selection pattern - do fix if pattern found
2676 tSCC zGnu_TypesSelect0[] =
2677 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2680 * content bypass pattern - skip fix if pattern found
2682 tSCC zGnu_TypesBypass0[] =
2683 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2685 #define GNU_TYPES_TEST_CT 2
2686 static tTestDesc aGnu_TypesTests[] = {
2687 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2688 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2691 * Fix Command Arguments for Gnu_Types
2693 static const char* apzGnu_TypesPatch[] = {
2697 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2699 * Description of Hp_Inline fix
2701 tSCC zHp_InlineName[] =
2705 * File name selection pattern
2707 tSCC zHp_InlineList[] =
2708 "sys/spinlock.h\0machine/machparam.h\0";
2710 * Machine/OS name selection pattern
2712 #define apzHp_InlineMachs (const char**)NULL
2715 * content selection pattern - do fix if pattern found
2717 tSCC zHp_InlineSelect0[] =
2718 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2720 #define HP_INLINE_TEST_CT 1
2721 static tTestDesc aHp_InlineTests[] = {
2722 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2725 * Fix Command Arguments for Hp_Inline
2727 static const char* apzHp_InlinePatch[] = {
2730 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2735 * Description of Hp_Sysfile fix
2737 tSCC zHp_SysfileName[] =
2741 * File name selection pattern
2743 tSCC zHp_SysfileList[] =
2746 * Machine/OS name selection pattern
2748 #define apzHp_SysfileMachs (const char**)NULL
2751 * content selection pattern - do fix if pattern found
2753 tSCC zHp_SysfileSelect0[] =
2756 #define HP_SYSFILE_TEST_CT 1
2757 static tTestDesc aHp_SysfileTests[] = {
2758 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2761 * Fix Command Arguments for Hp_Sysfile
2763 static const char* apzHp_SysfilePatch[] = {
2765 "(struct file *, ...)",
2769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2771 * Description of Hppa_Hpux_Fp_Macros fix
2773 tSCC zHppa_Hpux_Fp_MacrosName[] =
2774 "hppa_hpux_fp_macros";
2777 * File name selection pattern
2779 tSCC zHppa_Hpux_Fp_MacrosList[] =
2782 * Machine/OS name selection pattern
2784 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
2786 (const char*)NULL };
2789 * content selection pattern - do fix if pattern found
2791 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
2792 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
2793 #[ \t]*define[ \t]*FP_ZERO.*\n\
2794 #[ \t]*define[ \t]*FP_INFINITE.*\n\
2795 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
2796 #[ \t]*define[ \t]*FP_NAN.*\n";
2798 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
2799 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
2800 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
2803 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
2805 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
2807 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
2808 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
2809 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
2811 #ifdef _INCLUDE_HPUX_SOURCE\n",
2814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2816 * Description of Hpux10_Cpp_Pow_Inline fix
2818 tSCC zHpux10_Cpp_Pow_InlineName[] =
2819 "hpux10_cpp_pow_inline";
2822 * File name selection pattern
2824 tSCC zHpux10_Cpp_Pow_InlineList[] =
2825 "fixinc-test-limits.h\0math.h\0";
2827 * Machine/OS name selection pattern
2829 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2832 * content selection pattern - do fix if pattern found
2834 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2835 "^# +ifdef +__cplusplus\n\
2837 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2838 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2840 +extern +\"C\" +\\{\n\
2844 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2845 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2846 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2849 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2851 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2856 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2858 * Description of Hpux11_Cpp_Pow_Inline fix
2860 tSCC zHpux11_Cpp_Pow_InlineName[] =
2861 "hpux11_cpp_pow_inline";
2864 * File name selection pattern
2866 tSCC zHpux11_Cpp_Pow_InlineList[] =
2869 * Machine/OS name selection pattern
2871 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2874 * content selection pattern - do fix if pattern found
2876 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2877 " +inline double pow\\(double d,int expon\\) \\{\n\
2878 +return pow\\(d, \\(double\\)expon\\);\n\
2881 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2882 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2883 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2886 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2888 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2893 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2895 * Description of Hpux10_Ctype_Declarations1 fix
2897 tSCC zHpux10_Ctype_Declarations1Name[] =
2898 "hpux10_ctype_declarations1";
2901 * File name selection pattern
2903 tSCC zHpux10_Ctype_Declarations1List[] =
2906 * Machine/OS name selection pattern
2908 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2911 * content selection pattern - do fix if pattern found
2913 tSCC zHpux10_Ctype_Declarations1Select0[] =
2914 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2917 * content bypass pattern - skip fix if pattern found
2919 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2920 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2922 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2923 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2924 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2925 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2928 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2930 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2932 "#ifdef _PROTOTYPES\n\
2933 extern int __tolower(int);\n\
2934 extern int __toupper(int);\n\
2935 #else /* NOT _PROTOTYPES */\n\
2936 extern int __tolower();\n\
2937 extern int __toupper();\n\
2938 #endif /* _PROTOTYPES */\n\n\
2942 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2944 * Description of Hpux10_Ctype_Declarations2 fix
2946 tSCC zHpux10_Ctype_Declarations2Name[] =
2947 "hpux10_ctype_declarations2";
2950 * File name selection pattern
2952 tSCC zHpux10_Ctype_Declarations2List[] =
2955 * Machine/OS name selection pattern
2957 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2960 * content selection pattern - do fix if pattern found
2962 tSCC zHpux10_Ctype_Declarations2Select0[] =
2963 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2966 * content bypass pattern - skip fix if pattern found
2968 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2969 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2971 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2972 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2973 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2974 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2977 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2979 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2982 #ifdef _PROTOTYPES\n\
2983 extern int _isalnum(int);\n\
2984 extern int _isalpha(int);\n\
2985 extern int _iscntrl(int);\n\
2986 extern int _isdigit(int);\n\
2987 extern int _isgraph(int);\n\
2988 extern int _islower(int);\n\
2989 extern int _isprint(int);\n\
2990 extern int _ispunct(int);\n\
2991 extern int _isspace(int);\n\
2992 extern int _isupper(int);\n\
2993 extern int _isxdigit(int);\n\
2994 # else /* not _PROTOTYPES */\n\
2995 extern int _isalnum();\n\
2996 extern int _isalpha();\n\
2997 extern int _iscntrl();\n\
2998 extern int _isdigit();\n\
2999 extern int _isgraph();\n\
3000 extern int _islower();\n\
3001 extern int _isprint();\n\
3002 extern int _ispunct();\n\
3003 extern int _isspace();\n\
3004 extern int _isupper();\n\
3005 extern int _isxdigit();\n\
3006 #endif /* _PROTOTYPES */\n",
3009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3011 * Description of Hpux10_Stdio_Declarations fix
3013 tSCC zHpux10_Stdio_DeclarationsName[] =
3014 "hpux10_stdio_declarations";
3017 * File name selection pattern
3019 tSCC zHpux10_Stdio_DeclarationsList[] =
3022 * Machine/OS name selection pattern
3024 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
3027 * content selection pattern - do fix if pattern found
3029 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
3030 "^#[ \t]*define _iob[ \t]*__iob";
3033 * content bypass pattern - skip fix if pattern found
3035 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
3036 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
3038 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
3039 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
3040 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
3041 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
3044 * Fix Command Arguments for Hpux10_Stdio_Declarations
3046 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
3049 # if defined(__STDC__) || defined(__cplusplus)\n\
3050 extern int snprintf(char *, size_t, const char *, ...);\n\
3051 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
3052 # else /* not __STDC__) || __cplusplus */\n\
3053 extern int snprintf();\n\
3054 extern int vsnprintf();\n\
3055 # endif /* __STDC__) || __cplusplus */\n",
3058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3060 * Description of Hpux11_Abs fix
3062 tSCC zHpux11_AbsName[] =
3066 * File name selection pattern
3068 tSCC zHpux11_AbsList[] =
3071 * Machine/OS name selection pattern
3073 tSCC* apzHpux11_AbsMachs[] = {
3075 (const char*)NULL };
3078 * content selection pattern - do fix if pattern found
3080 tSCC zHpux11_AbsSelect0[] =
3081 "ifndef _MATH_INCLUDED";
3083 #define HPUX11_ABS_TEST_CT 1
3084 static tTestDesc aHpux11_AbsTests[] = {
3085 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
3088 * Fix Command Arguments for Hpux11_Abs
3090 static const char* apzHpux11_AbsPatch[] = {
3092 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
3095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3097 * Description of Hpux11_Fabsf fix
3099 tSCC zHpux11_FabsfName[] =
3103 * File name selection pattern
3105 tSCC zHpux11_FabsfList[] =
3108 * Machine/OS name selection pattern
3110 #define apzHpux11_FabsfMachs (const char**)NULL
3113 * content selection pattern - do fix if pattern found
3115 tSCC zHpux11_FabsfSelect0[] =
3116 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
3119 * content bypass pattern - skip fix if pattern found
3121 tSCC zHpux11_FabsfBypass0[] =
3124 #define HPUX11_FABSF_TEST_CT 2
3125 static tTestDesc aHpux11_FabsfTests[] = {
3126 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
3127 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
3130 * Fix Command Arguments for Hpux11_Fabsf
3132 static const char* apzHpux11_FabsfPatch[] = {
3134 "#ifndef __cplusplus\n\
3139 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3141 * Description of Hpux11_Pthread_Const fix
3143 tSCC zHpux11_Pthread_ConstName[] =
3144 "hpux11_pthread_const";
3147 * File name selection pattern
3149 tSCC zHpux11_Pthread_ConstList[] =
3152 * Machine/OS name selection pattern
3154 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3155 "*-hp-hpux11.[0-3]*",
3156 (const char*)NULL };
3159 * content selection pattern - do fix if pattern found
3161 tSCC zHpux11_Pthread_ConstSelect0[] =
3162 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3164 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3165 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3166 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3169 * Fix Command Arguments for Hpux11_Pthread_Const
3171 static const char* apzHpux11_Pthread_ConstPatch[] = {
3173 "#define __POINTER_SET\t\t((void *) 1L)",
3176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3178 * Description of Hpux11_Size_T fix
3180 tSCC zHpux11_Size_TName[] =
3184 * File name selection pattern
3186 #define zHpux11_Size_TList (char*)NULL
3188 * Machine/OS name selection pattern
3190 tSCC* apzHpux11_Size_TMachs[] = {
3192 (const char*)NULL };
3195 * content selection pattern - do fix if pattern found
3197 tSCC zHpux11_Size_TSelect0[] =
3200 #define HPUX11_SIZE_T_TEST_CT 1
3201 static tTestDesc aHpux11_Size_TTests[] = {
3202 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
3205 * Fix Command Arguments for Hpux11_Size_T
3207 static const char* apzHpux11_Size_TPatch[] = {
3212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3214 * Description of Hpux11_Snprintf fix
3216 tSCC zHpux11_SnprintfName[] =
3220 * File name selection pattern
3222 tSCC zHpux11_SnprintfList[] =
3225 * Machine/OS name selection pattern
3227 #define apzHpux11_SnprintfMachs (const char**)NULL
3230 * content selection pattern - do fix if pattern found
3232 tSCC zHpux11_SnprintfSelect0[] =
3233 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3235 #define HPUX11_SNPRINTF_TEST_CT 1
3236 static tTestDesc aHpux11_SnprintfTests[] = {
3237 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3240 * Fix Command Arguments for Hpux11_Snprintf
3242 static const char* apzHpux11_SnprintfPatch[] = {
3247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3249 * Description of Hpux11_Vsnprintf fix
3251 tSCC zHpux11_VsnprintfName[] =
3255 * File name selection pattern
3257 tSCC zHpux11_VsnprintfList[] =
3260 * Machine/OS name selection pattern
3262 #define apzHpux11_VsnprintfMachs (const char**)NULL
3265 * content selection pattern - do fix if pattern found
3267 tSCC zHpux11_VsnprintfSelect0[] =
3268 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3270 #define HPUX11_VSNPRINTF_TEST_CT 1
3271 static tTestDesc aHpux11_VsnprintfTests[] = {
3272 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3275 * Fix Command Arguments for Hpux11_Vsnprintf
3277 static const char* apzHpux11_VsnprintfPatch[] = {
3282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3284 * Description of Hpux8_Bogus_Inlines fix
3286 tSCC zHpux8_Bogus_InlinesName[] =
3287 "hpux8_bogus_inlines";
3290 * File name selection pattern
3292 tSCC zHpux8_Bogus_InlinesList[] =
3295 * Machine/OS name selection pattern
3297 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3300 * content selection pattern - do fix if pattern found
3302 tSCC zHpux8_Bogus_InlinesSelect0[] =
3306 * content bypass pattern - skip fix if pattern found
3308 tSCC zHpux8_Bogus_InlinesBypass0[] =
3311 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3312 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3313 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3314 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3317 * Fix Command Arguments for Hpux8_Bogus_Inlines
3319 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
3320 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3321 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3322 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3323 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3326 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3328 * Description of Hpux_Ctype_Macros fix
3330 tSCC zHpux_Ctype_MacrosName[] =
3331 "hpux_ctype_macros";
3334 * File name selection pattern
3336 tSCC zHpux_Ctype_MacrosList[] =
3339 * Machine/OS name selection pattern
3341 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3344 * content selection pattern - do fix if pattern found
3346 tSCC zHpux_Ctype_MacrosSelect0[] =
3347 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3349 #define HPUX_CTYPE_MACROS_TEST_CT 1
3350 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3351 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3354 * Fix Command Arguments for Hpux_Ctype_Macros
3356 static const char* apzHpux_Ctype_MacrosPatch[] = {
3361 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3363 * Description of Hpux_Htonl fix
3365 tSCC zHpux_HtonlName[] =
3369 * File name selection pattern
3371 tSCC zHpux_HtonlList[] =
3374 * Machine/OS name selection pattern
3376 #define apzHpux_HtonlMachs (const char**)NULL
3379 * content selection pattern - do fix if pattern found
3381 tSCC zHpux_HtonlSelect0[] =
3382 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
3384 \\* Macros for number representation conversion\\.\n\
3388 #define HPUX_HTONL_TEST_CT 1
3389 static tTestDesc aHpux_HtonlTests[] = {
3390 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3393 * Fix Command Arguments for Hpux_Htonl
3395 static const char* apzHpux_HtonlPatch[] = {
3401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3403 * Description of Hpux_Long_Double fix
3405 tSCC zHpux_Long_DoubleName[] =
3409 * File name selection pattern
3411 tSCC zHpux_Long_DoubleList[] =
3414 * Machine/OS name selection pattern
3416 tSCC* apzHpux_Long_DoubleMachs[] = {
3418 "*-*-hpux11.[012]*",
3419 (const char*)NULL };
3422 * content selection pattern - do fix if pattern found
3424 tSCC zHpux_Long_DoubleSelect0[] =
3425 "extern[ \t]long_double[ \t]strtold";
3428 * content bypass pattern - skip fix if pattern found
3430 tSCC zHpux_Long_DoubleBypass0[] =
3433 #define HPUX_LONG_DOUBLE_TEST_CT 2
3434 static tTestDesc aHpux_Long_DoubleTests[] = {
3435 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3436 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3439 * Fix Command Arguments for Hpux_Long_Double
3441 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
3442 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3443 "-e", "s/long_double/long double/g",
3446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3448 * Description of Hpux_Long_Double_2 fix
3450 tSCC zHpux_Long_Double_2Name[] =
3451 "hpux_long_double_2";
3454 * File name selection pattern
3456 tSCC zHpux_Long_Double_2List[] =
3459 * Machine/OS name selection pattern
3461 tSCC* apzHpux_Long_Double_2Machs[] = {
3462 "hppa*-*-hpux11.3*",
3463 (const char*)NULL };
3466 * content selection pattern - do fix if pattern found
3468 tSCC zHpux_Long_Double_2Select0[] =
3469 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
3471 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
3472 static tTestDesc aHpux_Long_Double_2Tests[] = {
3473 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
3476 * Fix Command Arguments for Hpux_Long_Double_2
3478 static const char* apzHpux_Long_Double_2Patch[] = {
3480 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
3483 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3485 * Description of Hpux_Systime fix
3487 tSCC zHpux_SystimeName[] =
3491 * File name selection pattern
3493 tSCC zHpux_SystimeList[] =
3496 * Machine/OS name selection pattern
3498 #define apzHpux_SystimeMachs (const char**)NULL
3501 * content selection pattern - do fix if pattern found
3503 tSCC zHpux_SystimeSelect0[] =
3504 "^extern struct sigevent;";
3506 #define HPUX_SYSTIME_TEST_CT 1
3507 static tTestDesc aHpux_SystimeTests[] = {
3508 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3511 * Fix Command Arguments for Hpux_Systime
3513 static const char* apzHpux_SystimePatch[] = {
3518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3520 * Description of Hpux_Spu_Info fix
3522 tSCC zHpux_Spu_InfoName[] =
3526 * File name selection pattern
3528 tSCC zHpux_Spu_InfoList[] =
3529 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
3531 * Machine/OS name selection pattern
3533 tSCC* apzHpux_Spu_InfoMachs[] = {
3535 (const char*)NULL };
3538 * content selection pattern - do fix if pattern found
3540 tSCC zHpux_Spu_InfoSelect0[] =
3541 "^.*extern.*spu_info.*";
3543 #define HPUX_SPU_INFO_TEST_CT 1
3544 static tTestDesc aHpux_Spu_InfoTests[] = {
3545 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3548 * Fix Command Arguments for Hpux_Spu_Info
3550 static const char* apzHpux_Spu_InfoPatch[] = {
3557 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3559 * Description of Hpux11_Extern_Sendfile fix
3561 tSCC zHpux11_Extern_SendfileName[] =
3562 "hpux11_extern_sendfile";
3565 * File name selection pattern
3567 tSCC zHpux11_Extern_SendfileList[] =
3570 * Machine/OS name selection pattern
3572 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3573 "*-hp-hpux11.[12]*",
3574 (const char*)NULL };
3577 * content selection pattern - do fix if pattern found
3579 tSCC zHpux11_Extern_SendfileSelect0[] =
3580 "^[ \t]*extern sbsize_t sendfile.*\n\
3583 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3584 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3585 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3588 * Fix Command Arguments for Hpux11_Extern_Sendfile
3590 static const char* apzHpux11_Extern_SendfilePatch[] = {
3592 "#ifndef _APP32_64BIT_OFF_T\n\
3596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3598 * Description of Hpux11_Extern_Sendpath fix
3600 tSCC zHpux11_Extern_SendpathName[] =
3601 "hpux11_extern_sendpath";
3604 * File name selection pattern
3606 tSCC zHpux11_Extern_SendpathList[] =
3609 * Machine/OS name selection pattern
3611 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3612 "*-hp-hpux11.[12]*",
3613 (const char*)NULL };
3616 * content selection pattern - do fix if pattern found
3618 tSCC zHpux11_Extern_SendpathSelect0[] =
3619 "^[ \t]*extern sbsize_t sendpath.*\n\
3622 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3623 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3624 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3627 * Fix Command Arguments for Hpux11_Extern_Sendpath
3629 static const char* apzHpux11_Extern_SendpathPatch[] = {
3631 "#ifndef _APP32_64BIT_OFF_T\n\
3635 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3637 * Description of Hpux_Extern_Errno fix
3639 tSCC zHpux_Extern_ErrnoName[] =
3640 "hpux_extern_errno";
3643 * File name selection pattern
3645 tSCC zHpux_Extern_ErrnoList[] =
3648 * Machine/OS name selection pattern
3650 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3652 "*-hp-hpux11.[0-2]*",
3653 (const char*)NULL };
3656 * content selection pattern - do fix if pattern found
3658 tSCC zHpux_Extern_ErrnoSelect0[] =
3659 "^[ \t]*extern int errno;$";
3661 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3662 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3663 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3666 * Fix Command Arguments for Hpux_Extern_Errno
3668 static const char* apzHpux_Extern_ErrnoPatch[] = {
3670 "#ifdef __cplusplus\n\
3674 #ifdef __cplusplus\n\
3679 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3681 * Description of Hpux_Pthread_Initializers fix
3683 tSCC zHpux_Pthread_InitializersName[] =
3684 "hpux_pthread_initializers";
3687 * File name selection pattern
3689 tSCC zHpux_Pthread_InitializersList[] =
3692 * Machine/OS name selection pattern
3694 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3695 "*-hp-hpux11.[0-3]*",
3696 (const char*)NULL };
3697 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3698 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3701 * Fix Command Arguments for Hpux_Pthread_Initializers
3703 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
3704 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3705 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3706 "-e", "/^[ \t]*0$/d",
3707 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3708 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3709 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3710 "-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\\\\@",
3711 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3712 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3713 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3714 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3715 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3716 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3719 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3721 * Description of Hpux_C99_Intptr fix
3723 tSCC zHpux_C99_IntptrName[] =
3727 * File name selection pattern
3729 tSCC zHpux_C99_IntptrList[] =
3732 * Machine/OS name selection pattern
3734 tSCC* apzHpux_C99_IntptrMachs[] = {
3736 (const char*)NULL };
3737 #define HPUX_C99_INTPTR_TEST_CT 0
3738 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
3741 * Fix Command Arguments for Hpux_C99_Intptr
3743 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
3744 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
3745 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
3746 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
3747 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
3748 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
3749 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
3752 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3754 * Description of Hpux_C99_Inttypes fix
3756 tSCC zHpux_C99_InttypesName[] =
3757 "hpux_c99_inttypes";
3760 * File name selection pattern
3762 tSCC zHpux_C99_InttypesList[] =
3763 "inttypes.h\0stdint.h\0";
3765 * Machine/OS name selection pattern
3767 tSCC* apzHpux_C99_InttypesMachs[] = {
3768 "*-hp-hpux11.[23]*",
3769 (const char*)NULL };
3770 #define HPUX_C99_INTTYPES_TEST_CT 0
3771 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
3774 * Fix Command Arguments for Hpux_C99_Inttypes
3776 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
3777 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
3778 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
3779 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
3780 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
3783 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3785 * Description of Hpux_C99_Inttypes2 fix
3787 tSCC zHpux_C99_Inttypes2Name[] =
3788 "hpux_c99_inttypes2";
3791 * File name selection pattern
3793 tSCC zHpux_C99_Inttypes2List[] =
3796 * Machine/OS name selection pattern
3798 tSCC* apzHpux_C99_Inttypes2Machs[] = {
3800 (const char*)NULL };
3801 #define HPUX_C99_INTTYPES2_TEST_CT 0
3802 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
3805 * Fix Command Arguments for Hpux_C99_Inttypes2
3807 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
3808 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
3809 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
3810 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
3811 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
3814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3816 * Description of Hpux_Stdint_Least fix
3818 tSCC zHpux_Stdint_LeastName[] =
3819 "hpux_stdint_least";
3822 * File name selection pattern
3824 tSCC zHpux_Stdint_LeastList[] =
3827 * Machine/OS name selection pattern
3829 tSCC* apzHpux_Stdint_LeastMachs[] = {
3831 (const char*)NULL };
3834 * content selection pattern - do fix if pattern found
3836 tSCC zHpux_Stdint_LeastSelect0[] =
3837 "^[ \t]*#[ \t]*define[ \t]*UINT_LEAST64_MAX[ \t]*ULLONG_MAX";
3839 #define HPUX_STDINT_LEAST_TEST_CT 1
3840 static tTestDesc aHpux_Stdint_LeastTests[] = {
3841 { TT_EGREP, zHpux_Stdint_LeastSelect0, (regex_t*)NULL }, };
3844 * Fix Command Arguments for Hpux_Stdint_Least
3846 static const char* apzHpux_Stdint_LeastPatch[] = {
3849 # define\tUINT_LEAST64_MAX\tULONG_MAX\n\
3855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3857 * Description of Hpux_Stdint_Fast fix
3859 tSCC zHpux_Stdint_FastName[] =
3863 * File name selection pattern
3865 tSCC zHpux_Stdint_FastList[] =
3868 * Machine/OS name selection pattern
3870 tSCC* apzHpux_Stdint_FastMachs[] = {
3872 (const char*)NULL };
3875 * content selection pattern - do fix if pattern found
3877 tSCC zHpux_Stdint_FastSelect0[] =
3878 "^[ \t]*#[ \t]*define[ \t]*UINT_FAST64_MAX[ \t]*ULLONG_MAX";
3880 #define HPUX_STDINT_FAST_TEST_CT 1
3881 static tTestDesc aHpux_Stdint_FastTests[] = {
3882 { TT_EGREP, zHpux_Stdint_FastSelect0, (regex_t*)NULL }, };
3885 * Fix Command Arguments for Hpux_Stdint_Fast
3887 static const char* apzHpux_Stdint_FastPatch[] = {
3890 # define\tUINT_FAST64_MAX\t\tULONG_MAX\n\
3896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3898 * Description of Hpux_Inttype_Int_Least8_T fix
3900 tSCC zHpux_Inttype_Int_Least8_TName[] =
3901 "hpux_inttype_int_least8_t";
3904 * File name selection pattern
3906 tSCC zHpux_Inttype_Int_Least8_TList[] =
3907 "sys/_inttypes.h\0";
3909 * Machine/OS name selection pattern
3911 tSCC* apzHpux_Inttype_Int_Least8_TMachs[] = {
3913 (const char*)NULL };
3916 * content selection pattern - do fix if pattern found
3918 tSCC zHpux_Inttype_Int_Least8_TSelect0[] =
3919 "^[ \t]*typedef[ \t]*char[ \t]*int_least8_t.*";
3921 #define HPUX_INTTYPE_INT_LEAST8_T_TEST_CT 1
3922 static tTestDesc aHpux_Inttype_Int_Least8_TTests[] = {
3923 { TT_EGREP, zHpux_Inttype_Int_Least8_TSelect0, (regex_t*)NULL }, };
3926 * Fix Command Arguments for Hpux_Inttype_Int_Least8_T
3928 static const char* apzHpux_Inttype_Int_Least8_TPatch[] = {
3930 "typedef signed char int_least8_t;",
3933 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3935 * Description of Hpux_Inttype_Int8_T fix
3937 tSCC zHpux_Inttype_Int8_TName[] =
3938 "hpux_inttype_int8_t";
3941 * File name selection pattern
3943 tSCC zHpux_Inttype_Int8_TList[] =
3944 "sys/_inttypes.h\0";
3946 * Machine/OS name selection pattern
3948 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
3950 (const char*)NULL };
3953 * content selection pattern - do fix if pattern found
3955 tSCC zHpux_Inttype_Int8_TSelect0[] =
3956 "^[ \t]*typedef[ \t]*char[ \t]*int8_t.*";
3958 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
3959 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
3960 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
3963 * Fix Command Arguments for Hpux_Inttype_Int8_T
3965 static const char* apzHpux_Inttype_Int8_TPatch[] = {
3967 "typedef signed char int8_t;",
3970 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3972 * Description of Hpux_Imaginary_I fix
3974 tSCC zHpux_Imaginary_IName[] =
3978 * File name selection pattern
3980 tSCC zHpux_Imaginary_IList[] =
3983 * Machine/OS name selection pattern
3985 tSCC* apzHpux_Imaginary_IMachs[] = {
3987 (const char*)NULL };
3990 * content selection pattern - do fix if pattern found
3992 tSCC zHpux_Imaginary_ISelect0[] =
3993 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
3995 #define HPUX_IMAGINARY_I_TEST_CT 1
3996 static tTestDesc aHpux_Imaginary_ITests[] = {
3997 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4000 * Fix Command Arguments for Hpux_Imaginary_I
4002 static const char* apzHpux_Imaginary_IPatch[] = {
4004 "# define _Complex_I (__extension__ 1.0iF)",
4007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4009 * Description of Huge_Val_Hex fix
4011 tSCC zHuge_Val_HexName[] =
4015 * File name selection pattern
4017 tSCC zHuge_Val_HexList[] =
4018 "bits/huge_val.h\0";
4020 * Machine/OS name selection pattern
4022 #define apzHuge_Val_HexMachs (const char**)NULL
4025 * content selection pattern - do fix if pattern found
4027 tSCC zHuge_Val_HexSelect0[] =
4028 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
4031 * content bypass pattern - skip fix if pattern found
4033 tSCC zHuge_Val_HexBypass0[] =
4034 "__builtin_huge_val";
4036 #define HUGE_VAL_HEX_TEST_CT 2
4037 static tTestDesc aHuge_Val_HexTests[] = {
4038 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
4039 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
4042 * Fix Command Arguments for Huge_Val_Hex
4044 static const char* apzHuge_Val_HexPatch[] = {
4046 "#define HUGE_VAL (__builtin_huge_val())\n",
4049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4051 * Description of Huge_Valf_Hex fix
4053 tSCC zHuge_Valf_HexName[] =
4057 * File name selection pattern
4059 tSCC zHuge_Valf_HexList[] =
4060 "bits/huge_val.h\0";
4062 * Machine/OS name selection pattern
4064 #define apzHuge_Valf_HexMachs (const char**)NULL
4067 * content selection pattern - do fix if pattern found
4069 tSCC zHuge_Valf_HexSelect0[] =
4070 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
4073 * content bypass pattern - skip fix if pattern found
4075 tSCC zHuge_Valf_HexBypass0[] =
4076 "__builtin_huge_valf";
4078 #define HUGE_VALF_HEX_TEST_CT 2
4079 static tTestDesc aHuge_Valf_HexTests[] = {
4080 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
4081 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
4084 * Fix Command Arguments for Huge_Valf_Hex
4086 static const char* apzHuge_Valf_HexPatch[] = {
4088 "#define HUGE_VALF (__builtin_huge_valf())\n",
4091 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4093 * Description of Huge_Vall_Hex fix
4095 tSCC zHuge_Vall_HexName[] =
4099 * File name selection pattern
4101 tSCC zHuge_Vall_HexList[] =
4102 "bits/huge_val.h\0";
4104 * Machine/OS name selection pattern
4106 #define apzHuge_Vall_HexMachs (const char**)NULL
4109 * content selection pattern - do fix if pattern found
4111 tSCC zHuge_Vall_HexSelect0[] =
4112 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
4115 * content bypass pattern - skip fix if pattern found
4117 tSCC zHuge_Vall_HexBypass0[] =
4118 "__builtin_huge_vall";
4120 #define HUGE_VALL_HEX_TEST_CT 2
4121 static tTestDesc aHuge_Vall_HexTests[] = {
4122 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
4123 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
4126 * Fix Command Arguments for Huge_Vall_Hex
4128 static const char* apzHuge_Vall_HexPatch[] = {
4130 "#define HUGE_VALL (__builtin_huge_vall())\n",
4133 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4135 * Description of Int_Abort_Free_And_Exit fix
4137 tSCC zInt_Abort_Free_And_ExitName[] =
4138 "int_abort_free_and_exit";
4141 * File name selection pattern
4143 tSCC zInt_Abort_Free_And_ExitList[] =
4146 * Machine/OS name selection pattern
4148 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
4151 * content selection pattern - do fix if pattern found
4153 tSCC zInt_Abort_Free_And_ExitSelect0[] =
4154 "int[ \t]+(abort|free|exit)[ \t]*\\(";
4157 * content bypass pattern - skip fix if pattern found
4159 tSCC zInt_Abort_Free_And_ExitBypass0[] =
4160 "_CLASSIC_ANSI_TYPES";
4162 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
4163 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
4164 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
4165 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
4168 * Fix Command Arguments for Int_Abort_Free_And_Exit
4170 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
4175 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4177 * Description of Io_Quotes_Def fix
4179 tSCC zIo_Quotes_DefName[] =
4183 * File name selection pattern
4185 #define zIo_Quotes_DefList (char*)NULL
4187 * Machine/OS name selection pattern
4189 #define apzIo_Quotes_DefMachs (const char**)NULL
4192 * content selection pattern - do fix if pattern found
4194 tSCC zIo_Quotes_DefSelect0[] =
4195 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
4197 #define IO_QUOTES_DEF_TEST_CT 1
4198 static tTestDesc aIo_Quotes_DefTests[] = {
4199 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
4202 * Fix Command Arguments for Io_Quotes_Def
4204 static const char* apzIo_Quotes_DefPatch[] = {
4209 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4211 * Description of Io_Quotes_Use fix
4213 tSCC zIo_Quotes_UseName[] =
4217 * File name selection pattern
4219 #define zIo_Quotes_UseList (char*)NULL
4221 * Machine/OS name selection pattern
4223 #define apzIo_Quotes_UseMachs (const char**)NULL
4226 * content selection pattern - do fix if pattern found
4228 tSCC zIo_Quotes_UseSelect0[] =
4229 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
4231 #define IO_QUOTES_USE_TEST_CT 1
4232 static tTestDesc aIo_Quotes_UseTests[] = {
4233 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
4236 * Fix Command Arguments for Io_Quotes_Use
4238 static const char* apzIo_Quotes_UsePatch[] = {
4243 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4245 * Description of Ip_Missing_Semi fix
4247 tSCC zIp_Missing_SemiName[] =
4251 * File name selection pattern
4253 tSCC zIp_Missing_SemiList[] =
4256 * Machine/OS name selection pattern
4258 #define apzIp_Missing_SemiMachs (const char**)NULL
4261 * content selection pattern - do fix if pattern found
4263 tSCC zIp_Missing_SemiSelect0[] =
4266 #define IP_MISSING_SEMI_TEST_CT 1
4267 static tTestDesc aIp_Missing_SemiTests[] = {
4268 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
4271 * Fix Command Arguments for Ip_Missing_Semi
4273 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
4274 "-e", "/^struct/,/^};/s/}$/};/",
4277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4279 * Description of Irix___Restrict fix
4281 tSCC zIrix___RestrictName[] =
4285 * File name selection pattern
4287 tSCC zIrix___RestrictList[] =
4288 "internal/sgimacros.h\0";
4290 * Machine/OS name selection pattern
4292 tSCC* apzIrix___RestrictMachs[] = {
4294 (const char*)NULL };
4297 * content selection pattern - do fix if pattern found
4299 tSCC zIrix___RestrictSelect0[] =
4301 )(#[ \t]*define __restrict restrict)";
4303 #define IRIX___RESTRICT_TEST_CT 1
4304 static tTestDesc aIrix___RestrictTests[] = {
4305 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
4308 * Fix Command Arguments for Irix___Restrict
4310 static const char* apzIrix___RestrictPatch[] = {
4312 "%1# ifndef __cplusplus\n\
4317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4319 * Description of Irix___Generic1 fix
4321 tSCC zIrix___Generic1Name[] =
4325 * File name selection pattern
4327 tSCC zIrix___Generic1List[] =
4328 "internal/math_core.h\0";
4330 * Machine/OS name selection pattern
4332 tSCC* apzIrix___Generic1Machs[] = {
4334 (const char*)NULL };
4337 * content selection pattern - do fix if pattern found
4339 tSCC zIrix___Generic1Select0[] =
4340 "#define ([a-z]+)\\(x\\) *__generic.*";
4342 #define IRIX___GENERIC1_TEST_CT 1
4343 static tTestDesc aIrix___Generic1Tests[] = {
4344 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
4347 * Fix Command Arguments for Irix___Generic1
4349 static const char* apzIrix___Generic1Patch[] = {
4351 "extern int %1(double);\n\
4352 extern int %1f(float);\n\
4353 extern int %1l(long double);\n\
4354 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
4355 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
4359 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4361 * Description of Irix___Generic2 fix
4363 tSCC zIrix___Generic2Name[] =
4367 * File name selection pattern
4369 tSCC zIrix___Generic2List[] =
4370 "internal/math_core.h\0";
4372 * Machine/OS name selection pattern
4374 tSCC* apzIrix___Generic2Machs[] = {
4376 (const char*)NULL };
4379 * content selection pattern - do fix if pattern found
4381 tSCC zIrix___Generic2Select0[] =
4382 "#define ([a-z]+)\\(x,y\\) *__generic.*";
4384 #define IRIX___GENERIC2_TEST_CT 1
4385 static tTestDesc aIrix___Generic2Tests[] = {
4386 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
4389 * Fix Command Arguments for Irix___Generic2
4391 static const char* apzIrix___Generic2Patch[] = {
4393 "#define %1(x,y) \\\n\
4394 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
4395 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
4399 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4401 * Description of Irix_Asm_Apostrophe fix
4403 tSCC zIrix_Asm_ApostropheName[] =
4404 "irix_asm_apostrophe";
4407 * File name selection pattern
4409 tSCC zIrix_Asm_ApostropheList[] =
4412 * Machine/OS name selection pattern
4414 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
4417 * content selection pattern - do fix if pattern found
4419 tSCC zIrix_Asm_ApostropheSelect0[] =
4420 "^[ \t]*#.*[Ww]e're";
4422 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
4423 static tTestDesc aIrix_Asm_ApostropheTests[] = {
4424 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
4427 * Fix Command Arguments for Irix_Asm_Apostrophe
4429 static const char* apzIrix_Asm_ApostrophePatch[] = {
4432 "^([ \t]*#.*[Ww]e)'re",
4435 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4437 * Description of Irix_Limits_Const fix
4439 tSCC zIrix_Limits_ConstName[] =
4440 "irix_limits_const";
4443 * File name selection pattern
4445 tSCC zIrix_Limits_ConstList[] =
4446 "fixinc-test-limits.h\0limits.h\0";
4448 * Machine/OS name selection pattern
4450 #define apzIrix_Limits_ConstMachs (const char**)NULL
4453 * content selection pattern - do fix if pattern found
4455 tSCC zIrix_Limits_ConstSelect0[] =
4458 #define IRIX_LIMITS_CONST_TEST_CT 1
4459 static tTestDesc aIrix_Limits_ConstTests[] = {
4460 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
4463 * Fix Command Arguments for Irix_Limits_Const
4465 static const char* apzIrix_Limits_ConstPatch[] = {
4470 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4472 * Description of Irix_Socklen_T fix
4474 tSCC zIrix_Socklen_TName[] =
4478 * File name selection pattern
4480 tSCC zIrix_Socklen_TList[] =
4483 * Machine/OS name selection pattern
4485 tSCC* apzIrix_Socklen_TMachs[] = {
4487 (const char*)NULL };
4490 * content selection pattern - do fix if pattern found
4492 tSCC zIrix_Socklen_TSelect0[] =
4493 "(#define _SOCKLEN_T\n\
4494 )(typedef u_int32_t socklen_t;)";
4496 #define IRIX_SOCKLEN_T_TEST_CT 1
4497 static tTestDesc aIrix_Socklen_TTests[] = {
4498 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
4501 * Fix Command Arguments for Irix_Socklen_T
4503 static const char* apzIrix_Socklen_TPatch[] = {
4505 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
4506 typedef int socklen_t;\n\
4509 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
4512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4514 * Description of Irix_Stdint_C99 fix
4516 tSCC zIrix_Stdint_C99Name[] =
4520 * File name selection pattern
4522 tSCC zIrix_Stdint_C99List[] =
4525 * Machine/OS name selection pattern
4527 tSCC* apzIrix_Stdint_C99Machs[] = {
4529 (const char*)NULL };
4532 * content selection pattern - do fix if pattern found
4534 tSCC zIrix_Stdint_C99Select0[] =
4536 )(#error This header file is to be used only for c99 mode compilations)";
4538 #define IRIX_STDINT_C99_TEST_CT 1
4539 static tTestDesc aIrix_Stdint_C99Tests[] = {
4540 { TT_EGREP, zIrix_Stdint_C99Select0, (regex_t*)NULL }, };
4543 * Fix Command Arguments for Irix_Stdint_C99
4545 static const char* apzIrix_Stdint_C99Patch[] = {
4551 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4553 * Description of Irix_Stdio_Va_List fix
4555 tSCC zIrix_Stdio_Va_ListName[] =
4556 "irix_stdio_va_list";
4559 * File name selection pattern
4561 tSCC zIrix_Stdio_Va_ListList[] =
4562 "stdio.h\0internal/stdio_core.h\0";
4564 * Machine/OS name selection pattern
4566 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4569 * content selection pattern - do fix if pattern found
4571 tSCC zIrix_Stdio_Va_ListSelect0[] =
4572 "/\\* va_list \\*/ char \\*";
4574 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4575 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4576 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4579 * Fix Command Arguments for Irix_Stdio_Va_List
4581 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4588 * Description of Irix_Wcsftime fix
4590 tSCC zIrix_WcsftimeName[] =
4594 * File name selection pattern
4596 tSCC zIrix_WcsftimeList[] =
4597 "internal/wchar_core.h\0";
4599 * Machine/OS name selection pattern
4601 tSCC* apzIrix_WcsftimeMachs[] = {
4603 (const char*)NULL };
4606 * content selection pattern - do fix if pattern found
4608 tSCC zIrix_WcsftimeSelect0[] =
4610 (extern size_t[ \t]+wcsftime.*const char *.*)";
4612 #define IRIX_WCSFTIME_TEST_CT 1
4613 static tTestDesc aIrix_WcsftimeTests[] = {
4614 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
4617 * Fix Command Arguments for Irix_Wcsftime
4619 static const char* apzIrix_WcsftimePatch[] = {
4621 "#if _NO_XOPEN5 && !defined(__c99)\n\
4625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4627 * Description of Isc_Fmod fix
4629 tSCC zIsc_FmodName[] =
4633 * File name selection pattern
4635 tSCC zIsc_FmodList[] =
4638 * Machine/OS name selection pattern
4640 #define apzIsc_FmodMachs (const char**)NULL
4643 * content selection pattern - do fix if pattern found
4645 tSCC zIsc_FmodSelect0[] =
4648 #define ISC_FMOD_TEST_CT 1
4649 static tTestDesc aIsc_FmodTests[] = {
4650 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
4653 * Fix Command Arguments for Isc_Fmod
4655 static const char* apzIsc_FmodPatch[] = {
4657 "fmod(double, double)",
4660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4662 * Description of Isc_Omits_With_Stdc fix
4664 tSCC zIsc_Omits_With_StdcName[] =
4665 "isc_omits_with_stdc";
4668 * File name selection pattern
4670 tSCC zIsc_Omits_With_StdcList[] =
4671 "stdio.h\0math.h\0ctype.h\0sys/limits.h\0sys/fcntl.h\0sys/dirent.h\0";
4673 * Machine/OS name selection pattern
4675 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
4678 * content selection pattern - do fix if pattern found
4680 tSCC zIsc_Omits_With_StdcSelect0[] =
4681 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
4683 #define ISC_OMITS_WITH_STDC_TEST_CT 1
4684 static tTestDesc aIsc_Omits_With_StdcTests[] = {
4685 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
4688 * Fix Command Arguments for Isc_Omits_With_Stdc
4690 static const char* apzIsc_Omits_With_StdcPatch[] = {
4692 "!defined(_POSIX_SOURCE)",
4695 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4697 * Description of Kandr_Concat fix
4699 tSCC zKandr_ConcatName[] =
4703 * File name selection pattern
4705 tSCC zKandr_ConcatList[] =
4706 "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";
4708 * Machine/OS name selection pattern
4710 #define apzKandr_ConcatMachs (const char**)NULL
4713 * content selection pattern - do fix if pattern found
4715 tSCC zKandr_ConcatSelect0[] =
4718 #define KANDR_CONCAT_TEST_CT 1
4719 static tTestDesc aKandr_ConcatTests[] = {
4720 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4723 * Fix Command Arguments for Kandr_Concat
4725 static const char* apzKandr_ConcatPatch[] = {
4730 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4732 * Description of Linux_Ia64_Ucontext fix
4734 tSCC zLinux_Ia64_UcontextName[] =
4735 "linux_ia64_ucontext";
4738 * File name selection pattern
4740 tSCC zLinux_Ia64_UcontextList[] =
4743 * Machine/OS name selection pattern
4745 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4747 (const char*)NULL };
4750 * content selection pattern - do fix if pattern found
4752 tSCC zLinux_Ia64_UcontextSelect0[] =
4753 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4755 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4756 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4757 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4760 * Fix Command Arguments for Linux_Ia64_Ucontext
4762 static const char* apzLinux_Ia64_UcontextPatch[] = {
4764 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4767 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4769 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4771 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4772 "lynxos_no_warning_in_sys_time_h";
4775 * File name selection pattern
4777 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4780 * Machine/OS name selection pattern
4782 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4785 * content selection pattern - do fix if pattern found
4787 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4788 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4790 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4791 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4792 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4795 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4797 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4804 * Description of Lynxos_Missing_Putenv fix
4806 tSCC zLynxos_Missing_PutenvName[] =
4807 "lynxos_missing_putenv";
4810 * File name selection pattern
4812 tSCC zLynxos_Missing_PutenvList[] =
4815 * Machine/OS name selection pattern
4817 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4819 (const char*)NULL };
4822 * content selection pattern - do fix if pattern found
4824 tSCC zLynxos_Missing_PutenvSelect0[] =
4825 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4828 * content bypass pattern - skip fix if pattern found
4830 tSCC zLynxos_Missing_PutenvBypass0[] =
4833 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4834 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4835 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4836 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4839 * Fix Command Arguments for Lynxos_Missing_Putenv
4841 static const char* apzLynxos_Missing_PutenvPatch[] = {
4844 extern int putenv\t\t\t\t_AP((char *));",
4845 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4850 * Description of Machine_Ansi_H_Va_List fix
4852 tSCC zMachine_Ansi_H_Va_ListName[] =
4853 "machine_ansi_h_va_list";
4856 * File name selection pattern
4858 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4860 * Machine/OS name selection pattern
4862 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4865 * content selection pattern - do fix if pattern found
4867 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4868 "define[ \t]+_BSD_VA_LIST_[ \t]";
4871 * content bypass pattern - skip fix if pattern found
4873 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4874 "__builtin_va_list";
4876 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4877 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4878 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4879 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4882 * Fix Command Arguments for Machine_Ansi_H_Va_List
4884 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4886 "%1__builtin_va_list",
4887 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4892 * Description of Machine_Name fix
4894 tSCC zMachine_NameName[] =
4898 * File name selection pattern
4900 #define zMachine_NameList (char*)NULL
4902 * Machine/OS name selection pattern
4904 #define apzMachine_NameMachs (const char**)NULL
4907 * perform the C function call test
4909 tSCC zMachine_NameFTst0[] = "machine_name";
4911 #define MACHINE_NAME_TEST_CT 1
4912 static tTestDesc aMachine_NameTests[] = {
4913 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4916 * Fix Command Arguments for Machine_Name
4918 static const char* apzMachine_NamePatch[] = {
4922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4924 * Description of Math_Exception fix
4926 tSCC zMath_ExceptionName[] =
4930 * File name selection pattern
4932 tSCC zMath_ExceptionList[] =
4935 * Machine/OS name selection pattern
4937 #define apzMath_ExceptionMachs (const char**)NULL
4940 * content selection pattern - do fix if pattern found
4942 tSCC zMath_ExceptionSelect0[] =
4946 * content bypass pattern - skip fix if pattern found
4948 tSCC zMath_ExceptionBypass0[] =
4949 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4951 #define MATH_EXCEPTION_TEST_CT 2
4952 static tTestDesc aMath_ExceptionTests[] = {
4953 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4954 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4957 * Fix Command Arguments for Math_Exception
4959 static const char* apzMath_ExceptionPatch[] = {
4961 "#ifdef __cplusplus\n\
4962 #define exception __math_exception\n\
4964 "#ifdef __cplusplus\n\
4969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4971 * Description of Math_Huge_Val_From_Dbl_Max fix
4973 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4974 "math_huge_val_from_dbl_max";
4977 * File name selection pattern
4979 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4982 * Machine/OS name selection pattern
4984 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4987 * content selection pattern - do fix if pattern found
4989 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4990 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4993 * content bypass pattern - skip fix if pattern found
4995 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4996 "define[ \t]+DBL_MAX";
4998 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4999 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5000 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5001 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5004 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5006 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5007 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5008 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5009 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5016 * Description of Nested_Auth_Des fix
5018 tSCC zNested_Auth_DesName[] =
5022 * File name selection pattern
5024 tSCC zNested_Auth_DesList[] =
5027 * Machine/OS name selection pattern
5029 #define apzNested_Auth_DesMachs (const char**)NULL
5032 * content selection pattern - do fix if pattern found
5034 tSCC zNested_Auth_DesSelect0[] =
5035 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5037 #define NESTED_AUTH_DES_TEST_CT 1
5038 static tTestDesc aNested_Auth_DesTests[] = {
5039 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5042 * Fix Command Arguments for Nested_Auth_Des
5044 static const char* apzNested_Auth_DesPatch[] = {
5049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5051 * Description of Nested_Sys_Limits fix
5053 tSCC zNested_Sys_LimitsName[] =
5054 "nested_sys_limits";
5057 * File name selection pattern
5059 tSCC zNested_Sys_LimitsList[] =
5062 * Machine/OS name selection pattern
5064 #define apzNested_Sys_LimitsMachs (const char**)NULL
5067 * content selection pattern - do fix if pattern found
5069 tSCC zNested_Sys_LimitsSelect0[] =
5072 #define NESTED_SYS_LIMITS_TEST_CT 1
5073 static tTestDesc aNested_Sys_LimitsTests[] = {
5074 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
5077 * Fix Command Arguments for Nested_Sys_Limits
5079 static const char* apzNested_Sys_LimitsPatch[] = { sed_cmd_z,
5080 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
5081 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
5084 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5086 * Description of Netbsd_C99_Inline_1 fix
5088 tSCC zNetbsd_C99_Inline_1Name[] =
5089 "netbsd_c99_inline_1";
5092 * File name selection pattern
5094 tSCC zNetbsd_C99_Inline_1List[] =
5097 * Machine/OS name selection pattern
5099 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5101 (const char*)NULL };
5104 * content selection pattern - do fix if pattern found
5106 tSCC zNetbsd_C99_Inline_1Select0[] =
5107 "extern __inline int";
5109 #define NETBSD_C99_INLINE_1_TEST_CT 1
5110 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
5111 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
5114 * Fix Command Arguments for Netbsd_C99_Inline_1
5116 static const char* apzNetbsd_C99_Inline_1Patch[] = {
5119 #ifdef __GNUC_STDC_INLINE__\n\
5120 __attribute__((__gnu_inline__))\n\
5125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5127 * Description of Netbsd_C99_Inline_2 fix
5129 tSCC zNetbsd_C99_Inline_2Name[] =
5130 "netbsd_c99_inline_2";
5133 * File name selection pattern
5135 tSCC zNetbsd_C99_Inline_2List[] =
5138 * Machine/OS name selection pattern
5140 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5142 (const char*)NULL };
5145 * content selection pattern - do fix if pattern found
5147 tSCC zNetbsd_C99_Inline_2Select0[] =
5148 "#define _SIGINLINE extern __inline";
5150 #define NETBSD_C99_INLINE_2_TEST_CT 1
5151 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5152 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5155 * Fix Command Arguments for Netbsd_C99_Inline_2
5157 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5159 "#ifdef __GNUC_STDC_INLINE__\n\
5160 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5166 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5168 * Description of Netbsd_Extra_Semicolon fix
5170 tSCC zNetbsd_Extra_SemicolonName[] =
5171 "netbsd_extra_semicolon";
5174 * File name selection pattern
5176 tSCC zNetbsd_Extra_SemicolonList[] =
5179 * Machine/OS name selection pattern
5181 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5183 (const char*)NULL };
5186 * content selection pattern - do fix if pattern found
5188 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5189 "#define[ \t]*__END_DECLS[ \t]*};";
5191 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
5192 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5193 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5196 * Fix Command Arguments for Netbsd_Extra_Semicolon
5198 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5200 "#define __END_DECLS }",
5203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5205 * Description of Newlib_Stdint_1 fix
5207 tSCC zNewlib_Stdint_1Name[] =
5211 * File name selection pattern
5213 tSCC zNewlib_Stdint_1List[] =
5216 * Machine/OS name selection pattern
5218 #define apzNewlib_Stdint_1Machs (const char**)NULL
5221 * content selection pattern - do fix if pattern found
5223 tSCC zNewlib_Stdint_1Select0[] =
5224 "@todo - Add support for wint_t types";
5226 #define NEWLIB_STDINT_1_TEST_CT 1
5227 static tTestDesc aNewlib_Stdint_1Tests[] = {
5228 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5231 * Fix Command Arguments for Newlib_Stdint_1
5233 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5234 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5235 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5236 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5237 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5238 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5239 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5240 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5241 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5242 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5243 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5244 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5245 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5246 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5247 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5250 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5252 * Description of Newlib_Stdint_2 fix
5254 tSCC zNewlib_Stdint_2Name[] =
5258 * File name selection pattern
5260 tSCC zNewlib_Stdint_2List[] =
5263 * Machine/OS name selection pattern
5265 #define apzNewlib_Stdint_2Machs (const char**)NULL
5268 * content selection pattern - do fix if pattern found
5270 tSCC zNewlib_Stdint_2Select0[] =
5271 "@todo - Add support for wint_t types";
5273 #define NEWLIB_STDINT_2_TEST_CT 1
5274 static tTestDesc aNewlib_Stdint_2Tests[] = {
5275 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5278 * Fix Command Arguments for Newlib_Stdint_2
5280 static const char* apzNewlib_Stdint_2Patch[] = {
5282 "#define INTMAX_MAX __INTMAX_MAX__\n\
5283 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5284 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5285 #define WCHAR_MAX __WCHAR_MAX__\n\
5286 #define WCHAR_MIN __WCHAR_MIN__\n\
5287 #define WINT_MAX __WINT_MAX__\n\
5288 #define WINT_MIN __WINT_MIN__\n\n\
5290 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5295 * Description of Next_Math_Prefix fix
5297 tSCC zNext_Math_PrefixName[] =
5301 * File name selection pattern
5303 tSCC zNext_Math_PrefixList[] =
5306 * Machine/OS name selection pattern
5308 #define apzNext_Math_PrefixMachs (const char**)NULL
5311 * content selection pattern - do fix if pattern found
5313 tSCC zNext_Math_PrefixSelect0[] =
5314 "^extern[ \t]+double[ \t]+__const__[ \t]";
5316 #define NEXT_MATH_PREFIX_TEST_CT 1
5317 static tTestDesc aNext_Math_PrefixTests[] = {
5318 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
5321 * Fix Command Arguments for Next_Math_Prefix
5323 static const char* apzNext_Math_PrefixPatch[] = {
5325 "extern double %1(",
5326 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
5329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5331 * Description of Next_Template fix
5333 tSCC zNext_TemplateName[] =
5337 * File name selection pattern
5339 tSCC zNext_TemplateList[] =
5342 * Machine/OS name selection pattern
5344 #define apzNext_TemplateMachs (const char**)NULL
5347 * content selection pattern - do fix if pattern found
5349 tSCC zNext_TemplateSelect0[] =
5352 #define NEXT_TEMPLATE_TEST_CT 1
5353 static tTestDesc aNext_TemplateTests[] = {
5354 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
5357 * Fix Command Arguments for Next_Template
5359 static const char* apzNext_TemplatePatch[] = {
5362 "\\(([^)]*)[ \t]template\\)",
5365 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5367 * Description of Next_Volitile fix
5369 tSCC zNext_VolitileName[] =
5373 * File name selection pattern
5375 tSCC zNext_VolitileList[] =
5378 * Machine/OS name selection pattern
5380 #define apzNext_VolitileMachs (const char**)NULL
5383 * content selection pattern - do fix if pattern found
5385 tSCC zNext_VolitileSelect0[] =
5386 "^extern[ \t]+volatile[ \t]+void[ \t]";
5388 #define NEXT_VOLITILE_TEST_CT 1
5389 static tTestDesc aNext_VolitileTests[] = {
5390 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
5393 * Fix Command Arguments for Next_Volitile
5395 static const char* apzNext_VolitilePatch[] = {
5398 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5403 * Description of Next_Wait_Union fix
5405 tSCC zNext_Wait_UnionName[] =
5409 * File name selection pattern
5411 tSCC zNext_Wait_UnionList[] =
5414 * Machine/OS name selection pattern
5416 #define apzNext_Wait_UnionMachs (const char**)NULL
5419 * content selection pattern - do fix if pattern found
5421 tSCC zNext_Wait_UnionSelect0[] =
5422 "wait\\(union wait";
5424 #define NEXT_WAIT_UNION_TEST_CT 1
5425 static tTestDesc aNext_Wait_UnionTests[] = {
5426 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5429 * Fix Command Arguments for Next_Wait_Union
5431 static const char* apzNext_Wait_UnionPatch[] = {
5436 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5438 * Description of Nodeent_Syntax fix
5440 tSCC zNodeent_SyntaxName[] =
5444 * File name selection pattern
5446 tSCC zNodeent_SyntaxList[] =
5447 "netdnet/dnetdb.h\0";
5449 * Machine/OS name selection pattern
5451 #define apzNodeent_SyntaxMachs (const char**)NULL
5454 * content selection pattern - do fix if pattern found
5456 tSCC zNodeent_SyntaxSelect0[] =
5457 "char[ \t]*\\*na_addr[ \t]*$";
5459 #define NODEENT_SYNTAX_TEST_CT 1
5460 static tTestDesc aNodeent_SyntaxTests[] = {
5461 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5464 * Fix Command Arguments for Nodeent_Syntax
5466 static const char* apzNodeent_SyntaxPatch[] = {
5471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5473 * Description of Openbsd_Null_Definition fix
5475 tSCC zOpenbsd_Null_DefinitionName[] =
5476 "openbsd_null_definition";
5479 * File name selection pattern
5481 tSCC zOpenbsd_Null_DefinitionList[] =
5482 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
5484 * Machine/OS name selection pattern
5486 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
5488 (const char*)NULL };
5491 * content selection pattern - do fix if pattern found
5493 tSCC zOpenbsd_Null_DefinitionSelect0[] =
5496 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
5497 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
5498 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
5501 * Fix Command Arguments for Openbsd_Null_Definition
5503 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
5506 #ifdef __cplusplus\n\
5508 #define NULL\t__null\n\
5509 #else\t /* ! __GNUG__ */\n\
5511 #endif\t /* __GNUG__ */\n\
5512 #else\t /* ! __cplusplus */\n\
5513 #define NULL\t((void *)0)\n\
5514 #endif\t /* __cplusplus */\n\
5515 #endif\t /* !NULL */",
5516 "^#ifndef[ \t]*NULL\n\
5517 ^#ifdef[ \t]*__GNUG__\n\
5518 ^#define[ \t]*NULL[ \t]*__null\n\
5520 ^#define[ \t]*NULL[ \t]*0L\n\
5525 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5527 * Description of Obstack_Lvalue_Cast fix
5529 tSCC zObstack_Lvalue_CastName[] =
5530 "obstack_lvalue_cast";
5533 * File name selection pattern
5535 tSCC zObstack_Lvalue_CastList[] =
5538 * Machine/OS name selection pattern
5540 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5543 * content selection pattern - do fix if pattern found
5545 tSCC zObstack_Lvalue_CastSelect0[] =
5546 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5548 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5549 static tTestDesc aObstack_Lvalue_CastTests[] = {
5550 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5553 * Fix Command Arguments for Obstack_Lvalue_Cast
5555 static const char* apzObstack_Lvalue_CastPatch[] = {
5557 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5562 * Description of Openbsd_Va_Start fix
5564 tSCC zOpenbsd_Va_StartName[] =
5568 * File name selection pattern
5570 tSCC zOpenbsd_Va_StartList[] =
5573 * Machine/OS name selection pattern
5575 tSCC* apzOpenbsd_Va_StartMachs[] = {
5577 (const char*)NULL };
5580 * content selection pattern - do fix if pattern found
5582 tSCC zOpenbsd_Va_StartSelect0[] =
5583 "__builtin_stdarg_start";
5585 #define OPENBSD_VA_START_TEST_CT 1
5586 static tTestDesc aOpenbsd_Va_StartTests[] = {
5587 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
5590 * Fix Command Arguments for Openbsd_Va_Start
5592 static const char* apzOpenbsd_Va_StartPatch[] = {
5594 "__builtin_va_start",
5597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5599 * Description of Osf_Namespace_A fix
5601 tSCC zOsf_Namespace_AName[] =
5605 * File name selection pattern
5607 tSCC zOsf_Namespace_AList[] =
5608 "reg_types.h\0sys/lc_core.h\0";
5610 * Machine/OS name selection pattern
5612 #define apzOsf_Namespace_AMachs (const char**)NULL
5615 * perform the 'test' shell command - do fix on success
5617 tSCC zOsf_Namespace_ATest0[] =
5619 tSCC zOsf_Namespace_ATest1[] =
5620 " -r sys/lc_core.h";
5621 tSCC zOsf_Namespace_ATest2[] =
5622 " -n \"`grep '} regex_t;' reg_types.h`\"";
5623 tSCC zOsf_Namespace_ATest3[] =
5624 " -z \"`grep __regex_t regex.h`\"";
5626 #define OSF_NAMESPACE_A_TEST_CT 4
5627 static tTestDesc aOsf_Namespace_ATests[] = {
5628 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5629 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5630 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5631 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5634 * Fix Command Arguments for Osf_Namespace_A
5636 static const char* apzOsf_Namespace_APatch[] = {
5639 "reg(ex|off|match)_t",
5642 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5644 * Description of Osf_Namespace_C fix
5646 tSCC zOsf_Namespace_CName[] =
5650 * File name selection pattern
5652 tSCC zOsf_Namespace_CList[] =
5655 * Machine/OS name selection pattern
5657 #define apzOsf_Namespace_CMachs (const char**)NULL
5660 * content selection pattern - do fix if pattern found
5662 tSCC zOsf_Namespace_CSelect0[] =
5663 "#include <reg_types.h>.*";
5666 * perform the 'test' shell command - do fix on success
5668 tSCC zOsf_Namespace_CTest0[] =
5670 tSCC zOsf_Namespace_CTest1[] =
5671 " -r sys/lc_core.h";
5672 tSCC zOsf_Namespace_CTest2[] =
5673 " -n \"`grep '} regex_t;' reg_types.h`\"";
5674 tSCC zOsf_Namespace_CTest3[] =
5675 " -z \"`grep __regex_t regex.h`\"";
5677 #define OSF_NAMESPACE_C_TEST_CT 5
5678 static tTestDesc aOsf_Namespace_CTests[] = {
5679 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5680 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5681 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5682 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5683 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5686 * Fix Command Arguments for Osf_Namespace_C
5688 static const char* apzOsf_Namespace_CPatch[] = {
5691 typedef __regex_t\tregex_t;\n\
5692 typedef __regoff_t\tregoff_t;\n\
5693 typedef __regmatch_t\tregmatch_t;",
5696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5698 * Description of Pthread_Incomplete_Struct_Argument fix
5700 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5701 "pthread_incomplete_struct_argument";
5704 * File name selection pattern
5706 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5709 * Machine/OS name selection pattern
5711 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5714 * content selection pattern - do fix if pattern found
5716 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5717 "struct __jmp_buf_tag";
5719 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5720 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5721 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5724 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5726 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5729 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5734 * Description of Read_Ret_Type fix
5736 tSCC zRead_Ret_TypeName[] =
5740 * File name selection pattern
5742 tSCC zRead_Ret_TypeList[] =
5745 * Machine/OS name selection pattern
5747 #define apzRead_Ret_TypeMachs (const char**)NULL
5750 * content selection pattern - do fix if pattern found
5752 tSCC zRead_Ret_TypeSelect0[] =
5753 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5755 #define READ_RET_TYPE_TEST_CT 1
5756 static tTestDesc aRead_Ret_TypeTests[] = {
5757 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5760 * Fix Command Arguments for Read_Ret_Type
5762 static const char* apzRead_Ret_TypePatch[] = {
5764 "extern unsigned int fread(), fwrite();\n\
5766 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5771 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5773 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5774 "rpc_xdr_lvalue_cast_a";
5777 * File name selection pattern
5779 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5782 * Machine/OS name selection pattern
5784 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5787 * content selection pattern - do fix if pattern found
5789 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5790 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5793 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5794 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5795 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5798 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5800 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5802 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5807 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5809 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5810 "rpc_xdr_lvalue_cast_b";
5813 * File name selection pattern
5815 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5818 * Machine/OS name selection pattern
5820 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5823 * content selection pattern - do fix if pattern found
5825 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5826 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5829 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5830 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5831 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5834 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5836 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5838 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5841 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5843 * Description of Rs6000_Double fix
5845 tSCC zRs6000_DoubleName[] =
5849 * File name selection pattern
5851 tSCC zRs6000_DoubleList[] =
5854 * Machine/OS name selection pattern
5856 #define apzRs6000_DoubleMachs (const char**)NULL
5859 * content selection pattern - do fix if pattern found
5861 tSCC zRs6000_DoubleSelect0[] =
5862 "[^a-zA-Z_]class\\(";
5864 #define RS6000_DOUBLE_TEST_CT 1
5865 static tTestDesc aRs6000_DoubleTests[] = {
5866 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5869 * Fix Command Arguments for Rs6000_Double
5871 static const char* apzRs6000_DoublePatch[] = {
5873 "#ifndef __cplusplus\n\
5876 "^.*[^a-zA-Z_]class\\(.*",
5879 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5881 * Description of Rs6000_Fchmod fix
5883 tSCC zRs6000_FchmodName[] =
5887 * File name selection pattern
5889 tSCC zRs6000_FchmodList[] =
5892 * Machine/OS name selection pattern
5894 #define apzRs6000_FchmodMachs (const char**)NULL
5897 * content selection pattern - do fix if pattern found
5899 tSCC zRs6000_FchmodSelect0[] =
5900 "fchmod\\(char \\*";
5902 #define RS6000_FCHMOD_TEST_CT 1
5903 static tTestDesc aRs6000_FchmodTests[] = {
5904 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5907 * Fix Command Arguments for Rs6000_Fchmod
5909 static const char* apzRs6000_FchmodPatch[] = {
5914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5916 * Description of Rs6000_Param fix
5918 tSCC zRs6000_ParamName[] =
5922 * File name selection pattern
5924 tSCC zRs6000_ParamList[] =
5925 "stdio.h\0unistd.h\0";
5927 * Machine/OS name selection pattern
5929 #define apzRs6000_ParamMachs (const char**)NULL
5932 * content selection pattern - do fix if pattern found
5934 tSCC zRs6000_ParamSelect0[] =
5935 "rename\\(const char \\*old, const char \\*new\\)";
5937 #define RS6000_PARAM_TEST_CT 1
5938 static tTestDesc aRs6000_ParamTests[] = {
5939 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5942 * Fix Command Arguments for Rs6000_Param
5944 static const char* apzRs6000_ParamPatch[] = {
5946 "rename(const char *_old, const char *_new)",
5949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5951 * Description of Sco_Math fix
5953 tSCC zSco_MathName[] =
5957 * File name selection pattern
5959 tSCC zSco_MathList[] =
5960 "math.h\0*/math.h\0";
5962 * Machine/OS name selection pattern
5964 #define apzSco_MathMachs (const char**)NULL
5967 * content selection pattern - do fix if pattern found
5969 tSCC zSco_MathSelect0[] =
5970 "inline double abs";
5973 * content bypass pattern - skip fix if pattern found
5975 tSCC zSco_MathBypass0[] =
5978 #define SCO_MATH_TEST_CT 2
5979 static tTestDesc aSco_MathTests[] = {
5980 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
5981 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
5984 * Fix Command Arguments for Sco_Math
5986 static const char* apzSco_MathPatch[] = { sed_cmd_z,
5987 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
5988 #ifndef __GNUC__\n",
5989 "-e", "/.*__builtin_generic/a\\\n\
5991 #define __fp_class(a) \\\\\\\n\
5992 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
5993 __fpclassifyl(a), \\\\\\\n\
5994 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
5995 __fpclassifyf(a),__fpclassify(a)))\\\n\
5997 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
5998 #ifndef __GNUC__\n",
5999 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
6000 #endif /* ! __GNUC__ */",
6003 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6005 * Description of Solaris_Math_1 fix
6007 tSCC zSolaris_Math_1Name[] =
6011 * File name selection pattern
6013 tSCC zSolaris_Math_1List[] =
6016 * Machine/OS name selection pattern
6018 #define apzSolaris_Math_1Machs (const char**)NULL
6021 * content selection pattern - do fix if pattern found
6023 tSCC zSolaris_Math_1Select0[] =
6024 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6027 * content bypass pattern - skip fix if pattern found
6029 tSCC zSolaris_Math_1Bypass0[] =
6032 #define SOLARIS_MATH_1_TEST_CT 2
6033 static tTestDesc aSolaris_Math_1Tests[] = {
6034 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
6035 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
6038 * Fix Command Arguments for Solaris_Math_1
6040 static const char* apzSolaris_Math_1Patch[] = {
6042 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
6043 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
6046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6048 * Description of Solaris_Math_2 fix
6050 tSCC zSolaris_Math_2Name[] =
6054 * File name selection pattern
6056 tSCC zSolaris_Math_2List[] =
6059 * Machine/OS name selection pattern
6061 #define apzSolaris_Math_2Machs (const char**)NULL
6064 * content selection pattern - do fix if pattern found
6066 tSCC zSolaris_Math_2Select0[] =
6067 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6070 * content bypass pattern - skip fix if pattern found
6072 tSCC zSolaris_Math_2Bypass0[] =
6075 #define SOLARIS_MATH_2_TEST_CT 2
6076 static tTestDesc aSolaris_Math_2Tests[] = {
6077 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
6078 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
6081 * Fix Command Arguments for Solaris_Math_2
6083 static const char* apzSolaris_Math_2Patch[] = {
6085 "#define\tINFINITY\t(__builtin_inff())",
6086 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
6089 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6091 * Description of Solaris_Math_3 fix
6093 tSCC zSolaris_Math_3Name[] =
6097 * File name selection pattern
6099 tSCC zSolaris_Math_3List[] =
6102 * Machine/OS name selection pattern
6104 #define apzSolaris_Math_3Machs (const char**)NULL
6107 * content selection pattern - do fix if pattern found
6109 tSCC zSolaris_Math_3Select0[] =
6110 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6113 * content bypass pattern - skip fix if pattern found
6115 tSCC zSolaris_Math_3Bypass0[] =
6118 #define SOLARIS_MATH_3_TEST_CT 2
6119 static tTestDesc aSolaris_Math_3Tests[] = {
6120 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
6121 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
6124 * Fix Command Arguments for Solaris_Math_3
6126 static const char* apzSolaris_Math_3Patch[] = {
6128 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
6129 "^#define[ \t]+NAN[ \t]+__builtin_nan",
6132 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6134 * Description of Solaris_Math_4 fix
6136 tSCC zSolaris_Math_4Name[] =
6140 * File name selection pattern
6142 tSCC zSolaris_Math_4List[] =
6145 * Machine/OS name selection pattern
6147 #define apzSolaris_Math_4Machs (const char**)NULL
6150 * content selection pattern - do fix if pattern found
6152 tSCC zSolaris_Math_4Select0[] =
6153 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6156 * content bypass pattern - skip fix if pattern found
6158 tSCC zSolaris_Math_4Bypass0[] =
6161 #define SOLARIS_MATH_4_TEST_CT 2
6162 static tTestDesc aSolaris_Math_4Tests[] = {
6163 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
6164 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
6167 * Fix Command Arguments for Solaris_Math_4
6169 static const char* apzSolaris_Math_4Patch[] = {
6171 "#define\tfpclassify(x) \\\n\
6172 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
6173 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
6176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6178 * Description of Solaris_Math_8 fix
6180 tSCC zSolaris_Math_8Name[] =
6184 * File name selection pattern
6186 tSCC zSolaris_Math_8List[] =
6189 * Machine/OS name selection pattern
6191 #define apzSolaris_Math_8Machs (const char**)NULL
6194 * content selection pattern - do fix if pattern found
6196 tSCC zSolaris_Math_8Select0[] =
6197 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6200 * content bypass pattern - skip fix if pattern found
6202 tSCC zSolaris_Math_8Bypass0[] =
6205 #define SOLARIS_MATH_8_TEST_CT 2
6206 static tTestDesc aSolaris_Math_8Tests[] = {
6207 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
6208 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
6211 * Fix Command Arguments for Solaris_Math_8
6213 static const char* apzSolaris_Math_8Patch[] = {
6215 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6216 \t\t\t ? __builtin_signbitf(x) \\\n\
6217 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6218 \t\t\t ? __builtin_signbitl(x) \\\n\
6219 \t\t\t : __builtin_signbit(x))",
6220 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
6223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6225 * Description of Solaris_Math_9 fix
6227 tSCC zSolaris_Math_9Name[] =
6231 * File name selection pattern
6233 tSCC zSolaris_Math_9List[] =
6236 * Machine/OS name selection pattern
6238 #define apzSolaris_Math_9Machs (const char**)NULL
6241 * content selection pattern - do fix if pattern found
6243 tSCC zSolaris_Math_9Select0[] =
6244 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6247 * content bypass pattern - skip fix if pattern found
6249 tSCC zSolaris_Math_9Bypass0[] =
6252 #define SOLARIS_MATH_9_TEST_CT 2
6253 static tTestDesc aSolaris_Math_9Tests[] = {
6254 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
6255 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
6258 * Fix Command Arguments for Solaris_Math_9
6260 static const char* apzSolaris_Math_9Patch[] = {
6262 "#define\t%1(x, y)%2__builtin_%1(x, y)",
6263 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
6266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6268 * Description of Solaris_Math_10 fix
6270 tSCC zSolaris_Math_10Name[] =
6274 * File name selection pattern
6276 tSCC zSolaris_Math_10List[] =
6279 * Machine/OS name selection pattern
6281 #define apzSolaris_Math_10Machs (const char**)NULL
6284 * content selection pattern - do fix if pattern found
6286 tSCC zSolaris_Math_10Select0[] =
6287 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6289 #define SOLARIS_MATH_10_TEST_CT 1
6290 static tTestDesc aSolaris_Math_10Tests[] = {
6291 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
6294 * Fix Command Arguments for Solaris_Math_10
6296 static const char* apzSolaris_Math_10Patch[] = {
6298 "#define\tisinf(x) __builtin_isinf(x)",
6299 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
6300 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6301 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
6302 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
6305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6307 * Description of Solaris_Mutex_Init_2 fix
6309 tSCC zSolaris_Mutex_Init_2Name[] =
6310 "solaris_mutex_init_2";
6313 * File name selection pattern
6315 tSCC zSolaris_Mutex_Init_2List[] =
6318 * Machine/OS name selection pattern
6320 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
6321 "*-*-solaris2.[0-9]",
6322 "*-*-solaris2.[0-9][!0-9]*",
6323 (const char*)NULL };
6326 * content selection pattern - do fix if pattern found
6328 tSCC zSolaris_Mutex_Init_2Select0[] =
6329 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6331 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
6332 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
6333 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
6336 * Fix Command Arguments for Solaris_Mutex_Init_2
6338 static const char* apzSolaris_Mutex_Init_2Patch[] = {
6340 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6345 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
6346 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
6349 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6351 * Description of Solaris_Rwlock_Init_1 fix
6353 tSCC zSolaris_Rwlock_Init_1Name[] =
6354 "solaris_rwlock_init_1";
6357 * File name selection pattern
6359 tSCC zSolaris_Rwlock_Init_1List[] =
6362 * Machine/OS name selection pattern
6364 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
6366 (const char*)NULL };
6369 * content selection pattern - do fix if pattern found
6371 tSCC zSolaris_Rwlock_Init_1Select0[] =
6372 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6374 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
6375 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
6376 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
6379 * Fix Command Arguments for Solaris_Rwlock_Init_1
6381 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6383 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6386 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6388 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6393 * Description of Solaris_Once_Init_1 fix
6395 tSCC zSolaris_Once_Init_1Name[] =
6396 "solaris_once_init_1";
6399 * File name selection pattern
6401 tSCC zSolaris_Once_Init_1List[] =
6404 * Machine/OS name selection pattern
6406 tSCC* apzSolaris_Once_Init_1Machs[] = {
6408 (const char*)NULL };
6411 * content selection pattern - do fix if pattern found
6413 tSCC zSolaris_Once_Init_1Select0[] =
6414 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6416 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6417 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6418 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6421 * Fix Command Arguments for Solaris_Once_Init_1
6423 static const char* apzSolaris_Once_Init_1Patch[] = {
6426 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6429 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6431 * Description of Solaris_Once_Init_2 fix
6433 tSCC zSolaris_Once_Init_2Name[] =
6434 "solaris_once_init_2";
6437 * File name selection pattern
6439 tSCC zSolaris_Once_Init_2List[] =
6442 * Machine/OS name selection pattern
6444 tSCC* apzSolaris_Once_Init_2Machs[] = {
6445 "*-*-solaris2.[0-9]",
6446 "*-*-solaris2.[0-9][!0-9]*",
6447 (const char*)NULL };
6450 * content selection pattern - do fix if pattern found
6452 tSCC zSolaris_Once_Init_2Select0[] =
6453 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6455 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6456 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6457 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6460 * Fix Command Arguments for Solaris_Once_Init_2
6462 static const char* apzSolaris_Once_Init_2Patch[] = {
6464 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6467 %1{0}, {0}, {0}, {%3}%4\n\
6469 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6474 * Description of Solaris_Int_Const fix
6476 tSCC zSolaris_Int_ConstName[] =
6477 "solaris_int_const";
6480 * File name selection pattern
6482 tSCC zSolaris_Int_ConstList[] =
6483 "sys/int_const.h\0";
6485 * Machine/OS name selection pattern
6487 #define apzSolaris_Int_ConstMachs (const char**)NULL
6490 * content selection pattern - do fix if pattern found
6492 tSCC zSolaris_Int_ConstSelect0[] =
6493 "@\\(#\\)int_const.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6495 #define SOLARIS_INT_CONST_TEST_CT 1
6496 static tTestDesc aSolaris_Int_ConstTests[] = {
6497 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6500 * Fix Command Arguments for Solaris_Int_Const
6502 static const char* apzSolaris_Int_ConstPatch[] = {
6504 "#define\tUINT8_C(c)\t(c)\n\
6506 #define\tUINT16_C(c)\t(c)",
6507 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6509 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*",
6512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6514 * Description of Solaris_Int_Limits_1 fix
6516 tSCC zSolaris_Int_Limits_1Name[] =
6517 "solaris_int_limits_1";
6520 * File name selection pattern
6522 tSCC zSolaris_Int_Limits_1List[] =
6523 "sys/int_limits.h\0";
6525 * Machine/OS name selection pattern
6527 #define apzSolaris_Int_Limits_1Machs (const char**)NULL
6530 * content selection pattern - do fix if pattern found
6532 tSCC zSolaris_Int_Limits_1Select0[] =
6533 "@\\(#\\)int_limits.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6535 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
6536 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6537 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6540 * Fix Command Arguments for Solaris_Int_Limits_1
6542 static const char* apzSolaris_Int_Limits_1Patch[] = {
6544 "#define\tUINT8_MAX\t(255)\n\
6545 #define\tUINT16_MAX\t(65535)",
6546 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6547 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)",
6550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6552 * Description of Solaris_Int_Limits_2 fix
6554 tSCC zSolaris_Int_Limits_2Name[] =
6555 "solaris_int_limits_2";
6558 * File name selection pattern
6560 tSCC zSolaris_Int_Limits_2List[] =
6561 "sys/int_limits.h\0";
6563 * Machine/OS name selection pattern
6565 #define apzSolaris_Int_Limits_2Machs (const char**)NULL
6568 * content selection pattern - do fix if pattern found
6570 tSCC zSolaris_Int_Limits_2Select0[] =
6571 "@\\(#\\)int_limits.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6573 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
6574 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6575 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6578 * Fix Command Arguments for Solaris_Int_Limits_2
6580 static const char* apzSolaris_Int_Limits_2Patch[] = {
6582 "#define\t%1_FAST16_%2 %132_%2",
6583 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*",
6586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6588 * Description of Solaris_Int_Types fix
6590 tSCC zSolaris_Int_TypesName[] =
6591 "solaris_int_types";
6594 * File name selection pattern
6596 tSCC zSolaris_Int_TypesList[] =
6597 "sys/int_types.h\0";
6599 * Machine/OS name selection pattern
6601 #define apzSolaris_Int_TypesMachs (const char**)NULL
6604 * content selection pattern - do fix if pattern found
6606 tSCC zSolaris_Int_TypesSelect0[] =
6607 "__STDC__ - 0 == 0";
6610 * content bypass pattern - skip fix if pattern found
6612 tSCC zSolaris_Int_TypesBypass0[] =
6615 #define SOLARIS_INT_TYPES_TEST_CT 2
6616 static tTestDesc aSolaris_Int_TypesTests[] = {
6617 { TT_NEGREP, zSolaris_Int_TypesBypass0, (regex_t*)NULL },
6618 { TT_EGREP, zSolaris_Int_TypesSelect0, (regex_t*)NULL }, };
6621 * Fix Command Arguments for Solaris_Int_Types
6623 static const char* apzSolaris_Int_TypesPatch[] = {
6625 "(defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__))",
6628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6630 * Description of Solaris_Stdio_Tag fix
6632 tSCC zSolaris_Stdio_TagName[] =
6633 "solaris_stdio_tag";
6636 * File name selection pattern
6638 tSCC zSolaris_Stdio_TagList[] =
6641 * Machine/OS name selection pattern
6643 #define apzSolaris_Stdio_TagMachs (const char**)NULL
6646 * content selection pattern - do fix if pattern found
6648 tSCC zSolaris_Stdio_TagSelect0[] =
6649 "__cplusplus < 54321L";
6652 * content bypass pattern - skip fix if pattern found
6654 tSCC zSolaris_Stdio_TagBypass0[] =
6657 #define SOLARIS_STDIO_TAG_TEST_CT 2
6658 static tTestDesc aSolaris_Stdio_TagTests[] = {
6659 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6660 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6663 * Fix Command Arguments for Solaris_Stdio_Tag
6665 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
6666 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6669 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6671 * Description of Statsswtch fix
6673 tSCC zStatsswtchName[] =
6677 * File name selection pattern
6679 tSCC zStatsswtchList[] =
6682 * Machine/OS name selection pattern
6684 #define apzStatsswtchMachs (const char**)NULL
6687 * content selection pattern - do fix if pattern found
6689 tSCC zStatsswtchSelect0[] =
6692 #define STATSSWTCH_TEST_CT 1
6693 static tTestDesc aStatsswtchTests[] = {
6694 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6697 * Fix Command Arguments for Statsswtch
6699 static const char* apzStatsswtchPatch[] = {
6704 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6706 * Description of Stdio_Stdarg_H fix
6708 tSCC zStdio_Stdarg_HName[] =
6712 * File name selection pattern
6714 tSCC zStdio_Stdarg_HList[] =
6717 * Machine/OS name selection pattern
6719 tSCC* apzStdio_Stdarg_HMachs[] = {
6720 "*-*-solaris2.1[0-9]*",
6721 (const char*)NULL };
6724 * content bypass pattern - skip fix if pattern found
6726 tSCC zStdio_Stdarg_HBypass0[] =
6727 "include.*(stdarg.h|machine/ansi.h)";
6729 #define STDIO_STDARG_H_TEST_CT 1
6730 static tTestDesc aStdio_Stdarg_HTests[] = {
6731 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6734 * Fix Command Arguments for Stdio_Stdarg_H
6736 static const char* apzStdio_Stdarg_HPatch[] = {
6738 "#define __need___va_list\n\
6739 #include <stdarg.h>\n",
6742 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6744 * Description of Stdio_Va_List fix
6746 tSCC zStdio_Va_ListName[] =
6750 * File name selection pattern
6752 tSCC zStdio_Va_ListList[] =
6753 "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0";
6755 * Machine/OS name selection pattern
6757 tSCC* apzStdio_Va_ListMachs[] = {
6758 "*-*-solaris2.1[0-9]*",
6759 (const char*)NULL };
6762 * content bypass pattern - skip fix if pattern found
6764 tSCC zStdio_Va_ListBypass0[] =
6765 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6767 #define STDIO_VA_LIST_TEST_CT 1
6768 static tTestDesc aStdio_Va_ListTests[] = {
6769 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
6772 * Fix Command Arguments for Stdio_Va_List
6774 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
6775 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6776 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6777 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6778 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6779 s@ va_list@ __not_va_list__@\n\
6780 s@\\*va_list@*__not_va_list__@\n\
6781 s@ __va_list)@ __gnuc_va_list)@\n\
6782 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6783 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6784 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6785 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6786 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6787 s@VA_LIST@DUMMY_VA_LIST@\n\
6788 s@_Va_LIST@_VA_LIST@",
6791 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6793 * Description of Stdio_Va_List_Clients fix
6795 tSCC zStdio_Va_List_ClientsName[] =
6796 "stdio_va_list_clients";
6799 * File name selection pattern
6801 tSCC zStdio_Va_List_ClientsList[] =
6802 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
6804 * Machine/OS name selection pattern
6806 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
6809 * content bypass pattern - skip fix if pattern found
6811 tSCC zStdio_Va_List_ClientsBypass0[] =
6812 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6813 tSCC zStdio_Va_List_ClientsBypass1[] =
6814 "include <stdarg\\.h>|#ifdef va_start";
6816 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
6817 static tTestDesc aStdio_Va_List_ClientsTests[] = {
6818 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
6819 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
6822 * Fix Command Arguments for Stdio_Va_List_Clients
6824 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
6825 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6826 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6827 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6828 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6829 s@ va_list@ __not_va_list__@\n\
6830 s@\\*va_list@*__not_va_list__@\n\
6831 s@ __va_list)@ __gnuc_va_list)@\n\
6832 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6833 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6834 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6835 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6836 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6837 s@VA_LIST@DUMMY_VA_LIST@\n\
6838 s@_Va_LIST@_VA_LIST@",
6841 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6843 * Description of Strict_Ansi_Not fix
6845 tSCC zStrict_Ansi_NotName[] =
6849 * File name selection pattern
6851 #define zStrict_Ansi_NotList (char*)NULL
6853 * Machine/OS name selection pattern
6855 #define apzStrict_Ansi_NotMachs (const char**)NULL
6858 * content selection pattern - do fix if pattern found
6860 tSCC zStrict_Ansi_NotSelect0[] =
6861 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
6864 * content bypass pattern - skip fix if pattern found
6866 tSCC zStrict_Ansi_NotBypass0[] =
6867 "GNU and MIPS C compilers define __STDC__ differently";
6868 tSCC zStrict_Ansi_NotBypass1[] =
6869 "__SCO_VERSION__.*__STDC__ != 1";
6872 * perform the C function call test
6874 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
6876 #define STRICT_ANSI_NOT_TEST_CT 4
6877 static tTestDesc aStrict_Ansi_NotTests[] = {
6878 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
6879 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
6880 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
6881 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
6884 * Fix Command Arguments for Strict_Ansi_Not
6886 static const char* apzStrict_Ansi_NotPatch[] = {
6888 "%1 !defined(__STRICT_ANSI__)",
6891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6893 * Description of Strict_Ansi_Not_Ctd fix
6895 tSCC zStrict_Ansi_Not_CtdName[] =
6896 "strict_ansi_not_ctd";
6899 * File name selection pattern
6901 tSCC zStrict_Ansi_Not_CtdList[] =
6902 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
6904 * Machine/OS name selection pattern
6906 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
6909 * content selection pattern - do fix if pattern found
6911 tSCC zStrict_Ansi_Not_CtdSelect0[] =
6912 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
6915 * perform the C function call test
6917 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
6919 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
6920 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
6921 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
6922 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
6925 * Fix Command Arguments for Strict_Ansi_Not_Ctd
6927 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
6929 "%1 !defined(__STRICT_ANSI__)",
6932 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6934 * Description of Strict_Ansi_Only fix
6936 tSCC zStrict_Ansi_OnlyName[] =
6940 * File name selection pattern
6942 #define zStrict_Ansi_OnlyList (char*)NULL
6944 * Machine/OS name selection pattern
6946 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
6949 * content selection pattern - do fix if pattern found
6951 tSCC zStrict_Ansi_OnlySelect0[] =
6952 "^([ \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)";
6955 * perform the C function call test
6957 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
6959 #define STRICT_ANSI_ONLY_TEST_CT 2
6960 static tTestDesc aStrict_Ansi_OnlyTests[] = {
6961 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
6962 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
6965 * Fix Command Arguments for Strict_Ansi_Only
6967 static const char* apzStrict_Ansi_OnlyPatch[] = {
6969 "%1 defined(__STRICT_ANSI__)",
6972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6974 * Description of Struct_File fix
6976 tSCC zStruct_FileName[] =
6980 * File name selection pattern
6982 tSCC zStruct_FileList[] =
6985 * Machine/OS name selection pattern
6987 #define apzStruct_FileMachs (const char**)NULL
6990 * content selection pattern - do fix if pattern found
6992 tSCC zStruct_FileSelect0[] =
6993 "^.*xdrstdio_create.*struct __file_s";
6995 #define STRUCT_FILE_TEST_CT 1
6996 static tTestDesc aStruct_FileTests[] = {
6997 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
7000 * Fix Command Arguments for Struct_File
7002 static const char* apzStruct_FilePatch[] = {
7004 "struct __file_s;\n\
7008 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7010 * Description of Struct_Sockaddr fix
7012 tSCC zStruct_SockaddrName[] =
7016 * File name selection pattern
7018 tSCC zStruct_SockaddrList[] =
7021 * Machine/OS name selection pattern
7023 #define apzStruct_SockaddrMachs (const char**)NULL
7026 * content selection pattern - do fix if pattern found
7028 tSCC zStruct_SockaddrSelect0[] =
7029 "^.*authdes_create.*struct sockaddr[^_]";
7032 * content bypass pattern - skip fix if pattern found
7034 tSCC zStruct_SockaddrBypass0[] =
7036 tSCC zStruct_SockaddrBypass1[] =
7037 "struct sockaddr;\n";
7039 #define STRUCT_SOCKADDR_TEST_CT 3
7040 static tTestDesc aStruct_SockaddrTests[] = {
7041 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
7042 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
7043 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7046 * Fix Command Arguments for Struct_Sockaddr
7048 static const char* apzStruct_SockaddrPatch[] = {
7050 "struct sockaddr;\n\
7054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7056 * Description of Sun_Auth_Proto fix
7058 tSCC zSun_Auth_ProtoName[] =
7062 * File name selection pattern
7064 tSCC zSun_Auth_ProtoList[] =
7065 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7067 * Machine/OS name selection pattern
7069 #define apzSun_Auth_ProtoMachs (const char**)NULL
7072 * content selection pattern - do fix if pattern found
7074 tSCC zSun_Auth_ProtoSelect0[] =
7075 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7078 * content bypass pattern - skip fix if pattern found
7080 tSCC zSun_Auth_ProtoBypass0[] =
7083 #define SUN_AUTH_PROTO_TEST_CT 2
7084 static tTestDesc aSun_Auth_ProtoTests[] = {
7085 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
7086 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
7089 * Fix Command Arguments for Sun_Auth_Proto
7091 static const char* apzSun_Auth_ProtoPatch[] = {
7093 "#ifdef __cplusplus\n\
7098 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
7101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7103 * Description of Sun_Bogus_Ifdef fix
7105 tSCC zSun_Bogus_IfdefName[] =
7109 * File name selection pattern
7111 tSCC zSun_Bogus_IfdefList[] =
7112 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
7114 * Machine/OS name selection pattern
7116 #define apzSun_Bogus_IfdefMachs (const char**)NULL
7119 * content selection pattern - do fix if pattern found
7121 tSCC zSun_Bogus_IfdefSelect0[] =
7122 "#ifdef(.*\\|\\|.*)";
7124 #define SUN_BOGUS_IFDEF_TEST_CT 1
7125 static tTestDesc aSun_Bogus_IfdefTests[] = {
7126 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
7129 * Fix Command Arguments for Sun_Bogus_Ifdef
7131 static const char* apzSun_Bogus_IfdefPatch[] = {
7136 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7138 * Description of Sun_Catmacro fix
7140 tSCC zSun_CatmacroName[] =
7144 * File name selection pattern
7146 tSCC zSun_CatmacroList[] =
7147 "pixrect/memvar.h\0";
7149 * Machine/OS name selection pattern
7151 #define apzSun_CatmacroMachs (const char**)NULL
7154 * content selection pattern - do fix if pattern found
7156 tSCC zSun_CatmacroSelect0[] =
7157 "^#define[ \t]+CAT\\(a,b\\).*";
7159 #define SUN_CATMACRO_TEST_CT 1
7160 static tTestDesc aSun_CatmacroTests[] = {
7161 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
7164 * Fix Command Arguments for Sun_Catmacro
7166 static const char* apzSun_CatmacroPatch[] = {
7169 # define CAT(a,b) a##b\n\
7175 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7177 * Description of Sun_Malloc fix
7179 tSCC zSun_MallocName[] =
7183 * File name selection pattern
7185 tSCC zSun_MallocList[] =
7188 * Machine/OS name selection pattern
7190 #define apzSun_MallocMachs (const char**)NULL
7193 * content bypass pattern - skip fix if pattern found
7195 tSCC zSun_MallocBypass0[] =
7196 "_CLASSIC_ANSI_TYPES";
7198 #define SUN_MALLOC_TEST_CT 1
7199 static tTestDesc aSun_MallocTests[] = {
7200 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
7203 * Fix Command Arguments for Sun_Malloc
7205 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
7206 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
7207 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
7208 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
7209 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
7210 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
7213 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7215 * Description of Sun_Rusers_Semi fix
7217 tSCC zSun_Rusers_SemiName[] =
7221 * File name selection pattern
7223 tSCC zSun_Rusers_SemiList[] =
7224 "rpcsvc/rusers.h\0";
7226 * Machine/OS name selection pattern
7228 #define apzSun_Rusers_SemiMachs (const char**)NULL
7231 * content selection pattern - do fix if pattern found
7233 tSCC zSun_Rusers_SemiSelect0[] =
7236 #define SUN_RUSERS_SEMI_TEST_CT 1
7237 static tTestDesc aSun_Rusers_SemiTests[] = {
7238 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
7241 * Fix Command Arguments for Sun_Rusers_Semi
7243 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
7244 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
7247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7249 * Description of Sun_Signal fix
7251 tSCC zSun_SignalName[] =
7255 * File name selection pattern
7257 tSCC zSun_SignalList[] =
7258 "sys/signal.h\0signal.h\0";
7260 * Machine/OS name selection pattern
7262 #define apzSun_SignalMachs (const char**)NULL
7265 * content selection pattern - do fix if pattern found
7267 tSCC zSun_SignalSelect0[] =
7268 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
7270 #define SUN_SIGNAL_TEST_CT 1
7271 static tTestDesc aSun_SignalTests[] = {
7272 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
7275 * Fix Command Arguments for Sun_Signal
7277 static const char* apzSun_SignalPatch[] = {
7279 "#ifdef __cplusplus\n\
7280 void\t(*signal(...))(...);\n\
7286 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7288 * Description of Sunos_Strlen fix
7290 tSCC zSunos_StrlenName[] =
7294 * File name selection pattern
7296 tSCC zSunos_StrlenList[] =
7299 * Machine/OS name selection pattern
7301 #define apzSunos_StrlenMachs (const char**)NULL
7304 * content selection pattern - do fix if pattern found
7306 tSCC zSunos_StrlenSelect0[] =
7307 "int[ \t]*strlen\\(\\);(.*)";
7309 #define SUNOS_STRLEN_TEST_CT 1
7310 static tTestDesc aSunos_StrlenTests[] = {
7311 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
7314 * Fix Command Arguments for Sunos_Strlen
7316 static const char* apzSunos_StrlenPatch[] = {
7318 "__SIZE_TYPE__ strlen();%1",
7321 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7323 * Description of Svr4_Disable_Opt fix
7325 tSCC zSvr4_Disable_OptName[] =
7329 * File name selection pattern
7331 tSCC zSvr4_Disable_OptList[] =
7334 * Machine/OS name selection pattern
7336 #define apzSvr4_Disable_OptMachs (const char**)NULL
7339 * content selection pattern - do fix if pattern found
7341 tSCC zSvr4_Disable_OptSelect0[] =
7342 "#define.*__std_hdr_";
7344 #define SVR4_DISABLE_OPT_TEST_CT 1
7345 static tTestDesc aSvr4_Disable_OptTests[] = {
7346 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
7349 * Fix Command Arguments for Svr4_Disable_Opt
7351 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
7352 "-e", "/#define.*__std_hdr_/d",
7355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7357 * Description of Svr4_Getcwd fix
7359 tSCC zSvr4_GetcwdName[] =
7363 * File name selection pattern
7365 tSCC zSvr4_GetcwdList[] =
7366 "stdlib.h\0unistd.h\0prototypes.h\0";
7368 * Machine/OS name selection pattern
7370 #define apzSvr4_GetcwdMachs (const char**)NULL
7373 * content selection pattern - do fix if pattern found
7375 tSCC zSvr4_GetcwdSelect0[] =
7376 "getcwd\\(char \\*, int\\)";
7378 #define SVR4_GETCWD_TEST_CT 1
7379 static tTestDesc aSvr4_GetcwdTests[] = {
7380 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
7383 * Fix Command Arguments for Svr4_Getcwd
7385 static const char* apzSvr4_GetcwdPatch[] = {
7387 "getcwd(char *, size_t)",
7390 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7392 * Description of Svr4_Profil fix
7394 tSCC zSvr4_ProfilName[] =
7398 * File name selection pattern
7400 tSCC zSvr4_ProfilList[] =
7401 "stdlib.h\0unistd.h\0";
7403 * Machine/OS name selection pattern
7405 #define apzSvr4_ProfilMachs (const char**)NULL
7408 * content selection pattern - do fix if pattern found
7410 tSCC zSvr4_ProfilSelect0[] =
7411 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7414 * content bypass pattern - skip fix if pattern found
7416 tSCC zSvr4_ProfilBypass0[] =
7419 #define SVR4_PROFIL_TEST_CT 2
7420 static tTestDesc aSvr4_ProfilTests[] = {
7421 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
7422 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7425 * Fix Command Arguments for Svr4_Profil
7427 static const char* apzSvr4_ProfilPatch[] = {
7429 "profil(unsigned short *, size_t, int, unsigned int)",
7432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7434 * Description of Svr4_Sighandler_Type fix
7436 tSCC zSvr4_Sighandler_TypeName[] =
7437 "svr4_sighandler_type";
7440 * File name selection pattern
7442 tSCC zSvr4_Sighandler_TypeList[] =
7445 * Machine/OS name selection pattern
7447 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7450 * content selection pattern - do fix if pattern found
7452 tSCC zSvr4_Sighandler_TypeSelect0[] =
7453 "void *\\(\\*\\)\\(\\)";
7455 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
7456 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
7457 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
7460 * Fix Command Arguments for Svr4_Sighandler_Type
7462 static const char* apzSvr4_Sighandler_TypePatch[] = {
7467 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7469 * Description of Svr4_Undeclared_Getrnge fix
7471 tSCC zSvr4_Undeclared_GetrngeName[] =
7472 "svr4_undeclared_getrnge";
7475 * File name selection pattern
7477 tSCC zSvr4_Undeclared_GetrngeList[] =
7480 * Machine/OS name selection pattern
7482 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
7485 * content selection pattern - do fix if pattern found
7487 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
7491 * content bypass pattern - skip fix if pattern found
7493 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
7494 "static void getrnge";
7496 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
7497 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
7498 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
7499 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
7502 * Fix Command Arguments for Svr4_Undeclared_Getrnge
7504 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
7507 static int getrnge ();",
7508 "^static int[ \t]+size;",
7511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7513 * Description of Sysv68_String fix
7515 tSCC zSysv68_StringName[] =
7519 * File name selection pattern
7521 tSCC zSysv68_StringList[] =
7522 "testing.h\0string.h\0";
7524 * Machine/OS name selection pattern
7526 #define apzSysv68_StringMachs (const char**)NULL
7529 * content bypass pattern - skip fix if pattern found
7531 tSCC zSysv68_StringBypass0[] =
7532 "_CLASSIC_ANSI_TYPES";
7534 #define SYSV68_STRING_TEST_CT 1
7535 static tTestDesc aSysv68_StringTests[] = {
7536 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7539 * Fix Command Arguments for Sysv68_String
7541 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
7542 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7543 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7544 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7545 "-e", "/^extern char$/N",
7546 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7547 "-e", "/^extern int$/N",
7548 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7549 "-e", "/^\tstrncmp(),$/N",
7550 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7551 extern unsigned int\\\n\
7555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7557 * Description of Sysz_Stdlib_For_Sun fix
7559 tSCC zSysz_Stdlib_For_SunName[] =
7560 "sysz_stdlib_for_sun";
7563 * File name selection pattern
7565 tSCC zSysz_Stdlib_For_SunList[] =
7568 * Machine/OS name selection pattern
7570 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7573 * content selection pattern - do fix if pattern found
7575 tSCC zSysz_Stdlib_For_SunSelect0[] =
7576 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7579 * content bypass pattern - skip fix if pattern found
7581 tSCC zSysz_Stdlib_For_SunBypass0[] =
7582 "_CLASSIC_ANSI_TYPES";
7584 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7585 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7586 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7587 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7590 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7592 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7599 * Description of Thread_Keyword fix
7601 tSCC zThread_KeywordName[] =
7605 * File name selection pattern
7607 tSCC zThread_KeywordList[] =
7608 "pthread.h\0bits/sigthread.h\0";
7610 * Machine/OS name selection pattern
7612 #define apzThread_KeywordMachs (const char**)NULL
7615 * content selection pattern - do fix if pattern found
7617 tSCC zThread_KeywordSelect0[] =
7618 "([* ])__thread([,)])";
7620 #define THREAD_KEYWORD_TEST_CT 1
7621 static tTestDesc aThread_KeywordTests[] = {
7622 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7625 * Fix Command Arguments for Thread_Keyword
7627 static const char* apzThread_KeywordPatch[] = {
7632 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7634 * Description of Tinfo_Cplusplus fix
7636 tSCC zTinfo_CplusplusName[] =
7640 * File name selection pattern
7642 tSCC zTinfo_CplusplusList[] =
7645 * Machine/OS name selection pattern
7647 #define apzTinfo_CplusplusMachs (const char**)NULL
7650 * content selection pattern - do fix if pattern found
7652 tSCC zTinfo_CplusplusSelect0[] =
7655 #define TINFO_CPLUSPLUS_TEST_CT 1
7656 static tTestDesc aTinfo_CplusplusTests[] = {
7657 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7660 * Fix Command Arguments for Tinfo_Cplusplus
7662 static const char* apzTinfo_CplusplusPatch[] = {
7667 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7669 * Description of Ultrix_Const fix
7671 tSCC zUltrix_ConstName[] =
7675 * File name selection pattern
7677 tSCC zUltrix_ConstList[] =
7680 * Machine/OS name selection pattern
7682 #define apzUltrix_ConstMachs (const char**)NULL
7685 * content selection pattern - do fix if pattern found
7687 tSCC zUltrix_ConstSelect0[] =
7688 "perror\\( char \\*";
7690 #define ULTRIX_CONST_TEST_CT 1
7691 static tTestDesc aUltrix_ConstTests[] = {
7692 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7695 * Fix Command Arguments for Ultrix_Const
7697 static const char* apzUltrix_ConstPatch[] = {
7700 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7705 * Description of Ultrix_Const2 fix
7707 tSCC zUltrix_Const2Name[] =
7711 * File name selection pattern
7713 tSCC zUltrix_Const2List[] =
7716 * Machine/OS name selection pattern
7718 #define apzUltrix_Const2Machs (const char**)NULL
7721 * content selection pattern - do fix if pattern found
7723 tSCC zUltrix_Const2Select0[] =
7724 "\\*fopen\\( char \\*";
7726 #define ULTRIX_CONST2_TEST_CT 1
7727 static tTestDesc aUltrix_Const2Tests[] = {
7728 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7731 * Fix Command Arguments for Ultrix_Const2
7733 static const char* apzUltrix_Const2Patch[] = {
7735 "%1( const char *%3, const char *",
7736 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7739 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7741 * Description of Va_I960_Macro fix
7743 tSCC zVa_I960_MacroName[] =
7747 * File name selection pattern
7749 tSCC zVa_I960_MacroList[] =
7750 "arch/i960/archI960.h\0";
7752 * Machine/OS name selection pattern
7754 #define apzVa_I960_MacroMachs (const char**)NULL
7757 * content selection pattern - do fix if pattern found
7759 tSCC zVa_I960_MacroSelect0[] =
7760 "__(vsiz|vali|vpad|alignof__)";
7762 #define VA_I960_MACRO_TEST_CT 1
7763 static tTestDesc aVa_I960_MacroTests[] = {
7764 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
7767 * Fix Command Arguments for Va_I960_Macro
7769 static const char* apzVa_I960_MacroPatch[] = {
7774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7776 * Description of Void_Null fix
7778 tSCC zVoid_NullName[] =
7782 * File name selection pattern
7784 tSCC zVoid_NullList[] =
7785 "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";
7787 * Machine/OS name selection pattern
7789 #define apzVoid_NullMachs (const char**)NULL
7792 * content selection pattern - do fix if pattern found
7794 tSCC zVoid_NullSelect0[] =
7795 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
7798 * content bypass pattern - skip fix if pattern found
7800 tSCC zVoid_NullBypass0[] =
7803 #define VOID_NULL_TEST_CT 2
7804 static tTestDesc aVoid_NullTests[] = {
7805 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
7806 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
7809 * Fix Command Arguments for Void_Null
7811 static const char* apzVoid_NullPatch[] = {
7816 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7818 * Description of Vxworks_Gcc_Problem fix
7820 tSCC zVxworks_Gcc_ProblemName[] =
7821 "vxworks_gcc_problem";
7824 * File name selection pattern
7826 tSCC zVxworks_Gcc_ProblemList[] =
7827 "types/vxTypesBase.h\0";
7829 * Machine/OS name selection pattern
7831 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
7834 * content selection pattern - do fix if pattern found
7836 tSCC zVxworks_Gcc_ProblemSelect0[] =
7837 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
7839 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
7840 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
7841 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
7844 * Fix Command Arguments for Vxworks_Gcc_Problem
7846 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
7847 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
7848 "-e", "/[ \t]size_t/i\\\n\
7849 #ifndef _GCC_SIZE_T\\\n\
7850 #define _GCC_SIZE_T\n",
7851 "-e", "/[ \t]size_t/a\\\n\
7853 "-e", "/[ \t]ptrdiff_t/i\\\n\
7854 #ifndef _GCC_PTRDIFF_T\\\n\
7855 #define _GCC_PTRDIFF_T\n",
7856 "-e", "/[ \t]ptrdiff_t/a\\\n\
7858 "-e", "/[ \t]wchar_t/i\\\n\
7859 #ifndef _GCC_WCHAR_T\\\n\
7860 #define _GCC_WCHAR_T\n",
7861 "-e", "/[ \t]wchar_t/a\\\n\
7865 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7867 * Description of Vxworks_Needs_Vxtypes fix
7869 tSCC zVxworks_Needs_VxtypesName[] =
7870 "vxworks_needs_vxtypes";
7873 * File name selection pattern
7875 tSCC zVxworks_Needs_VxtypesList[] =
7878 * Machine/OS name selection pattern
7880 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
7883 * content selection pattern - do fix if pattern found
7885 tSCC zVxworks_Needs_VxtypesSelect0[] =
7886 "uint_t([ \t]+_clocks_per_sec)";
7888 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
7889 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
7890 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
7893 * Fix Command Arguments for Vxworks_Needs_Vxtypes
7895 static const char* apzVxworks_Needs_VxtypesPatch[] = {
7900 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7902 * Description of Vxworks_Needs_Vxworks fix
7904 tSCC zVxworks_Needs_VxworksName[] =
7905 "vxworks_needs_vxworks";
7908 * File name selection pattern
7910 tSCC zVxworks_Needs_VxworksList[] =
7913 * Machine/OS name selection pattern
7915 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
7918 * content selection pattern - do fix if pattern found
7920 tSCC zVxworks_Needs_VxworksSelect0[] =
7921 "#[ \t]define[ \t]+__INCstath";
7924 * perform the 'test' shell command - do fix on success
7926 tSCC zVxworks_Needs_VxworksTest0[] =
7927 " -r types/vxTypesOld.h";
7928 tSCC zVxworks_Needs_VxworksTest1[] =
7929 " -n \"`egrep '#include' $file`\"";
7930 tSCC zVxworks_Needs_VxworksTest2[] =
7931 " -n \"`egrep ULONG $file`\"";
7933 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
7934 static tTestDesc aVxworks_Needs_VxworksTests[] = {
7935 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
7936 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
7937 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
7938 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
7941 * Fix Command Arguments for Vxworks_Needs_Vxworks
7943 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
7944 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
7945 #include <types/vxTypesOld.h>\n",
7948 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7950 * Description of Vxworks_Time fix
7952 tSCC zVxworks_TimeName[] =
7956 * File name selection pattern
7958 tSCC zVxworks_TimeList[] =
7961 * Machine/OS name selection pattern
7963 #define apzVxworks_TimeMachs (const char**)NULL
7966 * content selection pattern - do fix if pattern found
7968 tSCC zVxworks_TimeSelect0[] =
7969 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
7972 * perform the 'test' shell command - do fix on success
7974 tSCC zVxworks_TimeTest0[] =
7977 #define VXWORKS_TIME_TEST_CT 2
7978 static tTestDesc aVxworks_TimeTests[] = {
7979 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
7980 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
7983 * Fix Command Arguments for Vxworks_Time
7985 static const char* apzVxworks_TimePatch[] = {
7987 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
7988 #ifdef __cplusplus\n\
7989 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
7991 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
7993 #define __gcc_VOIDFUNCPTR_defined\n\
7995 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
7998 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8000 * Description of X11_Class fix
8002 tSCC zX11_ClassName[] =
8006 * File name selection pattern
8008 tSCC zX11_ClassList[] =
8011 * Machine/OS name selection pattern
8013 #define apzX11_ClassMachs (const char**)NULL
8016 * content selection pattern - do fix if pattern found
8018 tSCC zX11_ClassSelect0[] =
8019 "^([ \t]*char \\*)class;(.*)";
8022 * content bypass pattern - skip fix if pattern found
8024 tSCC zX11_ClassBypass0[] =
8027 #define X11_CLASS_TEST_CT 2
8028 static tTestDesc aX11_ClassTests[] = {
8029 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8030 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8033 * Fix Command Arguments for X11_Class
8035 static const char* apzX11_ClassPatch[] = {
8037 "#ifdef __cplusplus\n\
8044 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8046 * Description of X11_Class_Usage fix
8048 tSCC zX11_Class_UsageName[] =
8052 * File name selection pattern
8054 tSCC zX11_Class_UsageList[] =
8055 "Xm/BaseClassI.h\0";
8057 * Machine/OS name selection pattern
8059 #define apzX11_Class_UsageMachs (const char**)NULL
8062 * content selection pattern - do fix if pattern found
8064 tSCC zX11_Class_UsageSelect0[] =
8068 * content bypass pattern - skip fix if pattern found
8070 tSCC zX11_Class_UsageBypass0[] =
8073 #define X11_CLASS_USAGE_TEST_CT 2
8074 static tTestDesc aX11_Class_UsageTests[] = {
8075 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8076 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8079 * Fix Command Arguments for X11_Class_Usage
8081 static const char* apzX11_Class_UsagePatch[] = {
8086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8088 * Description of X11_New fix
8090 tSCC zX11_NewName[] =
8094 * File name selection pattern
8096 tSCC zX11_NewList[] =
8099 * Machine/OS name selection pattern
8101 #define apzX11_NewMachs (const char**)NULL
8104 * content bypass pattern - skip fix if pattern found
8106 tSCC zX11_NewBypass0[] =
8109 #define X11_NEW_TEST_CT 1
8110 static tTestDesc aX11_NewTests[] = {
8111 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8114 * Fix Command Arguments for X11_New
8116 static const char* apzX11_NewPatch[] = { sed_cmd_z,
8117 "-e", "/Widget\told, new;/i\\\n\
8118 #ifdef __cplusplus\\\n\
8119 \tWidget\told, c_new;\\\n\
8121 "-e", "/Widget\told, new;/a\\\n\
8123 "-e", "s/Widget new,/Widget c_new,/g",
8126 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8128 * Description of X11_Sprintf fix
8130 tSCC zX11_SprintfName[] =
8134 * File name selection pattern
8136 tSCC zX11_SprintfList[] =
8137 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
8139 * Machine/OS name selection pattern
8141 #define apzX11_SprintfMachs (const char**)NULL
8144 * content selection pattern - do fix if pattern found
8146 tSCC zX11_SprintfSelect0[] =
8147 "^extern char \\*\tsprintf\\(\\);$";
8149 #define X11_SPRINTF_TEST_CT 1
8150 static tTestDesc aX11_SprintfTests[] = {
8151 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8154 * Fix Command Arguments for X11_Sprintf
8156 static const char* apzX11_SprintfPatch[] = {
8158 "#ifndef __STDC__\n\
8160 #endif /* !defined __STDC__ */",
8164 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8168 #define REGEX_COUNT 244
8169 #define MACH_LIST_SIZE_LIMIT 181
8170 #define FIX_COUNT 201
8173 * Enumerate the fixes
8176 AAB_AIX_STDIO_FIXIDX,
8177 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8178 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8179 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8180 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8181 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8182 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8183 AAB_SUN_MEMCPY_FIXIDX,
8186 AIX_SYSMACHINE_FIXIDX,
8187 AIX_SYSWAIT_2_FIXIDX,
8188 AIX_VOLATILE_FIXIDX,
8189 ALPHA___ASSERT_FIXIDX,
8190 ALPHA___EXTERN_PREFIX_FIXIDX,
8191 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
8192 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
8193 ALPHA_ASSERT_FIXIDX,
8194 ALPHA_BAD_LVAL_FIXIDX,
8195 ALPHA_GETOPT_FIXIDX,
8196 ALPHA_IF_SEMICOLON_FIXIDX,
8197 ALPHA_PARENS_FIXIDX,
8198 ALPHA_PTHREAD_FIXIDX,
8199 ALPHA_PTHREAD_GCC_FIXIDX,
8200 ALPHA_PTHREAD_INIT_FIXIDX,
8203 AVOID_BOOL_DEFINE_FIXIDX,
8204 AVOID_BOOL_TYPE_FIXIDX,
8205 AVOID_WCHAR_T_TYPE_FIXIDX,
8206 BAD_STRUCT_TERM_FIXIDX,
8208 BROKEN_ASSERT_STDIO_FIXIDX,
8209 BROKEN_ASSERT_STDLIB_FIXIDX,
8212 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8213 CTRL_QUOTES_DEF_FIXIDX,
8214 CTRL_QUOTES_USE_FIXIDX,
8216 DARWIN_EXTERNC_FIXIDX,
8217 DARWIN_GCC4_BREAKAGE_FIXIDX,
8218 DARWIN_PRIVATE_EXTERN_FIXIDX,
8219 DARWIN_STDINT_1_FIXIDX,
8220 DARWIN_STDINT_2_FIXIDX,
8221 DARWIN_STDINT_3_FIXIDX,
8222 DARWIN_STDINT_4_FIXIDX,
8223 DARWIN_STDINT_5_FIXIDX,
8224 DARWIN_STDINT_6_FIXIDX,
8225 DARWIN_STDINT_7_FIXIDX,
8226 DEC_INTERN_ASM_FIXIDX,
8227 DJGPP_WCHAR_H_FIXIDX,
8229 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8230 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8231 GLIBC_C99_INLINE_1_FIXIDX,
8232 GLIBC_C99_INLINE_1A_FIXIDX,
8233 GLIBC_C99_INLINE_2_FIXIDX,
8234 GLIBC_C99_INLINE_3_FIXIDX,
8235 GLIBC_C99_INLINE_4_FIXIDX,
8236 GLIBC_MUTEX_INIT_FIXIDX,
8237 GLIBC_STDINT_FIXIDX,
8238 GLIBC_TGMATH_FIXIDX,
8242 HPPA_HPUX_FP_MACROS_FIXIDX,
8243 HPUX10_CPP_POW_INLINE_FIXIDX,
8244 HPUX11_CPP_POW_INLINE_FIXIDX,
8245 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8246 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8247 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8249 HPUX11_FABSF_FIXIDX,
8250 HPUX11_PTHREAD_CONST_FIXIDX,
8251 HPUX11_SIZE_T_FIXIDX,
8252 HPUX11_SNPRINTF_FIXIDX,
8253 HPUX11_VSNPRINTF_FIXIDX,
8254 HPUX8_BOGUS_INLINES_FIXIDX,
8255 HPUX_CTYPE_MACROS_FIXIDX,
8257 HPUX_LONG_DOUBLE_FIXIDX,
8258 HPUX_LONG_DOUBLE_2_FIXIDX,
8259 HPUX_SYSTIME_FIXIDX,
8260 HPUX_SPU_INFO_FIXIDX,
8261 HPUX11_EXTERN_SENDFILE_FIXIDX,
8262 HPUX11_EXTERN_SENDPATH_FIXIDX,
8263 HPUX_EXTERN_ERRNO_FIXIDX,
8264 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8265 HPUX_C99_INTPTR_FIXIDX,
8266 HPUX_C99_INTTYPES_FIXIDX,
8267 HPUX_C99_INTTYPES2_FIXIDX,
8268 HPUX_STDINT_LEAST_FIXIDX,
8269 HPUX_STDINT_FAST_FIXIDX,
8270 HPUX_INTTYPE_INT_LEAST8_T_FIXIDX,
8271 HPUX_INTTYPE_INT8_T_FIXIDX,
8272 HPUX_IMAGINARY_I_FIXIDX,
8273 HUGE_VAL_HEX_FIXIDX,
8274 HUGE_VALF_HEX_FIXIDX,
8275 HUGE_VALL_HEX_FIXIDX,
8276 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8277 IO_QUOTES_DEF_FIXIDX,
8278 IO_QUOTES_USE_FIXIDX,
8279 IP_MISSING_SEMI_FIXIDX,
8280 IRIX___RESTRICT_FIXIDX,
8281 IRIX___GENERIC1_FIXIDX,
8282 IRIX___GENERIC2_FIXIDX,
8283 IRIX_ASM_APOSTROPHE_FIXIDX,
8284 IRIX_LIMITS_CONST_FIXIDX,
8285 IRIX_SOCKLEN_T_FIXIDX,
8286 IRIX_STDINT_C99_FIXIDX,
8287 IRIX_STDIO_VA_LIST_FIXIDX,
8288 IRIX_WCSFTIME_FIXIDX,
8290 ISC_OMITS_WITH_STDC_FIXIDX,
8291 KANDR_CONCAT_FIXIDX,
8292 LINUX_IA64_UCONTEXT_FIXIDX,
8293 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8294 LYNXOS_MISSING_PUTENV_FIXIDX,
8295 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8296 MACHINE_NAME_FIXIDX,
8297 MATH_EXCEPTION_FIXIDX,
8298 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8299 NESTED_AUTH_DES_FIXIDX,
8300 NESTED_SYS_LIMITS_FIXIDX,
8301 NETBSD_C99_INLINE_1_FIXIDX,
8302 NETBSD_C99_INLINE_2_FIXIDX,
8303 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8304 NEWLIB_STDINT_1_FIXIDX,
8305 NEWLIB_STDINT_2_FIXIDX,
8306 NEXT_MATH_PREFIX_FIXIDX,
8307 NEXT_TEMPLATE_FIXIDX,
8308 NEXT_VOLITILE_FIXIDX,
8309 NEXT_WAIT_UNION_FIXIDX,
8310 NODEENT_SYNTAX_FIXIDX,
8311 OPENBSD_NULL_DEFINITION_FIXIDX,
8312 OBSTACK_LVALUE_CAST_FIXIDX,
8313 OPENBSD_VA_START_FIXIDX,
8314 OSF_NAMESPACE_A_FIXIDX,
8315 OSF_NAMESPACE_C_FIXIDX,
8316 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8317 READ_RET_TYPE_FIXIDX,
8318 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8319 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8320 RS6000_DOUBLE_FIXIDX,
8321 RS6000_FCHMOD_FIXIDX,
8322 RS6000_PARAM_FIXIDX,
8324 SOLARIS_MATH_1_FIXIDX,
8325 SOLARIS_MATH_2_FIXIDX,
8326 SOLARIS_MATH_3_FIXIDX,
8327 SOLARIS_MATH_4_FIXIDX,
8328 SOLARIS_MATH_8_FIXIDX,
8329 SOLARIS_MATH_9_FIXIDX,
8330 SOLARIS_MATH_10_FIXIDX,
8331 SOLARIS_MUTEX_INIT_2_FIXIDX,
8332 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8333 SOLARIS_ONCE_INIT_1_FIXIDX,
8334 SOLARIS_ONCE_INIT_2_FIXIDX,
8335 SOLARIS_INT_CONST_FIXIDX,
8336 SOLARIS_INT_LIMITS_1_FIXIDX,
8337 SOLARIS_INT_LIMITS_2_FIXIDX,
8338 SOLARIS_INT_TYPES_FIXIDX,
8339 SOLARIS_STDIO_TAG_FIXIDX,
8341 STDIO_STDARG_H_FIXIDX,
8342 STDIO_VA_LIST_FIXIDX,
8343 STDIO_VA_LIST_CLIENTS_FIXIDX,
8344 STRICT_ANSI_NOT_FIXIDX,
8345 STRICT_ANSI_NOT_CTD_FIXIDX,
8346 STRICT_ANSI_ONLY_FIXIDX,
8348 STRUCT_SOCKADDR_FIXIDX,
8349 SUN_AUTH_PROTO_FIXIDX,
8350 SUN_BOGUS_IFDEF_FIXIDX,
8351 SUN_CATMACRO_FIXIDX,
8353 SUN_RUSERS_SEMI_FIXIDX,
8355 SUNOS_STRLEN_FIXIDX,
8356 SVR4_DISABLE_OPT_FIXIDX,
8359 SVR4_SIGHANDLER_TYPE_FIXIDX,
8360 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8361 SYSV68_STRING_FIXIDX,
8362 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8363 THREAD_KEYWORD_FIXIDX,
8364 TINFO_CPLUSPLUS_FIXIDX,
8365 ULTRIX_CONST_FIXIDX,
8366 ULTRIX_CONST2_FIXIDX,
8367 VA_I960_MACRO_FIXIDX,
8369 VXWORKS_GCC_PROBLEM_FIXIDX,
8370 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8371 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8372 VXWORKS_TIME_FIXIDX,
8374 X11_CLASS_USAGE_FIXIDX,
8379 tFixDesc fixDescList[ FIX_COUNT ] = {
8380 { zAab_Aix_StdioName, zAab_Aix_StdioList,
8381 apzAab_Aix_StdioMachs,
8382 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8383 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
8385 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8386 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8387 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8388 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8390 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8391 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8392 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8393 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8395 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8396 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8397 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8398 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8400 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8401 apzAab_Fd_Zero_Gnu_Types_HMachs,
8402 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8403 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8405 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8406 apzAab_Fd_Zero_Selectbits_HMachs,
8407 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8408 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8410 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8411 apzAab_Solaris_Sys_Varargs_HMachs,
8412 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8413 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8415 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8416 apzAab_Sun_MemcpyMachs,
8417 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8418 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8420 { zAix_ComplexName, zAix_ComplexList,
8421 apzAix_ComplexMachs,
8422 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY,
8423 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
8425 { zAix_PthreadName, zAix_PthreadList,
8426 apzAix_PthreadMachs,
8427 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8428 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8430 { zAix_SysmachineName, zAix_SysmachineList,
8431 apzAix_SysmachineMachs,
8432 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8433 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8435 { zAix_Syswait_2Name, zAix_Syswait_2List,
8436 apzAix_Syswait_2Machs,
8437 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8438 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8440 { zAix_VolatileName, zAix_VolatileList,
8441 apzAix_VolatileMachs,
8442 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8443 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8445 { zAlpha___AssertName, zAlpha___AssertList,
8446 apzAlpha___AssertMachs,
8447 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8448 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8450 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8451 apzAlpha___Extern_PrefixMachs,
8452 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8453 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8455 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8456 apzAlpha___Extern_Prefix_StandardsMachs,
8457 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8458 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8460 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8461 apzAlpha___Extern_Prefix_Sys_StatMachs,
8462 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8463 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8465 { zAlpha_AssertName, zAlpha_AssertList,
8466 apzAlpha_AssertMachs,
8467 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8468 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8470 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8471 apzAlpha_Bad_LvalMachs,
8472 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8473 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8475 { zAlpha_GetoptName, zAlpha_GetoptList,
8476 apzAlpha_GetoptMachs,
8477 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8478 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8480 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
8481 apzAlpha_If_SemicolonMachs,
8482 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8483 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
8485 { zAlpha_ParensName, zAlpha_ParensList,
8486 apzAlpha_ParensMachs,
8487 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8488 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8490 { zAlpha_PthreadName, zAlpha_PthreadList,
8491 apzAlpha_PthreadMachs,
8492 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8493 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8495 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8496 apzAlpha_Pthread_GccMachs,
8497 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8498 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8500 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8501 apzAlpha_Pthread_InitMachs,
8502 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8503 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8505 { zAlpha_SbrkName, zAlpha_SbrkList,
8507 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8508 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8510 { zAlpha_WcharName, zAlpha_WcharList,
8511 apzAlpha_WcharMachs,
8512 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8513 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8515 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8516 apzAvoid_Bool_DefineMachs,
8517 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8518 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8520 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8521 apzAvoid_Bool_TypeMachs,
8522 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8523 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
8525 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
8526 apzAvoid_Wchar_T_TypeMachs,
8527 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8528 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
8530 { zBad_Struct_TermName, zBad_Struct_TermList,
8531 apzBad_Struct_TermMachs,
8532 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8533 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
8535 { zBadquoteName, zBadquoteList,
8537 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8538 aBadquoteTests, apzBadquotePatch, 0 },
8540 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
8541 apzBroken_Assert_StdioMachs,
8542 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8543 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
8545 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
8546 apzBroken_Assert_StdlibMachs,
8547 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8548 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
8550 { zBroken_CabsName, zBroken_CabsList,
8551 apzBroken_CabsMachs,
8552 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
8553 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
8555 { zBroken_NanName, zBroken_NanList,
8557 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8558 aBroken_NanTests, apzBroken_NanPatch, 0 },
8560 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
8561 apzBsd_Stdio_Attrs_ConflictMachs,
8562 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8563 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
8565 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
8566 apzCtrl_Quotes_DefMachs,
8567 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8568 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
8570 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
8571 apzCtrl_Quotes_UseMachs,
8572 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8573 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
8575 { zCxx_UnreadyName, zCxx_UnreadyList,
8576 apzCxx_UnreadyMachs,
8577 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8578 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
8580 { zDarwin_ExterncName, zDarwin_ExterncList,
8581 apzDarwin_ExterncMachs,
8582 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8583 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
8585 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
8586 apzDarwin_Gcc4_BreakageMachs,
8587 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8588 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
8590 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
8591 apzDarwin_Private_ExternMachs,
8592 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8593 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
8595 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
8596 apzDarwin_Stdint_1Machs,
8597 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8598 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
8600 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
8601 apzDarwin_Stdint_2Machs,
8602 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8603 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
8605 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
8606 apzDarwin_Stdint_3Machs,
8607 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8608 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
8610 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
8611 apzDarwin_Stdint_4Machs,
8612 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8613 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
8615 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
8616 apzDarwin_Stdint_5Machs,
8617 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8618 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
8620 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
8621 apzDarwin_Stdint_6Machs,
8622 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8623 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
8625 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
8626 apzDarwin_Stdint_7Machs,
8627 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8628 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
8630 { zDec_Intern_AsmName, zDec_Intern_AsmList,
8631 apzDec_Intern_AsmMachs,
8632 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
8633 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
8635 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
8636 apzDjgpp_Wchar_HMachs,
8637 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8638 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
8640 { zEcd_CursorName, zEcd_CursorList,
8642 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8643 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
8645 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
8646 apzFreebsd_Gcc3_BreakageMachs,
8647 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8648 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
8650 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
8651 apzFreebsd_Gcc4_BreakageMachs,
8652 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8653 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
8655 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
8656 apzGlibc_C99_Inline_1Machs,
8657 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8658 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
8660 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
8661 apzGlibc_C99_Inline_1aMachs,
8662 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8663 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
8665 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
8666 apzGlibc_C99_Inline_2Machs,
8667 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
8668 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
8670 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
8671 apzGlibc_C99_Inline_3Machs,
8672 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8673 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
8675 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
8676 apzGlibc_C99_Inline_4Machs,
8677 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8678 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
8680 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
8681 apzGlibc_Mutex_InitMachs,
8682 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
8683 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
8685 { zGlibc_StdintName, zGlibc_StdintList,
8686 apzGlibc_StdintMachs,
8687 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8688 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
8690 { zGlibc_TgmathName, zGlibc_TgmathList,
8691 apzGlibc_TgmathMachs,
8692 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8693 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
8695 { zGnu_TypesName, zGnu_TypesList,
8697 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8698 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
8700 { zHp_InlineName, zHp_InlineList,
8702 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8703 aHp_InlineTests, apzHp_InlinePatch, 0 },
8705 { zHp_SysfileName, zHp_SysfileList,
8707 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8708 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
8710 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
8711 apzHppa_Hpux_Fp_MacrosMachs,
8712 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8713 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
8715 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
8716 apzHpux10_Cpp_Pow_InlineMachs,
8717 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8718 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
8720 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
8721 apzHpux11_Cpp_Pow_InlineMachs,
8722 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8723 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
8725 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
8726 apzHpux10_Ctype_Declarations1Machs,
8727 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8728 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
8730 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
8731 apzHpux10_Ctype_Declarations2Machs,
8732 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8733 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
8735 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
8736 apzHpux10_Stdio_DeclarationsMachs,
8737 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8738 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
8740 { zHpux11_AbsName, zHpux11_AbsList,
8742 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8743 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
8745 { zHpux11_FabsfName, zHpux11_FabsfList,
8746 apzHpux11_FabsfMachs,
8747 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8748 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
8750 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
8751 apzHpux11_Pthread_ConstMachs,
8752 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8753 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
8755 { zHpux11_Size_TName, zHpux11_Size_TList,
8756 apzHpux11_Size_TMachs,
8757 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8758 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
8760 { zHpux11_SnprintfName, zHpux11_SnprintfList,
8761 apzHpux11_SnprintfMachs,
8762 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8763 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
8765 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
8766 apzHpux11_VsnprintfMachs,
8767 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8768 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
8770 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
8771 apzHpux8_Bogus_InlinesMachs,
8772 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
8773 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
8775 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
8776 apzHpux_Ctype_MacrosMachs,
8777 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8778 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
8780 { zHpux_HtonlName, zHpux_HtonlList,
8782 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8783 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
8785 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
8786 apzHpux_Long_DoubleMachs,
8787 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
8788 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
8790 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
8791 apzHpux_Long_Double_2Machs,
8792 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8793 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
8795 { zHpux_SystimeName, zHpux_SystimeList,
8796 apzHpux_SystimeMachs,
8797 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8798 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
8800 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
8801 apzHpux_Spu_InfoMachs,
8802 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8803 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
8805 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
8806 apzHpux11_Extern_SendfileMachs,
8807 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8808 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
8810 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
8811 apzHpux11_Extern_SendpathMachs,
8812 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8813 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
8815 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
8816 apzHpux_Extern_ErrnoMachs,
8817 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8818 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
8820 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
8821 apzHpux_Pthread_InitializersMachs,
8822 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
8823 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
8825 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
8826 apzHpux_C99_IntptrMachs,
8827 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
8828 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
8830 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
8831 apzHpux_C99_InttypesMachs,
8832 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
8833 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
8835 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
8836 apzHpux_C99_Inttypes2Machs,
8837 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
8838 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
8840 { zHpux_Stdint_LeastName, zHpux_Stdint_LeastList,
8841 apzHpux_Stdint_LeastMachs,
8842 HPUX_STDINT_LEAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8843 aHpux_Stdint_LeastTests, apzHpux_Stdint_LeastPatch, 0 },
8845 { zHpux_Stdint_FastName, zHpux_Stdint_FastList,
8846 apzHpux_Stdint_FastMachs,
8847 HPUX_STDINT_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8848 aHpux_Stdint_FastTests, apzHpux_Stdint_FastPatch, 0 },
8850 { zHpux_Inttype_Int_Least8_TName, zHpux_Inttype_Int_Least8_TList,
8851 apzHpux_Inttype_Int_Least8_TMachs,
8852 HPUX_INTTYPE_INT_LEAST8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8853 aHpux_Inttype_Int_Least8_TTests, apzHpux_Inttype_Int_Least8_TPatch, 0 },
8855 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
8856 apzHpux_Inttype_Int8_TMachs,
8857 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8858 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
8860 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
8861 apzHpux_Imaginary_IMachs,
8862 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8863 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
8865 { zHuge_Val_HexName, zHuge_Val_HexList,
8866 apzHuge_Val_HexMachs,
8867 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8868 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
8870 { zHuge_Valf_HexName, zHuge_Valf_HexList,
8871 apzHuge_Valf_HexMachs,
8872 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8873 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
8875 { zHuge_Vall_HexName, zHuge_Vall_HexList,
8876 apzHuge_Vall_HexMachs,
8877 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8878 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
8880 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
8881 apzInt_Abort_Free_And_ExitMachs,
8882 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8883 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
8885 { zIo_Quotes_DefName, zIo_Quotes_DefList,
8886 apzIo_Quotes_DefMachs,
8887 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8888 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
8890 { zIo_Quotes_UseName, zIo_Quotes_UseList,
8891 apzIo_Quotes_UseMachs,
8892 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8893 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
8895 { zIp_Missing_SemiName, zIp_Missing_SemiList,
8896 apzIp_Missing_SemiMachs,
8897 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
8898 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
8900 { zIrix___RestrictName, zIrix___RestrictList,
8901 apzIrix___RestrictMachs,
8902 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8903 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
8905 { zIrix___Generic1Name, zIrix___Generic1List,
8906 apzIrix___Generic1Machs,
8907 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8908 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
8910 { zIrix___Generic2Name, zIrix___Generic2List,
8911 apzIrix___Generic2Machs,
8912 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8913 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
8915 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
8916 apzIrix_Asm_ApostropheMachs,
8917 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8918 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
8920 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
8921 apzIrix_Limits_ConstMachs,
8922 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8923 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
8925 { zIrix_Socklen_TName, zIrix_Socklen_TList,
8926 apzIrix_Socklen_TMachs,
8927 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8928 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
8930 { zIrix_Stdint_C99Name, zIrix_Stdint_C99List,
8931 apzIrix_Stdint_C99Machs,
8932 IRIX_STDINT_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8933 aIrix_Stdint_C99Tests, apzIrix_Stdint_C99Patch, 0 },
8935 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
8936 apzIrix_Stdio_Va_ListMachs,
8937 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8938 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
8940 { zIrix_WcsftimeName, zIrix_WcsftimeList,
8941 apzIrix_WcsftimeMachs,
8942 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8943 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
8945 { zIsc_FmodName, zIsc_FmodList,
8947 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8948 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
8950 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
8951 apzIsc_Omits_With_StdcMachs,
8952 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8953 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
8955 { zKandr_ConcatName, zKandr_ConcatList,
8956 apzKandr_ConcatMachs,
8957 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8958 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
8960 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
8961 apzLinux_Ia64_UcontextMachs,
8962 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8963 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
8965 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
8966 apzLynxos_No_Warning_In_Sys_Time_HMachs,
8967 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8968 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
8970 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
8971 apzLynxos_Missing_PutenvMachs,
8972 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8973 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
8975 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
8976 apzMachine_Ansi_H_Va_ListMachs,
8977 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8978 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
8980 { zMachine_NameName, zMachine_NameList,
8981 apzMachine_NameMachs,
8982 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8983 aMachine_NameTests, apzMachine_NamePatch, 0 },
8985 { zMath_ExceptionName, zMath_ExceptionList,
8986 apzMath_ExceptionMachs,
8987 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8988 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
8990 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
8991 apzMath_Huge_Val_From_Dbl_MaxMachs,
8992 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
8993 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
8995 { zNested_Auth_DesName, zNested_Auth_DesList,
8996 apzNested_Auth_DesMachs,
8997 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8998 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9000 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
9001 apzNested_Sys_LimitsMachs,
9002 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
9003 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
9005 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
9006 apzNetbsd_C99_Inline_1Machs,
9007 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9008 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
9010 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
9011 apzNetbsd_C99_Inline_2Machs,
9012 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9013 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
9015 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9016 apzNetbsd_Extra_SemicolonMachs,
9017 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9018 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9020 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
9021 apzNewlib_Stdint_1Machs,
9022 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
9023 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
9025 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
9026 apzNewlib_Stdint_2Machs,
9027 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9028 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
9030 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9031 apzNext_Math_PrefixMachs,
9032 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9033 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9035 { zNext_TemplateName, zNext_TemplateList,
9036 apzNext_TemplateMachs,
9037 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9038 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9040 { zNext_VolitileName, zNext_VolitileList,
9041 apzNext_VolitileMachs,
9042 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9043 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9045 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9046 apzNext_Wait_UnionMachs,
9047 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9048 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9050 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9051 apzNodeent_SyntaxMachs,
9052 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9053 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9055 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
9056 apzOpenbsd_Null_DefinitionMachs,
9057 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9058 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
9060 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9061 apzObstack_Lvalue_CastMachs,
9062 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9063 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9065 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
9066 apzOpenbsd_Va_StartMachs,
9067 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9068 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
9070 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9071 apzOsf_Namespace_AMachs,
9072 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9073 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9075 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9076 apzOsf_Namespace_CMachs,
9077 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9078 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9080 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9081 apzPthread_Incomplete_Struct_ArgumentMachs,
9082 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9083 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9085 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9086 apzRead_Ret_TypeMachs,
9087 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9088 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9090 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9091 apzRpc_Xdr_Lvalue_Cast_AMachs,
9092 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9093 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9095 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9096 apzRpc_Xdr_Lvalue_Cast_BMachs,
9097 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9098 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9100 { zRs6000_DoubleName, zRs6000_DoubleList,
9101 apzRs6000_DoubleMachs,
9102 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9103 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9105 { zRs6000_FchmodName, zRs6000_FchmodList,
9106 apzRs6000_FchmodMachs,
9107 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9108 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9110 { zRs6000_ParamName, zRs6000_ParamList,
9111 apzRs6000_ParamMachs,
9112 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9113 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9115 { zSco_MathName, zSco_MathList,
9117 SCO_MATH_TEST_CT, FD_MACH_ONLY,
9118 aSco_MathTests, apzSco_MathPatch, 0 },
9120 { zSolaris_Math_1Name, zSolaris_Math_1List,
9121 apzSolaris_Math_1Machs,
9122 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9123 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9125 { zSolaris_Math_2Name, zSolaris_Math_2List,
9126 apzSolaris_Math_2Machs,
9127 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9128 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9130 { zSolaris_Math_3Name, zSolaris_Math_3List,
9131 apzSolaris_Math_3Machs,
9132 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9133 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9135 { zSolaris_Math_4Name, zSolaris_Math_4List,
9136 apzSolaris_Math_4Machs,
9137 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9138 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9140 { zSolaris_Math_8Name, zSolaris_Math_8List,
9141 apzSolaris_Math_8Machs,
9142 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9143 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9145 { zSolaris_Math_9Name, zSolaris_Math_9List,
9146 apzSolaris_Math_9Machs,
9147 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9148 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9150 { zSolaris_Math_10Name, zSolaris_Math_10List,
9151 apzSolaris_Math_10Machs,
9152 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9153 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
9155 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9156 apzSolaris_Mutex_Init_2Machs,
9157 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9158 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9160 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9161 apzSolaris_Rwlock_Init_1Machs,
9162 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9163 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9165 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9166 apzSolaris_Once_Init_1Machs,
9167 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9168 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9170 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9171 apzSolaris_Once_Init_2Machs,
9172 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9173 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9175 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
9176 apzSolaris_Int_ConstMachs,
9177 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9178 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
9180 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
9181 apzSolaris_Int_Limits_1Machs,
9182 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9183 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
9185 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
9186 apzSolaris_Int_Limits_2Machs,
9187 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9188 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
9190 { zSolaris_Int_TypesName, zSolaris_Int_TypesList,
9191 apzSolaris_Int_TypesMachs,
9192 SOLARIS_INT_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9193 aSolaris_Int_TypesTests, apzSolaris_Int_TypesPatch, 0 },
9195 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9196 apzSolaris_Stdio_TagMachs,
9197 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9198 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9200 { zStatsswtchName, zStatsswtchList,
9202 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9203 aStatsswtchTests, apzStatsswtchPatch, 0 },
9205 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9206 apzStdio_Stdarg_HMachs,
9207 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9208 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9210 { zStdio_Va_ListName, zStdio_Va_ListList,
9211 apzStdio_Va_ListMachs,
9212 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9213 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9215 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9216 apzStdio_Va_List_ClientsMachs,
9217 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9218 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9220 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9221 apzStrict_Ansi_NotMachs,
9222 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9223 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9225 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9226 apzStrict_Ansi_Not_CtdMachs,
9227 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9228 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9230 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9231 apzStrict_Ansi_OnlyMachs,
9232 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9233 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9235 { zStruct_FileName, zStruct_FileList,
9236 apzStruct_FileMachs,
9237 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9238 aStruct_FileTests, apzStruct_FilePatch, 0 },
9240 { zStruct_SockaddrName, zStruct_SockaddrList,
9241 apzStruct_SockaddrMachs,
9242 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9243 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9245 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9246 apzSun_Auth_ProtoMachs,
9247 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9248 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9250 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9251 apzSun_Bogus_IfdefMachs,
9252 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9253 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9255 { zSun_CatmacroName, zSun_CatmacroList,
9256 apzSun_CatmacroMachs,
9257 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9258 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9260 { zSun_MallocName, zSun_MallocList,
9262 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9263 aSun_MallocTests, apzSun_MallocPatch, 0 },
9265 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9266 apzSun_Rusers_SemiMachs,
9267 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9268 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9270 { zSun_SignalName, zSun_SignalList,
9272 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9273 aSun_SignalTests, apzSun_SignalPatch, 0 },
9275 { zSunos_StrlenName, zSunos_StrlenList,
9276 apzSunos_StrlenMachs,
9277 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9278 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9280 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9281 apzSvr4_Disable_OptMachs,
9282 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9283 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9285 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9286 apzSvr4_GetcwdMachs,
9287 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9288 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9290 { zSvr4_ProfilName, zSvr4_ProfilList,
9291 apzSvr4_ProfilMachs,
9292 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9293 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9295 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9296 apzSvr4_Sighandler_TypeMachs,
9297 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9298 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9300 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9301 apzSvr4_Undeclared_GetrngeMachs,
9302 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9303 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9305 { zSysv68_StringName, zSysv68_StringList,
9306 apzSysv68_StringMachs,
9307 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9308 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9310 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9311 apzSysz_Stdlib_For_SunMachs,
9312 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9313 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9315 { zThread_KeywordName, zThread_KeywordList,
9316 apzThread_KeywordMachs,
9317 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9318 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9320 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9321 apzTinfo_CplusplusMachs,
9322 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9323 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9325 { zUltrix_ConstName, zUltrix_ConstList,
9326 apzUltrix_ConstMachs,
9327 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9328 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9330 { zUltrix_Const2Name, zUltrix_Const2List,
9331 apzUltrix_Const2Machs,
9332 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9333 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9335 { zVa_I960_MacroName, zVa_I960_MacroList,
9336 apzVa_I960_MacroMachs,
9337 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9338 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9340 { zVoid_NullName, zVoid_NullList,
9342 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9343 aVoid_NullTests, apzVoid_NullPatch, 0 },
9345 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
9346 apzVxworks_Gcc_ProblemMachs,
9347 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
9348 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
9350 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
9351 apzVxworks_Needs_VxtypesMachs,
9352 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9353 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
9355 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
9356 apzVxworks_Needs_VxworksMachs,
9357 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
9358 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
9360 { zVxworks_TimeName, zVxworks_TimeList,
9361 apzVxworks_TimeMachs,
9362 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9363 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
9365 { zX11_ClassName, zX11_ClassList,
9367 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9368 aX11_ClassTests, apzX11_ClassPatch, 0 },
9370 { zX11_Class_UsageName, zX11_Class_UsageList,
9371 apzX11_Class_UsageMachs,
9372 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9373 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9375 { zX11_NewName, zX11_NewList,
9377 X11_NEW_TEST_CT, FD_MACH_ONLY,
9378 aX11_NewTests, apzX11_NewPatch, 0 },
9380 { zX11_SprintfName, zX11_SprintfList,
9381 apzX11_SprintfMachs,
9382 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9383 aX11_SprintfTests, apzX11_SprintfPatch, 0 }