1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Tuesday October 20, 2009 at 04:21:49 PM PDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Tue Oct 20 16:21:49 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 202 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 tSCC* apzAix_ComplexMachs[] = {
506 * content selection pattern - do fix if pattern found
508 tSCC zAix_ComplexSelect0[] =
509 "#define[ \t]_Complex_I[ \t]__I";
511 #define AIX_COMPLEX_TEST_CT 1
512 static tTestDesc aAix_ComplexTests[] = {
513 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
516 * Fix Command Arguments for Aix_Complex
518 static const char* apzAix_ComplexPatch[] = {
520 "#define _Complex_I (__extension__ 1.0iF)",
523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
525 * Description of Aix_Pthread fix
527 tSCC zAix_PthreadName[] =
531 * File name selection pattern
533 tSCC zAix_PthreadList[] =
536 * Machine/OS name selection pattern
538 #define apzAix_PthreadMachs (const char**)NULL
541 * content selection pattern - do fix if pattern found
543 tSCC zAix_PthreadSelect0[] =
544 "(#define [A-Za-z_0-9]+)(\\\\\n\
548 #define AIX_PTHREAD_TEST_CT 1
549 static tTestDesc aAix_PthreadTests[] = {
550 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
553 * Fix Command Arguments for Aix_Pthread
555 static const char* apzAix_PthreadPatch[] = {
560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
562 * Description of Aix_Stdint_1 fix
564 tSCC zAix_Stdint_1Name[] =
568 * File name selection pattern
570 tSCC zAix_Stdint_1List[] =
573 * Machine/OS name selection pattern
575 tSCC* apzAix_Stdint_1Machs[] = {
580 * content selection pattern - do fix if pattern found
582 tSCC zAix_Stdint_1Select0[] =
583 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
584 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
586 #define AIX_STDINT_1_TEST_CT 1
587 static tTestDesc aAix_Stdint_1Tests[] = {
588 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
591 * Fix Command Arguments for Aix_Stdint_1
593 static const char* apzAix_Stdint_1Patch[] = {
595 "#define UINT8_MAX\t(255)\n\
596 #define UINT16_MAX\t(65535)",
599 /* * * * * * * * * * * * * * * * * * * * * * * * * *
601 * Description of Aix_Stdint_2 fix
603 tSCC zAix_Stdint_2Name[] =
607 * File name selection pattern
609 tSCC zAix_Stdint_2List[] =
612 * Machine/OS name selection pattern
614 tSCC* apzAix_Stdint_2Machs[] = {
619 * content selection pattern - do fix if pattern found
621 tSCC zAix_Stdint_2Select0[] =
622 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
623 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
624 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
626 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
627 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
628 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
630 #define AIX_STDINT_2_TEST_CT 1
631 static tTestDesc aAix_Stdint_2Tests[] = {
632 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
635 * Fix Command Arguments for Aix_Stdint_2
637 static const char* apzAix_Stdint_2Patch[] = {
639 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
640 #define INTPTR_MAX\t9223372036854775807L\n\
641 #define UINTPTR_MAX\t18446744073709551615UL\n\
643 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
644 #define INTPTR_MAX\t2147483647L\n\
645 #define UINTPTR_MAX\t4294967295UL",
648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
650 * Description of Aix_Stdint_3 fix
652 tSCC zAix_Stdint_3Name[] =
656 * File name selection pattern
658 tSCC zAix_Stdint_3List[] =
661 * Machine/OS name selection pattern
663 tSCC* apzAix_Stdint_3Machs[] = {
668 * content selection pattern - do fix if pattern found
670 tSCC zAix_Stdint_3Select0[] =
671 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
672 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
674 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
675 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
677 #define AIX_STDINT_3_TEST_CT 1
678 static tTestDesc aAix_Stdint_3Tests[] = {
679 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
682 * Fix Command Arguments for Aix_Stdint_3
684 static const char* apzAix_Stdint_3Patch[] = {
686 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
687 #define PTRDIFF_MAX\t9223372036854775807L\n\
689 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
690 #define PTRDIFF_MAX\t2147483647L",
693 /* * * * * * * * * * * * * * * * * * * * * * * * * *
695 * Description of Aix_Stdint_4 fix
697 tSCC zAix_Stdint_4Name[] =
701 * File name selection pattern
703 tSCC zAix_Stdint_4List[] =
706 * Machine/OS name selection pattern
708 tSCC* apzAix_Stdint_4Machs[] = {
713 * content selection pattern - do fix if pattern found
715 tSCC zAix_Stdint_4Select0[] =
716 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
718 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
720 #define AIX_STDINT_4_TEST_CT 1
721 static tTestDesc aAix_Stdint_4Tests[] = {
722 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
725 * Fix Command Arguments for Aix_Stdint_4
727 static const char* apzAix_Stdint_4Patch[] = {
729 "#define SIZE_MAX\t18446744073709551615UL\n\
731 #define SIZE_MAX\t4294967295UL",
734 /* * * * * * * * * * * * * * * * * * * * * * * * * *
736 * Description of Aix_Stdint_5 fix
738 tSCC zAix_Stdint_5Name[] =
742 * File name selection pattern
744 tSCC zAix_Stdint_5List[] =
747 * Machine/OS name selection pattern
749 tSCC* apzAix_Stdint_5Machs[] = {
754 * content selection pattern - do fix if pattern found
756 tSCC zAix_Stdint_5Select0[] =
757 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
758 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
760 #define AIX_STDINT_5_TEST_CT 1
761 static tTestDesc aAix_Stdint_5Tests[] = {
762 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
765 * Fix Command Arguments for Aix_Stdint_5
767 static const char* apzAix_Stdint_5Patch[] = {
769 "#define UINT8_C(c)\tc\n\
770 #define UINT16_C(c)\tc",
773 /* * * * * * * * * * * * * * * * * * * * * * * * * *
775 * Description of Aix_Sysmachine fix
777 tSCC zAix_SysmachineName[] =
781 * File name selection pattern
783 tSCC zAix_SysmachineList[] =
786 * Machine/OS name selection pattern
788 #define apzAix_SysmachineMachs (const char**)NULL
791 * content selection pattern - do fix if pattern found
793 tSCC zAix_SysmachineSelect0[] =
796 #define AIX_SYSMACHINE_TEST_CT 1
797 static tTestDesc aAix_SysmachineTests[] = {
798 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
801 * Fix Command Arguments for Aix_Sysmachine
803 static const char* apzAix_SysmachinePatch[] = {
808 /* * * * * * * * * * * * * * * * * * * * * * * * * *
810 * Description of Aix_Syswait_2 fix
812 tSCC zAix_Syswait_2Name[] =
816 * File name selection pattern
818 tSCC zAix_Syswait_2List[] =
821 * Machine/OS name selection pattern
823 #define apzAix_Syswait_2Machs (const char**)NULL
826 * content selection pattern - do fix if pattern found
828 tSCC zAix_Syswait_2Select0[] =
829 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
831 #define AIX_SYSWAIT_2_TEST_CT 1
832 static tTestDesc aAix_Syswait_2Tests[] = {
833 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
836 * Fix Command Arguments for Aix_Syswait_2
838 static const char* apzAix_Syswait_2Patch[] = {
843 /* * * * * * * * * * * * * * * * * * * * * * * * * *
845 * Description of Aix_Volatile fix
847 tSCC zAix_VolatileName[] =
851 * File name selection pattern
853 tSCC zAix_VolatileList[] =
856 * Machine/OS name selection pattern
858 #define apzAix_VolatileMachs (const char**)NULL
861 * content selection pattern - do fix if pattern found
863 tSCC zAix_VolatileSelect0[] =
864 "typedef volatile int sig_atomic_t";
866 #define AIX_VOLATILE_TEST_CT 1
867 static tTestDesc aAix_VolatileTests[] = {
868 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
871 * Fix Command Arguments for Aix_Volatile
873 static const char* apzAix_VolatilePatch[] = {
875 "typedef int sig_atomic_t",
878 /* * * * * * * * * * * * * * * * * * * * * * * * * *
880 * Description of Alpha___Assert fix
882 tSCC zAlpha___AssertName[] =
886 * File name selection pattern
888 tSCC zAlpha___AssertList[] =
891 * Machine/OS name selection pattern
893 #define apzAlpha___AssertMachs (const char**)NULL
896 * content selection pattern - do fix if pattern found
898 tSCC zAlpha___AssertSelect0[] =
899 "__assert\\(char \\*, char \\*, int\\)";
901 #define ALPHA___ASSERT_TEST_CT 1
902 static tTestDesc aAlpha___AssertTests[] = {
903 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
906 * Fix Command Arguments for Alpha___Assert
908 static const char* apzAlpha___AssertPatch[] = {
910 "__assert(const char *, const char *, int)",
913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
915 * Description of Alpha___Extern_Prefix fix
917 tSCC zAlpha___Extern_PrefixName[] =
918 "alpha___extern_prefix";
921 * File name selection pattern
923 #define zAlpha___Extern_PrefixList (char*)NULL
925 * Machine/OS name selection pattern
927 tSCC* apzAlpha___Extern_PrefixMachs[] = {
932 * content selection pattern - do fix if pattern found
934 tSCC zAlpha___Extern_PrefixSelect0[] =
935 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
936 (#[ \t]*pragma[ \t]*extern_prefix.*)";
938 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
939 static tTestDesc aAlpha___Extern_PrefixTests[] = {
940 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
943 * Fix Command Arguments for Alpha___Extern_Prefix
945 static const char* apzAlpha___Extern_PrefixPatch[] = {
947 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
953 * Description of Alpha___Extern_Prefix_Standards fix
955 tSCC zAlpha___Extern_Prefix_StandardsName[] =
956 "alpha___extern_prefix_standards";
959 * File name selection pattern
961 tSCC zAlpha___Extern_Prefix_StandardsList[] =
964 * Machine/OS name selection pattern
966 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
971 * content selection pattern - do fix if pattern found
973 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
974 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
976 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
977 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
978 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
981 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
983 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
985 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
988 /* * * * * * * * * * * * * * * * * * * * * * * * * *
990 * Description of Alpha___Extern_Prefix_Sys_Stat fix
992 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
993 "alpha___extern_prefix_sys_stat";
996 * File name selection pattern
998 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
999 "sys/stat.h\0sys/mount.h\0";
1001 * Machine/OS name selection pattern
1003 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
1005 (const char*)NULL };
1008 * content selection pattern - do fix if pattern found
1010 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
1011 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
1013 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
1014 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
1015 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
1018 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
1020 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
1022 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
1025 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1027 * Description of Alpha_Assert fix
1029 tSCC zAlpha_AssertName[] =
1033 * File name selection pattern
1035 tSCC zAlpha_AssertList[] =
1038 * Machine/OS name selection pattern
1040 #define apzAlpha_AssertMachs (const char**)NULL
1043 * content selection pattern - do fix if pattern found
1045 tSCC zAlpha_AssertSelect0[] =
1046 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1048 #define ALPHA_ASSERT_TEST_CT 1
1049 static tTestDesc aAlpha_AssertTests[] = {
1050 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1053 * Fix Command Arguments for Alpha_Assert
1055 static const char* apzAlpha_AssertPatch[] = {
1060 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1062 * Description of Alpha_Bad_Lval fix
1064 tSCC zAlpha_Bad_LvalName[] =
1068 * File name selection pattern
1070 #define zAlpha_Bad_LvalList (char*)NULL
1072 * Machine/OS name selection pattern
1074 tSCC* apzAlpha_Bad_LvalMachs[] = {
1076 (const char*)NULL };
1079 * content selection pattern - do fix if pattern found
1081 tSCC zAlpha_Bad_LvalSelect0[] =
1082 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
1084 #define ALPHA_BAD_LVAL_TEST_CT 1
1085 static tTestDesc aAlpha_Bad_LvalTests[] = {
1086 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
1089 * Fix Command Arguments for Alpha_Bad_Lval
1091 static const char* apzAlpha_Bad_LvalPatch[] = { sed_cmd_z,
1092 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
1095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1097 * Description of Alpha_Getopt fix
1099 tSCC zAlpha_GetoptName[] =
1103 * File name selection pattern
1105 tSCC zAlpha_GetoptList[] =
1106 "stdio.h\0stdlib.h\0";
1108 * Machine/OS name selection pattern
1110 #define apzAlpha_GetoptMachs (const char**)NULL
1113 * content selection pattern - do fix if pattern found
1115 tSCC zAlpha_GetoptSelect0[] =
1116 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1118 #define ALPHA_GETOPT_TEST_CT 1
1119 static tTestDesc aAlpha_GetoptTests[] = {
1120 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1123 * Fix Command Arguments for Alpha_Getopt
1125 static const char* apzAlpha_GetoptPatch[] = {
1127 "getopt(int, char *const[], const char *)",
1130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1132 * Description of Alpha_If_Semicolon fix
1134 tSCC zAlpha_If_SemicolonName[] =
1135 "alpha_if_semicolon";
1138 * File name selection pattern
1140 tSCC zAlpha_If_SemicolonList[] =
1143 * Machine/OS name selection pattern
1145 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1148 * content selection pattern - do fix if pattern found
1150 tSCC zAlpha_If_SemicolonSelect0[] =
1151 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1153 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1154 static tTestDesc aAlpha_If_SemicolonTests[] = {
1155 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1158 * Fix Command Arguments for Alpha_If_Semicolon
1160 static const char* apzAlpha_If_SemicolonPatch[] = {
1162 "struct sockaddr vmif_paddr;\t/*",
1165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1167 * Description of Alpha_Parens fix
1169 tSCC zAlpha_ParensName[] =
1173 * File name selection pattern
1175 tSCC zAlpha_ParensList[] =
1178 * Machine/OS name selection pattern
1180 #define apzAlpha_ParensMachs (const char**)NULL
1183 * content selection pattern - do fix if pattern found
1185 tSCC zAlpha_ParensSelect0[] =
1186 "#ifndef\\(__mips64\\)";
1188 #define ALPHA_PARENS_TEST_CT 1
1189 static tTestDesc aAlpha_ParensTests[] = {
1190 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1193 * Fix Command Arguments for Alpha_Parens
1195 static const char* apzAlpha_ParensPatch[] = {
1200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1202 * Description of Alpha_Pthread fix
1204 tSCC zAlpha_PthreadName[] =
1208 * File name selection pattern
1210 tSCC zAlpha_PthreadList[] =
1213 * Machine/OS name selection pattern
1215 tSCC* apzAlpha_PthreadMachs[] = {
1217 (const char*)NULL };
1220 * content selection pattern - do fix if pattern found
1222 tSCC zAlpha_PthreadSelect0[] =
1223 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
1224 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
1226 #define ALPHA_PTHREAD_TEST_CT 1
1227 static tTestDesc aAlpha_PthreadTests[] = {
1228 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
1231 * Fix Command Arguments for Alpha_Pthread
1233 static const char* apzAlpha_PthreadPatch[] = {
1235 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
1239 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1241 * Description of Alpha_Pthread_Gcc fix
1243 tSCC zAlpha_Pthread_GccName[] =
1244 "alpha_pthread_gcc";
1247 * File name selection pattern
1249 tSCC zAlpha_Pthread_GccList[] =
1252 * Machine/OS name selection pattern
1254 tSCC* apzAlpha_Pthread_GccMachs[] = {
1256 (const char*)NULL };
1259 * content selection pattern - do fix if pattern found
1261 tSCC zAlpha_Pthread_GccSelect0[] =
1263 # error <pthread.h>: unrecognized compiler.";
1265 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1266 static tTestDesc aAlpha_Pthread_GccTests[] = {
1267 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1270 * Fix Command Arguments for Alpha_Pthread_Gcc
1272 static const char* apzAlpha_Pthread_GccPatch[] = {
1274 "#elif defined (__GNUC__)\n\
1275 # define _PTHREAD_ENV_GCC\n\
1279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1281 * Description of Alpha_Pthread_Init fix
1283 tSCC zAlpha_Pthread_InitName[] =
1284 "alpha_pthread_init";
1287 * File name selection pattern
1289 tSCC zAlpha_Pthread_InitList[] =
1292 * Machine/OS name selection pattern
1294 tSCC* apzAlpha_Pthread_InitMachs[] = {
1296 (const char*)NULL };
1299 * content selection pattern - do fix if pattern found
1301 tSCC zAlpha_Pthread_InitSelect0[] =
1302 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1304 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1305 static tTestDesc aAlpha_Pthread_InitTests[] = {
1306 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1309 * Fix Command Arguments for Alpha_Pthread_Init
1311 static const char* apzAlpha_Pthread_InitPatch[] = { sed_cmd_z,
1312 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1313 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1314 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1315 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1316 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1317 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1322 * Description of Alpha_Sbrk fix
1324 tSCC zAlpha_SbrkName[] =
1328 * File name selection pattern
1330 tSCC zAlpha_SbrkList[] =
1333 * Machine/OS name selection pattern
1335 #define apzAlpha_SbrkMachs (const char**)NULL
1338 * content selection pattern - do fix if pattern found
1340 tSCC zAlpha_SbrkSelect0[] =
1341 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1343 #define ALPHA_SBRK_TEST_CT 1
1344 static tTestDesc aAlpha_SbrkTests[] = {
1345 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1348 * Fix Command Arguments for Alpha_Sbrk
1350 static const char* apzAlpha_SbrkPatch[] = {
1355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1357 * Description of Alpha_Wchar fix
1359 tSCC zAlpha_WcharName[] =
1363 * File name selection pattern
1365 tSCC zAlpha_WcharList[] =
1368 * Machine/OS name selection pattern
1370 tSCC* apzAlpha_WcharMachs[] = {
1372 (const char*)NULL };
1375 * content selection pattern - do fix if pattern found
1377 tSCC zAlpha_WcharSelect0[] =
1378 "#define wcstok wcstok_r";
1380 #define ALPHA_WCHAR_TEST_CT 1
1381 static tTestDesc aAlpha_WcharTests[] = {
1382 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1385 * Fix Command Arguments for Alpha_Wchar
1387 static const char* apzAlpha_WcharPatch[] = { sed_cmd_z,
1388 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1389 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1394 * Description of Avoid_Bool_Define fix
1396 tSCC zAvoid_Bool_DefineName[] =
1397 "avoid_bool_define";
1400 * File name selection pattern
1402 tSCC zAvoid_Bool_DefineList[] =
1403 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1405 * Machine/OS name selection pattern
1407 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1410 * content selection pattern - do fix if pattern found
1412 tSCC zAvoid_Bool_DefineSelect0[] =
1413 "#[ \t]*define[ \t]+bool[ \t]";
1416 * content bypass pattern - skip fix if pattern found
1418 tSCC zAvoid_Bool_DefineBypass0[] =
1421 #define AVOID_BOOL_DEFINE_TEST_CT 2
1422 static tTestDesc aAvoid_Bool_DefineTests[] = {
1423 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1424 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1427 * Fix Command Arguments for Avoid_Bool_Define
1429 static const char* apzAvoid_Bool_DefinePatch[] = {
1431 "#ifndef __cplusplus\n\
1434 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1439 * Description of Avoid_Bool_Type fix
1441 tSCC zAvoid_Bool_TypeName[] =
1445 * File name selection pattern
1447 tSCC zAvoid_Bool_TypeList[] =
1448 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1450 * Machine/OS name selection pattern
1452 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1455 * content selection pattern - do fix if pattern found
1457 tSCC zAvoid_Bool_TypeSelect0[] =
1458 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1461 * content bypass pattern - skip fix if pattern found
1463 tSCC zAvoid_Bool_TypeBypass0[] =
1466 #define AVOID_BOOL_TYPE_TEST_CT 2
1467 static tTestDesc aAvoid_Bool_TypeTests[] = {
1468 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1469 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1472 * Fix Command Arguments for Avoid_Bool_Type
1474 static const char* apzAvoid_Bool_TypePatch[] = {
1476 "#ifndef __cplusplus\n\
1481 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1483 * Description of Avoid_Wchar_T_Type fix
1485 tSCC zAvoid_Wchar_T_TypeName[] =
1486 "avoid_wchar_t_type";
1489 * File name selection pattern
1491 #define zAvoid_Wchar_T_TypeList (char*)NULL
1493 * Machine/OS name selection pattern
1495 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1498 * content selection pattern - do fix if pattern found
1500 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1501 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1504 * content bypass pattern - skip fix if pattern found
1506 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1508 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1510 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1511 "XFree86: xc/lib/X11/Xlib\\.h";
1513 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1514 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1515 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1516 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1517 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1518 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1521 * Fix Command Arguments for Avoid_Wchar_T_Type
1523 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1525 "#ifndef __cplusplus\n\
1530 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1532 * Description of Bad_Struct_Term fix
1534 tSCC zBad_Struct_TermName[] =
1538 * File name selection pattern
1540 tSCC zBad_Struct_TermList[] =
1543 * Machine/OS name selection pattern
1545 #define apzBad_Struct_TermMachs (const char**)NULL
1548 * content selection pattern - do fix if pattern found
1550 tSCC zBad_Struct_TermSelect0[] =
1551 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1553 #define BAD_STRUCT_TERM_TEST_CT 1
1554 static tTestDesc aBad_Struct_TermTests[] = {
1555 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1558 * Fix Command Arguments for Bad_Struct_Term
1560 static const char* apzBad_Struct_TermPatch[] = {
1565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1567 * Description of Badquote fix
1569 tSCC zBadquoteName[] =
1573 * File name selection pattern
1575 tSCC zBadquoteList[] =
1576 "sundev/vuid_event.h\0";
1578 * Machine/OS name selection pattern
1580 #define apzBadquoteMachs (const char**)NULL
1583 * content selection pattern - do fix if pattern found
1585 tSCC zBadquoteSelect0[] =
1588 #define BADQUOTE_TEST_CT 1
1589 static tTestDesc aBadquoteTests[] = {
1590 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1593 * Fix Command Arguments for Badquote
1595 static const char* apzBadquotePatch[] = {
1600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1602 * Description of Broken_Assert_Stdio fix
1604 tSCC zBroken_Assert_StdioName[] =
1605 "broken_assert_stdio";
1608 * File name selection pattern
1610 tSCC zBroken_Assert_StdioList[] =
1613 * Machine/OS name selection pattern
1615 #define apzBroken_Assert_StdioMachs (const char**)NULL
1618 * content selection pattern - do fix if pattern found
1620 tSCC zBroken_Assert_StdioSelect0[] =
1624 * content bypass pattern - skip fix if pattern found
1626 tSCC zBroken_Assert_StdioBypass0[] =
1627 "include.*stdio\\.h";
1629 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1630 static tTestDesc aBroken_Assert_StdioTests[] = {
1631 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1632 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1635 * Fix Command Arguments for Broken_Assert_Stdio
1637 static const char* apzBroken_Assert_StdioPatch[] = {
1639 "#include <stdio.h>\n",
1642 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1644 * Description of Broken_Assert_Stdlib fix
1646 tSCC zBroken_Assert_StdlibName[] =
1647 "broken_assert_stdlib";
1650 * File name selection pattern
1652 tSCC zBroken_Assert_StdlibList[] =
1655 * Machine/OS name selection pattern
1657 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1660 * content selection pattern - do fix if pattern found
1662 tSCC zBroken_Assert_StdlibSelect0[] =
1663 "exit *\\(|abort *\\(";
1666 * content bypass pattern - skip fix if pattern found
1668 tSCC zBroken_Assert_StdlibBypass0[] =
1669 "include.*stdlib\\.h";
1671 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1672 static tTestDesc aBroken_Assert_StdlibTests[] = {
1673 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1674 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1677 * Fix Command Arguments for Broken_Assert_Stdlib
1679 static const char* apzBroken_Assert_StdlibPatch[] = {
1681 "#ifdef __cplusplus\n\
1682 #include <stdlib.h>\n\
1686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1688 * Description of Broken_Cabs fix
1690 tSCC zBroken_CabsName[] =
1694 * File name selection pattern
1696 tSCC zBroken_CabsList[] =
1697 "math.h\0architecture/*/math.h\0";
1699 * Machine/OS name selection pattern
1701 #define apzBroken_CabsMachs (const char**)NULL
1704 * content selection pattern - do fix if pattern found
1706 tSCC zBroken_CabsSelect0[] =
1707 "^extern[ \t]+double[ \t]+cabs";
1709 #define BROKEN_CABS_TEST_CT 1
1710 static tTestDesc aBroken_CabsTests[] = {
1711 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1714 * Fix Command Arguments for Broken_Cabs
1716 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
1717 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1718 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1723 * Description of Broken_Nan fix
1725 tSCC zBroken_NanName[] =
1729 * File name selection pattern
1731 tSCC zBroken_NanList[] =
1732 "architecture/ppc/math.h\0architecture/*/math.h\0";
1734 * Machine/OS name selection pattern
1736 #define apzBroken_NanMachs (const char**)NULL
1739 * content selection pattern - do fix if pattern found
1741 tSCC zBroken_NanSelect0[] =
1742 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1745 * content bypass pattern - skip fix if pattern found
1747 tSCC zBroken_NanBypass0[] =
1750 #define BROKEN_NAN_TEST_CT 2
1751 static tTestDesc aBroken_NanTests[] = {
1752 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1753 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1756 * Fix Command Arguments for Broken_Nan
1758 static const char* apzBroken_NanPatch[] = {
1763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1765 * Description of Bsd_Stdio_Attrs_Conflict fix
1767 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1768 "bsd_stdio_attrs_conflict";
1771 * File name selection pattern
1773 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1776 * Machine/OS name selection pattern
1778 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1781 (const char*)NULL };
1784 * content selection pattern - do fix if pattern found
1786 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1787 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1789 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1790 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1791 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1794 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1796 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1798 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1799 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1800 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1805 * Description of Ctrl_Quotes_Def fix
1807 tSCC zCtrl_Quotes_DefName[] =
1811 * File name selection pattern
1813 #define zCtrl_Quotes_DefList (char*)NULL
1815 * Machine/OS name selection pattern
1817 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1820 * content selection pattern - do fix if pattern found
1822 tSCC zCtrl_Quotes_DefSelect0[] =
1823 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1825 #define CTRL_QUOTES_DEF_TEST_CT 1
1826 static tTestDesc aCtrl_Quotes_DefTests[] = {
1827 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1830 * Fix Command Arguments for Ctrl_Quotes_Def
1832 static const char* apzCtrl_Quotes_DefPatch[] = {
1837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1839 * Description of Ctrl_Quotes_Use fix
1841 tSCC zCtrl_Quotes_UseName[] =
1845 * File name selection pattern
1847 #define zCtrl_Quotes_UseList (char*)NULL
1849 * Machine/OS name selection pattern
1851 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1854 * content selection pattern - do fix if pattern found
1856 tSCC zCtrl_Quotes_UseSelect0[] =
1857 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1859 #define CTRL_QUOTES_USE_TEST_CT 1
1860 static tTestDesc aCtrl_Quotes_UseTests[] = {
1861 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1864 * Fix Command Arguments for Ctrl_Quotes_Use
1866 static const char* apzCtrl_Quotes_UsePatch[] = {
1871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1873 * Description of Cxx_Unready fix
1875 tSCC zCxx_UnreadyName[] =
1879 * File name selection pattern
1881 tSCC zCxx_UnreadyList[] =
1882 "sys/mman.h\0rpc/types.h\0";
1884 * Machine/OS name selection pattern
1886 #define apzCxx_UnreadyMachs (const char**)NULL
1889 * content selection pattern - do fix if pattern found
1891 tSCC zCxx_UnreadySelect0[] =
1895 * content bypass pattern - skip fix if pattern found
1897 tSCC zCxx_UnreadyBypass0[] =
1898 "\"C\"|__BEGIN_DECLS";
1900 #define CXX_UNREADY_TEST_CT 2
1901 static tTestDesc aCxx_UnreadyTests[] = {
1902 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1903 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1906 * Fix Command Arguments for Cxx_Unready
1908 static const char* apzCxx_UnreadyPatch[] = {
1910 "#ifdef __cplusplus\n\
1913 "#ifdef __cplusplus\n\
1918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1920 * Description of Darwin_Externc fix
1922 tSCC zDarwin_ExterncName[] =
1926 * File name selection pattern
1928 tSCC zDarwin_ExterncList[] =
1929 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
1931 * Machine/OS name selection pattern
1933 tSCC* apzDarwin_ExterncMachs[] = {
1935 (const char*)NULL };
1938 * content bypass pattern - skip fix if pattern found
1940 tSCC zDarwin_ExterncBypass0[] =
1942 tSCC zDarwin_ExterncBypass1[] =
1945 #define DARWIN_EXTERNC_TEST_CT 2
1946 static tTestDesc aDarwin_ExterncTests[] = {
1947 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
1948 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
1951 * Fix Command Arguments for Darwin_Externc
1953 static const char* apzDarwin_ExterncPatch[] = {
1955 "#ifdef __cplusplus\n\
1958 "#ifdef __cplusplus\n\
1963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1965 * Description of Darwin_Gcc4_Breakage fix
1967 tSCC zDarwin_Gcc4_BreakageName[] =
1968 "darwin_gcc4_breakage";
1971 * File name selection pattern
1973 tSCC zDarwin_Gcc4_BreakageList[] =
1974 "AvailabilityMacros.h\0";
1976 * Machine/OS name selection pattern
1978 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1980 (const char*)NULL };
1983 * content selection pattern - do fix if pattern found
1985 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1986 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1988 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1989 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1990 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1993 * Fix Command Arguments for Darwin_Gcc4_Breakage
1995 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1997 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2000 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2002 * Description of Darwin_Private_Extern fix
2004 tSCC zDarwin_Private_ExternName[] =
2005 "darwin_private_extern";
2008 * File name selection pattern
2010 tSCC zDarwin_Private_ExternList[] =
2013 * Machine/OS name selection pattern
2015 tSCC* apzDarwin_Private_ExternMachs[] = {
2017 (const char*)NULL };
2020 * content selection pattern - do fix if pattern found
2022 tSCC zDarwin_Private_ExternSelect0[] =
2023 "__private_extern__ [a-z_]+ _dyld_";
2025 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2026 static tTestDesc aDarwin_Private_ExternTests[] = {
2027 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2030 * Fix Command Arguments for Darwin_Private_Extern
2032 static const char* apzDarwin_Private_ExternPatch[] = {
2035 "__private_extern__",
2038 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2040 * Description of Darwin_Stdint_1 fix
2042 tSCC zDarwin_Stdint_1Name[] =
2046 * File name selection pattern
2048 tSCC zDarwin_Stdint_1List[] =
2051 * Machine/OS name selection pattern
2053 tSCC* apzDarwin_Stdint_1Machs[] = {
2055 (const char*)NULL };
2058 * content selection pattern - do fix if pattern found
2060 tSCC zDarwin_Stdint_1Select0[] =
2061 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2062 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2064 #define DARWIN_STDINT_1_TEST_CT 1
2065 static tTestDesc aDarwin_Stdint_1Tests[] = {
2066 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2069 * Fix Command Arguments for Darwin_Stdint_1
2071 static const char* apzDarwin_Stdint_1Patch[] = {
2073 "#define UINT8_C(v)\tv\n\
2074 #define UINT16_C(v)\tv",
2077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2079 * Description of Darwin_Stdint_2 fix
2081 tSCC zDarwin_Stdint_2Name[] =
2085 * File name selection pattern
2087 tSCC zDarwin_Stdint_2List[] =
2090 * Machine/OS name selection pattern
2092 tSCC* apzDarwin_Stdint_2Machs[] = {
2094 (const char*)NULL };
2097 * content selection pattern - do fix if pattern found
2099 tSCC zDarwin_Stdint_2Select0[] =
2100 "#if __WORDSIZE == 64\n\
2101 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2102 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2104 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2105 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2108 #define DARWIN_STDINT_2_TEST_CT 1
2109 static tTestDesc aDarwin_Stdint_2Tests[] = {
2110 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2113 * Fix Command Arguments for Darwin_Stdint_2
2115 static const char* apzDarwin_Stdint_2Patch[] = {
2117 "#if __WORDSIZE == 64\n\
2118 #define INTPTR_MAX 9223372036854775807L\n\
2119 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2121 #define INTPTR_MAX 2147483647L\n\
2122 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2126 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2128 * Description of Darwin_Stdint_3 fix
2130 tSCC zDarwin_Stdint_3Name[] =
2134 * File name selection pattern
2136 tSCC zDarwin_Stdint_3List[] =
2139 * Machine/OS name selection pattern
2141 tSCC* apzDarwin_Stdint_3Machs[] = {
2143 (const char*)NULL };
2146 * content selection pattern - do fix if pattern found
2148 tSCC zDarwin_Stdint_3Select0[] =
2149 "#if __WORDSIZE == 64\n\
2150 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2152 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2155 #define DARWIN_STDINT_3_TEST_CT 1
2156 static tTestDesc aDarwin_Stdint_3Tests[] = {
2157 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2160 * Fix Command Arguments for Darwin_Stdint_3
2162 static const char* apzDarwin_Stdint_3Patch[] = {
2164 "#if __WORDSIZE == 64\n\
2165 #define UINTPTR_MAX 18446744073709551615UL\n\
2167 #define UINTPTR_MAX 4294967295UL\n\
2171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2173 * Description of Darwin_Stdint_4 fix
2175 tSCC zDarwin_Stdint_4Name[] =
2179 * File name selection pattern
2181 tSCC zDarwin_Stdint_4List[] =
2184 * Machine/OS name selection pattern
2186 tSCC* apzDarwin_Stdint_4Machs[] = {
2188 (const char*)NULL };
2191 * content selection pattern - do fix if pattern found
2193 tSCC zDarwin_Stdint_4Select0[] =
2194 "#if __WORDSIZE == 64\n\
2195 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2197 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2200 #define DARWIN_STDINT_4_TEST_CT 1
2201 static tTestDesc aDarwin_Stdint_4Tests[] = {
2202 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2205 * Fix Command Arguments for Darwin_Stdint_4
2207 static const char* apzDarwin_Stdint_4Patch[] = {
2209 "#if __WORDSIZE == 64\n\
2210 #define SIZE_MAX 18446744073709551615UL\n\
2212 #define SIZE_MAX 4294967295UL\n\
2216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2218 * Description of Darwin_Stdint_5 fix
2220 tSCC zDarwin_Stdint_5Name[] =
2224 * File name selection pattern
2226 tSCC zDarwin_Stdint_5List[] =
2229 * Machine/OS name selection pattern
2231 tSCC* apzDarwin_Stdint_5Machs[] = {
2233 (const char*)NULL };
2236 * content selection pattern - do fix if pattern found
2238 tSCC zDarwin_Stdint_5Select0[] =
2239 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2240 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2241 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2243 #define DARWIN_STDINT_5_TEST_CT 1
2244 static tTestDesc aDarwin_Stdint_5Tests[] = {
2245 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2248 * Fix Command Arguments for Darwin_Stdint_5
2250 static const char* apzDarwin_Stdint_5Patch[] = {
2252 "#if __WORDSIZE == 64\n\
2253 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
2254 #define INTMAX_MAX 9223372036854775807L\n\
2255 #define UINTMAX_MAX 18446744073709551615UL\n\
2257 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
2258 #define INTMAX_MAX 9223372036854775807LL\n\
2259 #define UINTMAX_MAX 18446744073709551615ULL\n\
2263 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2265 * Description of Darwin_Stdint_6 fix
2267 tSCC zDarwin_Stdint_6Name[] =
2271 * File name selection pattern
2273 tSCC zDarwin_Stdint_6List[] =
2276 * Machine/OS name selection pattern
2278 tSCC* apzDarwin_Stdint_6Machs[] = {
2280 (const char*)NULL };
2283 * content selection pattern - do fix if pattern found
2285 tSCC zDarwin_Stdint_6Select0[] =
2286 "#if __WORDSIZE == 64\n\
2287 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
2288 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
2290 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
2291 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
2294 #define DARWIN_STDINT_6_TEST_CT 1
2295 static tTestDesc aDarwin_Stdint_6Tests[] = {
2296 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
2299 * Fix Command Arguments for Darwin_Stdint_6
2301 static const char* apzDarwin_Stdint_6Patch[] = {
2303 "#if __WORDSIZE == 64\n\
2304 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
2305 #define PTRDIFF_MAX 9223372036854775807L\n\
2307 #define PTRDIFF_MIN (-2147483647 - 1)\n\
2308 #define PTRDIFF_MAX 2147483647\n\
2312 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2314 * Description of Darwin_Stdint_7 fix
2316 tSCC zDarwin_Stdint_7Name[] =
2320 * File name selection pattern
2322 tSCC zDarwin_Stdint_7List[] =
2325 * Machine/OS name selection pattern
2327 tSCC* apzDarwin_Stdint_7Machs[] = {
2329 (const char*)NULL };
2332 * content selection pattern - do fix if pattern found
2334 tSCC zDarwin_Stdint_7Select0[] =
2335 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
2336 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
2338 #define DARWIN_STDINT_7_TEST_CT 1
2339 static tTestDesc aDarwin_Stdint_7Tests[] = {
2340 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
2343 * Fix Command Arguments for Darwin_Stdint_7
2345 static const char* apzDarwin_Stdint_7Patch[] = {
2347 "#if __WORDSIZE == 64\n\
2348 #define INTMAX_C(v) (v ## L)\n\
2349 #define UINTMAX_C(v) (v ## UL)\n\
2351 #define INTMAX_C(v) (v ## LL)\n\
2352 #define UINTMAX_C(v) (v ## ULL)\n\
2356 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2358 * Description of Dec_Intern_Asm fix
2360 tSCC zDec_Intern_AsmName[] =
2364 * File name selection pattern
2366 tSCC zDec_Intern_AsmList[] =
2369 * Machine/OS name selection pattern
2371 #define apzDec_Intern_AsmMachs (const char**)NULL
2372 #define DEC_INTERN_ASM_TEST_CT 0
2373 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2376 * Fix Command Arguments for Dec_Intern_Asm
2378 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
2379 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2381 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2387 * Description of Djgpp_Wchar_H fix
2389 tSCC zDjgpp_Wchar_HName[] =
2393 * File name selection pattern
2395 #define zDjgpp_Wchar_HList (char*)NULL
2397 * Machine/OS name selection pattern
2399 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2402 * content selection pattern - do fix if pattern found
2404 tSCC zDjgpp_Wchar_HSelect0[] =
2408 * content bypass pattern - skip fix if pattern found
2410 tSCC zDjgpp_Wchar_HBypass0[] =
2413 #define DJGPP_WCHAR_H_TEST_CT 2
2414 static tTestDesc aDjgpp_Wchar_HTests[] = {
2415 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2416 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2419 * Fix Command Arguments for Djgpp_Wchar_H
2421 static const char* apzDjgpp_Wchar_HPatch[] = {
2424 #include <sys/djtypes.h>",
2425 "#include <stddef.h>",
2428 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2430 * Description of Ecd_Cursor fix
2432 tSCC zEcd_CursorName[] =
2436 * File name selection pattern
2438 tSCC zEcd_CursorList[] =
2439 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2441 * Machine/OS name selection pattern
2443 #define apzEcd_CursorMachs (const char**)NULL
2446 * content selection pattern - do fix if pattern found
2448 tSCC zEcd_CursorSelect0[] =
2451 #define ECD_CURSOR_TEST_CT 1
2452 static tTestDesc aEcd_CursorTests[] = {
2453 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2456 * Fix Command Arguments for Ecd_Cursor
2458 static const char* apzEcd_CursorPatch[] = {
2463 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2465 * Description of Freebsd_Gcc3_Breakage fix
2467 tSCC zFreebsd_Gcc3_BreakageName[] =
2468 "freebsd_gcc3_breakage";
2471 * File name selection pattern
2473 tSCC zFreebsd_Gcc3_BreakageList[] =
2476 * Machine/OS name selection pattern
2478 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2480 (const char*)NULL };
2483 * content selection pattern - do fix if pattern found
2485 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2486 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2489 * content bypass pattern - skip fix if pattern found
2491 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2492 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2494 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2495 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2496 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2497 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2500 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2502 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2504 "%0 || __GNUC__ >= 3",
2507 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2509 * Description of Freebsd_Gcc4_Breakage fix
2511 tSCC zFreebsd_Gcc4_BreakageName[] =
2512 "freebsd_gcc4_breakage";
2515 * File name selection pattern
2517 tSCC zFreebsd_Gcc4_BreakageList[] =
2520 * Machine/OS name selection pattern
2522 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2524 (const char*)NULL };
2527 * content selection pattern - do fix if pattern found
2529 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2530 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2532 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2533 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2534 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2537 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2539 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2541 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2544 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2546 * Description of Glibc_C99_Inline_1 fix
2548 tSCC zGlibc_C99_Inline_1Name[] =
2549 "glibc_c99_inline_1";
2552 * File name selection pattern
2554 tSCC zGlibc_C99_Inline_1List[] =
2555 "features.h\0*/features.h\0";
2557 * Machine/OS name selection pattern
2559 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2562 * content selection pattern - do fix if pattern found
2564 tSCC zGlibc_C99_Inline_1Select0[] =
2565 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2567 #define GLIBC_C99_INLINE_1_TEST_CT 1
2568 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2569 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2572 * Fix Command Arguments for Glibc_C99_Inline_1
2574 static const char* apzGlibc_C99_Inline_1Patch[] = {
2576 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2579 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2581 * Description of Glibc_C99_Inline_1a fix
2583 tSCC zGlibc_C99_Inline_1aName[] =
2584 "glibc_c99_inline_1a";
2587 * File name selection pattern
2589 tSCC zGlibc_C99_Inline_1aList[] =
2590 "features.h\0*/features.h\0";
2592 * Machine/OS name selection pattern
2594 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2597 * content selection pattern - do fix if pattern found
2599 tSCC zGlibc_C99_Inline_1aSelect0[] =
2600 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2601 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2603 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2604 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2605 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2608 * Fix Command Arguments for Glibc_C99_Inline_1a
2610 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2612 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2616 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2618 * Description of Glibc_C99_Inline_2 fix
2620 tSCC zGlibc_C99_Inline_2Name[] =
2621 "glibc_c99_inline_2";
2624 * File name selection pattern
2626 tSCC zGlibc_C99_Inline_2List[] =
2627 "sys/stat.h\0*/sys/stat.h\0";
2629 * Machine/OS name selection pattern
2631 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2634 * content selection pattern - do fix if pattern found
2636 tSCC zGlibc_C99_Inline_2Select0[] =
2637 "extern __inline__ int";
2639 #define GLIBC_C99_INLINE_2_TEST_CT 1
2640 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2641 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2644 * Fix Command Arguments for Glibc_C99_Inline_2
2646 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
2647 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2650 __inline__ int \\1/",
2651 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2654 __inline__ int \\1/",
2655 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2658 __inline__ int \\1/",
2659 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2662 __inline__ int __REDIRECT\\1 (\\2/",
2663 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2666 __inline__ int __REDIRECT\\1 (\\2/",
2667 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
2673 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2675 * Description of Glibc_C99_Inline_3 fix
2677 tSCC zGlibc_C99_Inline_3Name[] =
2678 "glibc_c99_inline_3";
2681 * File name selection pattern
2683 tSCC zGlibc_C99_Inline_3List[] =
2684 "bits/string2.h\0*/bits/string2.h\0";
2686 * Machine/OS name selection pattern
2688 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2691 * content selection pattern - do fix if pattern found
2693 tSCC zGlibc_C99_Inline_3Select0[] =
2697 * content bypass pattern - skip fix if pattern found
2699 tSCC zGlibc_C99_Inline_3Bypass0[] =
2700 "__extern_inline|__GNU_STDC_INLINE__";
2702 #define GLIBC_C99_INLINE_3_TEST_CT 2
2703 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2704 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
2705 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
2708 * Fix Command Arguments for Glibc_C99_Inline_3
2710 static const char* apzGlibc_C99_Inline_3Patch[] = {
2712 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
2713 "^# ifdef __cplusplus$",
2716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2718 * Description of Glibc_C99_Inline_4 fix
2720 tSCC zGlibc_C99_Inline_4Name[] =
2721 "glibc_c99_inline_4";
2724 * File name selection pattern
2726 tSCC zGlibc_C99_Inline_4List[] =
2727 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
2729 * Machine/OS name selection pattern
2731 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2734 * content selection pattern - do fix if pattern found
2736 tSCC zGlibc_C99_Inline_4Select0[] =
2737 "(^| )extern __inline";
2740 * content bypass pattern - skip fix if pattern found
2742 tSCC zGlibc_C99_Inline_4Bypass0[] =
2743 "__extern_inline|__gnu_inline__";
2745 #define GLIBC_C99_INLINE_4_TEST_CT 2
2746 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2747 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
2748 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
2751 * Fix Command Arguments for Glibc_C99_Inline_4
2753 static const char* apzGlibc_C99_Inline_4Patch[] = {
2755 "%0 __attribute__ ((__gnu_inline__))",
2758 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2760 * Description of Glibc_Mutex_Init fix
2762 tSCC zGlibc_Mutex_InitName[] =
2766 * File name selection pattern
2768 tSCC zGlibc_Mutex_InitList[] =
2771 * Machine/OS name selection pattern
2773 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2776 * content selection pattern - do fix if pattern found
2778 tSCC zGlibc_Mutex_InitSelect0[] =
2779 "\\{ *\\{ *0, *\\} *\\}";
2781 #define GLIBC_MUTEX_INIT_TEST_CT 1
2782 static tTestDesc aGlibc_Mutex_InitTests[] = {
2783 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2786 * Fix Command Arguments for Glibc_Mutex_Init
2788 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
2789 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
2791 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
2793 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
2794 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
2795 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2796 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2797 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
2798 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2799 "-e", "/define[ \t]\\{1,\\}PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\/N;s/^[ \t]*#[ \t]*\\(define[ \t]\\{1,\\}PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\\\)\\n[ \t]*{ { 0, } }/# if __WORDSIZE == 64\\\n\
2801 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
2804 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
2806 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2807 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2812 * Description of Glibc_Stdint fix
2814 tSCC zGlibc_StdintName[] =
2818 * File name selection pattern
2820 tSCC zGlibc_StdintList[] =
2823 * Machine/OS name selection pattern
2825 #define apzGlibc_StdintMachs (const char**)NULL
2828 * content selection pattern - do fix if pattern found
2830 tSCC zGlibc_StdintSelect0[] =
2833 #define GLIBC_STDINT_TEST_CT 1
2834 static tTestDesc aGlibc_StdintTests[] = {
2835 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
2838 * Fix Command Arguments for Glibc_Stdint
2840 static const char* apzGlibc_StdintPatch[] = {
2842 "# define UINT8_C(c)\tc\n\
2843 # define UINT16_C(c)\tc",
2844 "# define UINT8_C\\(c\\)\tc ## U\n\
2845 # define UINT16_C\\(c\\)\tc ## U",
2848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2850 * Description of Glibc_Tgmath fix
2852 tSCC zGlibc_TgmathName[] =
2856 * File name selection pattern
2858 tSCC zGlibc_TgmathList[] =
2861 * Machine/OS name selection pattern
2863 #define apzGlibc_TgmathMachs (const char**)NULL
2866 * content selection pattern - do fix if pattern found
2868 tSCC zGlibc_TgmathSelect0[] =
2869 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
2872 * content bypass pattern - skip fix if pattern found
2874 tSCC zGlibc_TgmathBypass0[] =
2875 "__floating_type\\(type\\) \\\\\n\
2876 .*__builtin_classify_type";
2878 #define GLIBC_TGMATH_TEST_CT 2
2879 static tTestDesc aGlibc_TgmathTests[] = {
2880 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
2881 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
2884 * Fix Command Arguments for Glibc_Tgmath
2886 static const char* apzGlibc_TgmathPatch[] = {
2888 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
2891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2893 * Description of Gnu_Types fix
2895 tSCC zGnu_TypesName[] =
2899 * File name selection pattern
2901 tSCC zGnu_TypesList[] =
2902 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2904 * Machine/OS name selection pattern
2906 tSCC* apzGnu_TypesMachs[] = {
2907 "*-*-solaris2.1[0-9]*",
2908 (const char*)NULL };
2911 * content selection pattern - do fix if pattern found
2913 tSCC zGnu_TypesSelect0[] =
2914 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2917 * content bypass pattern - skip fix if pattern found
2919 tSCC zGnu_TypesBypass0[] =
2920 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2922 #define GNU_TYPES_TEST_CT 2
2923 static tTestDesc aGnu_TypesTests[] = {
2924 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2925 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2928 * Fix Command Arguments for Gnu_Types
2930 static const char* apzGnu_TypesPatch[] = {
2934 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2936 * Description of Hp_Inline fix
2938 tSCC zHp_InlineName[] =
2942 * File name selection pattern
2944 tSCC zHp_InlineList[] =
2945 "sys/spinlock.h\0machine/machparam.h\0";
2947 * Machine/OS name selection pattern
2949 #define apzHp_InlineMachs (const char**)NULL
2952 * content selection pattern - do fix if pattern found
2954 tSCC zHp_InlineSelect0[] =
2955 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2957 #define HP_INLINE_TEST_CT 1
2958 static tTestDesc aHp_InlineTests[] = {
2959 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2962 * Fix Command Arguments for Hp_Inline
2964 static const char* apzHp_InlinePatch[] = {
2967 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2970 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2972 * Description of Hp_Sysfile fix
2974 tSCC zHp_SysfileName[] =
2978 * File name selection pattern
2980 tSCC zHp_SysfileList[] =
2983 * Machine/OS name selection pattern
2985 #define apzHp_SysfileMachs (const char**)NULL
2988 * content selection pattern - do fix if pattern found
2990 tSCC zHp_SysfileSelect0[] =
2993 #define HP_SYSFILE_TEST_CT 1
2994 static tTestDesc aHp_SysfileTests[] = {
2995 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2998 * Fix Command Arguments for Hp_Sysfile
3000 static const char* apzHp_SysfilePatch[] = {
3002 "(struct file *, ...)",
3006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3008 * Description of Hppa_Hpux_Fp_Macros fix
3010 tSCC zHppa_Hpux_Fp_MacrosName[] =
3011 "hppa_hpux_fp_macros";
3014 * File name selection pattern
3016 tSCC zHppa_Hpux_Fp_MacrosList[] =
3019 * Machine/OS name selection pattern
3021 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3023 (const char*)NULL };
3026 * content selection pattern - do fix if pattern found
3028 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3029 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3030 #[ \t]*define[ \t]*FP_ZERO.*\n\
3031 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3032 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3033 #[ \t]*define[ \t]*FP_NAN.*\n";
3035 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
3036 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3037 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3040 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
3042 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3044 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3045 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3046 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3048 #ifdef _INCLUDE_HPUX_SOURCE\n",
3051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3053 * Description of Hpux10_Cpp_Pow_Inline fix
3055 tSCC zHpux10_Cpp_Pow_InlineName[] =
3056 "hpux10_cpp_pow_inline";
3059 * File name selection pattern
3061 tSCC zHpux10_Cpp_Pow_InlineList[] =
3062 "fixinc-test-limits.h\0math.h\0";
3064 * Machine/OS name selection pattern
3066 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3069 * content selection pattern - do fix if pattern found
3071 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3072 "^# +ifdef +__cplusplus\n\
3074 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3075 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3077 +extern +\"C\" +\\{\n\
3081 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
3082 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3083 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3086 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3088 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3095 * Description of Hpux11_Cpp_Pow_Inline fix
3097 tSCC zHpux11_Cpp_Pow_InlineName[] =
3098 "hpux11_cpp_pow_inline";
3101 * File name selection pattern
3103 tSCC zHpux11_Cpp_Pow_InlineList[] =
3106 * Machine/OS name selection pattern
3108 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3111 * content selection pattern - do fix if pattern found
3113 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3114 " +inline double pow\\(double d,int expon\\) \\{\n\
3115 +return pow\\(d, \\(double\\)expon\\);\n\
3118 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
3119 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
3120 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3123 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
3125 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
3130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3132 * Description of Hpux10_Ctype_Declarations1 fix
3134 tSCC zHpux10_Ctype_Declarations1Name[] =
3135 "hpux10_ctype_declarations1";
3138 * File name selection pattern
3140 tSCC zHpux10_Ctype_Declarations1List[] =
3143 * Machine/OS name selection pattern
3145 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
3148 * content selection pattern - do fix if pattern found
3150 tSCC zHpux10_Ctype_Declarations1Select0[] =
3151 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
3154 * content bypass pattern - skip fix if pattern found
3156 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
3157 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
3159 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
3160 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
3161 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
3162 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
3165 * Fix Command Arguments for Hpux10_Ctype_Declarations1
3167 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
3169 "#ifdef _PROTOTYPES\n\
3170 extern int __tolower(int);\n\
3171 extern int __toupper(int);\n\
3172 #else /* NOT _PROTOTYPES */\n\
3173 extern int __tolower();\n\
3174 extern int __toupper();\n\
3175 #endif /* _PROTOTYPES */\n\n\
3179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3181 * Description of Hpux10_Ctype_Declarations2 fix
3183 tSCC zHpux10_Ctype_Declarations2Name[] =
3184 "hpux10_ctype_declarations2";
3187 * File name selection pattern
3189 tSCC zHpux10_Ctype_Declarations2List[] =
3192 * Machine/OS name selection pattern
3194 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
3197 * content selection pattern - do fix if pattern found
3199 tSCC zHpux10_Ctype_Declarations2Select0[] =
3200 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
3203 * content bypass pattern - skip fix if pattern found
3205 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
3206 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
3208 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
3209 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
3210 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
3211 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
3214 * Fix Command Arguments for Hpux10_Ctype_Declarations2
3216 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
3219 #ifdef _PROTOTYPES\n\
3220 extern int _isalnum(int);\n\
3221 extern int _isalpha(int);\n\
3222 extern int _iscntrl(int);\n\
3223 extern int _isdigit(int);\n\
3224 extern int _isgraph(int);\n\
3225 extern int _islower(int);\n\
3226 extern int _isprint(int);\n\
3227 extern int _ispunct(int);\n\
3228 extern int _isspace(int);\n\
3229 extern int _isupper(int);\n\
3230 extern int _isxdigit(int);\n\
3231 # else /* not _PROTOTYPES */\n\
3232 extern int _isalnum();\n\
3233 extern int _isalpha();\n\
3234 extern int _iscntrl();\n\
3235 extern int _isdigit();\n\
3236 extern int _isgraph();\n\
3237 extern int _islower();\n\
3238 extern int _isprint();\n\
3239 extern int _ispunct();\n\
3240 extern int _isspace();\n\
3241 extern int _isupper();\n\
3242 extern int _isxdigit();\n\
3243 #endif /* _PROTOTYPES */\n",
3246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3248 * Description of Hpux10_Stdio_Declarations fix
3250 tSCC zHpux10_Stdio_DeclarationsName[] =
3251 "hpux10_stdio_declarations";
3254 * File name selection pattern
3256 tSCC zHpux10_Stdio_DeclarationsList[] =
3259 * Machine/OS name selection pattern
3261 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
3264 * content selection pattern - do fix if pattern found
3266 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
3267 "^#[ \t]*define _iob[ \t]*__iob";
3270 * content bypass pattern - skip fix if pattern found
3272 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
3273 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
3275 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
3276 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
3277 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
3278 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
3281 * Fix Command Arguments for Hpux10_Stdio_Declarations
3283 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
3286 # if defined(__STDC__) || defined(__cplusplus)\n\
3287 extern int snprintf(char *, size_t, const char *, ...);\n\
3288 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
3289 # else /* not __STDC__) || __cplusplus */\n\
3290 extern int snprintf();\n\
3291 extern int vsnprintf();\n\
3292 # endif /* __STDC__) || __cplusplus */\n",
3295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3297 * Description of Hpux11_Abs fix
3299 tSCC zHpux11_AbsName[] =
3303 * File name selection pattern
3305 tSCC zHpux11_AbsList[] =
3308 * Machine/OS name selection pattern
3310 tSCC* apzHpux11_AbsMachs[] = {
3312 (const char*)NULL };
3315 * content selection pattern - do fix if pattern found
3317 tSCC zHpux11_AbsSelect0[] =
3318 "ifndef _MATH_INCLUDED";
3320 #define HPUX11_ABS_TEST_CT 1
3321 static tTestDesc aHpux11_AbsTests[] = {
3322 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
3325 * Fix Command Arguments for Hpux11_Abs
3327 static const char* apzHpux11_AbsPatch[] = {
3329 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
3332 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3334 * Description of Hpux11_Fabsf fix
3336 tSCC zHpux11_FabsfName[] =
3340 * File name selection pattern
3342 tSCC zHpux11_FabsfList[] =
3345 * Machine/OS name selection pattern
3347 #define apzHpux11_FabsfMachs (const char**)NULL
3350 * content selection pattern - do fix if pattern found
3352 tSCC zHpux11_FabsfSelect0[] =
3353 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
3356 * content bypass pattern - skip fix if pattern found
3358 tSCC zHpux11_FabsfBypass0[] =
3361 #define HPUX11_FABSF_TEST_CT 2
3362 static tTestDesc aHpux11_FabsfTests[] = {
3363 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
3364 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
3367 * Fix Command Arguments for Hpux11_Fabsf
3369 static const char* apzHpux11_FabsfPatch[] = {
3371 "#ifndef __cplusplus\n\
3376 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3378 * Description of Hpux11_Pthread_Const fix
3380 tSCC zHpux11_Pthread_ConstName[] =
3381 "hpux11_pthread_const";
3384 * File name selection pattern
3386 tSCC zHpux11_Pthread_ConstList[] =
3389 * Machine/OS name selection pattern
3391 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3392 "*-hp-hpux11.[0-3]*",
3393 (const char*)NULL };
3396 * content selection pattern - do fix if pattern found
3398 tSCC zHpux11_Pthread_ConstSelect0[] =
3399 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3401 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3402 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3403 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3406 * Fix Command Arguments for Hpux11_Pthread_Const
3408 static const char* apzHpux11_Pthread_ConstPatch[] = {
3410 "#define __POINTER_SET\t\t((void *) 1L)",
3413 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3415 * Description of Hpux11_Size_T fix
3417 tSCC zHpux11_Size_TName[] =
3421 * File name selection pattern
3423 #define zHpux11_Size_TList (char*)NULL
3425 * Machine/OS name selection pattern
3427 tSCC* apzHpux11_Size_TMachs[] = {
3429 (const char*)NULL };
3432 * content selection pattern - do fix if pattern found
3434 tSCC zHpux11_Size_TSelect0[] =
3437 #define HPUX11_SIZE_T_TEST_CT 1
3438 static tTestDesc aHpux11_Size_TTests[] = {
3439 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
3442 * Fix Command Arguments for Hpux11_Size_T
3444 static const char* apzHpux11_Size_TPatch[] = {
3449 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3451 * Description of Hpux11_Snprintf fix
3453 tSCC zHpux11_SnprintfName[] =
3457 * File name selection pattern
3459 tSCC zHpux11_SnprintfList[] =
3462 * Machine/OS name selection pattern
3464 #define apzHpux11_SnprintfMachs (const char**)NULL
3467 * content selection pattern - do fix if pattern found
3469 tSCC zHpux11_SnprintfSelect0[] =
3470 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3472 #define HPUX11_SNPRINTF_TEST_CT 1
3473 static tTestDesc aHpux11_SnprintfTests[] = {
3474 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3477 * Fix Command Arguments for Hpux11_Snprintf
3479 static const char* apzHpux11_SnprintfPatch[] = {
3484 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3486 * Description of Hpux11_Vsnprintf fix
3488 tSCC zHpux11_VsnprintfName[] =
3492 * File name selection pattern
3494 tSCC zHpux11_VsnprintfList[] =
3497 * Machine/OS name selection pattern
3499 #define apzHpux11_VsnprintfMachs (const char**)NULL
3502 * content selection pattern - do fix if pattern found
3504 tSCC zHpux11_VsnprintfSelect0[] =
3505 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3507 #define HPUX11_VSNPRINTF_TEST_CT 1
3508 static tTestDesc aHpux11_VsnprintfTests[] = {
3509 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3512 * Fix Command Arguments for Hpux11_Vsnprintf
3514 static const char* apzHpux11_VsnprintfPatch[] = {
3519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3521 * Description of Hpux8_Bogus_Inlines fix
3523 tSCC zHpux8_Bogus_InlinesName[] =
3524 "hpux8_bogus_inlines";
3527 * File name selection pattern
3529 tSCC zHpux8_Bogus_InlinesList[] =
3532 * Machine/OS name selection pattern
3534 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3537 * content selection pattern - do fix if pattern found
3539 tSCC zHpux8_Bogus_InlinesSelect0[] =
3543 * content bypass pattern - skip fix if pattern found
3545 tSCC zHpux8_Bogus_InlinesBypass0[] =
3548 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3549 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3550 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3551 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3554 * Fix Command Arguments for Hpux8_Bogus_Inlines
3556 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
3557 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3558 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3559 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3560 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3565 * Description of Hpux_Ctype_Macros fix
3567 tSCC zHpux_Ctype_MacrosName[] =
3568 "hpux_ctype_macros";
3571 * File name selection pattern
3573 tSCC zHpux_Ctype_MacrosList[] =
3576 * Machine/OS name selection pattern
3578 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3581 * content selection pattern - do fix if pattern found
3583 tSCC zHpux_Ctype_MacrosSelect0[] =
3584 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3586 #define HPUX_CTYPE_MACROS_TEST_CT 1
3587 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3588 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3591 * Fix Command Arguments for Hpux_Ctype_Macros
3593 static const char* apzHpux_Ctype_MacrosPatch[] = {
3598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3600 * Description of Hpux_Htonl fix
3602 tSCC zHpux_HtonlName[] =
3606 * File name selection pattern
3608 tSCC zHpux_HtonlList[] =
3611 * Machine/OS name selection pattern
3613 #define apzHpux_HtonlMachs (const char**)NULL
3616 * content selection pattern - do fix if pattern found
3618 tSCC zHpux_HtonlSelect0[] =
3619 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
3621 \\* Macros for number representation conversion\\.\n\
3625 #define HPUX_HTONL_TEST_CT 1
3626 static tTestDesc aHpux_HtonlTests[] = {
3627 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3630 * Fix Command Arguments for Hpux_Htonl
3632 static const char* apzHpux_HtonlPatch[] = {
3638 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3640 * Description of Hpux_Long_Double fix
3642 tSCC zHpux_Long_DoubleName[] =
3646 * File name selection pattern
3648 tSCC zHpux_Long_DoubleList[] =
3651 * Machine/OS name selection pattern
3653 tSCC* apzHpux_Long_DoubleMachs[] = {
3655 "*-*-hpux11.[012]*",
3656 (const char*)NULL };
3659 * content selection pattern - do fix if pattern found
3661 tSCC zHpux_Long_DoubleSelect0[] =
3662 "extern[ \t]long_double[ \t]strtold";
3665 * content bypass pattern - skip fix if pattern found
3667 tSCC zHpux_Long_DoubleBypass0[] =
3670 #define HPUX_LONG_DOUBLE_TEST_CT 2
3671 static tTestDesc aHpux_Long_DoubleTests[] = {
3672 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3673 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3676 * Fix Command Arguments for Hpux_Long_Double
3678 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
3679 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3680 "-e", "s/long_double/long double/g",
3683 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3685 * Description of Hpux_Long_Double_2 fix
3687 tSCC zHpux_Long_Double_2Name[] =
3688 "hpux_long_double_2";
3691 * File name selection pattern
3693 tSCC zHpux_Long_Double_2List[] =
3696 * Machine/OS name selection pattern
3698 tSCC* apzHpux_Long_Double_2Machs[] = {
3699 "hppa*-*-hpux11.3*",
3700 (const char*)NULL };
3703 * content selection pattern - do fix if pattern found
3705 tSCC zHpux_Long_Double_2Select0[] =
3706 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
3708 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
3709 static tTestDesc aHpux_Long_Double_2Tests[] = {
3710 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
3713 * Fix Command Arguments for Hpux_Long_Double_2
3715 static const char* apzHpux_Long_Double_2Patch[] = {
3717 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
3720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3722 * Description of Hpux_Systime fix
3724 tSCC zHpux_SystimeName[] =
3728 * File name selection pattern
3730 tSCC zHpux_SystimeList[] =
3733 * Machine/OS name selection pattern
3735 #define apzHpux_SystimeMachs (const char**)NULL
3738 * content selection pattern - do fix if pattern found
3740 tSCC zHpux_SystimeSelect0[] =
3741 "^extern struct sigevent;";
3743 #define HPUX_SYSTIME_TEST_CT 1
3744 static tTestDesc aHpux_SystimeTests[] = {
3745 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3748 * Fix Command Arguments for Hpux_Systime
3750 static const char* apzHpux_SystimePatch[] = {
3755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3757 * Description of Hpux_Spu_Info fix
3759 tSCC zHpux_Spu_InfoName[] =
3763 * File name selection pattern
3765 tSCC zHpux_Spu_InfoList[] =
3766 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
3768 * Machine/OS name selection pattern
3770 tSCC* apzHpux_Spu_InfoMachs[] = {
3772 (const char*)NULL };
3775 * content selection pattern - do fix if pattern found
3777 tSCC zHpux_Spu_InfoSelect0[] =
3778 "^.*extern.*spu_info.*";
3780 #define HPUX_SPU_INFO_TEST_CT 1
3781 static tTestDesc aHpux_Spu_InfoTests[] = {
3782 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3785 * Fix Command Arguments for Hpux_Spu_Info
3787 static const char* apzHpux_Spu_InfoPatch[] = {
3794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3796 * Description of Hpux11_Extern_Sendfile fix
3798 tSCC zHpux11_Extern_SendfileName[] =
3799 "hpux11_extern_sendfile";
3802 * File name selection pattern
3804 tSCC zHpux11_Extern_SendfileList[] =
3807 * Machine/OS name selection pattern
3809 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3810 "*-hp-hpux11.[12]*",
3811 (const char*)NULL };
3814 * content selection pattern - do fix if pattern found
3816 tSCC zHpux11_Extern_SendfileSelect0[] =
3817 "^[ \t]*extern sbsize_t sendfile.*\n\
3820 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3821 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3822 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3825 * Fix Command Arguments for Hpux11_Extern_Sendfile
3827 static const char* apzHpux11_Extern_SendfilePatch[] = {
3829 "#ifndef _APP32_64BIT_OFF_T\n\
3833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3835 * Description of Hpux11_Extern_Sendpath fix
3837 tSCC zHpux11_Extern_SendpathName[] =
3838 "hpux11_extern_sendpath";
3841 * File name selection pattern
3843 tSCC zHpux11_Extern_SendpathList[] =
3846 * Machine/OS name selection pattern
3848 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3849 "*-hp-hpux11.[12]*",
3850 (const char*)NULL };
3853 * content selection pattern - do fix if pattern found
3855 tSCC zHpux11_Extern_SendpathSelect0[] =
3856 "^[ \t]*extern sbsize_t sendpath.*\n\
3859 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3860 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3861 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3864 * Fix Command Arguments for Hpux11_Extern_Sendpath
3866 static const char* apzHpux11_Extern_SendpathPatch[] = {
3868 "#ifndef _APP32_64BIT_OFF_T\n\
3872 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3874 * Description of Hpux_Extern_Errno fix
3876 tSCC zHpux_Extern_ErrnoName[] =
3877 "hpux_extern_errno";
3880 * File name selection pattern
3882 tSCC zHpux_Extern_ErrnoList[] =
3885 * Machine/OS name selection pattern
3887 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3889 "*-hp-hpux11.[0-2]*",
3890 (const char*)NULL };
3893 * content selection pattern - do fix if pattern found
3895 tSCC zHpux_Extern_ErrnoSelect0[] =
3896 "^[ \t]*extern int errno;$";
3898 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3899 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3900 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3903 * Fix Command Arguments for Hpux_Extern_Errno
3905 static const char* apzHpux_Extern_ErrnoPatch[] = {
3907 "#ifdef __cplusplus\n\
3911 #ifdef __cplusplus\n\
3916 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3918 * Description of Hpux_Pthread_Initializers fix
3920 tSCC zHpux_Pthread_InitializersName[] =
3921 "hpux_pthread_initializers";
3924 * File name selection pattern
3926 tSCC zHpux_Pthread_InitializersList[] =
3929 * Machine/OS name selection pattern
3931 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3932 "*-hp-hpux11.[0-3]*",
3933 (const char*)NULL };
3934 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3935 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3938 * Fix Command Arguments for Hpux_Pthread_Initializers
3940 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
3941 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3942 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3943 "-e", "/^[ \t]*0$/d",
3944 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3945 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3946 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3947 "-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\\\\@",
3948 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3949 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3950 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3951 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3952 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3953 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3958 * Description of Hpux_C99_Intptr fix
3960 tSCC zHpux_C99_IntptrName[] =
3964 * File name selection pattern
3966 tSCC zHpux_C99_IntptrList[] =
3969 * Machine/OS name selection pattern
3971 tSCC* apzHpux_C99_IntptrMachs[] = {
3973 (const char*)NULL };
3974 #define HPUX_C99_INTPTR_TEST_CT 0
3975 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
3978 * Fix Command Arguments for Hpux_C99_Intptr
3980 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
3981 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
3982 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
3983 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
3984 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
3985 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
3986 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
3989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3991 * Description of Hpux_C99_Inttypes fix
3993 tSCC zHpux_C99_InttypesName[] =
3994 "hpux_c99_inttypes";
3997 * File name selection pattern
3999 tSCC zHpux_C99_InttypesList[] =
4000 "inttypes.h\0stdint.h\0";
4002 * Machine/OS name selection pattern
4004 tSCC* apzHpux_C99_InttypesMachs[] = {
4005 "*-hp-hpux11.[23]*",
4006 (const char*)NULL };
4007 #define HPUX_C99_INTTYPES_TEST_CT 0
4008 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4011 * Fix Command Arguments for Hpux_C99_Inttypes
4013 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4014 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4015 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4016 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4017 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4020 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4022 * Description of Hpux_C99_Inttypes2 fix
4024 tSCC zHpux_C99_Inttypes2Name[] =
4025 "hpux_c99_inttypes2";
4028 * File name selection pattern
4030 tSCC zHpux_C99_Inttypes2List[] =
4033 * Machine/OS name selection pattern
4035 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4037 (const char*)NULL };
4038 #define HPUX_C99_INTTYPES2_TEST_CT 0
4039 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4042 * Fix Command Arguments for Hpux_C99_Inttypes2
4044 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4045 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4046 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4047 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4048 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4053 * Description of Hpux_Stdint_Least_Fast fix
4055 tSCC zHpux_Stdint_Least_FastName[] =
4056 "hpux_stdint_least_fast";
4059 * File name selection pattern
4061 tSCC zHpux_Stdint_Least_FastList[] =
4064 * Machine/OS name selection pattern
4066 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
4068 (const char*)NULL };
4071 * content selection pattern - do fix if pattern found
4073 tSCC zHpux_Stdint_Least_FastSelect0[] =
4074 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
4076 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
4077 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
4078 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
4081 * Fix Command Arguments for Hpux_Stdint_Least_Fast
4083 static const char* apzHpux_Stdint_Least_FastPatch[] = {
4085 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
4088 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4090 * Description of Hpux_Inttype_Int8_T fix
4092 tSCC zHpux_Inttype_Int8_TName[] =
4093 "hpux_inttype_int8_t";
4096 * File name selection pattern
4098 tSCC zHpux_Inttype_Int8_TList[] =
4099 "sys/_inttypes.h\0";
4101 * Machine/OS name selection pattern
4103 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4105 (const char*)NULL };
4108 * content selection pattern - do fix if pattern found
4110 tSCC zHpux_Inttype_Int8_TSelect0[] =
4111 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4113 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
4114 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4115 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4118 * Fix Command Arguments for Hpux_Inttype_Int8_T
4120 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4122 "typedef signed char int%18_t;",
4125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4127 * Description of Hpux_Imaginary_I fix
4129 tSCC zHpux_Imaginary_IName[] =
4133 * File name selection pattern
4135 tSCC zHpux_Imaginary_IList[] =
4138 * Machine/OS name selection pattern
4140 tSCC* apzHpux_Imaginary_IMachs[] = {
4142 (const char*)NULL };
4145 * content selection pattern - do fix if pattern found
4147 tSCC zHpux_Imaginary_ISelect0[] =
4148 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4150 #define HPUX_IMAGINARY_I_TEST_CT 1
4151 static tTestDesc aHpux_Imaginary_ITests[] = {
4152 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4155 * Fix Command Arguments for Hpux_Imaginary_I
4157 static const char* apzHpux_Imaginary_IPatch[] = {
4159 "#define _Complex_I (__extension__ 1.0iF)",
4162 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4164 * Description of Huge_Val_Hex fix
4166 tSCC zHuge_Val_HexName[] =
4170 * File name selection pattern
4172 tSCC zHuge_Val_HexList[] =
4173 "bits/huge_val.h\0";
4175 * Machine/OS name selection pattern
4177 #define apzHuge_Val_HexMachs (const char**)NULL
4180 * content selection pattern - do fix if pattern found
4182 tSCC zHuge_Val_HexSelect0[] =
4183 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
4186 * content bypass pattern - skip fix if pattern found
4188 tSCC zHuge_Val_HexBypass0[] =
4189 "__builtin_huge_val";
4191 #define HUGE_VAL_HEX_TEST_CT 2
4192 static tTestDesc aHuge_Val_HexTests[] = {
4193 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
4194 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
4197 * Fix Command Arguments for Huge_Val_Hex
4199 static const char* apzHuge_Val_HexPatch[] = {
4201 "#define HUGE_VAL (__builtin_huge_val())\n",
4204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4206 * Description of Huge_Valf_Hex fix
4208 tSCC zHuge_Valf_HexName[] =
4212 * File name selection pattern
4214 tSCC zHuge_Valf_HexList[] =
4215 "bits/huge_val.h\0";
4217 * Machine/OS name selection pattern
4219 #define apzHuge_Valf_HexMachs (const char**)NULL
4222 * content selection pattern - do fix if pattern found
4224 tSCC zHuge_Valf_HexSelect0[] =
4225 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
4228 * content bypass pattern - skip fix if pattern found
4230 tSCC zHuge_Valf_HexBypass0[] =
4231 "__builtin_huge_valf";
4233 #define HUGE_VALF_HEX_TEST_CT 2
4234 static tTestDesc aHuge_Valf_HexTests[] = {
4235 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
4236 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
4239 * Fix Command Arguments for Huge_Valf_Hex
4241 static const char* apzHuge_Valf_HexPatch[] = {
4243 "#define HUGE_VALF (__builtin_huge_valf())\n",
4246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4248 * Description of Huge_Vall_Hex fix
4250 tSCC zHuge_Vall_HexName[] =
4254 * File name selection pattern
4256 tSCC zHuge_Vall_HexList[] =
4257 "bits/huge_val.h\0";
4259 * Machine/OS name selection pattern
4261 #define apzHuge_Vall_HexMachs (const char**)NULL
4264 * content selection pattern - do fix if pattern found
4266 tSCC zHuge_Vall_HexSelect0[] =
4267 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
4270 * content bypass pattern - skip fix if pattern found
4272 tSCC zHuge_Vall_HexBypass0[] =
4273 "__builtin_huge_vall";
4275 #define HUGE_VALL_HEX_TEST_CT 2
4276 static tTestDesc aHuge_Vall_HexTests[] = {
4277 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
4278 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
4281 * Fix Command Arguments for Huge_Vall_Hex
4283 static const char* apzHuge_Vall_HexPatch[] = {
4285 "#define HUGE_VALL (__builtin_huge_vall())\n",
4288 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4290 * Description of Int_Abort_Free_And_Exit fix
4292 tSCC zInt_Abort_Free_And_ExitName[] =
4293 "int_abort_free_and_exit";
4296 * File name selection pattern
4298 tSCC zInt_Abort_Free_And_ExitList[] =
4301 * Machine/OS name selection pattern
4303 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
4306 * content selection pattern - do fix if pattern found
4308 tSCC zInt_Abort_Free_And_ExitSelect0[] =
4309 "int[ \t]+(abort|free|exit)[ \t]*\\(";
4312 * content bypass pattern - skip fix if pattern found
4314 tSCC zInt_Abort_Free_And_ExitBypass0[] =
4315 "_CLASSIC_ANSI_TYPES";
4317 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
4318 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
4319 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
4320 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
4323 * Fix Command Arguments for Int_Abort_Free_And_Exit
4325 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
4330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4332 * Description of Io_Quotes_Def fix
4334 tSCC zIo_Quotes_DefName[] =
4338 * File name selection pattern
4340 #define zIo_Quotes_DefList (char*)NULL
4342 * Machine/OS name selection pattern
4344 #define apzIo_Quotes_DefMachs (const char**)NULL
4347 * content selection pattern - do fix if pattern found
4349 tSCC zIo_Quotes_DefSelect0[] =
4350 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
4352 #define IO_QUOTES_DEF_TEST_CT 1
4353 static tTestDesc aIo_Quotes_DefTests[] = {
4354 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
4357 * Fix Command Arguments for Io_Quotes_Def
4359 static const char* apzIo_Quotes_DefPatch[] = {
4364 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4366 * Description of Io_Quotes_Use fix
4368 tSCC zIo_Quotes_UseName[] =
4372 * File name selection pattern
4374 #define zIo_Quotes_UseList (char*)NULL
4376 * Machine/OS name selection pattern
4378 #define apzIo_Quotes_UseMachs (const char**)NULL
4381 * content selection pattern - do fix if pattern found
4383 tSCC zIo_Quotes_UseSelect0[] =
4384 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
4386 #define IO_QUOTES_USE_TEST_CT 1
4387 static tTestDesc aIo_Quotes_UseTests[] = {
4388 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
4391 * Fix Command Arguments for Io_Quotes_Use
4393 static const char* apzIo_Quotes_UsePatch[] = {
4398 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4400 * Description of Ip_Missing_Semi fix
4402 tSCC zIp_Missing_SemiName[] =
4406 * File name selection pattern
4408 tSCC zIp_Missing_SemiList[] =
4411 * Machine/OS name selection pattern
4413 #define apzIp_Missing_SemiMachs (const char**)NULL
4416 * content selection pattern - do fix if pattern found
4418 tSCC zIp_Missing_SemiSelect0[] =
4421 #define IP_MISSING_SEMI_TEST_CT 1
4422 static tTestDesc aIp_Missing_SemiTests[] = {
4423 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
4426 * Fix Command Arguments for Ip_Missing_Semi
4428 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
4429 "-e", "/^struct/,/^};/s/}$/};/",
4432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4434 * Description of Irix___Restrict fix
4436 tSCC zIrix___RestrictName[] =
4440 * File name selection pattern
4442 tSCC zIrix___RestrictList[] =
4443 "internal/sgimacros.h\0";
4445 * Machine/OS name selection pattern
4447 tSCC* apzIrix___RestrictMachs[] = {
4449 (const char*)NULL };
4452 * content selection pattern - do fix if pattern found
4454 tSCC zIrix___RestrictSelect0[] =
4456 )(#[ \t]*define __restrict restrict)";
4458 #define IRIX___RESTRICT_TEST_CT 1
4459 static tTestDesc aIrix___RestrictTests[] = {
4460 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
4463 * Fix Command Arguments for Irix___Restrict
4465 static const char* apzIrix___RestrictPatch[] = {
4467 "%1# ifndef __cplusplus\n\
4472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4474 * Description of Irix___Generic1 fix
4476 tSCC zIrix___Generic1Name[] =
4480 * File name selection pattern
4482 tSCC zIrix___Generic1List[] =
4483 "internal/math_core.h\0";
4485 * Machine/OS name selection pattern
4487 tSCC* apzIrix___Generic1Machs[] = {
4489 (const char*)NULL };
4492 * content selection pattern - do fix if pattern found
4494 tSCC zIrix___Generic1Select0[] =
4495 "#define ([a-z]+)\\(x\\) *__generic.*";
4497 #define IRIX___GENERIC1_TEST_CT 1
4498 static tTestDesc aIrix___Generic1Tests[] = {
4499 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
4502 * Fix Command Arguments for Irix___Generic1
4504 static const char* apzIrix___Generic1Patch[] = {
4506 "extern int %1(double);\n\
4507 extern int %1f(float);\n\
4508 extern int %1l(long double);\n\
4509 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
4510 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
4514 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4516 * Description of Irix___Generic2 fix
4518 tSCC zIrix___Generic2Name[] =
4522 * File name selection pattern
4524 tSCC zIrix___Generic2List[] =
4525 "internal/math_core.h\0";
4527 * Machine/OS name selection pattern
4529 tSCC* apzIrix___Generic2Machs[] = {
4531 (const char*)NULL };
4534 * content selection pattern - do fix if pattern found
4536 tSCC zIrix___Generic2Select0[] =
4537 "#define ([a-z]+)\\(x,y\\) *__generic.*";
4539 #define IRIX___GENERIC2_TEST_CT 1
4540 static tTestDesc aIrix___Generic2Tests[] = {
4541 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
4544 * Fix Command Arguments for Irix___Generic2
4546 static const char* apzIrix___Generic2Patch[] = {
4548 "#define %1(x,y) \\\n\
4549 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
4550 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
4554 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4556 * Description of Irix_Asm_Apostrophe fix
4558 tSCC zIrix_Asm_ApostropheName[] =
4559 "irix_asm_apostrophe";
4562 * File name selection pattern
4564 tSCC zIrix_Asm_ApostropheList[] =
4567 * Machine/OS name selection pattern
4569 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
4572 * content selection pattern - do fix if pattern found
4574 tSCC zIrix_Asm_ApostropheSelect0[] =
4575 "^[ \t]*#.*[Ww]e're";
4577 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
4578 static tTestDesc aIrix_Asm_ApostropheTests[] = {
4579 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
4582 * Fix Command Arguments for Irix_Asm_Apostrophe
4584 static const char* apzIrix_Asm_ApostrophePatch[] = {
4587 "^([ \t]*#.*[Ww]e)'re",
4590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4592 * Description of Irix_Complex fix
4594 tSCC zIrix_ComplexName[] =
4598 * File name selection pattern
4600 tSCC zIrix_ComplexList[] =
4603 * Machine/OS name selection pattern
4605 tSCC* apzIrix_ComplexMachs[] = {
4607 (const char*)NULL };
4610 * content selection pattern - do fix if pattern found
4612 tSCC zIrix_ComplexSelect0[] =
4613 "#define[ \t]_Complex_I[ \t]\\(\\(float[ \t]_Complex\\)[ \t]\\(__I__\\)\\)";
4615 #define IRIX_COMPLEX_TEST_CT 1
4616 static tTestDesc aIrix_ComplexTests[] = {
4617 { TT_EGREP, zIrix_ComplexSelect0, (regex_t*)NULL }, };
4620 * Fix Command Arguments for Irix_Complex
4622 static const char* apzIrix_ComplexPatch[] = { sed_cmd_z,
4623 "-e", "s/#define[ \t]_Complex_I[ \t]((float[ \t]_Complex)[ \t](__I__))/#define _Complex_I (__extension__ 1.0iF)/",
4624 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
4625 "-e", "/#define[ \t]_Imaginary_I/d",
4626 "-e", "s/#define[ \t]I[ \t]_Imaginary_I/#define I _Complex_I/",
4629 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4631 * Description of Irix_Limits_Const fix
4633 tSCC zIrix_Limits_ConstName[] =
4634 "irix_limits_const";
4637 * File name selection pattern
4639 tSCC zIrix_Limits_ConstList[] =
4640 "fixinc-test-limits.h\0limits.h\0";
4642 * Machine/OS name selection pattern
4644 #define apzIrix_Limits_ConstMachs (const char**)NULL
4647 * content selection pattern - do fix if pattern found
4649 tSCC zIrix_Limits_ConstSelect0[] =
4652 #define IRIX_LIMITS_CONST_TEST_CT 1
4653 static tTestDesc aIrix_Limits_ConstTests[] = {
4654 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
4657 * Fix Command Arguments for Irix_Limits_Const
4659 static const char* apzIrix_Limits_ConstPatch[] = {
4664 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4666 * Description of Irix_Socklen_T fix
4668 tSCC zIrix_Socklen_TName[] =
4672 * File name selection pattern
4674 tSCC zIrix_Socklen_TList[] =
4677 * Machine/OS name selection pattern
4679 tSCC* apzIrix_Socklen_TMachs[] = {
4681 (const char*)NULL };
4684 * content selection pattern - do fix if pattern found
4686 tSCC zIrix_Socklen_TSelect0[] =
4687 "(#define _SOCKLEN_T\n\
4688 )(typedef u_int32_t socklen_t;)";
4690 #define IRIX_SOCKLEN_T_TEST_CT 1
4691 static tTestDesc aIrix_Socklen_TTests[] = {
4692 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
4695 * Fix Command Arguments for Irix_Socklen_T
4697 static const char* apzIrix_Socklen_TPatch[] = {
4699 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
4700 typedef int socklen_t;\n\
4703 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
4706 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4708 * Description of Irix_Stdint_C99 fix
4710 tSCC zIrix_Stdint_C99Name[] =
4714 * File name selection pattern
4716 tSCC zIrix_Stdint_C99List[] =
4719 * Machine/OS name selection pattern
4721 tSCC* apzIrix_Stdint_C99Machs[] = {
4723 (const char*)NULL };
4726 * content selection pattern - do fix if pattern found
4728 tSCC zIrix_Stdint_C99Select0[] =
4730 )(#error This header file is to be used only for c99 mode compilations)";
4732 #define IRIX_STDINT_C99_TEST_CT 1
4733 static tTestDesc aIrix_Stdint_C99Tests[] = {
4734 { TT_EGREP, zIrix_Stdint_C99Select0, (regex_t*)NULL }, };
4737 * Fix Command Arguments for Irix_Stdint_C99
4739 static const char* apzIrix_Stdint_C99Patch[] = {
4745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4747 * Description of Irix_Stdio_Va_List fix
4749 tSCC zIrix_Stdio_Va_ListName[] =
4750 "irix_stdio_va_list";
4753 * File name selection pattern
4755 tSCC zIrix_Stdio_Va_ListList[] =
4756 "stdio.h\0internal/stdio_core.h\0";
4758 * Machine/OS name selection pattern
4760 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4763 * content selection pattern - do fix if pattern found
4765 tSCC zIrix_Stdio_Va_ListSelect0[] =
4766 "/\\* va_list \\*/ char \\*";
4768 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4769 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4770 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4773 * Fix Command Arguments for Irix_Stdio_Va_List
4775 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4780 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4782 * Description of Irix_Wcsftime fix
4784 tSCC zIrix_WcsftimeName[] =
4788 * File name selection pattern
4790 tSCC zIrix_WcsftimeList[] =
4791 "internal/wchar_core.h\0";
4793 * Machine/OS name selection pattern
4795 tSCC* apzIrix_WcsftimeMachs[] = {
4797 (const char*)NULL };
4800 * content selection pattern - do fix if pattern found
4802 tSCC zIrix_WcsftimeSelect0[] =
4804 (extern size_t[ \t]+wcsftime.*const char *.*)";
4806 #define IRIX_WCSFTIME_TEST_CT 1
4807 static tTestDesc aIrix_WcsftimeTests[] = {
4808 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
4811 * Fix Command Arguments for Irix_Wcsftime
4813 static const char* apzIrix_WcsftimePatch[] = {
4815 "#if _NO_XOPEN5 && !defined(__c99)\n\
4819 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4821 * Description of Kandr_Concat fix
4823 tSCC zKandr_ConcatName[] =
4827 * File name selection pattern
4829 tSCC zKandr_ConcatList[] =
4830 "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";
4832 * Machine/OS name selection pattern
4834 #define apzKandr_ConcatMachs (const char**)NULL
4837 * content selection pattern - do fix if pattern found
4839 tSCC zKandr_ConcatSelect0[] =
4842 #define KANDR_CONCAT_TEST_CT 1
4843 static tTestDesc aKandr_ConcatTests[] = {
4844 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4847 * Fix Command Arguments for Kandr_Concat
4849 static const char* apzKandr_ConcatPatch[] = {
4854 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4856 * Description of Linux_Ia64_Ucontext fix
4858 tSCC zLinux_Ia64_UcontextName[] =
4859 "linux_ia64_ucontext";
4862 * File name selection pattern
4864 tSCC zLinux_Ia64_UcontextList[] =
4867 * Machine/OS name selection pattern
4869 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4871 (const char*)NULL };
4874 * content selection pattern - do fix if pattern found
4876 tSCC zLinux_Ia64_UcontextSelect0[] =
4877 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4879 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4880 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4881 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4884 * Fix Command Arguments for Linux_Ia64_Ucontext
4886 static const char* apzLinux_Ia64_UcontextPatch[] = {
4888 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4893 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4895 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4896 "lynxos_no_warning_in_sys_time_h";
4899 * File name selection pattern
4901 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4904 * Machine/OS name selection pattern
4906 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4909 * content selection pattern - do fix if pattern found
4911 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4912 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4914 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4915 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4916 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4919 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4921 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4928 * Description of Lynxos_Missing_Putenv fix
4930 tSCC zLynxos_Missing_PutenvName[] =
4931 "lynxos_missing_putenv";
4934 * File name selection pattern
4936 tSCC zLynxos_Missing_PutenvList[] =
4939 * Machine/OS name selection pattern
4941 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4943 (const char*)NULL };
4946 * content selection pattern - do fix if pattern found
4948 tSCC zLynxos_Missing_PutenvSelect0[] =
4949 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4952 * content bypass pattern - skip fix if pattern found
4954 tSCC zLynxos_Missing_PutenvBypass0[] =
4957 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4958 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4959 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4960 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4963 * Fix Command Arguments for Lynxos_Missing_Putenv
4965 static const char* apzLynxos_Missing_PutenvPatch[] = {
4968 extern int putenv\t\t\t\t_AP((char *));",
4969 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4974 * Description of Machine_Ansi_H_Va_List fix
4976 tSCC zMachine_Ansi_H_Va_ListName[] =
4977 "machine_ansi_h_va_list";
4980 * File name selection pattern
4982 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4984 * Machine/OS name selection pattern
4986 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4989 * content selection pattern - do fix if pattern found
4991 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4992 "define[ \t]+_BSD_VA_LIST_[ \t]";
4995 * content bypass pattern - skip fix if pattern found
4997 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4998 "__builtin_va_list";
5000 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5001 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5002 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5003 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5006 * Fix Command Arguments for Machine_Ansi_H_Va_List
5008 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5010 "%1__builtin_va_list",
5011 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5016 * Description of Machine_Name fix
5018 tSCC zMachine_NameName[] =
5022 * File name selection pattern
5024 #define zMachine_NameList (char*)NULL
5026 * Machine/OS name selection pattern
5028 #define apzMachine_NameMachs (const char**)NULL
5031 * perform the C function call test
5033 tSCC zMachine_NameFTst0[] = "machine_name";
5035 #define MACHINE_NAME_TEST_CT 1
5036 static tTestDesc aMachine_NameTests[] = {
5037 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5040 * Fix Command Arguments for Machine_Name
5042 static const char* apzMachine_NamePatch[] = {
5046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5048 * Description of Math_Exception fix
5050 tSCC zMath_ExceptionName[] =
5054 * File name selection pattern
5056 tSCC zMath_ExceptionList[] =
5059 * Machine/OS name selection pattern
5061 #define apzMath_ExceptionMachs (const char**)NULL
5064 * content selection pattern - do fix if pattern found
5066 tSCC zMath_ExceptionSelect0[] =
5070 * content bypass pattern - skip fix if pattern found
5072 tSCC zMath_ExceptionBypass0[] =
5073 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5075 #define MATH_EXCEPTION_TEST_CT 2
5076 static tTestDesc aMath_ExceptionTests[] = {
5077 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5078 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5081 * Fix Command Arguments for Math_Exception
5083 static const char* apzMath_ExceptionPatch[] = {
5085 "#ifdef __cplusplus\n\
5086 #define exception __math_exception\n\
5088 "#ifdef __cplusplus\n\
5093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5095 * Description of Math_Huge_Val_From_Dbl_Max fix
5097 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5098 "math_huge_val_from_dbl_max";
5101 * File name selection pattern
5103 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5106 * Machine/OS name selection pattern
5108 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5111 * content selection pattern - do fix if pattern found
5113 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5114 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5117 * content bypass pattern - skip fix if pattern found
5119 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5120 "define[ \t]+DBL_MAX";
5122 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
5123 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5124 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5125 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5128 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5130 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5131 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5132 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5133 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5138 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5140 * Description of Nested_Auth_Des fix
5142 tSCC zNested_Auth_DesName[] =
5146 * File name selection pattern
5148 tSCC zNested_Auth_DesList[] =
5151 * Machine/OS name selection pattern
5153 #define apzNested_Auth_DesMachs (const char**)NULL
5156 * content selection pattern - do fix if pattern found
5158 tSCC zNested_Auth_DesSelect0[] =
5159 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5161 #define NESTED_AUTH_DES_TEST_CT 1
5162 static tTestDesc aNested_Auth_DesTests[] = {
5163 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5166 * Fix Command Arguments for Nested_Auth_Des
5168 static const char* apzNested_Auth_DesPatch[] = {
5173 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5175 * Description of Netbsd_C99_Inline_1 fix
5177 tSCC zNetbsd_C99_Inline_1Name[] =
5178 "netbsd_c99_inline_1";
5181 * File name selection pattern
5183 tSCC zNetbsd_C99_Inline_1List[] =
5186 * Machine/OS name selection pattern
5188 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5190 (const char*)NULL };
5193 * content selection pattern - do fix if pattern found
5195 tSCC zNetbsd_C99_Inline_1Select0[] =
5196 "extern __inline int";
5198 #define NETBSD_C99_INLINE_1_TEST_CT 1
5199 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
5200 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
5203 * Fix Command Arguments for Netbsd_C99_Inline_1
5205 static const char* apzNetbsd_C99_Inline_1Patch[] = {
5208 #ifdef __GNUC_STDC_INLINE__\n\
5209 __attribute__((__gnu_inline__))\n\
5214 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5216 * Description of Netbsd_C99_Inline_2 fix
5218 tSCC zNetbsd_C99_Inline_2Name[] =
5219 "netbsd_c99_inline_2";
5222 * File name selection pattern
5224 tSCC zNetbsd_C99_Inline_2List[] =
5227 * Machine/OS name selection pattern
5229 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5231 (const char*)NULL };
5234 * content selection pattern - do fix if pattern found
5236 tSCC zNetbsd_C99_Inline_2Select0[] =
5237 "#define _SIGINLINE extern __inline";
5239 #define NETBSD_C99_INLINE_2_TEST_CT 1
5240 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5241 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5244 * Fix Command Arguments for Netbsd_C99_Inline_2
5246 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5248 "#ifdef __GNUC_STDC_INLINE__\n\
5249 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5255 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5257 * Description of Netbsd_Extra_Semicolon fix
5259 tSCC zNetbsd_Extra_SemicolonName[] =
5260 "netbsd_extra_semicolon";
5263 * File name selection pattern
5265 tSCC zNetbsd_Extra_SemicolonList[] =
5268 * Machine/OS name selection pattern
5270 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5272 (const char*)NULL };
5275 * content selection pattern - do fix if pattern found
5277 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5278 "#define[ \t]*__END_DECLS[ \t]*};";
5280 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
5281 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5282 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5285 * Fix Command Arguments for Netbsd_Extra_Semicolon
5287 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5289 "#define __END_DECLS }",
5292 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5294 * Description of Newlib_Stdint_1 fix
5296 tSCC zNewlib_Stdint_1Name[] =
5300 * File name selection pattern
5302 tSCC zNewlib_Stdint_1List[] =
5305 * Machine/OS name selection pattern
5307 #define apzNewlib_Stdint_1Machs (const char**)NULL
5310 * content selection pattern - do fix if pattern found
5312 tSCC zNewlib_Stdint_1Select0[] =
5313 "@todo - Add support for wint_t types";
5315 #define NEWLIB_STDINT_1_TEST_CT 1
5316 static tTestDesc aNewlib_Stdint_1Tests[] = {
5317 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5320 * Fix Command Arguments for Newlib_Stdint_1
5322 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5323 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5324 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5325 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5326 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5327 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5328 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5329 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5330 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5331 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5332 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5333 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5334 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5335 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5336 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5341 * Description of Newlib_Stdint_2 fix
5343 tSCC zNewlib_Stdint_2Name[] =
5347 * File name selection pattern
5349 tSCC zNewlib_Stdint_2List[] =
5352 * Machine/OS name selection pattern
5354 #define apzNewlib_Stdint_2Machs (const char**)NULL
5357 * content selection pattern - do fix if pattern found
5359 tSCC zNewlib_Stdint_2Select0[] =
5360 "@todo - Add support for wint_t types";
5362 #define NEWLIB_STDINT_2_TEST_CT 1
5363 static tTestDesc aNewlib_Stdint_2Tests[] = {
5364 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5367 * Fix Command Arguments for Newlib_Stdint_2
5369 static const char* apzNewlib_Stdint_2Patch[] = {
5371 "#define INTMAX_MAX __INTMAX_MAX__\n\
5372 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5373 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5374 #define WCHAR_MAX __WCHAR_MAX__\n\
5375 #define WCHAR_MIN __WCHAR_MIN__\n\
5376 #define WINT_MAX __WINT_MAX__\n\
5377 #define WINT_MIN __WINT_MIN__\n\n\
5379 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5384 * Description of Next_Math_Prefix fix
5386 tSCC zNext_Math_PrefixName[] =
5390 * File name selection pattern
5392 tSCC zNext_Math_PrefixList[] =
5395 * Machine/OS name selection pattern
5397 #define apzNext_Math_PrefixMachs (const char**)NULL
5400 * content selection pattern - do fix if pattern found
5402 tSCC zNext_Math_PrefixSelect0[] =
5403 "^extern[ \t]+double[ \t]+__const__[ \t]";
5405 #define NEXT_MATH_PREFIX_TEST_CT 1
5406 static tTestDesc aNext_Math_PrefixTests[] = {
5407 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
5410 * Fix Command Arguments for Next_Math_Prefix
5412 static const char* apzNext_Math_PrefixPatch[] = {
5414 "extern double %1(",
5415 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
5418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5420 * Description of Next_Template fix
5422 tSCC zNext_TemplateName[] =
5426 * File name selection pattern
5428 tSCC zNext_TemplateList[] =
5431 * Machine/OS name selection pattern
5433 #define apzNext_TemplateMachs (const char**)NULL
5436 * content selection pattern - do fix if pattern found
5438 tSCC zNext_TemplateSelect0[] =
5441 #define NEXT_TEMPLATE_TEST_CT 1
5442 static tTestDesc aNext_TemplateTests[] = {
5443 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
5446 * Fix Command Arguments for Next_Template
5448 static const char* apzNext_TemplatePatch[] = {
5451 "\\(([^)]*)[ \t]template\\)",
5454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5456 * Description of Next_Volitile fix
5458 tSCC zNext_VolitileName[] =
5462 * File name selection pattern
5464 tSCC zNext_VolitileList[] =
5467 * Machine/OS name selection pattern
5469 #define apzNext_VolitileMachs (const char**)NULL
5472 * content selection pattern - do fix if pattern found
5474 tSCC zNext_VolitileSelect0[] =
5475 "^extern[ \t]+volatile[ \t]+void[ \t]";
5477 #define NEXT_VOLITILE_TEST_CT 1
5478 static tTestDesc aNext_VolitileTests[] = {
5479 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
5482 * Fix Command Arguments for Next_Volitile
5484 static const char* apzNext_VolitilePatch[] = {
5487 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5490 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5492 * Description of Next_Wait_Union fix
5494 tSCC zNext_Wait_UnionName[] =
5498 * File name selection pattern
5500 tSCC zNext_Wait_UnionList[] =
5503 * Machine/OS name selection pattern
5505 #define apzNext_Wait_UnionMachs (const char**)NULL
5508 * content selection pattern - do fix if pattern found
5510 tSCC zNext_Wait_UnionSelect0[] =
5511 "wait\\(union wait";
5513 #define NEXT_WAIT_UNION_TEST_CT 1
5514 static tTestDesc aNext_Wait_UnionTests[] = {
5515 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5518 * Fix Command Arguments for Next_Wait_Union
5520 static const char* apzNext_Wait_UnionPatch[] = {
5525 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5527 * Description of Nodeent_Syntax fix
5529 tSCC zNodeent_SyntaxName[] =
5533 * File name selection pattern
5535 tSCC zNodeent_SyntaxList[] =
5536 "netdnet/dnetdb.h\0";
5538 * Machine/OS name selection pattern
5540 #define apzNodeent_SyntaxMachs (const char**)NULL
5543 * content selection pattern - do fix if pattern found
5545 tSCC zNodeent_SyntaxSelect0[] =
5546 "char[ \t]*\\*na_addr[ \t]*$";
5548 #define NODEENT_SYNTAX_TEST_CT 1
5549 static tTestDesc aNodeent_SyntaxTests[] = {
5550 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5553 * Fix Command Arguments for Nodeent_Syntax
5555 static const char* apzNodeent_SyntaxPatch[] = {
5560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5562 * Description of Openbsd_Null_Definition fix
5564 tSCC zOpenbsd_Null_DefinitionName[] =
5565 "openbsd_null_definition";
5568 * File name selection pattern
5570 tSCC zOpenbsd_Null_DefinitionList[] =
5571 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
5573 * Machine/OS name selection pattern
5575 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
5577 (const char*)NULL };
5580 * content selection pattern - do fix if pattern found
5582 tSCC zOpenbsd_Null_DefinitionSelect0[] =
5585 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
5586 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
5587 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
5590 * Fix Command Arguments for Openbsd_Null_Definition
5592 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
5595 #ifdef __cplusplus\n\
5597 #define NULL\t__null\n\
5598 #else\t /* ! __GNUG__ */\n\
5600 #endif\t /* __GNUG__ */\n\
5601 #else\t /* ! __cplusplus */\n\
5602 #define NULL\t((void *)0)\n\
5603 #endif\t /* __cplusplus */\n\
5604 #endif\t /* !NULL */",
5605 "^#ifndef[ \t]*NULL\n\
5606 ^#ifdef[ \t]*__GNUG__\n\
5607 ^#define[ \t]*NULL[ \t]*__null\n\
5609 ^#define[ \t]*NULL[ \t]*0L\n\
5614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5616 * Description of Obstack_Lvalue_Cast fix
5618 tSCC zObstack_Lvalue_CastName[] =
5619 "obstack_lvalue_cast";
5622 * File name selection pattern
5624 tSCC zObstack_Lvalue_CastList[] =
5627 * Machine/OS name selection pattern
5629 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5632 * content selection pattern - do fix if pattern found
5634 tSCC zObstack_Lvalue_CastSelect0[] =
5635 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5637 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5638 static tTestDesc aObstack_Lvalue_CastTests[] = {
5639 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5642 * Fix Command Arguments for Obstack_Lvalue_Cast
5644 static const char* apzObstack_Lvalue_CastPatch[] = {
5646 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5651 * Description of Openbsd_Va_Start fix
5653 tSCC zOpenbsd_Va_StartName[] =
5657 * File name selection pattern
5659 tSCC zOpenbsd_Va_StartList[] =
5662 * Machine/OS name selection pattern
5664 tSCC* apzOpenbsd_Va_StartMachs[] = {
5666 (const char*)NULL };
5669 * content selection pattern - do fix if pattern found
5671 tSCC zOpenbsd_Va_StartSelect0[] =
5672 "__builtin_stdarg_start";
5674 #define OPENBSD_VA_START_TEST_CT 1
5675 static tTestDesc aOpenbsd_Va_StartTests[] = {
5676 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
5679 * Fix Command Arguments for Openbsd_Va_Start
5681 static const char* apzOpenbsd_Va_StartPatch[] = {
5683 "__builtin_va_start",
5686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5688 * Description of Osf_Namespace_A fix
5690 tSCC zOsf_Namespace_AName[] =
5694 * File name selection pattern
5696 tSCC zOsf_Namespace_AList[] =
5697 "reg_types.h\0sys/lc_core.h\0";
5699 * Machine/OS name selection pattern
5701 #define apzOsf_Namespace_AMachs (const char**)NULL
5704 * perform the 'test' shell command - do fix on success
5706 tSCC zOsf_Namespace_ATest0[] =
5708 tSCC zOsf_Namespace_ATest1[] =
5709 " -r sys/lc_core.h";
5710 tSCC zOsf_Namespace_ATest2[] =
5711 " -n \"`grep '} regex_t;' reg_types.h`\"";
5712 tSCC zOsf_Namespace_ATest3[] =
5713 " -z \"`grep __regex_t regex.h`\"";
5715 #define OSF_NAMESPACE_A_TEST_CT 4
5716 static tTestDesc aOsf_Namespace_ATests[] = {
5717 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5718 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5719 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5720 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5723 * Fix Command Arguments for Osf_Namespace_A
5725 static const char* apzOsf_Namespace_APatch[] = {
5728 "reg(ex|off|match)_t",
5731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5733 * Description of Osf_Namespace_C fix
5735 tSCC zOsf_Namespace_CName[] =
5739 * File name selection pattern
5741 tSCC zOsf_Namespace_CList[] =
5744 * Machine/OS name selection pattern
5746 #define apzOsf_Namespace_CMachs (const char**)NULL
5749 * content selection pattern - do fix if pattern found
5751 tSCC zOsf_Namespace_CSelect0[] =
5752 "#include <reg_types.h>.*";
5755 * perform the 'test' shell command - do fix on success
5757 tSCC zOsf_Namespace_CTest0[] =
5759 tSCC zOsf_Namespace_CTest1[] =
5760 " -r sys/lc_core.h";
5761 tSCC zOsf_Namespace_CTest2[] =
5762 " -n \"`grep '} regex_t;' reg_types.h`\"";
5763 tSCC zOsf_Namespace_CTest3[] =
5764 " -z \"`grep __regex_t regex.h`\"";
5766 #define OSF_NAMESPACE_C_TEST_CT 5
5767 static tTestDesc aOsf_Namespace_CTests[] = {
5768 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5769 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5770 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5771 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5772 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5775 * Fix Command Arguments for Osf_Namespace_C
5777 static const char* apzOsf_Namespace_CPatch[] = {
5780 typedef __regex_t\tregex_t;\n\
5781 typedef __regoff_t\tregoff_t;\n\
5782 typedef __regmatch_t\tregmatch_t;",
5785 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5787 * Description of Pthread_Incomplete_Struct_Argument fix
5789 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5790 "pthread_incomplete_struct_argument";
5793 * File name selection pattern
5795 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5798 * Machine/OS name selection pattern
5800 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5803 * content selection pattern - do fix if pattern found
5805 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5806 "struct __jmp_buf_tag";
5808 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5809 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5810 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5813 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5815 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5818 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5821 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5823 * Description of Read_Ret_Type fix
5825 tSCC zRead_Ret_TypeName[] =
5829 * File name selection pattern
5831 tSCC zRead_Ret_TypeList[] =
5834 * Machine/OS name selection pattern
5836 #define apzRead_Ret_TypeMachs (const char**)NULL
5839 * content selection pattern - do fix if pattern found
5841 tSCC zRead_Ret_TypeSelect0[] =
5842 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5844 #define READ_RET_TYPE_TEST_CT 1
5845 static tTestDesc aRead_Ret_TypeTests[] = {
5846 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5849 * Fix Command Arguments for Read_Ret_Type
5851 static const char* apzRead_Ret_TypePatch[] = {
5853 "extern unsigned int fread(), fwrite();\n\
5855 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5858 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5860 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5862 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5863 "rpc_xdr_lvalue_cast_a";
5866 * File name selection pattern
5868 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5871 * Machine/OS name selection pattern
5873 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5876 * content selection pattern - do fix if pattern found
5878 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5879 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5882 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5883 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5884 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5887 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5889 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5891 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5896 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5898 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5899 "rpc_xdr_lvalue_cast_b";
5902 * File name selection pattern
5904 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5907 * Machine/OS name selection pattern
5909 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5912 * content selection pattern - do fix if pattern found
5914 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5915 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5918 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5919 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5920 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5923 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5925 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5927 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5930 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5932 * Description of Rs6000_Double fix
5934 tSCC zRs6000_DoubleName[] =
5938 * File name selection pattern
5940 tSCC zRs6000_DoubleList[] =
5943 * Machine/OS name selection pattern
5945 #define apzRs6000_DoubleMachs (const char**)NULL
5948 * content selection pattern - do fix if pattern found
5950 tSCC zRs6000_DoubleSelect0[] =
5951 "[^a-zA-Z_]class\\(";
5953 #define RS6000_DOUBLE_TEST_CT 1
5954 static tTestDesc aRs6000_DoubleTests[] = {
5955 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5958 * Fix Command Arguments for Rs6000_Double
5960 static const char* apzRs6000_DoublePatch[] = {
5962 "#ifndef __cplusplus\n\
5965 "^.*[^a-zA-Z_]class\\(.*",
5968 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5970 * Description of Rs6000_Fchmod fix
5972 tSCC zRs6000_FchmodName[] =
5976 * File name selection pattern
5978 tSCC zRs6000_FchmodList[] =
5981 * Machine/OS name selection pattern
5983 #define apzRs6000_FchmodMachs (const char**)NULL
5986 * content selection pattern - do fix if pattern found
5988 tSCC zRs6000_FchmodSelect0[] =
5989 "fchmod\\(char \\*";
5991 #define RS6000_FCHMOD_TEST_CT 1
5992 static tTestDesc aRs6000_FchmodTests[] = {
5993 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5996 * Fix Command Arguments for Rs6000_Fchmod
5998 static const char* apzRs6000_FchmodPatch[] = {
6003 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6005 * Description of Rs6000_Param fix
6007 tSCC zRs6000_ParamName[] =
6011 * File name selection pattern
6013 tSCC zRs6000_ParamList[] =
6014 "stdio.h\0unistd.h\0";
6016 * Machine/OS name selection pattern
6018 #define apzRs6000_ParamMachs (const char**)NULL
6021 * content selection pattern - do fix if pattern found
6023 tSCC zRs6000_ParamSelect0[] =
6024 "rename\\(const char \\*old, const char \\*new\\)";
6026 #define RS6000_PARAM_TEST_CT 1
6027 static tTestDesc aRs6000_ParamTests[] = {
6028 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6031 * Fix Command Arguments for Rs6000_Param
6033 static const char* apzRs6000_ParamPatch[] = {
6035 "rename(const char *_old, const char *_new)",
6038 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6040 * Description of Solaris_Complex fix
6042 tSCC zSolaris_ComplexName[] =
6046 * File name selection pattern
6048 tSCC zSolaris_ComplexList[] =
6051 * Machine/OS name selection pattern
6053 tSCC* apzSolaris_ComplexMachs[] = {
6055 (const char*)NULL };
6058 * content selection pattern - do fix if pattern found
6060 tSCC zSolaris_ComplexSelect0[] =
6061 "#define[ \t]_Complex_I[ \t]_Complex_I";
6063 #define SOLARIS_COMPLEX_TEST_CT 1
6064 static tTestDesc aSolaris_ComplexTests[] = {
6065 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6068 * Fix Command Arguments for Solaris_Complex
6070 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6071 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6072 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6073 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6074 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6079 * Description of Solaris_Math_1 fix
6081 tSCC zSolaris_Math_1Name[] =
6085 * File name selection pattern
6087 tSCC zSolaris_Math_1List[] =
6090 * Machine/OS name selection pattern
6092 #define apzSolaris_Math_1Machs (const char**)NULL
6095 * content selection pattern - do fix if pattern found
6097 tSCC zSolaris_Math_1Select0[] =
6098 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6101 * content bypass pattern - skip fix if pattern found
6103 tSCC zSolaris_Math_1Bypass0[] =
6106 #define SOLARIS_MATH_1_TEST_CT 2
6107 static tTestDesc aSolaris_Math_1Tests[] = {
6108 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
6109 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
6112 * Fix Command Arguments for Solaris_Math_1
6114 static const char* apzSolaris_Math_1Patch[] = {
6116 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
6117 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
6120 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6122 * Description of Solaris_Math_2 fix
6124 tSCC zSolaris_Math_2Name[] =
6128 * File name selection pattern
6130 tSCC zSolaris_Math_2List[] =
6133 * Machine/OS name selection pattern
6135 #define apzSolaris_Math_2Machs (const char**)NULL
6138 * content selection pattern - do fix if pattern found
6140 tSCC zSolaris_Math_2Select0[] =
6141 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6144 * content bypass pattern - skip fix if pattern found
6146 tSCC zSolaris_Math_2Bypass0[] =
6149 #define SOLARIS_MATH_2_TEST_CT 2
6150 static tTestDesc aSolaris_Math_2Tests[] = {
6151 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
6152 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
6155 * Fix Command Arguments for Solaris_Math_2
6157 static const char* apzSolaris_Math_2Patch[] = {
6159 "#define\tINFINITY\t(__builtin_inff())",
6160 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
6163 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6165 * Description of Solaris_Math_3 fix
6167 tSCC zSolaris_Math_3Name[] =
6171 * File name selection pattern
6173 tSCC zSolaris_Math_3List[] =
6176 * Machine/OS name selection pattern
6178 #define apzSolaris_Math_3Machs (const char**)NULL
6181 * content selection pattern - do fix if pattern found
6183 tSCC zSolaris_Math_3Select0[] =
6184 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6187 * content bypass pattern - skip fix if pattern found
6189 tSCC zSolaris_Math_3Bypass0[] =
6192 #define SOLARIS_MATH_3_TEST_CT 2
6193 static tTestDesc aSolaris_Math_3Tests[] = {
6194 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
6195 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
6198 * Fix Command Arguments for Solaris_Math_3
6200 static const char* apzSolaris_Math_3Patch[] = {
6202 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
6203 "^#define[ \t]+NAN[ \t]+__builtin_nan",
6206 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6208 * Description of Solaris_Math_4 fix
6210 tSCC zSolaris_Math_4Name[] =
6214 * File name selection pattern
6216 tSCC zSolaris_Math_4List[] =
6219 * Machine/OS name selection pattern
6221 #define apzSolaris_Math_4Machs (const char**)NULL
6224 * content selection pattern - do fix if pattern found
6226 tSCC zSolaris_Math_4Select0[] =
6227 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6230 * content bypass pattern - skip fix if pattern found
6232 tSCC zSolaris_Math_4Bypass0[] =
6235 #define SOLARIS_MATH_4_TEST_CT 2
6236 static tTestDesc aSolaris_Math_4Tests[] = {
6237 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
6238 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
6241 * Fix Command Arguments for Solaris_Math_4
6243 static const char* apzSolaris_Math_4Patch[] = {
6245 "#define\tfpclassify(x) \\\n\
6246 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
6247 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
6250 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6252 * Description of Solaris_Math_8 fix
6254 tSCC zSolaris_Math_8Name[] =
6258 * File name selection pattern
6260 tSCC zSolaris_Math_8List[] =
6263 * Machine/OS name selection pattern
6265 #define apzSolaris_Math_8Machs (const char**)NULL
6268 * content selection pattern - do fix if pattern found
6270 tSCC zSolaris_Math_8Select0[] =
6271 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6274 * content bypass pattern - skip fix if pattern found
6276 tSCC zSolaris_Math_8Bypass0[] =
6279 #define SOLARIS_MATH_8_TEST_CT 2
6280 static tTestDesc aSolaris_Math_8Tests[] = {
6281 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
6282 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
6285 * Fix Command Arguments for Solaris_Math_8
6287 static const char* apzSolaris_Math_8Patch[] = {
6289 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6290 \t\t\t ? __builtin_signbitf(x) \\\n\
6291 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6292 \t\t\t ? __builtin_signbitl(x) \\\n\
6293 \t\t\t : __builtin_signbit(x))",
6294 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
6297 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6299 * Description of Solaris_Math_9 fix
6301 tSCC zSolaris_Math_9Name[] =
6305 * File name selection pattern
6307 tSCC zSolaris_Math_9List[] =
6310 * Machine/OS name selection pattern
6312 #define apzSolaris_Math_9Machs (const char**)NULL
6315 * content selection pattern - do fix if pattern found
6317 tSCC zSolaris_Math_9Select0[] =
6318 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6321 * content bypass pattern - skip fix if pattern found
6323 tSCC zSolaris_Math_9Bypass0[] =
6326 #define SOLARIS_MATH_9_TEST_CT 2
6327 static tTestDesc aSolaris_Math_9Tests[] = {
6328 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
6329 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
6332 * Fix Command Arguments for Solaris_Math_9
6334 static const char* apzSolaris_Math_9Patch[] = {
6336 "#define\t%1(x, y)%2__builtin_%1(x, y)",
6337 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
6340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6342 * Description of Solaris_Math_10 fix
6344 tSCC zSolaris_Math_10Name[] =
6348 * File name selection pattern
6350 tSCC zSolaris_Math_10List[] =
6353 * Machine/OS name selection pattern
6355 #define apzSolaris_Math_10Machs (const char**)NULL
6358 * content selection pattern - do fix if pattern found
6360 tSCC zSolaris_Math_10Select0[] =
6361 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6363 #define SOLARIS_MATH_10_TEST_CT 1
6364 static tTestDesc aSolaris_Math_10Tests[] = {
6365 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
6368 * Fix Command Arguments for Solaris_Math_10
6370 static const char* apzSolaris_Math_10Patch[] = {
6372 "#define\tisinf(x) __builtin_isinf(x)",
6373 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
6374 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6375 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
6376 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
6379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6381 * Description of Solaris_Mutex_Init_2 fix
6383 tSCC zSolaris_Mutex_Init_2Name[] =
6384 "solaris_mutex_init_2";
6387 * File name selection pattern
6389 tSCC zSolaris_Mutex_Init_2List[] =
6392 * Machine/OS name selection pattern
6394 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
6395 "*-*-solaris2.[0-9]",
6396 "*-*-solaris2.[0-9][!0-9]*",
6397 (const char*)NULL };
6400 * content selection pattern - do fix if pattern found
6402 tSCC zSolaris_Mutex_Init_2Select0[] =
6403 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6405 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
6406 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
6407 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
6410 * Fix Command Arguments for Solaris_Mutex_Init_2
6412 static const char* apzSolaris_Mutex_Init_2Patch[] = {
6414 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6419 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
6420 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
6423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6425 * Description of Solaris_Rwlock_Init_1 fix
6427 tSCC zSolaris_Rwlock_Init_1Name[] =
6428 "solaris_rwlock_init_1";
6431 * File name selection pattern
6433 tSCC zSolaris_Rwlock_Init_1List[] =
6436 * Machine/OS name selection pattern
6438 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
6440 (const char*)NULL };
6443 * content selection pattern - do fix if pattern found
6445 tSCC zSolaris_Rwlock_Init_1Select0[] =
6446 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6448 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
6449 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
6450 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
6453 * Fix Command Arguments for Solaris_Rwlock_Init_1
6455 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6457 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6460 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6462 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6465 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6467 * Description of Solaris_Once_Init_1 fix
6469 tSCC zSolaris_Once_Init_1Name[] =
6470 "solaris_once_init_1";
6473 * File name selection pattern
6475 tSCC zSolaris_Once_Init_1List[] =
6478 * Machine/OS name selection pattern
6480 tSCC* apzSolaris_Once_Init_1Machs[] = {
6482 (const char*)NULL };
6485 * content selection pattern - do fix if pattern found
6487 tSCC zSolaris_Once_Init_1Select0[] =
6488 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6490 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6491 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6492 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6495 * Fix Command Arguments for Solaris_Once_Init_1
6497 static const char* apzSolaris_Once_Init_1Patch[] = {
6500 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6505 * Description of Solaris_Once_Init_2 fix
6507 tSCC zSolaris_Once_Init_2Name[] =
6508 "solaris_once_init_2";
6511 * File name selection pattern
6513 tSCC zSolaris_Once_Init_2List[] =
6516 * Machine/OS name selection pattern
6518 tSCC* apzSolaris_Once_Init_2Machs[] = {
6519 "*-*-solaris2.[0-9]",
6520 "*-*-solaris2.[0-9][!0-9]*",
6521 (const char*)NULL };
6524 * content selection pattern - do fix if pattern found
6526 tSCC zSolaris_Once_Init_2Select0[] =
6527 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6529 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6530 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6531 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6534 * Fix Command Arguments for Solaris_Once_Init_2
6536 static const char* apzSolaris_Once_Init_2Patch[] = {
6538 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6541 %1{0}, {0}, {0}, {%3}%4\n\
6543 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6546 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6548 * Description of Solaris_Int_Const fix
6550 tSCC zSolaris_Int_ConstName[] =
6551 "solaris_int_const";
6554 * File name selection pattern
6556 tSCC zSolaris_Int_ConstList[] =
6557 "sys/int_const.h\0";
6559 * Machine/OS name selection pattern
6561 #define apzSolaris_Int_ConstMachs (const char**)NULL
6564 * content selection pattern - do fix if pattern found
6566 tSCC zSolaris_Int_ConstSelect0[] =
6567 "@\\(#\\)int_const.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6569 #define SOLARIS_INT_CONST_TEST_CT 1
6570 static tTestDesc aSolaris_Int_ConstTests[] = {
6571 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6574 * Fix Command Arguments for Solaris_Int_Const
6576 static const char* apzSolaris_Int_ConstPatch[] = {
6578 "#define\tUINT8_C(c)\t(c)\n\
6580 #define\tUINT16_C(c)\t(c)",
6581 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6583 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*",
6586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6588 * Description of Solaris_Int_Limits_1 fix
6590 tSCC zSolaris_Int_Limits_1Name[] =
6591 "solaris_int_limits_1";
6594 * File name selection pattern
6596 tSCC zSolaris_Int_Limits_1List[] =
6597 "sys/int_limits.h\0";
6599 * Machine/OS name selection pattern
6601 #define apzSolaris_Int_Limits_1Machs (const char**)NULL
6604 * content selection pattern - do fix if pattern found
6606 tSCC zSolaris_Int_Limits_1Select0[] =
6607 "@\\(#\\)int_limits.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6609 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
6610 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6611 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6614 * Fix Command Arguments for Solaris_Int_Limits_1
6616 static const char* apzSolaris_Int_Limits_1Patch[] = {
6618 "#define\tUINT8_MAX\t(255)\n\
6619 #define\tUINT16_MAX\t(65535)",
6620 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6621 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)",
6624 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6626 * Description of Solaris_Int_Limits_2 fix
6628 tSCC zSolaris_Int_Limits_2Name[] =
6629 "solaris_int_limits_2";
6632 * File name selection pattern
6634 tSCC zSolaris_Int_Limits_2List[] =
6635 "sys/int_limits.h\0";
6637 * Machine/OS name selection pattern
6639 #define apzSolaris_Int_Limits_2Machs (const char**)NULL
6642 * content selection pattern - do fix if pattern found
6644 tSCC zSolaris_Int_Limits_2Select0[] =
6645 "@\\(#\\)int_limits.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6647 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
6648 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6649 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6652 * Fix Command Arguments for Solaris_Int_Limits_2
6654 static const char* apzSolaris_Int_Limits_2Patch[] = {
6656 "#define\t%1_FAST16_%2 %132_%2",
6657 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*",
6660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6662 * Description of Solaris_Int_Types fix
6664 tSCC zSolaris_Int_TypesName[] =
6665 "solaris_int_types";
6668 * File name selection pattern
6670 tSCC zSolaris_Int_TypesList[] =
6671 "sys/int_types.h\0";
6673 * Machine/OS name selection pattern
6675 #define apzSolaris_Int_TypesMachs (const char**)NULL
6678 * content selection pattern - do fix if pattern found
6680 tSCC zSolaris_Int_TypesSelect0[] =
6681 "__STDC__ - 0 == 0";
6684 * content bypass pattern - skip fix if pattern found
6686 tSCC zSolaris_Int_TypesBypass0[] =
6689 #define SOLARIS_INT_TYPES_TEST_CT 2
6690 static tTestDesc aSolaris_Int_TypesTests[] = {
6691 { TT_NEGREP, zSolaris_Int_TypesBypass0, (regex_t*)NULL },
6692 { TT_EGREP, zSolaris_Int_TypesSelect0, (regex_t*)NULL }, };
6695 * Fix Command Arguments for Solaris_Int_Types
6697 static const char* apzSolaris_Int_TypesPatch[] = {
6699 "(defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__))",
6702 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6704 * Description of Solaris_Stdio_Tag fix
6706 tSCC zSolaris_Stdio_TagName[] =
6707 "solaris_stdio_tag";
6710 * File name selection pattern
6712 tSCC zSolaris_Stdio_TagList[] =
6715 * Machine/OS name selection pattern
6717 #define apzSolaris_Stdio_TagMachs (const char**)NULL
6720 * content selection pattern - do fix if pattern found
6722 tSCC zSolaris_Stdio_TagSelect0[] =
6723 "__cplusplus < 54321L";
6726 * content bypass pattern - skip fix if pattern found
6728 tSCC zSolaris_Stdio_TagBypass0[] =
6731 #define SOLARIS_STDIO_TAG_TEST_CT 2
6732 static tTestDesc aSolaris_Stdio_TagTests[] = {
6733 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6734 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6737 * Fix Command Arguments for Solaris_Stdio_Tag
6739 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
6740 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6743 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6745 * Description of Statsswtch fix
6747 tSCC zStatsswtchName[] =
6751 * File name selection pattern
6753 tSCC zStatsswtchList[] =
6756 * Machine/OS name selection pattern
6758 #define apzStatsswtchMachs (const char**)NULL
6761 * content selection pattern - do fix if pattern found
6763 tSCC zStatsswtchSelect0[] =
6766 #define STATSSWTCH_TEST_CT 1
6767 static tTestDesc aStatsswtchTests[] = {
6768 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6771 * Fix Command Arguments for Statsswtch
6773 static const char* apzStatsswtchPatch[] = {
6778 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6780 * Description of Stdio_Stdarg_H fix
6782 tSCC zStdio_Stdarg_HName[] =
6786 * File name selection pattern
6788 tSCC zStdio_Stdarg_HList[] =
6791 * Machine/OS name selection pattern
6793 tSCC* apzStdio_Stdarg_HMachs[] = {
6794 "*-*-solaris2.1[0-9]*",
6795 (const char*)NULL };
6798 * content bypass pattern - skip fix if pattern found
6800 tSCC zStdio_Stdarg_HBypass0[] =
6801 "include.*(stdarg.h|machine/ansi.h)";
6803 #define STDIO_STDARG_H_TEST_CT 1
6804 static tTestDesc aStdio_Stdarg_HTests[] = {
6805 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6808 * Fix Command Arguments for Stdio_Stdarg_H
6810 static const char* apzStdio_Stdarg_HPatch[] = {
6812 "#define __need___va_list\n\
6813 #include <stdarg.h>\n",
6816 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6818 * Description of Stdio_Va_List fix
6820 tSCC zStdio_Va_ListName[] =
6824 * File name selection pattern
6826 tSCC zStdio_Va_ListList[] =
6827 "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0";
6829 * Machine/OS name selection pattern
6831 tSCC* apzStdio_Va_ListMachs[] = {
6832 "*-*-solaris2.1[0-9]*",
6833 (const char*)NULL };
6836 * content bypass pattern - skip fix if pattern found
6838 tSCC zStdio_Va_ListBypass0[] =
6839 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6841 #define STDIO_VA_LIST_TEST_CT 1
6842 static tTestDesc aStdio_Va_ListTests[] = {
6843 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
6846 * Fix Command Arguments for Stdio_Va_List
6848 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
6849 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6850 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6851 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6852 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6853 s@ va_list@ __not_va_list__@\n\
6854 s@\\*va_list@*__not_va_list__@\n\
6855 s@ __va_list)@ __gnuc_va_list)@\n\
6856 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6857 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6858 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6859 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6860 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6861 s@VA_LIST@DUMMY_VA_LIST@\n\
6862 s@_Va_LIST@_VA_LIST@",
6865 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6867 * Description of Stdio_Va_List_Clients fix
6869 tSCC zStdio_Va_List_ClientsName[] =
6870 "stdio_va_list_clients";
6873 * File name selection pattern
6875 tSCC zStdio_Va_List_ClientsList[] =
6876 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
6878 * Machine/OS name selection pattern
6880 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
6883 * content bypass pattern - skip fix if pattern found
6885 tSCC zStdio_Va_List_ClientsBypass0[] =
6886 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6887 tSCC zStdio_Va_List_ClientsBypass1[] =
6888 "include <stdarg\\.h>|#ifdef va_start";
6890 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
6891 static tTestDesc aStdio_Va_List_ClientsTests[] = {
6892 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
6893 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
6896 * Fix Command Arguments for Stdio_Va_List_Clients
6898 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
6899 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6900 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6901 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6902 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6903 s@ va_list@ __not_va_list__@\n\
6904 s@\\*va_list@*__not_va_list__@\n\
6905 s@ __va_list)@ __gnuc_va_list)@\n\
6906 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6907 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6908 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6909 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6910 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6911 s@VA_LIST@DUMMY_VA_LIST@\n\
6912 s@_Va_LIST@_VA_LIST@",
6915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6917 * Description of Strict_Ansi_Not fix
6919 tSCC zStrict_Ansi_NotName[] =
6923 * File name selection pattern
6925 #define zStrict_Ansi_NotList (char*)NULL
6927 * Machine/OS name selection pattern
6929 #define apzStrict_Ansi_NotMachs (const char**)NULL
6932 * content selection pattern - do fix if pattern found
6934 tSCC zStrict_Ansi_NotSelect0[] =
6935 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
6938 * content bypass pattern - skip fix if pattern found
6940 tSCC zStrict_Ansi_NotBypass0[] =
6941 "GNU and MIPS C compilers define __STDC__ differently";
6942 tSCC zStrict_Ansi_NotBypass1[] =
6943 "__SCO_VERSION__.*__STDC__ != 1";
6946 * perform the C function call test
6948 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
6950 #define STRICT_ANSI_NOT_TEST_CT 4
6951 static tTestDesc aStrict_Ansi_NotTests[] = {
6952 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
6953 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
6954 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
6955 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
6958 * Fix Command Arguments for Strict_Ansi_Not
6960 static const char* apzStrict_Ansi_NotPatch[] = {
6962 "%1 !defined(__STRICT_ANSI__)",
6965 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6967 * Description of Strict_Ansi_Not_Ctd fix
6969 tSCC zStrict_Ansi_Not_CtdName[] =
6970 "strict_ansi_not_ctd";
6973 * File name selection pattern
6975 tSCC zStrict_Ansi_Not_CtdList[] =
6976 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
6978 * Machine/OS name selection pattern
6980 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
6983 * content selection pattern - do fix if pattern found
6985 tSCC zStrict_Ansi_Not_CtdSelect0[] =
6986 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
6989 * perform the C function call test
6991 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
6993 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
6994 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
6995 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
6996 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
6999 * Fix Command Arguments for Strict_Ansi_Not_Ctd
7001 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7003 "%1 !defined(__STRICT_ANSI__)",
7006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7008 * Description of Strict_Ansi_Only fix
7010 tSCC zStrict_Ansi_OnlyName[] =
7014 * File name selection pattern
7016 #define zStrict_Ansi_OnlyList (char*)NULL
7018 * Machine/OS name selection pattern
7020 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7023 * content selection pattern - do fix if pattern found
7025 tSCC zStrict_Ansi_OnlySelect0[] =
7026 "^([ \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)";
7029 * perform the C function call test
7031 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7033 #define STRICT_ANSI_ONLY_TEST_CT 2
7034 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7035 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
7036 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7039 * Fix Command Arguments for Strict_Ansi_Only
7041 static const char* apzStrict_Ansi_OnlyPatch[] = {
7043 "%1 defined(__STRICT_ANSI__)",
7046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7048 * Description of Struct_File fix
7050 tSCC zStruct_FileName[] =
7054 * File name selection pattern
7056 tSCC zStruct_FileList[] =
7059 * Machine/OS name selection pattern
7061 #define apzStruct_FileMachs (const char**)NULL
7064 * content selection pattern - do fix if pattern found
7066 tSCC zStruct_FileSelect0[] =
7067 "^.*xdrstdio_create.*struct __file_s";
7069 #define STRUCT_FILE_TEST_CT 1
7070 static tTestDesc aStruct_FileTests[] = {
7071 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
7074 * Fix Command Arguments for Struct_File
7076 static const char* apzStruct_FilePatch[] = {
7078 "struct __file_s;\n\
7082 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7084 * Description of Struct_Sockaddr fix
7086 tSCC zStruct_SockaddrName[] =
7090 * File name selection pattern
7092 tSCC zStruct_SockaddrList[] =
7095 * Machine/OS name selection pattern
7097 #define apzStruct_SockaddrMachs (const char**)NULL
7100 * content selection pattern - do fix if pattern found
7102 tSCC zStruct_SockaddrSelect0[] =
7103 "^.*authdes_create.*struct sockaddr[^_]";
7106 * content bypass pattern - skip fix if pattern found
7108 tSCC zStruct_SockaddrBypass0[] =
7110 tSCC zStruct_SockaddrBypass1[] =
7111 "struct sockaddr;\n";
7113 #define STRUCT_SOCKADDR_TEST_CT 3
7114 static tTestDesc aStruct_SockaddrTests[] = {
7115 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
7116 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
7117 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7120 * Fix Command Arguments for Struct_Sockaddr
7122 static const char* apzStruct_SockaddrPatch[] = {
7124 "struct sockaddr;\n\
7128 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7130 * Description of Sun_Auth_Proto fix
7132 tSCC zSun_Auth_ProtoName[] =
7136 * File name selection pattern
7138 tSCC zSun_Auth_ProtoList[] =
7139 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7141 * Machine/OS name selection pattern
7143 #define apzSun_Auth_ProtoMachs (const char**)NULL
7146 * content selection pattern - do fix if pattern found
7148 tSCC zSun_Auth_ProtoSelect0[] =
7149 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7152 * content bypass pattern - skip fix if pattern found
7154 tSCC zSun_Auth_ProtoBypass0[] =
7157 #define SUN_AUTH_PROTO_TEST_CT 2
7158 static tTestDesc aSun_Auth_ProtoTests[] = {
7159 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
7160 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
7163 * Fix Command Arguments for Sun_Auth_Proto
7165 static const char* apzSun_Auth_ProtoPatch[] = {
7167 "#ifdef __cplusplus\n\
7172 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
7175 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7177 * Description of Sun_Bogus_Ifdef fix
7179 tSCC zSun_Bogus_IfdefName[] =
7183 * File name selection pattern
7185 tSCC zSun_Bogus_IfdefList[] =
7186 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
7188 * Machine/OS name selection pattern
7190 #define apzSun_Bogus_IfdefMachs (const char**)NULL
7193 * content selection pattern - do fix if pattern found
7195 tSCC zSun_Bogus_IfdefSelect0[] =
7196 "#ifdef(.*\\|\\|.*)";
7198 #define SUN_BOGUS_IFDEF_TEST_CT 1
7199 static tTestDesc aSun_Bogus_IfdefTests[] = {
7200 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
7203 * Fix Command Arguments for Sun_Bogus_Ifdef
7205 static const char* apzSun_Bogus_IfdefPatch[] = {
7210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7212 * Description of Sun_Catmacro fix
7214 tSCC zSun_CatmacroName[] =
7218 * File name selection pattern
7220 tSCC zSun_CatmacroList[] =
7221 "pixrect/memvar.h\0";
7223 * Machine/OS name selection pattern
7225 #define apzSun_CatmacroMachs (const char**)NULL
7228 * content selection pattern - do fix if pattern found
7230 tSCC zSun_CatmacroSelect0[] =
7231 "^#define[ \t]+CAT\\(a,b\\).*";
7233 #define SUN_CATMACRO_TEST_CT 1
7234 static tTestDesc aSun_CatmacroTests[] = {
7235 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
7238 * Fix Command Arguments for Sun_Catmacro
7240 static const char* apzSun_CatmacroPatch[] = {
7243 # define CAT(a,b) a##b\n\
7249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7251 * Description of Sun_Malloc fix
7253 tSCC zSun_MallocName[] =
7257 * File name selection pattern
7259 tSCC zSun_MallocList[] =
7262 * Machine/OS name selection pattern
7264 #define apzSun_MallocMachs (const char**)NULL
7267 * content bypass pattern - skip fix if pattern found
7269 tSCC zSun_MallocBypass0[] =
7270 "_CLASSIC_ANSI_TYPES";
7272 #define SUN_MALLOC_TEST_CT 1
7273 static tTestDesc aSun_MallocTests[] = {
7274 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
7277 * Fix Command Arguments for Sun_Malloc
7279 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
7280 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
7281 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
7282 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
7283 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
7284 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
7287 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7289 * Description of Sun_Rusers_Semi fix
7291 tSCC zSun_Rusers_SemiName[] =
7295 * File name selection pattern
7297 tSCC zSun_Rusers_SemiList[] =
7298 "rpcsvc/rusers.h\0";
7300 * Machine/OS name selection pattern
7302 #define apzSun_Rusers_SemiMachs (const char**)NULL
7305 * content selection pattern - do fix if pattern found
7307 tSCC zSun_Rusers_SemiSelect0[] =
7310 #define SUN_RUSERS_SEMI_TEST_CT 1
7311 static tTestDesc aSun_Rusers_SemiTests[] = {
7312 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
7315 * Fix Command Arguments for Sun_Rusers_Semi
7317 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
7318 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
7321 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7323 * Description of Sun_Signal fix
7325 tSCC zSun_SignalName[] =
7329 * File name selection pattern
7331 tSCC zSun_SignalList[] =
7332 "sys/signal.h\0signal.h\0";
7334 * Machine/OS name selection pattern
7336 #define apzSun_SignalMachs (const char**)NULL
7339 * content selection pattern - do fix if pattern found
7341 tSCC zSun_SignalSelect0[] =
7342 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
7344 #define SUN_SIGNAL_TEST_CT 1
7345 static tTestDesc aSun_SignalTests[] = {
7346 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
7349 * Fix Command Arguments for Sun_Signal
7351 static const char* apzSun_SignalPatch[] = {
7353 "#ifdef __cplusplus\n\
7354 void\t(*signal(...))(...);\n\
7360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7362 * Description of Sunos_Strlen fix
7364 tSCC zSunos_StrlenName[] =
7368 * File name selection pattern
7370 tSCC zSunos_StrlenList[] =
7373 * Machine/OS name selection pattern
7375 #define apzSunos_StrlenMachs (const char**)NULL
7378 * content selection pattern - do fix if pattern found
7380 tSCC zSunos_StrlenSelect0[] =
7381 "int[ \t]*strlen\\(\\);(.*)";
7383 #define SUNOS_STRLEN_TEST_CT 1
7384 static tTestDesc aSunos_StrlenTests[] = {
7385 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
7388 * Fix Command Arguments for Sunos_Strlen
7390 static const char* apzSunos_StrlenPatch[] = {
7392 "__SIZE_TYPE__ strlen();%1",
7395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7397 * Description of Svr4_Disable_Opt fix
7399 tSCC zSvr4_Disable_OptName[] =
7403 * File name selection pattern
7405 tSCC zSvr4_Disable_OptList[] =
7408 * Machine/OS name selection pattern
7410 #define apzSvr4_Disable_OptMachs (const char**)NULL
7413 * content selection pattern - do fix if pattern found
7415 tSCC zSvr4_Disable_OptSelect0[] =
7416 "#define.*__std_hdr_";
7418 #define SVR4_DISABLE_OPT_TEST_CT 1
7419 static tTestDesc aSvr4_Disable_OptTests[] = {
7420 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
7423 * Fix Command Arguments for Svr4_Disable_Opt
7425 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
7426 "-e", "/#define.*__std_hdr_/d",
7429 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7431 * Description of Svr4_Getcwd fix
7433 tSCC zSvr4_GetcwdName[] =
7437 * File name selection pattern
7439 tSCC zSvr4_GetcwdList[] =
7440 "stdlib.h\0unistd.h\0prototypes.h\0";
7442 * Machine/OS name selection pattern
7444 #define apzSvr4_GetcwdMachs (const char**)NULL
7447 * content selection pattern - do fix if pattern found
7449 tSCC zSvr4_GetcwdSelect0[] =
7450 "getcwd\\(char \\*, int\\)";
7452 #define SVR4_GETCWD_TEST_CT 1
7453 static tTestDesc aSvr4_GetcwdTests[] = {
7454 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
7457 * Fix Command Arguments for Svr4_Getcwd
7459 static const char* apzSvr4_GetcwdPatch[] = {
7461 "getcwd(char *, size_t)",
7464 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7466 * Description of Svr4_Profil fix
7468 tSCC zSvr4_ProfilName[] =
7472 * File name selection pattern
7474 tSCC zSvr4_ProfilList[] =
7475 "stdlib.h\0unistd.h\0";
7477 * Machine/OS name selection pattern
7479 #define apzSvr4_ProfilMachs (const char**)NULL
7482 * content selection pattern - do fix if pattern found
7484 tSCC zSvr4_ProfilSelect0[] =
7485 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7488 * content bypass pattern - skip fix if pattern found
7490 tSCC zSvr4_ProfilBypass0[] =
7493 #define SVR4_PROFIL_TEST_CT 2
7494 static tTestDesc aSvr4_ProfilTests[] = {
7495 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
7496 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7499 * Fix Command Arguments for Svr4_Profil
7501 static const char* apzSvr4_ProfilPatch[] = {
7503 "profil(unsigned short *, size_t, int, unsigned int)",
7506 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7508 * Description of Svr4_Sighandler_Type fix
7510 tSCC zSvr4_Sighandler_TypeName[] =
7511 "svr4_sighandler_type";
7514 * File name selection pattern
7516 tSCC zSvr4_Sighandler_TypeList[] =
7519 * Machine/OS name selection pattern
7521 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7524 * content selection pattern - do fix if pattern found
7526 tSCC zSvr4_Sighandler_TypeSelect0[] =
7527 "void *\\(\\*\\)\\(\\)";
7529 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
7530 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
7531 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
7534 * Fix Command Arguments for Svr4_Sighandler_Type
7536 static const char* apzSvr4_Sighandler_TypePatch[] = {
7541 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7543 * Description of Svr4_Undeclared_Getrnge fix
7545 tSCC zSvr4_Undeclared_GetrngeName[] =
7546 "svr4_undeclared_getrnge";
7549 * File name selection pattern
7551 tSCC zSvr4_Undeclared_GetrngeList[] =
7554 * Machine/OS name selection pattern
7556 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
7559 * content selection pattern - do fix if pattern found
7561 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
7565 * content bypass pattern - skip fix if pattern found
7567 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
7568 "static void getrnge";
7570 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
7571 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
7572 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
7573 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
7576 * Fix Command Arguments for Svr4_Undeclared_Getrnge
7578 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
7581 static int getrnge ();",
7582 "^static int[ \t]+size;",
7585 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7587 * Description of Sysv68_String fix
7589 tSCC zSysv68_StringName[] =
7593 * File name selection pattern
7595 tSCC zSysv68_StringList[] =
7596 "testing.h\0string.h\0";
7598 * Machine/OS name selection pattern
7600 #define apzSysv68_StringMachs (const char**)NULL
7603 * content bypass pattern - skip fix if pattern found
7605 tSCC zSysv68_StringBypass0[] =
7606 "_CLASSIC_ANSI_TYPES";
7608 #define SYSV68_STRING_TEST_CT 1
7609 static tTestDesc aSysv68_StringTests[] = {
7610 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7613 * Fix Command Arguments for Sysv68_String
7615 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
7616 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7617 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7618 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7619 "-e", "/^extern char$/N",
7620 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7621 "-e", "/^extern int$/N",
7622 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7623 "-e", "/^\tstrncmp(),$/N",
7624 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7625 extern unsigned int\\\n\
7629 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7631 * Description of Sysz_Stdlib_For_Sun fix
7633 tSCC zSysz_Stdlib_For_SunName[] =
7634 "sysz_stdlib_for_sun";
7637 * File name selection pattern
7639 tSCC zSysz_Stdlib_For_SunList[] =
7642 * Machine/OS name selection pattern
7644 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7647 * content selection pattern - do fix if pattern found
7649 tSCC zSysz_Stdlib_For_SunSelect0[] =
7650 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7653 * content bypass pattern - skip fix if pattern found
7655 tSCC zSysz_Stdlib_For_SunBypass0[] =
7656 "_CLASSIC_ANSI_TYPES";
7658 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7659 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7660 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7661 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7664 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7666 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7671 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7673 * Description of Thread_Keyword fix
7675 tSCC zThread_KeywordName[] =
7679 * File name selection pattern
7681 tSCC zThread_KeywordList[] =
7682 "pthread.h\0bits/sigthread.h\0";
7684 * Machine/OS name selection pattern
7686 #define apzThread_KeywordMachs (const char**)NULL
7689 * content selection pattern - do fix if pattern found
7691 tSCC zThread_KeywordSelect0[] =
7692 "([* ])__thread([,)])";
7694 #define THREAD_KEYWORD_TEST_CT 1
7695 static tTestDesc aThread_KeywordTests[] = {
7696 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7699 * Fix Command Arguments for Thread_Keyword
7701 static const char* apzThread_KeywordPatch[] = {
7706 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7708 * Description of Tinfo_Cplusplus fix
7710 tSCC zTinfo_CplusplusName[] =
7714 * File name selection pattern
7716 tSCC zTinfo_CplusplusList[] =
7719 * Machine/OS name selection pattern
7721 #define apzTinfo_CplusplusMachs (const char**)NULL
7724 * content selection pattern - do fix if pattern found
7726 tSCC zTinfo_CplusplusSelect0[] =
7729 #define TINFO_CPLUSPLUS_TEST_CT 1
7730 static tTestDesc aTinfo_CplusplusTests[] = {
7731 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7734 * Fix Command Arguments for Tinfo_Cplusplus
7736 static const char* apzTinfo_CplusplusPatch[] = {
7741 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7743 * Description of Ultrix_Const fix
7745 tSCC zUltrix_ConstName[] =
7749 * File name selection pattern
7751 tSCC zUltrix_ConstList[] =
7754 * Machine/OS name selection pattern
7756 #define apzUltrix_ConstMachs (const char**)NULL
7759 * content selection pattern - do fix if pattern found
7761 tSCC zUltrix_ConstSelect0[] =
7762 "perror\\( char \\*";
7764 #define ULTRIX_CONST_TEST_CT 1
7765 static tTestDesc aUltrix_ConstTests[] = {
7766 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7769 * Fix Command Arguments for Ultrix_Const
7771 static const char* apzUltrix_ConstPatch[] = {
7774 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7779 * Description of Ultrix_Const2 fix
7781 tSCC zUltrix_Const2Name[] =
7785 * File name selection pattern
7787 tSCC zUltrix_Const2List[] =
7790 * Machine/OS name selection pattern
7792 #define apzUltrix_Const2Machs (const char**)NULL
7795 * content selection pattern - do fix if pattern found
7797 tSCC zUltrix_Const2Select0[] =
7798 "\\*fopen\\( char \\*";
7800 #define ULTRIX_CONST2_TEST_CT 1
7801 static tTestDesc aUltrix_Const2Tests[] = {
7802 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7805 * Fix Command Arguments for Ultrix_Const2
7807 static const char* apzUltrix_Const2Patch[] = {
7809 "%1( const char *%3, const char *",
7810 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7813 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7815 * Description of Va_I960_Macro fix
7817 tSCC zVa_I960_MacroName[] =
7821 * File name selection pattern
7823 tSCC zVa_I960_MacroList[] =
7824 "arch/i960/archI960.h\0";
7826 * Machine/OS name selection pattern
7828 #define apzVa_I960_MacroMachs (const char**)NULL
7831 * content selection pattern - do fix if pattern found
7833 tSCC zVa_I960_MacroSelect0[] =
7834 "__(vsiz|vali|vpad|alignof__)";
7836 #define VA_I960_MACRO_TEST_CT 1
7837 static tTestDesc aVa_I960_MacroTests[] = {
7838 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
7841 * Fix Command Arguments for Va_I960_Macro
7843 static const char* apzVa_I960_MacroPatch[] = {
7848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7850 * Description of Void_Null fix
7852 tSCC zVoid_NullName[] =
7856 * File name selection pattern
7858 tSCC zVoid_NullList[] =
7859 "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";
7861 * Machine/OS name selection pattern
7863 #define apzVoid_NullMachs (const char**)NULL
7866 * content selection pattern - do fix if pattern found
7868 tSCC zVoid_NullSelect0[] =
7869 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
7872 * content bypass pattern - skip fix if pattern found
7874 tSCC zVoid_NullBypass0[] =
7877 #define VOID_NULL_TEST_CT 2
7878 static tTestDesc aVoid_NullTests[] = {
7879 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
7880 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
7883 * Fix Command Arguments for Void_Null
7885 static const char* apzVoid_NullPatch[] = {
7890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7892 * Description of Vxworks_Gcc_Problem fix
7894 tSCC zVxworks_Gcc_ProblemName[] =
7895 "vxworks_gcc_problem";
7898 * File name selection pattern
7900 tSCC zVxworks_Gcc_ProblemList[] =
7901 "types/vxTypesBase.h\0";
7903 * Machine/OS name selection pattern
7905 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
7908 * content selection pattern - do fix if pattern found
7910 tSCC zVxworks_Gcc_ProblemSelect0[] =
7911 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
7913 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
7914 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
7915 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
7918 * Fix Command Arguments for Vxworks_Gcc_Problem
7920 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
7921 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
7922 "-e", "/[ \t]size_t/i\\\n\
7923 #ifndef _GCC_SIZE_T\\\n\
7924 #define _GCC_SIZE_T\n",
7925 "-e", "/[ \t]size_t/a\\\n\
7927 "-e", "/[ \t]ptrdiff_t/i\\\n\
7928 #ifndef _GCC_PTRDIFF_T\\\n\
7929 #define _GCC_PTRDIFF_T\n",
7930 "-e", "/[ \t]ptrdiff_t/a\\\n\
7932 "-e", "/[ \t]wchar_t/i\\\n\
7933 #ifndef _GCC_WCHAR_T\\\n\
7934 #define _GCC_WCHAR_T\n",
7935 "-e", "/[ \t]wchar_t/a\\\n\
7939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7941 * Description of Vxworks_Needs_Vxtypes fix
7943 tSCC zVxworks_Needs_VxtypesName[] =
7944 "vxworks_needs_vxtypes";
7947 * File name selection pattern
7949 tSCC zVxworks_Needs_VxtypesList[] =
7952 * Machine/OS name selection pattern
7954 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
7957 * content selection pattern - do fix if pattern found
7959 tSCC zVxworks_Needs_VxtypesSelect0[] =
7960 "uint_t([ \t]+_clocks_per_sec)";
7962 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
7963 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
7964 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
7967 * Fix Command Arguments for Vxworks_Needs_Vxtypes
7969 static const char* apzVxworks_Needs_VxtypesPatch[] = {
7974 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7976 * Description of Vxworks_Needs_Vxworks fix
7978 tSCC zVxworks_Needs_VxworksName[] =
7979 "vxworks_needs_vxworks";
7982 * File name selection pattern
7984 tSCC zVxworks_Needs_VxworksList[] =
7987 * Machine/OS name selection pattern
7989 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
7992 * content selection pattern - do fix if pattern found
7994 tSCC zVxworks_Needs_VxworksSelect0[] =
7995 "#[ \t]define[ \t]+__INCstath";
7998 * perform the 'test' shell command - do fix on success
8000 tSCC zVxworks_Needs_VxworksTest0[] =
8001 " -r types/vxTypesOld.h";
8002 tSCC zVxworks_Needs_VxworksTest1[] =
8003 " -n \"`egrep '#include' $file`\"";
8004 tSCC zVxworks_Needs_VxworksTest2[] =
8005 " -n \"`egrep ULONG $file`\"";
8007 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8008 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8009 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8010 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8011 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8012 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8015 * Fix Command Arguments for Vxworks_Needs_Vxworks
8017 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
8018 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8019 #include <types/vxTypesOld.h>\n",
8022 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8024 * Description of Vxworks_Time fix
8026 tSCC zVxworks_TimeName[] =
8030 * File name selection pattern
8032 tSCC zVxworks_TimeList[] =
8035 * Machine/OS name selection pattern
8037 #define apzVxworks_TimeMachs (const char**)NULL
8040 * content selection pattern - do fix if pattern found
8042 tSCC zVxworks_TimeSelect0[] =
8043 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8046 * perform the 'test' shell command - do fix on success
8048 tSCC zVxworks_TimeTest0[] =
8051 #define VXWORKS_TIME_TEST_CT 2
8052 static tTestDesc aVxworks_TimeTests[] = {
8053 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8054 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8057 * Fix Command Arguments for Vxworks_Time
8059 static const char* apzVxworks_TimePatch[] = {
8061 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8062 #ifdef __cplusplus\n\
8063 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8065 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
8067 #define __gcc_VOIDFUNCPTR_defined\n\
8069 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
8072 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8074 * Description of X11_Class fix
8076 tSCC zX11_ClassName[] =
8080 * File name selection pattern
8082 tSCC zX11_ClassList[] =
8085 * Machine/OS name selection pattern
8087 #define apzX11_ClassMachs (const char**)NULL
8090 * content selection pattern - do fix if pattern found
8092 tSCC zX11_ClassSelect0[] =
8093 "^([ \t]*char \\*)class;(.*)";
8096 * content bypass pattern - skip fix if pattern found
8098 tSCC zX11_ClassBypass0[] =
8101 #define X11_CLASS_TEST_CT 2
8102 static tTestDesc aX11_ClassTests[] = {
8103 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8104 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8107 * Fix Command Arguments for X11_Class
8109 static const char* apzX11_ClassPatch[] = {
8111 "#ifdef __cplusplus\n\
8118 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8120 * Description of X11_Class_Usage fix
8122 tSCC zX11_Class_UsageName[] =
8126 * File name selection pattern
8128 tSCC zX11_Class_UsageList[] =
8129 "Xm/BaseClassI.h\0";
8131 * Machine/OS name selection pattern
8133 #define apzX11_Class_UsageMachs (const char**)NULL
8136 * content selection pattern - do fix if pattern found
8138 tSCC zX11_Class_UsageSelect0[] =
8142 * content bypass pattern - skip fix if pattern found
8144 tSCC zX11_Class_UsageBypass0[] =
8147 #define X11_CLASS_USAGE_TEST_CT 2
8148 static tTestDesc aX11_Class_UsageTests[] = {
8149 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8150 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8153 * Fix Command Arguments for X11_Class_Usage
8155 static const char* apzX11_Class_UsagePatch[] = {
8160 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8162 * Description of X11_New fix
8164 tSCC zX11_NewName[] =
8168 * File name selection pattern
8170 tSCC zX11_NewList[] =
8173 * Machine/OS name selection pattern
8175 #define apzX11_NewMachs (const char**)NULL
8178 * content bypass pattern - skip fix if pattern found
8180 tSCC zX11_NewBypass0[] =
8183 #define X11_NEW_TEST_CT 1
8184 static tTestDesc aX11_NewTests[] = {
8185 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8188 * Fix Command Arguments for X11_New
8190 static const char* apzX11_NewPatch[] = { sed_cmd_z,
8191 "-e", "/Widget\told, new;/i\\\n\
8192 #ifdef __cplusplus\\\n\
8193 \\\tWidget\told, c_new;\\\n\
8195 "-e", "/Widget\told, new;/a\\\n\
8197 "-e", "s/Widget new,/Widget c_new,/g",
8200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8202 * Description of X11_Sprintf fix
8204 tSCC zX11_SprintfName[] =
8208 * File name selection pattern
8210 tSCC zX11_SprintfList[] =
8211 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
8213 * Machine/OS name selection pattern
8215 #define apzX11_SprintfMachs (const char**)NULL
8218 * content selection pattern - do fix if pattern found
8220 tSCC zX11_SprintfSelect0[] =
8221 "^extern char \\*\tsprintf\\(\\);$";
8223 #define X11_SPRINTF_TEST_CT 1
8224 static tTestDesc aX11_SprintfTests[] = {
8225 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8228 * Fix Command Arguments for X11_Sprintf
8230 static const char* apzX11_SprintfPatch[] = {
8232 "#ifndef __STDC__\n\
8234 #endif /* !defined __STDC__ */",
8238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8242 #define REGEX_COUNT 244
8243 #define MACH_LIST_SIZE_LIMIT 181
8244 #define FIX_COUNT 202
8247 * Enumerate the fixes
8250 AAB_AIX_STDIO_FIXIDX,
8251 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8252 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8253 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8254 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8255 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8256 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8257 AAB_SUN_MEMCPY_FIXIDX,
8260 AIX_STDINT_1_FIXIDX,
8261 AIX_STDINT_2_FIXIDX,
8262 AIX_STDINT_3_FIXIDX,
8263 AIX_STDINT_4_FIXIDX,
8264 AIX_STDINT_5_FIXIDX,
8265 AIX_SYSMACHINE_FIXIDX,
8266 AIX_SYSWAIT_2_FIXIDX,
8267 AIX_VOLATILE_FIXIDX,
8268 ALPHA___ASSERT_FIXIDX,
8269 ALPHA___EXTERN_PREFIX_FIXIDX,
8270 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
8271 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
8272 ALPHA_ASSERT_FIXIDX,
8273 ALPHA_BAD_LVAL_FIXIDX,
8274 ALPHA_GETOPT_FIXIDX,
8275 ALPHA_IF_SEMICOLON_FIXIDX,
8276 ALPHA_PARENS_FIXIDX,
8277 ALPHA_PTHREAD_FIXIDX,
8278 ALPHA_PTHREAD_GCC_FIXIDX,
8279 ALPHA_PTHREAD_INIT_FIXIDX,
8282 AVOID_BOOL_DEFINE_FIXIDX,
8283 AVOID_BOOL_TYPE_FIXIDX,
8284 AVOID_WCHAR_T_TYPE_FIXIDX,
8285 BAD_STRUCT_TERM_FIXIDX,
8287 BROKEN_ASSERT_STDIO_FIXIDX,
8288 BROKEN_ASSERT_STDLIB_FIXIDX,
8291 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8292 CTRL_QUOTES_DEF_FIXIDX,
8293 CTRL_QUOTES_USE_FIXIDX,
8295 DARWIN_EXTERNC_FIXIDX,
8296 DARWIN_GCC4_BREAKAGE_FIXIDX,
8297 DARWIN_PRIVATE_EXTERN_FIXIDX,
8298 DARWIN_STDINT_1_FIXIDX,
8299 DARWIN_STDINT_2_FIXIDX,
8300 DARWIN_STDINT_3_FIXIDX,
8301 DARWIN_STDINT_4_FIXIDX,
8302 DARWIN_STDINT_5_FIXIDX,
8303 DARWIN_STDINT_6_FIXIDX,
8304 DARWIN_STDINT_7_FIXIDX,
8305 DEC_INTERN_ASM_FIXIDX,
8306 DJGPP_WCHAR_H_FIXIDX,
8308 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8309 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8310 GLIBC_C99_INLINE_1_FIXIDX,
8311 GLIBC_C99_INLINE_1A_FIXIDX,
8312 GLIBC_C99_INLINE_2_FIXIDX,
8313 GLIBC_C99_INLINE_3_FIXIDX,
8314 GLIBC_C99_INLINE_4_FIXIDX,
8315 GLIBC_MUTEX_INIT_FIXIDX,
8316 GLIBC_STDINT_FIXIDX,
8317 GLIBC_TGMATH_FIXIDX,
8321 HPPA_HPUX_FP_MACROS_FIXIDX,
8322 HPUX10_CPP_POW_INLINE_FIXIDX,
8323 HPUX11_CPP_POW_INLINE_FIXIDX,
8324 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8325 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8326 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8328 HPUX11_FABSF_FIXIDX,
8329 HPUX11_PTHREAD_CONST_FIXIDX,
8330 HPUX11_SIZE_T_FIXIDX,
8331 HPUX11_SNPRINTF_FIXIDX,
8332 HPUX11_VSNPRINTF_FIXIDX,
8333 HPUX8_BOGUS_INLINES_FIXIDX,
8334 HPUX_CTYPE_MACROS_FIXIDX,
8336 HPUX_LONG_DOUBLE_FIXIDX,
8337 HPUX_LONG_DOUBLE_2_FIXIDX,
8338 HPUX_SYSTIME_FIXIDX,
8339 HPUX_SPU_INFO_FIXIDX,
8340 HPUX11_EXTERN_SENDFILE_FIXIDX,
8341 HPUX11_EXTERN_SENDPATH_FIXIDX,
8342 HPUX_EXTERN_ERRNO_FIXIDX,
8343 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8344 HPUX_C99_INTPTR_FIXIDX,
8345 HPUX_C99_INTTYPES_FIXIDX,
8346 HPUX_C99_INTTYPES2_FIXIDX,
8347 HPUX_STDINT_LEAST_FAST_FIXIDX,
8348 HPUX_INTTYPE_INT8_T_FIXIDX,
8349 HPUX_IMAGINARY_I_FIXIDX,
8350 HUGE_VAL_HEX_FIXIDX,
8351 HUGE_VALF_HEX_FIXIDX,
8352 HUGE_VALL_HEX_FIXIDX,
8353 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8354 IO_QUOTES_DEF_FIXIDX,
8355 IO_QUOTES_USE_FIXIDX,
8356 IP_MISSING_SEMI_FIXIDX,
8357 IRIX___RESTRICT_FIXIDX,
8358 IRIX___GENERIC1_FIXIDX,
8359 IRIX___GENERIC2_FIXIDX,
8360 IRIX_ASM_APOSTROPHE_FIXIDX,
8361 IRIX_COMPLEX_FIXIDX,
8362 IRIX_LIMITS_CONST_FIXIDX,
8363 IRIX_SOCKLEN_T_FIXIDX,
8364 IRIX_STDINT_C99_FIXIDX,
8365 IRIX_STDIO_VA_LIST_FIXIDX,
8366 IRIX_WCSFTIME_FIXIDX,
8367 KANDR_CONCAT_FIXIDX,
8368 LINUX_IA64_UCONTEXT_FIXIDX,
8369 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8370 LYNXOS_MISSING_PUTENV_FIXIDX,
8371 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8372 MACHINE_NAME_FIXIDX,
8373 MATH_EXCEPTION_FIXIDX,
8374 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8375 NESTED_AUTH_DES_FIXIDX,
8376 NETBSD_C99_INLINE_1_FIXIDX,
8377 NETBSD_C99_INLINE_2_FIXIDX,
8378 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8379 NEWLIB_STDINT_1_FIXIDX,
8380 NEWLIB_STDINT_2_FIXIDX,
8381 NEXT_MATH_PREFIX_FIXIDX,
8382 NEXT_TEMPLATE_FIXIDX,
8383 NEXT_VOLITILE_FIXIDX,
8384 NEXT_WAIT_UNION_FIXIDX,
8385 NODEENT_SYNTAX_FIXIDX,
8386 OPENBSD_NULL_DEFINITION_FIXIDX,
8387 OBSTACK_LVALUE_CAST_FIXIDX,
8388 OPENBSD_VA_START_FIXIDX,
8389 OSF_NAMESPACE_A_FIXIDX,
8390 OSF_NAMESPACE_C_FIXIDX,
8391 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8392 READ_RET_TYPE_FIXIDX,
8393 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8394 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8395 RS6000_DOUBLE_FIXIDX,
8396 RS6000_FCHMOD_FIXIDX,
8397 RS6000_PARAM_FIXIDX,
8398 SOLARIS_COMPLEX_FIXIDX,
8399 SOLARIS_MATH_1_FIXIDX,
8400 SOLARIS_MATH_2_FIXIDX,
8401 SOLARIS_MATH_3_FIXIDX,
8402 SOLARIS_MATH_4_FIXIDX,
8403 SOLARIS_MATH_8_FIXIDX,
8404 SOLARIS_MATH_9_FIXIDX,
8405 SOLARIS_MATH_10_FIXIDX,
8406 SOLARIS_MUTEX_INIT_2_FIXIDX,
8407 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8408 SOLARIS_ONCE_INIT_1_FIXIDX,
8409 SOLARIS_ONCE_INIT_2_FIXIDX,
8410 SOLARIS_INT_CONST_FIXIDX,
8411 SOLARIS_INT_LIMITS_1_FIXIDX,
8412 SOLARIS_INT_LIMITS_2_FIXIDX,
8413 SOLARIS_INT_TYPES_FIXIDX,
8414 SOLARIS_STDIO_TAG_FIXIDX,
8416 STDIO_STDARG_H_FIXIDX,
8417 STDIO_VA_LIST_FIXIDX,
8418 STDIO_VA_LIST_CLIENTS_FIXIDX,
8419 STRICT_ANSI_NOT_FIXIDX,
8420 STRICT_ANSI_NOT_CTD_FIXIDX,
8421 STRICT_ANSI_ONLY_FIXIDX,
8423 STRUCT_SOCKADDR_FIXIDX,
8424 SUN_AUTH_PROTO_FIXIDX,
8425 SUN_BOGUS_IFDEF_FIXIDX,
8426 SUN_CATMACRO_FIXIDX,
8428 SUN_RUSERS_SEMI_FIXIDX,
8430 SUNOS_STRLEN_FIXIDX,
8431 SVR4_DISABLE_OPT_FIXIDX,
8434 SVR4_SIGHANDLER_TYPE_FIXIDX,
8435 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8436 SYSV68_STRING_FIXIDX,
8437 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8438 THREAD_KEYWORD_FIXIDX,
8439 TINFO_CPLUSPLUS_FIXIDX,
8440 ULTRIX_CONST_FIXIDX,
8441 ULTRIX_CONST2_FIXIDX,
8442 VA_I960_MACRO_FIXIDX,
8444 VXWORKS_GCC_PROBLEM_FIXIDX,
8445 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8446 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8447 VXWORKS_TIME_FIXIDX,
8449 X11_CLASS_USAGE_FIXIDX,
8454 tFixDesc fixDescList[ FIX_COUNT ] = {
8455 { zAab_Aix_StdioName, zAab_Aix_StdioList,
8456 apzAab_Aix_StdioMachs,
8457 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8458 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
8460 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8461 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8462 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8463 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8465 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8466 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8467 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8468 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8470 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8471 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8472 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8473 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8475 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8476 apzAab_Fd_Zero_Gnu_Types_HMachs,
8477 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8478 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
8480 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
8481 apzAab_Fd_Zero_Selectbits_HMachs,
8482 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8483 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
8485 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
8486 apzAab_Solaris_Sys_Varargs_HMachs,
8487 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8488 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
8490 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
8491 apzAab_Sun_MemcpyMachs,
8492 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8493 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
8495 { zAix_ComplexName, zAix_ComplexList,
8496 apzAix_ComplexMachs,
8497 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8498 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
8500 { zAix_PthreadName, zAix_PthreadList,
8501 apzAix_PthreadMachs,
8502 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8503 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
8505 { zAix_Stdint_1Name, zAix_Stdint_1List,
8506 apzAix_Stdint_1Machs,
8507 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8508 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
8510 { zAix_Stdint_2Name, zAix_Stdint_2List,
8511 apzAix_Stdint_2Machs,
8512 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8513 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
8515 { zAix_Stdint_3Name, zAix_Stdint_3List,
8516 apzAix_Stdint_3Machs,
8517 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8518 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
8520 { zAix_Stdint_4Name, zAix_Stdint_4List,
8521 apzAix_Stdint_4Machs,
8522 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8523 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
8525 { zAix_Stdint_5Name, zAix_Stdint_5List,
8526 apzAix_Stdint_5Machs,
8527 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8528 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
8530 { zAix_SysmachineName, zAix_SysmachineList,
8531 apzAix_SysmachineMachs,
8532 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8533 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
8535 { zAix_Syswait_2Name, zAix_Syswait_2List,
8536 apzAix_Syswait_2Machs,
8537 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8538 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
8540 { zAix_VolatileName, zAix_VolatileList,
8541 apzAix_VolatileMachs,
8542 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8543 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
8545 { zAlpha___AssertName, zAlpha___AssertList,
8546 apzAlpha___AssertMachs,
8547 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8548 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
8550 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
8551 apzAlpha___Extern_PrefixMachs,
8552 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8553 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
8555 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
8556 apzAlpha___Extern_Prefix_StandardsMachs,
8557 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8558 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
8560 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
8561 apzAlpha___Extern_Prefix_Sys_StatMachs,
8562 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8563 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
8565 { zAlpha_AssertName, zAlpha_AssertList,
8566 apzAlpha_AssertMachs,
8567 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8568 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
8570 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
8571 apzAlpha_Bad_LvalMachs,
8572 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
8573 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
8575 { zAlpha_GetoptName, zAlpha_GetoptList,
8576 apzAlpha_GetoptMachs,
8577 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8578 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
8580 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
8581 apzAlpha_If_SemicolonMachs,
8582 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8583 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
8585 { zAlpha_ParensName, zAlpha_ParensList,
8586 apzAlpha_ParensMachs,
8587 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8588 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
8590 { zAlpha_PthreadName, zAlpha_PthreadList,
8591 apzAlpha_PthreadMachs,
8592 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8593 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
8595 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
8596 apzAlpha_Pthread_GccMachs,
8597 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8598 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
8600 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
8601 apzAlpha_Pthread_InitMachs,
8602 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
8603 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
8605 { zAlpha_SbrkName, zAlpha_SbrkList,
8607 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8608 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
8610 { zAlpha_WcharName, zAlpha_WcharList,
8611 apzAlpha_WcharMachs,
8612 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
8613 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
8615 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
8616 apzAvoid_Bool_DefineMachs,
8617 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8618 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
8620 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
8621 apzAvoid_Bool_TypeMachs,
8622 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8623 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
8625 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
8626 apzAvoid_Wchar_T_TypeMachs,
8627 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8628 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
8630 { zBad_Struct_TermName, zBad_Struct_TermList,
8631 apzBad_Struct_TermMachs,
8632 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8633 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
8635 { zBadquoteName, zBadquoteList,
8637 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8638 aBadquoteTests, apzBadquotePatch, 0 },
8640 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
8641 apzBroken_Assert_StdioMachs,
8642 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8643 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
8645 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
8646 apzBroken_Assert_StdlibMachs,
8647 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8648 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
8650 { zBroken_CabsName, zBroken_CabsList,
8651 apzBroken_CabsMachs,
8652 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
8653 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
8655 { zBroken_NanName, zBroken_NanList,
8657 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8658 aBroken_NanTests, apzBroken_NanPatch, 0 },
8660 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
8661 apzBsd_Stdio_Attrs_ConflictMachs,
8662 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8663 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
8665 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
8666 apzCtrl_Quotes_DefMachs,
8667 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8668 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
8670 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
8671 apzCtrl_Quotes_UseMachs,
8672 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8673 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
8675 { zCxx_UnreadyName, zCxx_UnreadyList,
8676 apzCxx_UnreadyMachs,
8677 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8678 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
8680 { zDarwin_ExterncName, zDarwin_ExterncList,
8681 apzDarwin_ExterncMachs,
8682 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8683 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
8685 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
8686 apzDarwin_Gcc4_BreakageMachs,
8687 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8688 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
8690 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
8691 apzDarwin_Private_ExternMachs,
8692 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8693 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
8695 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
8696 apzDarwin_Stdint_1Machs,
8697 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8698 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
8700 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
8701 apzDarwin_Stdint_2Machs,
8702 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8703 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
8705 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
8706 apzDarwin_Stdint_3Machs,
8707 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8708 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
8710 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
8711 apzDarwin_Stdint_4Machs,
8712 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8713 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
8715 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
8716 apzDarwin_Stdint_5Machs,
8717 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8718 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
8720 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
8721 apzDarwin_Stdint_6Machs,
8722 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8723 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
8725 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
8726 apzDarwin_Stdint_7Machs,
8727 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8728 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
8730 { zDec_Intern_AsmName, zDec_Intern_AsmList,
8731 apzDec_Intern_AsmMachs,
8732 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
8733 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
8735 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
8736 apzDjgpp_Wchar_HMachs,
8737 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8738 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
8740 { zEcd_CursorName, zEcd_CursorList,
8742 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8743 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
8745 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
8746 apzFreebsd_Gcc3_BreakageMachs,
8747 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8748 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
8750 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
8751 apzFreebsd_Gcc4_BreakageMachs,
8752 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8753 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
8755 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
8756 apzGlibc_C99_Inline_1Machs,
8757 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8758 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
8760 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
8761 apzGlibc_C99_Inline_1aMachs,
8762 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8763 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
8765 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
8766 apzGlibc_C99_Inline_2Machs,
8767 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
8768 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
8770 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
8771 apzGlibc_C99_Inline_3Machs,
8772 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8773 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
8775 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
8776 apzGlibc_C99_Inline_4Machs,
8777 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8778 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
8780 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
8781 apzGlibc_Mutex_InitMachs,
8782 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
8783 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
8785 { zGlibc_StdintName, zGlibc_StdintList,
8786 apzGlibc_StdintMachs,
8787 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8788 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
8790 { zGlibc_TgmathName, zGlibc_TgmathList,
8791 apzGlibc_TgmathMachs,
8792 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8793 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
8795 { zGnu_TypesName, zGnu_TypesList,
8797 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8798 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
8800 { zHp_InlineName, zHp_InlineList,
8802 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8803 aHp_InlineTests, apzHp_InlinePatch, 0 },
8805 { zHp_SysfileName, zHp_SysfileList,
8807 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8808 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
8810 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
8811 apzHppa_Hpux_Fp_MacrosMachs,
8812 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8813 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
8815 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
8816 apzHpux10_Cpp_Pow_InlineMachs,
8817 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8818 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
8820 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
8821 apzHpux11_Cpp_Pow_InlineMachs,
8822 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8823 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
8825 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
8826 apzHpux10_Ctype_Declarations1Machs,
8827 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8828 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
8830 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
8831 apzHpux10_Ctype_Declarations2Machs,
8832 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8833 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
8835 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
8836 apzHpux10_Stdio_DeclarationsMachs,
8837 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8838 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
8840 { zHpux11_AbsName, zHpux11_AbsList,
8842 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8843 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
8845 { zHpux11_FabsfName, zHpux11_FabsfList,
8846 apzHpux11_FabsfMachs,
8847 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8848 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
8850 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
8851 apzHpux11_Pthread_ConstMachs,
8852 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8853 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
8855 { zHpux11_Size_TName, zHpux11_Size_TList,
8856 apzHpux11_Size_TMachs,
8857 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8858 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
8860 { zHpux11_SnprintfName, zHpux11_SnprintfList,
8861 apzHpux11_SnprintfMachs,
8862 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8863 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
8865 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
8866 apzHpux11_VsnprintfMachs,
8867 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8868 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
8870 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
8871 apzHpux8_Bogus_InlinesMachs,
8872 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
8873 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
8875 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
8876 apzHpux_Ctype_MacrosMachs,
8877 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8878 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
8880 { zHpux_HtonlName, zHpux_HtonlList,
8882 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8883 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
8885 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
8886 apzHpux_Long_DoubleMachs,
8887 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
8888 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
8890 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
8891 apzHpux_Long_Double_2Machs,
8892 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8893 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
8895 { zHpux_SystimeName, zHpux_SystimeList,
8896 apzHpux_SystimeMachs,
8897 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8898 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
8900 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
8901 apzHpux_Spu_InfoMachs,
8902 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8903 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
8905 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
8906 apzHpux11_Extern_SendfileMachs,
8907 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8908 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
8910 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
8911 apzHpux11_Extern_SendpathMachs,
8912 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8913 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
8915 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
8916 apzHpux_Extern_ErrnoMachs,
8917 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8918 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
8920 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
8921 apzHpux_Pthread_InitializersMachs,
8922 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
8923 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
8925 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
8926 apzHpux_C99_IntptrMachs,
8927 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
8928 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
8930 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
8931 apzHpux_C99_InttypesMachs,
8932 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
8933 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
8935 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
8936 apzHpux_C99_Inttypes2Machs,
8937 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
8938 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
8940 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
8941 apzHpux_Stdint_Least_FastMachs,
8942 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8943 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
8945 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
8946 apzHpux_Inttype_Int8_TMachs,
8947 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8948 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
8950 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
8951 apzHpux_Imaginary_IMachs,
8952 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8953 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
8955 { zHuge_Val_HexName, zHuge_Val_HexList,
8956 apzHuge_Val_HexMachs,
8957 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8958 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
8960 { zHuge_Valf_HexName, zHuge_Valf_HexList,
8961 apzHuge_Valf_HexMachs,
8962 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8963 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
8965 { zHuge_Vall_HexName, zHuge_Vall_HexList,
8966 apzHuge_Vall_HexMachs,
8967 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8968 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
8970 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
8971 apzInt_Abort_Free_And_ExitMachs,
8972 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8973 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
8975 { zIo_Quotes_DefName, zIo_Quotes_DefList,
8976 apzIo_Quotes_DefMachs,
8977 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8978 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
8980 { zIo_Quotes_UseName, zIo_Quotes_UseList,
8981 apzIo_Quotes_UseMachs,
8982 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8983 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
8985 { zIp_Missing_SemiName, zIp_Missing_SemiList,
8986 apzIp_Missing_SemiMachs,
8987 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
8988 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
8990 { zIrix___RestrictName, zIrix___RestrictList,
8991 apzIrix___RestrictMachs,
8992 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8993 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
8995 { zIrix___Generic1Name, zIrix___Generic1List,
8996 apzIrix___Generic1Machs,
8997 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8998 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
9000 { zIrix___Generic2Name, zIrix___Generic2List,
9001 apzIrix___Generic2Machs,
9002 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9003 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
9005 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
9006 apzIrix_Asm_ApostropheMachs,
9007 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9008 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
9010 { zIrix_ComplexName, zIrix_ComplexList,
9011 apzIrix_ComplexMachs,
9012 IRIX_COMPLEX_TEST_CT, FD_MACH_ONLY,
9013 aIrix_ComplexTests, apzIrix_ComplexPatch, 0 },
9015 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
9016 apzIrix_Limits_ConstMachs,
9017 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9018 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
9020 { zIrix_Socklen_TName, zIrix_Socklen_TList,
9021 apzIrix_Socklen_TMachs,
9022 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9023 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
9025 { zIrix_Stdint_C99Name, zIrix_Stdint_C99List,
9026 apzIrix_Stdint_C99Machs,
9027 IRIX_STDINT_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9028 aIrix_Stdint_C99Tests, apzIrix_Stdint_C99Patch, 0 },
9030 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
9031 apzIrix_Stdio_Va_ListMachs,
9032 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9033 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
9035 { zIrix_WcsftimeName, zIrix_WcsftimeList,
9036 apzIrix_WcsftimeMachs,
9037 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9038 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
9040 { zKandr_ConcatName, zKandr_ConcatList,
9041 apzKandr_ConcatMachs,
9042 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9043 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
9045 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
9046 apzLinux_Ia64_UcontextMachs,
9047 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9048 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
9050 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
9051 apzLynxos_No_Warning_In_Sys_Time_HMachs,
9052 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9053 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
9055 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
9056 apzLynxos_Missing_PutenvMachs,
9057 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9058 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
9060 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
9061 apzMachine_Ansi_H_Va_ListMachs,
9062 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9063 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
9065 { zMachine_NameName, zMachine_NameList,
9066 apzMachine_NameMachs,
9067 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9068 aMachine_NameTests, apzMachine_NamePatch, 0 },
9070 { zMath_ExceptionName, zMath_ExceptionList,
9071 apzMath_ExceptionMachs,
9072 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9073 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
9075 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
9076 apzMath_Huge_Val_From_Dbl_MaxMachs,
9077 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
9078 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
9080 { zNested_Auth_DesName, zNested_Auth_DesList,
9081 apzNested_Auth_DesMachs,
9082 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9083 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9085 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
9086 apzNetbsd_C99_Inline_1Machs,
9087 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9088 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
9090 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
9091 apzNetbsd_C99_Inline_2Machs,
9092 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9093 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
9095 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9096 apzNetbsd_Extra_SemicolonMachs,
9097 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9098 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9100 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
9101 apzNewlib_Stdint_1Machs,
9102 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
9103 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
9105 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
9106 apzNewlib_Stdint_2Machs,
9107 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9108 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
9110 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9111 apzNext_Math_PrefixMachs,
9112 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9113 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9115 { zNext_TemplateName, zNext_TemplateList,
9116 apzNext_TemplateMachs,
9117 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9118 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9120 { zNext_VolitileName, zNext_VolitileList,
9121 apzNext_VolitileMachs,
9122 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9123 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9125 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9126 apzNext_Wait_UnionMachs,
9127 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9128 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9130 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9131 apzNodeent_SyntaxMachs,
9132 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9133 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9135 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
9136 apzOpenbsd_Null_DefinitionMachs,
9137 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9138 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
9140 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9141 apzObstack_Lvalue_CastMachs,
9142 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9143 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9145 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
9146 apzOpenbsd_Va_StartMachs,
9147 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9148 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
9150 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9151 apzOsf_Namespace_AMachs,
9152 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9153 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9155 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9156 apzOsf_Namespace_CMachs,
9157 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9158 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9160 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9161 apzPthread_Incomplete_Struct_ArgumentMachs,
9162 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9163 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9165 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9166 apzRead_Ret_TypeMachs,
9167 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9168 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9170 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9171 apzRpc_Xdr_Lvalue_Cast_AMachs,
9172 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9173 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9175 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9176 apzRpc_Xdr_Lvalue_Cast_BMachs,
9177 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9178 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9180 { zRs6000_DoubleName, zRs6000_DoubleList,
9181 apzRs6000_DoubleMachs,
9182 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9183 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9185 { zRs6000_FchmodName, zRs6000_FchmodList,
9186 apzRs6000_FchmodMachs,
9187 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9188 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9190 { zRs6000_ParamName, zRs6000_ParamList,
9191 apzRs6000_ParamMachs,
9192 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9193 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9195 { zSolaris_ComplexName, zSolaris_ComplexList,
9196 apzSolaris_ComplexMachs,
9197 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
9198 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
9200 { zSolaris_Math_1Name, zSolaris_Math_1List,
9201 apzSolaris_Math_1Machs,
9202 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9203 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9205 { zSolaris_Math_2Name, zSolaris_Math_2List,
9206 apzSolaris_Math_2Machs,
9207 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9208 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9210 { zSolaris_Math_3Name, zSolaris_Math_3List,
9211 apzSolaris_Math_3Machs,
9212 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9213 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9215 { zSolaris_Math_4Name, zSolaris_Math_4List,
9216 apzSolaris_Math_4Machs,
9217 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9218 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9220 { zSolaris_Math_8Name, zSolaris_Math_8List,
9221 apzSolaris_Math_8Machs,
9222 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9223 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9225 { zSolaris_Math_9Name, zSolaris_Math_9List,
9226 apzSolaris_Math_9Machs,
9227 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9228 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9230 { zSolaris_Math_10Name, zSolaris_Math_10List,
9231 apzSolaris_Math_10Machs,
9232 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9233 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
9235 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9236 apzSolaris_Mutex_Init_2Machs,
9237 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9238 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9240 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9241 apzSolaris_Rwlock_Init_1Machs,
9242 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9243 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9245 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9246 apzSolaris_Once_Init_1Machs,
9247 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9248 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9250 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9251 apzSolaris_Once_Init_2Machs,
9252 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9253 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9255 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
9256 apzSolaris_Int_ConstMachs,
9257 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9258 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
9260 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
9261 apzSolaris_Int_Limits_1Machs,
9262 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9263 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
9265 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
9266 apzSolaris_Int_Limits_2Machs,
9267 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9268 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
9270 { zSolaris_Int_TypesName, zSolaris_Int_TypesList,
9271 apzSolaris_Int_TypesMachs,
9272 SOLARIS_INT_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9273 aSolaris_Int_TypesTests, apzSolaris_Int_TypesPatch, 0 },
9275 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9276 apzSolaris_Stdio_TagMachs,
9277 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9278 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9280 { zStatsswtchName, zStatsswtchList,
9282 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9283 aStatsswtchTests, apzStatsswtchPatch, 0 },
9285 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9286 apzStdio_Stdarg_HMachs,
9287 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9288 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9290 { zStdio_Va_ListName, zStdio_Va_ListList,
9291 apzStdio_Va_ListMachs,
9292 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9293 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9295 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9296 apzStdio_Va_List_ClientsMachs,
9297 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9298 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9300 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9301 apzStrict_Ansi_NotMachs,
9302 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9303 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9305 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9306 apzStrict_Ansi_Not_CtdMachs,
9307 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9308 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9310 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9311 apzStrict_Ansi_OnlyMachs,
9312 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9313 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9315 { zStruct_FileName, zStruct_FileList,
9316 apzStruct_FileMachs,
9317 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9318 aStruct_FileTests, apzStruct_FilePatch, 0 },
9320 { zStruct_SockaddrName, zStruct_SockaddrList,
9321 apzStruct_SockaddrMachs,
9322 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9323 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9325 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9326 apzSun_Auth_ProtoMachs,
9327 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9328 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9330 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9331 apzSun_Bogus_IfdefMachs,
9332 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9333 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9335 { zSun_CatmacroName, zSun_CatmacroList,
9336 apzSun_CatmacroMachs,
9337 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9338 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9340 { zSun_MallocName, zSun_MallocList,
9342 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9343 aSun_MallocTests, apzSun_MallocPatch, 0 },
9345 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9346 apzSun_Rusers_SemiMachs,
9347 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9348 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9350 { zSun_SignalName, zSun_SignalList,
9352 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9353 aSun_SignalTests, apzSun_SignalPatch, 0 },
9355 { zSunos_StrlenName, zSunos_StrlenList,
9356 apzSunos_StrlenMachs,
9357 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9358 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9360 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9361 apzSvr4_Disable_OptMachs,
9362 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9363 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9365 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9366 apzSvr4_GetcwdMachs,
9367 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9368 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9370 { zSvr4_ProfilName, zSvr4_ProfilList,
9371 apzSvr4_ProfilMachs,
9372 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9373 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9375 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9376 apzSvr4_Sighandler_TypeMachs,
9377 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9378 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9380 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9381 apzSvr4_Undeclared_GetrngeMachs,
9382 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9383 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9385 { zSysv68_StringName, zSysv68_StringList,
9386 apzSysv68_StringMachs,
9387 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9388 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9390 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9391 apzSysz_Stdlib_For_SunMachs,
9392 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9393 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9395 { zThread_KeywordName, zThread_KeywordList,
9396 apzThread_KeywordMachs,
9397 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9398 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9400 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9401 apzTinfo_CplusplusMachs,
9402 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9403 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9405 { zUltrix_ConstName, zUltrix_ConstList,
9406 apzUltrix_ConstMachs,
9407 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9408 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9410 { zUltrix_Const2Name, zUltrix_Const2List,
9411 apzUltrix_Const2Machs,
9412 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9413 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9415 { zVa_I960_MacroName, zVa_I960_MacroList,
9416 apzVa_I960_MacroMachs,
9417 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9418 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9420 { zVoid_NullName, zVoid_NullList,
9422 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9423 aVoid_NullTests, apzVoid_NullPatch, 0 },
9425 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
9426 apzVxworks_Gcc_ProblemMachs,
9427 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
9428 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
9430 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
9431 apzVxworks_Needs_VxtypesMachs,
9432 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9433 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
9435 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
9436 apzVxworks_Needs_VxworksMachs,
9437 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
9438 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
9440 { zVxworks_TimeName, zVxworks_TimeList,
9441 apzVxworks_TimeMachs,
9442 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9443 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
9445 { zX11_ClassName, zX11_ClassList,
9447 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9448 aX11_ClassTests, apzX11_ClassPatch, 0 },
9450 { zX11_Class_UsageName, zX11_Class_UsageList,
9451 apzX11_Class_UsageMachs,
9452 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9453 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
9455 { zX11_NewName, zX11_NewList,
9457 X11_NEW_TEST_CT, FD_MACH_ONLY,
9458 aX11_NewTests, apzX11_NewPatch, 0 },
9460 { zX11_SprintfName, zX11_SprintfList,
9461 apzX11_SprintfMachs,
9462 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9463 aX11_SprintfTests, apzX11_SprintfPatch, 0 }