1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed June 19, 2012 at 09:23:54 AM by AutoGen 5.10
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Tue Jun 19 09:23:54 EDT 2012
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 215 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_Malloc fix
527 tSCC zAix_MallocName[] =
531 * File name selection pattern
533 tSCC zAix_MallocList[] =
536 * Machine/OS name selection pattern
538 tSCC* apzAix_MallocMachs[] = {
543 * content selection pattern - do fix if pattern found
545 tSCC zAix_MallocSelect0[] =
546 "#ifdef __cplusplus";
548 #define AIX_MALLOC_TEST_CT 1
549 static tTestDesc aAix_MallocTests[] = {
550 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
553 * Fix Command Arguments for Aix_Malloc
555 static const char* apzAix_MallocPatch[] = {
557 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
562 * Description of Aix_Net_If_Arp fix
564 tSCC zAix_Net_If_ArpName[] =
568 * File name selection pattern
570 tSCC zAix_Net_If_ArpList[] =
573 * Machine/OS name selection pattern
575 tSCC* apzAix_Net_If_ArpMachs[] = {
580 * content selection pattern - do fix if pattern found
582 tSCC zAix_Net_If_ArpSelect0[] =
583 "^struct fc_softc \\{";
585 #define AIX_NET_IF_ARP_TEST_CT 1
586 static tTestDesc aAix_Net_If_ArpTests[] = {
587 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
590 * Fix Command Arguments for Aix_Net_If_Arp
592 static const char* apzAix_Net_If_ArpPatch[] = {
594 "typedef struct _fc_softc {",
597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
599 * Description of Aix_Once_Init_1 fix
601 tSCC zAix_Once_Init_1Name[] =
605 * File name selection pattern
607 tSCC zAix_Once_Init_1List[] =
610 * Machine/OS name selection pattern
612 tSCC* apzAix_Once_Init_1Machs[] = {
617 * content selection pattern - do fix if pattern found
619 tSCC zAix_Once_Init_1Select0[] =
620 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
623 #define AIX_ONCE_INIT_1_TEST_CT 1
624 static tTestDesc aAix_Once_Init_1Tests[] = {
625 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
628 * Fix Command Arguments for Aix_Once_Init_1
630 static const char* apzAix_Once_Init_1Patch[] = {
632 "#define PTHREAD_ONCE_INIT \\\n\
636 /* * * * * * * * * * * * * * * * * * * * * * * * * *
638 * Description of Aix_Once_Init_2 fix
640 tSCC zAix_Once_Init_2Name[] =
644 * File name selection pattern
646 tSCC zAix_Once_Init_2List[] =
649 * Machine/OS name selection pattern
651 tSCC* apzAix_Once_Init_2Machs[] = {
656 * content selection pattern - do fix if pattern found
658 tSCC zAix_Once_Init_2Select0[] =
662 #define AIX_ONCE_INIT_2_TEST_CT 1
663 static tTestDesc aAix_Once_Init_2Tests[] = {
664 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
667 * Fix Command Arguments for Aix_Once_Init_2
669 static const char* apzAix_Once_Init_2Patch[] = {
675 /* * * * * * * * * * * * * * * * * * * * * * * * * *
677 * Description of Aix_Mutex_Initializer_1 fix
679 tSCC zAix_Mutex_Initializer_1Name[] =
680 "aix_mutex_initializer_1";
683 * File name selection pattern
685 tSCC zAix_Mutex_Initializer_1List[] =
688 * Machine/OS name selection pattern
690 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
695 * content selection pattern - do fix if pattern found
697 tSCC zAix_Mutex_Initializer_1Select0[] =
698 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
701 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
702 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
703 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
706 * Fix Command Arguments for Aix_Mutex_Initializer_1
708 static const char* apzAix_Mutex_Initializer_1Patch[] = {
710 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
714 /* * * * * * * * * * * * * * * * * * * * * * * * * *
716 * Description of Aix_Cond_Initializer_1 fix
718 tSCC zAix_Cond_Initializer_1Name[] =
719 "aix_cond_initializer_1";
722 * File name selection pattern
724 tSCC zAix_Cond_Initializer_1List[] =
727 * Machine/OS name selection pattern
729 tSCC* apzAix_Cond_Initializer_1Machs[] = {
734 * content selection pattern - do fix if pattern found
736 tSCC zAix_Cond_Initializer_1Select0[] =
737 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
740 #define AIX_COND_INITIALIZER_1_TEST_CT 1
741 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
742 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
745 * Fix Command Arguments for Aix_Cond_Initializer_1
747 static const char* apzAix_Cond_Initializer_1Patch[] = {
749 "#define PTHREAD_COND_INITIALIZER \\\n\
753 /* * * * * * * * * * * * * * * * * * * * * * * * * *
755 * Description of Aix_Rwlock_Initializer_1 fix
757 tSCC zAix_Rwlock_Initializer_1Name[] =
758 "aix_rwlock_initializer_1";
761 * File name selection pattern
763 tSCC zAix_Rwlock_Initializer_1List[] =
766 * Machine/OS name selection pattern
768 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
773 * content selection pattern - do fix if pattern found
775 tSCC zAix_Rwlock_Initializer_1Select0[] =
776 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
779 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
780 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
781 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
784 * Fix Command Arguments for Aix_Rwlock_Initializer_1
786 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
788 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
792 /* * * * * * * * * * * * * * * * * * * * * * * * * *
794 * Description of Aix_Pthread fix
796 tSCC zAix_PthreadName[] =
800 * File name selection pattern
802 tSCC zAix_PthreadList[] =
805 * Machine/OS name selection pattern
807 #define apzAix_PthreadMachs (const char**)NULL
810 * content selection pattern - do fix if pattern found
812 tSCC zAix_PthreadSelect0[] =
813 "(#define [A-Za-z_0-9]+)(\\\\\n\
817 #define AIX_PTHREAD_TEST_CT 1
818 static tTestDesc aAix_PthreadTests[] = {
819 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
822 * Fix Command Arguments for Aix_Pthread
824 static const char* apzAix_PthreadPatch[] = {
829 /* * * * * * * * * * * * * * * * * * * * * * * * * *
831 * Description of Aix_Stdint_1 fix
833 tSCC zAix_Stdint_1Name[] =
837 * File name selection pattern
839 tSCC zAix_Stdint_1List[] =
840 "stdint-aix.h\0stdint.h\0";
842 * Machine/OS name selection pattern
844 tSCC* apzAix_Stdint_1Machs[] = {
849 * content selection pattern - do fix if pattern found
851 tSCC zAix_Stdint_1Select0[] =
852 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
853 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
855 #define AIX_STDINT_1_TEST_CT 1
856 static tTestDesc aAix_Stdint_1Tests[] = {
857 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
860 * Fix Command Arguments for Aix_Stdint_1
862 static const char* apzAix_Stdint_1Patch[] = {
864 "#define UINT8_MAX\t(255)\n\
865 #define UINT16_MAX\t(65535)",
868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
870 * Description of Aix_Stdint_2 fix
872 tSCC zAix_Stdint_2Name[] =
876 * File name selection pattern
878 tSCC zAix_Stdint_2List[] =
879 "stdint-aix.h\0stdint.h\0";
881 * Machine/OS name selection pattern
883 tSCC* apzAix_Stdint_2Machs[] = {
888 * content selection pattern - do fix if pattern found
890 tSCC zAix_Stdint_2Select0[] =
891 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
892 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
893 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
895 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
896 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
897 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
899 #define AIX_STDINT_2_TEST_CT 1
900 static tTestDesc aAix_Stdint_2Tests[] = {
901 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
904 * Fix Command Arguments for Aix_Stdint_2
906 static const char* apzAix_Stdint_2Patch[] = {
908 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
909 #define INTPTR_MAX\t9223372036854775807L\n\
910 #define UINTPTR_MAX\t18446744073709551615UL\n\
912 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
913 #define INTPTR_MAX\t2147483647L\n\
914 #define UINTPTR_MAX\t4294967295UL",
917 /* * * * * * * * * * * * * * * * * * * * * * * * * *
919 * Description of Aix_Stdint_3 fix
921 tSCC zAix_Stdint_3Name[] =
925 * File name selection pattern
927 tSCC zAix_Stdint_3List[] =
928 "stdint-aix.h\0stdint.h\0";
930 * Machine/OS name selection pattern
932 tSCC* apzAix_Stdint_3Machs[] = {
937 * content selection pattern - do fix if pattern found
939 tSCC zAix_Stdint_3Select0[] =
940 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
941 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
943 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
944 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
946 #define AIX_STDINT_3_TEST_CT 1
947 static tTestDesc aAix_Stdint_3Tests[] = {
948 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
951 * Fix Command Arguments for Aix_Stdint_3
953 static const char* apzAix_Stdint_3Patch[] = {
955 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
956 #define PTRDIFF_MAX\t9223372036854775807L\n\
958 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
959 #define PTRDIFF_MAX\t2147483647L",
962 /* * * * * * * * * * * * * * * * * * * * * * * * * *
964 * Description of Aix_Stdint_4 fix
966 tSCC zAix_Stdint_4Name[] =
970 * File name selection pattern
972 tSCC zAix_Stdint_4List[] =
973 "stdint-aix.h\0stdint.h\0";
975 * Machine/OS name selection pattern
977 tSCC* apzAix_Stdint_4Machs[] = {
982 * content selection pattern - do fix if pattern found
984 tSCC zAix_Stdint_4Select0[] =
985 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
987 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
989 #define AIX_STDINT_4_TEST_CT 1
990 static tTestDesc aAix_Stdint_4Tests[] = {
991 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
994 * Fix Command Arguments for Aix_Stdint_4
996 static const char* apzAix_Stdint_4Patch[] = {
998 "#define SIZE_MAX\t18446744073709551615UL\n\
1000 #define SIZE_MAX\t4294967295UL",
1003 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1005 * Description of Aix_Stdint_5 fix
1007 tSCC zAix_Stdint_5Name[] =
1011 * File name selection pattern
1013 tSCC zAix_Stdint_5List[] =
1014 "stdint-aix.h\0stdint.h\0";
1016 * Machine/OS name selection pattern
1018 tSCC* apzAix_Stdint_5Machs[] = {
1020 (const char*)NULL };
1023 * content selection pattern - do fix if pattern found
1025 tSCC zAix_Stdint_5Select0[] =
1026 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1027 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1029 #define AIX_STDINT_5_TEST_CT 1
1030 static tTestDesc aAix_Stdint_5Tests[] = {
1031 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1034 * Fix Command Arguments for Aix_Stdint_5
1036 static const char* apzAix_Stdint_5Patch[] = {
1038 "#define UINT8_C(c)\tc\n\
1039 #define UINT16_C(c)\tc",
1042 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1044 * Description of Aix_Sysmachine fix
1046 tSCC zAix_SysmachineName[] =
1050 * File name selection pattern
1052 tSCC zAix_SysmachineList[] =
1055 * Machine/OS name selection pattern
1057 #define apzAix_SysmachineMachs (const char**)NULL
1060 * content selection pattern - do fix if pattern found
1062 tSCC zAix_SysmachineSelect0[] =
1065 #define AIX_SYSMACHINE_TEST_CT 1
1066 static tTestDesc aAix_SysmachineTests[] = {
1067 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1070 * Fix Command Arguments for Aix_Sysmachine
1072 static const char* apzAix_SysmachinePatch[] = {
1077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1079 * Description of Aix_Syswait_2 fix
1081 tSCC zAix_Syswait_2Name[] =
1085 * File name selection pattern
1087 tSCC zAix_Syswait_2List[] =
1090 * Machine/OS name selection pattern
1092 #define apzAix_Syswait_2Machs (const char**)NULL
1095 * content selection pattern - do fix if pattern found
1097 tSCC zAix_Syswait_2Select0[] =
1098 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1100 #define AIX_SYSWAIT_2_TEST_CT 1
1101 static tTestDesc aAix_Syswait_2Tests[] = {
1102 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1105 * Fix Command Arguments for Aix_Syswait_2
1107 static const char* apzAix_Syswait_2Patch[] = {
1112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1114 * Description of Aix_Volatile fix
1116 tSCC zAix_VolatileName[] =
1120 * File name selection pattern
1122 tSCC zAix_VolatileList[] =
1125 * Machine/OS name selection pattern
1127 #define apzAix_VolatileMachs (const char**)NULL
1130 * content selection pattern - do fix if pattern found
1132 tSCC zAix_VolatileSelect0[] =
1133 "typedef volatile int sig_atomic_t";
1135 #define AIX_VOLATILE_TEST_CT 1
1136 static tTestDesc aAix_VolatileTests[] = {
1137 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1140 * Fix Command Arguments for Aix_Volatile
1142 static const char* apzAix_VolatilePatch[] = {
1144 "typedef int sig_atomic_t",
1147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1149 * Description of Alpha___Assert fix
1151 tSCC zAlpha___AssertName[] =
1155 * File name selection pattern
1157 tSCC zAlpha___AssertList[] =
1160 * Machine/OS name selection pattern
1162 #define apzAlpha___AssertMachs (const char**)NULL
1165 * content selection pattern - do fix if pattern found
1167 tSCC zAlpha___AssertSelect0[] =
1168 "__assert\\(char \\*, char \\*, int\\)";
1170 #define ALPHA___ASSERT_TEST_CT 1
1171 static tTestDesc aAlpha___AssertTests[] = {
1172 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1175 * Fix Command Arguments for Alpha___Assert
1177 static const char* apzAlpha___AssertPatch[] = {
1179 "__assert(const char *, const char *, int)",
1182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1184 * Description of Alpha_Assert fix
1186 tSCC zAlpha_AssertName[] =
1190 * File name selection pattern
1192 tSCC zAlpha_AssertList[] =
1195 * Machine/OS name selection pattern
1197 #define apzAlpha_AssertMachs (const char**)NULL
1200 * content selection pattern - do fix if pattern found
1202 tSCC zAlpha_AssertSelect0[] =
1203 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1205 #define ALPHA_ASSERT_TEST_CT 1
1206 static tTestDesc aAlpha_AssertTests[] = {
1207 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1210 * Fix Command Arguments for Alpha_Assert
1212 static const char* apzAlpha_AssertPatch[] = {
1217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1219 * Description of Alpha_Getopt fix
1221 tSCC zAlpha_GetoptName[] =
1225 * File name selection pattern
1227 tSCC zAlpha_GetoptList[] =
1228 "stdio.h\0stdlib.h\0";
1230 * Machine/OS name selection pattern
1232 #define apzAlpha_GetoptMachs (const char**)NULL
1235 * content selection pattern - do fix if pattern found
1237 tSCC zAlpha_GetoptSelect0[] =
1238 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1240 #define ALPHA_GETOPT_TEST_CT 1
1241 static tTestDesc aAlpha_GetoptTests[] = {
1242 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1245 * Fix Command Arguments for Alpha_Getopt
1247 static const char* apzAlpha_GetoptPatch[] = {
1249 "getopt(int, char *const[], const char *)",
1252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1254 * Description of Alpha_If_Semicolon fix
1256 tSCC zAlpha_If_SemicolonName[] =
1257 "alpha_if_semicolon";
1260 * File name selection pattern
1262 tSCC zAlpha_If_SemicolonList[] =
1265 * Machine/OS name selection pattern
1267 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1270 * content selection pattern - do fix if pattern found
1272 tSCC zAlpha_If_SemicolonSelect0[] =
1273 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1275 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1276 static tTestDesc aAlpha_If_SemicolonTests[] = {
1277 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1280 * Fix Command Arguments for Alpha_If_Semicolon
1282 static const char* apzAlpha_If_SemicolonPatch[] = {
1284 "struct sockaddr vmif_paddr;\t/*",
1287 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1289 * Description of Alpha_Parens fix
1291 tSCC zAlpha_ParensName[] =
1295 * File name selection pattern
1297 tSCC zAlpha_ParensList[] =
1300 * Machine/OS name selection pattern
1302 #define apzAlpha_ParensMachs (const char**)NULL
1305 * content selection pattern - do fix if pattern found
1307 tSCC zAlpha_ParensSelect0[] =
1308 "#ifndef\\(__mips64\\)";
1310 #define ALPHA_PARENS_TEST_CT 1
1311 static tTestDesc aAlpha_ParensTests[] = {
1312 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1315 * Fix Command Arguments for Alpha_Parens
1317 static const char* apzAlpha_ParensPatch[] = {
1322 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1324 * Description of Alpha_Sbrk fix
1326 tSCC zAlpha_SbrkName[] =
1330 * File name selection pattern
1332 tSCC zAlpha_SbrkList[] =
1335 * Machine/OS name selection pattern
1337 #define apzAlpha_SbrkMachs (const char**)NULL
1340 * content selection pattern - do fix if pattern found
1342 tSCC zAlpha_SbrkSelect0[] =
1343 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1345 #define ALPHA_SBRK_TEST_CT 1
1346 static tTestDesc aAlpha_SbrkTests[] = {
1347 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1350 * Fix Command Arguments for Alpha_Sbrk
1352 static const char* apzAlpha_SbrkPatch[] = {
1357 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1359 * Description of Avoid_Bool_Define fix
1361 tSCC zAvoid_Bool_DefineName[] =
1362 "avoid_bool_define";
1365 * File name selection pattern
1367 tSCC zAvoid_Bool_DefineList[] =
1368 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1370 * Machine/OS name selection pattern
1372 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1375 * content selection pattern - do fix if pattern found
1377 tSCC zAvoid_Bool_DefineSelect0[] =
1378 "#[ \t]*define[ \t]+bool[ \t]";
1381 * content bypass pattern - skip fix if pattern found
1383 tSCC zAvoid_Bool_DefineBypass0[] =
1386 #define AVOID_BOOL_DEFINE_TEST_CT 2
1387 static tTestDesc aAvoid_Bool_DefineTests[] = {
1388 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1389 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1392 * Fix Command Arguments for Avoid_Bool_Define
1394 static const char* apzAvoid_Bool_DefinePatch[] = {
1396 "#ifndef __cplusplus\n\
1399 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1402 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1404 * Description of Avoid_Bool_Type fix
1406 tSCC zAvoid_Bool_TypeName[] =
1410 * File name selection pattern
1412 tSCC zAvoid_Bool_TypeList[] =
1413 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1415 * Machine/OS name selection pattern
1417 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1420 * content selection pattern - do fix if pattern found
1422 tSCC zAvoid_Bool_TypeSelect0[] =
1423 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1426 * content bypass pattern - skip fix if pattern found
1428 tSCC zAvoid_Bool_TypeBypass0[] =
1431 #define AVOID_BOOL_TYPE_TEST_CT 2
1432 static tTestDesc aAvoid_Bool_TypeTests[] = {
1433 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1434 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1437 * Fix Command Arguments for Avoid_Bool_Type
1439 static const char* apzAvoid_Bool_TypePatch[] = {
1441 "#ifndef __cplusplus\n\
1446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1448 * Description of Avoid_Wchar_T_Type fix
1450 tSCC zAvoid_Wchar_T_TypeName[] =
1451 "avoid_wchar_t_type";
1454 * File name selection pattern
1456 #define zAvoid_Wchar_T_TypeList (char*)NULL
1458 * Machine/OS name selection pattern
1460 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1463 * content selection pattern - do fix if pattern found
1465 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1466 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1469 * content bypass pattern - skip fix if pattern found
1471 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1473 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1475 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1476 "XFree86: xc/lib/X11/Xlib\\.h";
1478 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1479 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1480 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1481 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1482 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1483 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1486 * Fix Command Arguments for Avoid_Wchar_T_Type
1488 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1490 "#ifndef __cplusplus\n\
1495 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1497 * Description of Bad_Struct_Term fix
1499 tSCC zBad_Struct_TermName[] =
1503 * File name selection pattern
1505 tSCC zBad_Struct_TermList[] =
1508 * Machine/OS name selection pattern
1510 #define apzBad_Struct_TermMachs (const char**)NULL
1513 * content selection pattern - do fix if pattern found
1515 tSCC zBad_Struct_TermSelect0[] =
1516 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1518 #define BAD_STRUCT_TERM_TEST_CT 1
1519 static tTestDesc aBad_Struct_TermTests[] = {
1520 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1523 * Fix Command Arguments for Bad_Struct_Term
1525 static const char* apzBad_Struct_TermPatch[] = {
1530 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1532 * Description of Badquote fix
1534 tSCC zBadquoteName[] =
1538 * File name selection pattern
1540 tSCC zBadquoteList[] =
1541 "sundev/vuid_event.h\0";
1543 * Machine/OS name selection pattern
1545 #define apzBadquoteMachs (const char**)NULL
1548 * content selection pattern - do fix if pattern found
1550 tSCC zBadquoteSelect0[] =
1553 #define BADQUOTE_TEST_CT 1
1554 static tTestDesc aBadquoteTests[] = {
1555 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1558 * Fix Command Arguments for Badquote
1560 static const char* apzBadquotePatch[] = {
1565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1567 * Description of Broken_Assert_Stdio fix
1569 tSCC zBroken_Assert_StdioName[] =
1570 "broken_assert_stdio";
1573 * File name selection pattern
1575 tSCC zBroken_Assert_StdioList[] =
1578 * Machine/OS name selection pattern
1580 #define apzBroken_Assert_StdioMachs (const char**)NULL
1583 * content selection pattern - do fix if pattern found
1585 tSCC zBroken_Assert_StdioSelect0[] =
1589 * content bypass pattern - skip fix if pattern found
1591 tSCC zBroken_Assert_StdioBypass0[] =
1592 "include.*stdio\\.h";
1594 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1595 static tTestDesc aBroken_Assert_StdioTests[] = {
1596 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1597 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1600 * Fix Command Arguments for Broken_Assert_Stdio
1602 static const char* apzBroken_Assert_StdioPatch[] = {
1604 "#include <stdio.h>\n",
1607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1609 * Description of Broken_Assert_Stdlib fix
1611 tSCC zBroken_Assert_StdlibName[] =
1612 "broken_assert_stdlib";
1615 * File name selection pattern
1617 tSCC zBroken_Assert_StdlibList[] =
1620 * Machine/OS name selection pattern
1622 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1625 * content selection pattern - do fix if pattern found
1627 tSCC zBroken_Assert_StdlibSelect0[] =
1628 "exit *\\(|abort *\\(";
1631 * content bypass pattern - skip fix if pattern found
1633 tSCC zBroken_Assert_StdlibBypass0[] =
1634 "include.*stdlib\\.h";
1636 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1637 static tTestDesc aBroken_Assert_StdlibTests[] = {
1638 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1639 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1642 * Fix Command Arguments for Broken_Assert_Stdlib
1644 static const char* apzBroken_Assert_StdlibPatch[] = {
1646 "#ifdef __cplusplus\n\
1647 #include <stdlib.h>\n\
1651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1653 * Description of Broken_Cabs fix
1655 tSCC zBroken_CabsName[] =
1659 * File name selection pattern
1661 tSCC zBroken_CabsList[] =
1662 "math.h\0architecture/*/math.h\0";
1664 * Machine/OS name selection pattern
1666 #define apzBroken_CabsMachs (const char**)NULL
1669 * content selection pattern - do fix if pattern found
1671 tSCC zBroken_CabsSelect0[] =
1672 "^extern[ \t]+double[ \t]+cabs";
1674 #define BROKEN_CABS_TEST_CT 1
1675 static tTestDesc aBroken_CabsTests[] = {
1676 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1679 * Fix Command Arguments for Broken_Cabs
1681 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
1682 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1683 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1688 * Description of Broken_Nan fix
1690 tSCC zBroken_NanName[] =
1694 * File name selection pattern
1696 tSCC zBroken_NanList[] =
1697 "architecture/ppc/math.h\0architecture/*/math.h\0";
1699 * Machine/OS name selection pattern
1701 #define apzBroken_NanMachs (const char**)NULL
1704 * content selection pattern - do fix if pattern found
1706 tSCC zBroken_NanSelect0[] =
1707 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1710 * content bypass pattern - skip fix if pattern found
1712 tSCC zBroken_NanBypass0[] =
1715 #define BROKEN_NAN_TEST_CT 2
1716 static tTestDesc aBroken_NanTests[] = {
1717 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1718 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1721 * Fix Command Arguments for Broken_Nan
1723 static const char* apzBroken_NanPatch[] = {
1728 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1730 * Description of Bsd_Stdio_Attrs_Conflict fix
1732 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1733 "bsd_stdio_attrs_conflict";
1736 * File name selection pattern
1738 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1741 * Machine/OS name selection pattern
1743 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1746 (const char*)NULL };
1749 * content selection pattern - do fix if pattern found
1751 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1752 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1754 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1755 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1756 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1759 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1761 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1763 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1764 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1765 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1768 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1770 * Description of Cdef_Cplusplus fix
1772 tSCC zCdef_CplusplusName[] =
1776 * File name selection pattern
1778 tSCC zCdef_CplusplusList[] =
1781 * Machine/OS name selection pattern
1783 #define apzCdef_CplusplusMachs (const char**)NULL
1786 * content selection pattern - do fix if pattern found
1788 tSCC zCdef_CplusplusSelect0[] =
1789 "\\[\\[noreturn\\]\\]";
1791 #define CDEF_CPLUSPLUS_TEST_CT 1
1792 static tTestDesc aCdef_CplusplusTests[] = {
1793 { TT_EGREP, zCdef_CplusplusSelect0, (regex_t*)NULL }, };
1796 * Fix Command Arguments for Cdef_Cplusplus
1798 static const char* apzCdef_CplusplusPatch[] = {
1800 "__attribute__((__noreturn__))",
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[] =
2049 "stdint-darwin.h\0stdint.h\0";
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[] =
2088 "stdint-darwin.h\0stdint.h\0";
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[] =
2137 "stdint-darwin.h\0stdint.h\0";
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[] =
2182 "stdint-darwin.h\0stdint.h\0";
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[] =
2227 "stdint-darwin.h\0stdint.h\0";
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[] =
2274 "stdint-darwin.h\0stdint.h\0";
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[] =
2323 "stdint-darwin.h\0stdint.h\0";
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_Strncpy fix
2852 tSCC zGlibc_StrncpyName[] =
2856 * File name selection pattern
2858 tSCC zGlibc_StrncpyList[] =
2861 * Machine/OS name selection pattern
2863 #define apzGlibc_StrncpyMachs (const char**)NULL
2866 * content bypass pattern - skip fix if pattern found
2868 tSCC zGlibc_StrncpyBypass0[] =
2869 "__builtin_strncpy";
2871 #define GLIBC_STRNCPY_TEST_CT 1
2872 static tTestDesc aGlibc_StrncpyTests[] = {
2873 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
2876 * Fix Command Arguments for Glibc_Strncpy
2878 static const char* apzGlibc_StrncpyPatch[] = {
2880 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
2881 "# define strncpy([^\n\
2887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2889 * Description of Glibc_Tgmath fix
2891 tSCC zGlibc_TgmathName[] =
2895 * File name selection pattern
2897 tSCC zGlibc_TgmathList[] =
2900 * Machine/OS name selection pattern
2902 #define apzGlibc_TgmathMachs (const char**)NULL
2905 * content selection pattern - do fix if pattern found
2907 tSCC zGlibc_TgmathSelect0[] =
2908 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
2911 * content bypass pattern - skip fix if pattern found
2913 tSCC zGlibc_TgmathBypass0[] =
2914 "__floating_type\\(type\\) \\\\\n\
2915 .*__builtin_classify_type";
2917 #define GLIBC_TGMATH_TEST_CT 2
2918 static tTestDesc aGlibc_TgmathTests[] = {
2919 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
2920 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
2923 * Fix Command Arguments for Glibc_Tgmath
2925 static const char* apzGlibc_TgmathPatch[] = {
2927 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
2930 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2932 * Description of Gnu_Types fix
2934 tSCC zGnu_TypesName[] =
2938 * File name selection pattern
2940 tSCC zGnu_TypesList[] =
2941 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2943 * Machine/OS name selection pattern
2945 tSCC* apzGnu_TypesMachs[] = {
2946 "*-*-solaris2.1[0-9]*",
2947 (const char*)NULL };
2950 * content selection pattern - do fix if pattern found
2952 tSCC zGnu_TypesSelect0[] =
2953 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2956 * content bypass pattern - skip fix if pattern found
2958 tSCC zGnu_TypesBypass0[] =
2959 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2961 #define GNU_TYPES_TEST_CT 2
2962 static tTestDesc aGnu_TypesTests[] = {
2963 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2964 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2967 * Fix Command Arguments for Gnu_Types
2969 static const char* apzGnu_TypesPatch[] = {
2973 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2975 * Description of Hp_Inline fix
2977 tSCC zHp_InlineName[] =
2981 * File name selection pattern
2983 tSCC zHp_InlineList[] =
2984 "sys/spinlock.h\0machine/machparam.h\0";
2986 * Machine/OS name selection pattern
2988 #define apzHp_InlineMachs (const char**)NULL
2991 * content selection pattern - do fix if pattern found
2993 tSCC zHp_InlineSelect0[] =
2994 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2996 #define HP_INLINE_TEST_CT 1
2997 static tTestDesc aHp_InlineTests[] = {
2998 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
3001 * Fix Command Arguments for Hp_Inline
3003 static const char* apzHp_InlinePatch[] = {
3006 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
3009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3011 * Description of Hp_Sysfile fix
3013 tSCC zHp_SysfileName[] =
3017 * File name selection pattern
3019 tSCC zHp_SysfileList[] =
3022 * Machine/OS name selection pattern
3024 #define apzHp_SysfileMachs (const char**)NULL
3027 * content selection pattern - do fix if pattern found
3029 tSCC zHp_SysfileSelect0[] =
3032 #define HP_SYSFILE_TEST_CT 1
3033 static tTestDesc aHp_SysfileTests[] = {
3034 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
3037 * Fix Command Arguments for Hp_Sysfile
3039 static const char* apzHp_SysfilePatch[] = {
3041 "(struct file *, ...)",
3045 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3047 * Description of Hppa_Hpux_Fp_Macros fix
3049 tSCC zHppa_Hpux_Fp_MacrosName[] =
3050 "hppa_hpux_fp_macros";
3053 * File name selection pattern
3055 tSCC zHppa_Hpux_Fp_MacrosList[] =
3058 * Machine/OS name selection pattern
3060 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3062 (const char*)NULL };
3065 * content selection pattern - do fix if pattern found
3067 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3068 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3069 #[ \t]*define[ \t]*FP_ZERO.*\n\
3070 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3071 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3072 #[ \t]*define[ \t]*FP_NAN.*\n";
3074 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
3075 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3076 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3079 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
3081 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3083 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3084 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3085 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3087 #ifdef _INCLUDE_HPUX_SOURCE\n",
3090 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3092 * Description of Hpux10_Cpp_Pow_Inline fix
3094 tSCC zHpux10_Cpp_Pow_InlineName[] =
3095 "hpux10_cpp_pow_inline";
3098 * File name selection pattern
3100 tSCC zHpux10_Cpp_Pow_InlineList[] =
3101 "fixinc-test-limits.h\0math.h\0";
3103 * Machine/OS name selection pattern
3105 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3108 * content selection pattern - do fix if pattern found
3110 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3111 "^# +ifdef +__cplusplus\n\
3113 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3114 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3116 +extern +\"C\" +\\{\n\
3120 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
3121 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3122 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3125 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3127 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3132 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3134 * Description of Hpux11_Cpp_Pow_Inline fix
3136 tSCC zHpux11_Cpp_Pow_InlineName[] =
3137 "hpux11_cpp_pow_inline";
3140 * File name selection pattern
3142 tSCC zHpux11_Cpp_Pow_InlineList[] =
3145 * Machine/OS name selection pattern
3147 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3150 * content selection pattern - do fix if pattern found
3152 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3153 " +inline double pow\\(double d,int expon\\) \\{\n\
3154 +return pow\\(d, \\(double\\)expon\\);\n\
3157 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
3158 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
3159 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3162 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
3164 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
3169 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3171 * Description of Hpux10_Ctype_Declarations1 fix
3173 tSCC zHpux10_Ctype_Declarations1Name[] =
3174 "hpux10_ctype_declarations1";
3177 * File name selection pattern
3179 tSCC zHpux10_Ctype_Declarations1List[] =
3182 * Machine/OS name selection pattern
3184 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
3187 * content selection pattern - do fix if pattern found
3189 tSCC zHpux10_Ctype_Declarations1Select0[] =
3190 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
3193 * content bypass pattern - skip fix if pattern found
3195 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
3196 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
3198 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
3199 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
3200 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
3201 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
3204 * Fix Command Arguments for Hpux10_Ctype_Declarations1
3206 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
3208 "#ifdef _PROTOTYPES\n\
3209 extern int __tolower(int);\n\
3210 extern int __toupper(int);\n\
3211 #else /* NOT _PROTOTYPES */\n\
3212 extern int __tolower();\n\
3213 extern int __toupper();\n\
3214 #endif /* _PROTOTYPES */\n\n\
3218 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3220 * Description of Hpux10_Ctype_Declarations2 fix
3222 tSCC zHpux10_Ctype_Declarations2Name[] =
3223 "hpux10_ctype_declarations2";
3226 * File name selection pattern
3228 tSCC zHpux10_Ctype_Declarations2List[] =
3231 * Machine/OS name selection pattern
3233 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
3236 * content selection pattern - do fix if pattern found
3238 tSCC zHpux10_Ctype_Declarations2Select0[] =
3239 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
3242 * content bypass pattern - skip fix if pattern found
3244 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
3245 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
3247 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
3248 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
3249 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
3250 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
3253 * Fix Command Arguments for Hpux10_Ctype_Declarations2
3255 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
3258 #ifdef _PROTOTYPES\n\
3259 extern int _isalnum(int);\n\
3260 extern int _isalpha(int);\n\
3261 extern int _iscntrl(int);\n\
3262 extern int _isdigit(int);\n\
3263 extern int _isgraph(int);\n\
3264 extern int _islower(int);\n\
3265 extern int _isprint(int);\n\
3266 extern int _ispunct(int);\n\
3267 extern int _isspace(int);\n\
3268 extern int _isupper(int);\n\
3269 extern int _isxdigit(int);\n\
3270 # else /* not _PROTOTYPES */\n\
3271 extern int _isalnum();\n\
3272 extern int _isalpha();\n\
3273 extern int _iscntrl();\n\
3274 extern int _isdigit();\n\
3275 extern int _isgraph();\n\
3276 extern int _islower();\n\
3277 extern int _isprint();\n\
3278 extern int _ispunct();\n\
3279 extern int _isspace();\n\
3280 extern int _isupper();\n\
3281 extern int _isxdigit();\n\
3282 #endif /* _PROTOTYPES */\n",
3285 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3287 * Description of Hpux10_Stdio_Declarations fix
3289 tSCC zHpux10_Stdio_DeclarationsName[] =
3290 "hpux10_stdio_declarations";
3293 * File name selection pattern
3295 tSCC zHpux10_Stdio_DeclarationsList[] =
3298 * Machine/OS name selection pattern
3300 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
3303 * content selection pattern - do fix if pattern found
3305 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
3306 "^#[ \t]*define _iob[ \t]*__iob";
3309 * content bypass pattern - skip fix if pattern found
3311 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
3312 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
3314 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
3315 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
3316 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
3317 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
3320 * Fix Command Arguments for Hpux10_Stdio_Declarations
3322 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
3325 # if defined(__STDC__) || defined(__cplusplus)\n\
3326 extern int snprintf(char *, size_t, const char *, ...);\n\
3327 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
3328 # else /* not __STDC__) || __cplusplus */\n\
3329 extern int snprintf();\n\
3330 extern int vsnprintf();\n\
3331 # endif /* __STDC__) || __cplusplus */\n",
3334 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3336 * Description of Hpux11_Abs fix
3338 tSCC zHpux11_AbsName[] =
3342 * File name selection pattern
3344 tSCC zHpux11_AbsList[] =
3347 * Machine/OS name selection pattern
3349 tSCC* apzHpux11_AbsMachs[] = {
3351 (const char*)NULL };
3354 * content selection pattern - do fix if pattern found
3356 tSCC zHpux11_AbsSelect0[] =
3357 "ifndef _MATH_INCLUDED";
3359 #define HPUX11_ABS_TEST_CT 1
3360 static tTestDesc aHpux11_AbsTests[] = {
3361 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
3364 * Fix Command Arguments for Hpux11_Abs
3366 static const char* apzHpux11_AbsPatch[] = {
3368 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
3371 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3373 * Description of Hpux11_Fabsf fix
3375 tSCC zHpux11_FabsfName[] =
3379 * File name selection pattern
3381 tSCC zHpux11_FabsfList[] =
3384 * Machine/OS name selection pattern
3386 #define apzHpux11_FabsfMachs (const char**)NULL
3389 * content selection pattern - do fix if pattern found
3391 tSCC zHpux11_FabsfSelect0[] =
3392 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
3395 * content bypass pattern - skip fix if pattern found
3397 tSCC zHpux11_FabsfBypass0[] =
3400 #define HPUX11_FABSF_TEST_CT 2
3401 static tTestDesc aHpux11_FabsfTests[] = {
3402 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
3403 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
3406 * Fix Command Arguments for Hpux11_Fabsf
3408 static const char* apzHpux11_FabsfPatch[] = {
3410 "#ifndef __cplusplus\n\
3415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3417 * Description of Hpux11_Pthread_Const fix
3419 tSCC zHpux11_Pthread_ConstName[] =
3420 "hpux11_pthread_const";
3423 * File name selection pattern
3425 tSCC zHpux11_Pthread_ConstList[] =
3428 * Machine/OS name selection pattern
3430 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3431 "*-hp-hpux11.[0-3]*",
3432 (const char*)NULL };
3435 * content selection pattern - do fix if pattern found
3437 tSCC zHpux11_Pthread_ConstSelect0[] =
3438 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3440 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3441 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3442 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3445 * Fix Command Arguments for Hpux11_Pthread_Const
3447 static const char* apzHpux11_Pthread_ConstPatch[] = {
3449 "#define __POINTER_SET\t\t((void *) 1L)",
3452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3454 * Description of Hpux11_Size_T fix
3456 tSCC zHpux11_Size_TName[] =
3460 * File name selection pattern
3462 #define zHpux11_Size_TList (char*)NULL
3464 * Machine/OS name selection pattern
3466 tSCC* apzHpux11_Size_TMachs[] = {
3468 (const char*)NULL };
3471 * content selection pattern - do fix if pattern found
3473 tSCC zHpux11_Size_TSelect0[] =
3476 #define HPUX11_SIZE_T_TEST_CT 1
3477 static tTestDesc aHpux11_Size_TTests[] = {
3478 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
3481 * Fix Command Arguments for Hpux11_Size_T
3483 static const char* apzHpux11_Size_TPatch[] = {
3488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3490 * Description of Hpux11_Snprintf fix
3492 tSCC zHpux11_SnprintfName[] =
3496 * File name selection pattern
3498 tSCC zHpux11_SnprintfList[] =
3501 * Machine/OS name selection pattern
3503 #define apzHpux11_SnprintfMachs (const char**)NULL
3506 * content selection pattern - do fix if pattern found
3508 tSCC zHpux11_SnprintfSelect0[] =
3509 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3511 #define HPUX11_SNPRINTF_TEST_CT 1
3512 static tTestDesc aHpux11_SnprintfTests[] = {
3513 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3516 * Fix Command Arguments for Hpux11_Snprintf
3518 static const char* apzHpux11_SnprintfPatch[] = {
3523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3525 * Description of Hpux11_Vsnprintf fix
3527 tSCC zHpux11_VsnprintfName[] =
3531 * File name selection pattern
3533 tSCC zHpux11_VsnprintfList[] =
3536 * Machine/OS name selection pattern
3538 #define apzHpux11_VsnprintfMachs (const char**)NULL
3541 * content selection pattern - do fix if pattern found
3543 tSCC zHpux11_VsnprintfSelect0[] =
3544 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3546 #define HPUX11_VSNPRINTF_TEST_CT 1
3547 static tTestDesc aHpux11_VsnprintfTests[] = {
3548 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3551 * Fix Command Arguments for Hpux11_Vsnprintf
3553 static const char* apzHpux11_VsnprintfPatch[] = {
3558 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3560 * Description of Hpux8_Bogus_Inlines fix
3562 tSCC zHpux8_Bogus_InlinesName[] =
3563 "hpux8_bogus_inlines";
3566 * File name selection pattern
3568 tSCC zHpux8_Bogus_InlinesList[] =
3571 * Machine/OS name selection pattern
3573 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3576 * content selection pattern - do fix if pattern found
3578 tSCC zHpux8_Bogus_InlinesSelect0[] =
3582 * content bypass pattern - skip fix if pattern found
3584 tSCC zHpux8_Bogus_InlinesBypass0[] =
3587 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3588 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3589 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3590 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3593 * Fix Command Arguments for Hpux8_Bogus_Inlines
3595 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
3596 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3597 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3598 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3599 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3602 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3604 * Description of Hpux_Ctype_Macros fix
3606 tSCC zHpux_Ctype_MacrosName[] =
3607 "hpux_ctype_macros";
3610 * File name selection pattern
3612 tSCC zHpux_Ctype_MacrosList[] =
3615 * Machine/OS name selection pattern
3617 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3620 * content selection pattern - do fix if pattern found
3622 tSCC zHpux_Ctype_MacrosSelect0[] =
3623 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3625 #define HPUX_CTYPE_MACROS_TEST_CT 1
3626 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3627 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3630 * Fix Command Arguments for Hpux_Ctype_Macros
3632 static const char* apzHpux_Ctype_MacrosPatch[] = {
3637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3639 * Description of Hpux_Htonl fix
3641 tSCC zHpux_HtonlName[] =
3645 * File name selection pattern
3647 tSCC zHpux_HtonlList[] =
3650 * Machine/OS name selection pattern
3652 #define apzHpux_HtonlMachs (const char**)NULL
3655 * content selection pattern - do fix if pattern found
3657 tSCC zHpux_HtonlSelect0[] =
3658 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
3660 \\* Macros for number representation conversion\\.\n\
3664 #define HPUX_HTONL_TEST_CT 1
3665 static tTestDesc aHpux_HtonlTests[] = {
3666 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3669 * Fix Command Arguments for Hpux_Htonl
3671 static const char* apzHpux_HtonlPatch[] = {
3677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3679 * Description of Hpux_Long_Double fix
3681 tSCC zHpux_Long_DoubleName[] =
3685 * File name selection pattern
3687 tSCC zHpux_Long_DoubleList[] =
3690 * Machine/OS name selection pattern
3692 tSCC* apzHpux_Long_DoubleMachs[] = {
3694 "*-*-hpux11.[012]*",
3695 (const char*)NULL };
3698 * content selection pattern - do fix if pattern found
3700 tSCC zHpux_Long_DoubleSelect0[] =
3701 "extern[ \t]long_double[ \t]strtold";
3704 * content bypass pattern - skip fix if pattern found
3706 tSCC zHpux_Long_DoubleBypass0[] =
3709 #define HPUX_LONG_DOUBLE_TEST_CT 2
3710 static tTestDesc aHpux_Long_DoubleTests[] = {
3711 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3712 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3715 * Fix Command Arguments for Hpux_Long_Double
3717 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
3718 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3719 "-e", "s/long_double/long double/g",
3722 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3724 * Description of Hpux_Long_Double_2 fix
3726 tSCC zHpux_Long_Double_2Name[] =
3727 "hpux_long_double_2";
3730 * File name selection pattern
3732 tSCC zHpux_Long_Double_2List[] =
3735 * Machine/OS name selection pattern
3737 tSCC* apzHpux_Long_Double_2Machs[] = {
3738 "hppa*-*-hpux11.3*",
3739 (const char*)NULL };
3742 * content selection pattern - do fix if pattern found
3744 tSCC zHpux_Long_Double_2Select0[] =
3745 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
3747 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
3748 static tTestDesc aHpux_Long_Double_2Tests[] = {
3749 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
3752 * Fix Command Arguments for Hpux_Long_Double_2
3754 static const char* apzHpux_Long_Double_2Patch[] = {
3756 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
3759 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3761 * Description of Hpux_Systime fix
3763 tSCC zHpux_SystimeName[] =
3767 * File name selection pattern
3769 tSCC zHpux_SystimeList[] =
3772 * Machine/OS name selection pattern
3774 #define apzHpux_SystimeMachs (const char**)NULL
3777 * content selection pattern - do fix if pattern found
3779 tSCC zHpux_SystimeSelect0[] =
3780 "^extern struct sigevent;";
3782 #define HPUX_SYSTIME_TEST_CT 1
3783 static tTestDesc aHpux_SystimeTests[] = {
3784 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3787 * Fix Command Arguments for Hpux_Systime
3789 static const char* apzHpux_SystimePatch[] = {
3794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3796 * Description of Hpux_Spu_Info fix
3798 tSCC zHpux_Spu_InfoName[] =
3802 * File name selection pattern
3804 tSCC zHpux_Spu_InfoList[] =
3805 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
3807 * Machine/OS name selection pattern
3809 tSCC* apzHpux_Spu_InfoMachs[] = {
3811 (const char*)NULL };
3814 * content selection pattern - do fix if pattern found
3816 tSCC zHpux_Spu_InfoSelect0[] =
3817 "^.*extern.*spu_info.*";
3819 #define HPUX_SPU_INFO_TEST_CT 1
3820 static tTestDesc aHpux_Spu_InfoTests[] = {
3821 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3824 * Fix Command Arguments for Hpux_Spu_Info
3826 static const char* apzHpux_Spu_InfoPatch[] = {
3833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3835 * Description of Hpux11_Extern_Sendfile fix
3837 tSCC zHpux11_Extern_SendfileName[] =
3838 "hpux11_extern_sendfile";
3841 * File name selection pattern
3843 tSCC zHpux11_Extern_SendfileList[] =
3846 * Machine/OS name selection pattern
3848 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3849 "*-hp-hpux11.[12]*",
3850 (const char*)NULL };
3853 * content selection pattern - do fix if pattern found
3855 tSCC zHpux11_Extern_SendfileSelect0[] =
3856 "^[ \t]*extern sbsize_t sendfile.*\n\
3859 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3860 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3861 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3864 * Fix Command Arguments for Hpux11_Extern_Sendfile
3866 static const char* apzHpux11_Extern_SendfilePatch[] = {
3868 "#ifndef _APP32_64BIT_OFF_T\n\
3872 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3874 * Description of Hpux11_Extern_Sendpath fix
3876 tSCC zHpux11_Extern_SendpathName[] =
3877 "hpux11_extern_sendpath";
3880 * File name selection pattern
3882 tSCC zHpux11_Extern_SendpathList[] =
3885 * Machine/OS name selection pattern
3887 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3888 "*-hp-hpux11.[12]*",
3889 (const char*)NULL };
3892 * content selection pattern - do fix if pattern found
3894 tSCC zHpux11_Extern_SendpathSelect0[] =
3895 "^[ \t]*extern sbsize_t sendpath.*\n\
3898 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3899 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3900 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3903 * Fix Command Arguments for Hpux11_Extern_Sendpath
3905 static const char* apzHpux11_Extern_SendpathPatch[] = {
3907 "#ifndef _APP32_64BIT_OFF_T\n\
3911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3913 * Description of Hpux_Extern_Errno fix
3915 tSCC zHpux_Extern_ErrnoName[] =
3916 "hpux_extern_errno";
3919 * File name selection pattern
3921 tSCC zHpux_Extern_ErrnoList[] =
3924 * Machine/OS name selection pattern
3926 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3928 "*-hp-hpux11.[0-2]*",
3929 (const char*)NULL };
3932 * content selection pattern - do fix if pattern found
3934 tSCC zHpux_Extern_ErrnoSelect0[] =
3935 "^[ \t]*extern int errno;$";
3937 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3938 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3939 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3942 * Fix Command Arguments for Hpux_Extern_Errno
3944 static const char* apzHpux_Extern_ErrnoPatch[] = {
3946 "#ifdef __cplusplus\n\
3950 #ifdef __cplusplus\n\
3955 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3957 * Description of Hpux_Pthread_Initializers fix
3959 tSCC zHpux_Pthread_InitializersName[] =
3960 "hpux_pthread_initializers";
3963 * File name selection pattern
3965 tSCC zHpux_Pthread_InitializersList[] =
3968 * Machine/OS name selection pattern
3970 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3971 "*-hp-hpux11.[0-3]*",
3972 (const char*)NULL };
3973 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3974 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3977 * Fix Command Arguments for Hpux_Pthread_Initializers
3979 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
3980 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3981 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3982 "-e", "/^[ \t]*0$/d",
3983 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3984 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3985 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3986 "-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\\\\@",
3987 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3988 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3989 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3990 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3991 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3992 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3997 * Description of Hpux_C99_Intptr fix
3999 tSCC zHpux_C99_IntptrName[] =
4003 * File name selection pattern
4005 tSCC zHpux_C99_IntptrList[] =
4006 "stdint-hpux11.h\0stdint.h\0";
4008 * Machine/OS name selection pattern
4010 tSCC* apzHpux_C99_IntptrMachs[] = {
4012 (const char*)NULL };
4013 #define HPUX_C99_INTPTR_TEST_CT 0
4014 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4017 * Fix Command Arguments for Hpux_C99_Intptr
4019 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4020 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4021 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4022 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4023 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4024 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4025 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4030 * Description of Hpux_C99_Inttypes fix
4032 tSCC zHpux_C99_InttypesName[] =
4033 "hpux_c99_inttypes";
4036 * File name selection pattern
4038 tSCC zHpux_C99_InttypesList[] =
4039 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4041 * Machine/OS name selection pattern
4043 tSCC* apzHpux_C99_InttypesMachs[] = {
4044 "*-hp-hpux11.[23]*",
4045 (const char*)NULL };
4046 #define HPUX_C99_INTTYPES_TEST_CT 0
4047 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4050 * Fix Command Arguments for Hpux_C99_Inttypes
4052 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4053 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4054 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4055 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4056 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4059 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4061 * Description of Hpux_C99_Inttypes2 fix
4063 tSCC zHpux_C99_Inttypes2Name[] =
4064 "hpux_c99_inttypes2";
4067 * File name selection pattern
4069 tSCC zHpux_C99_Inttypes2List[] =
4070 "stdint-hpux11.h\0stdint.h\0";
4072 * Machine/OS name selection pattern
4074 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4076 (const char*)NULL };
4077 #define HPUX_C99_INTTYPES2_TEST_CT 0
4078 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4081 * Fix Command Arguments for Hpux_C99_Inttypes2
4083 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4084 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4085 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4086 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4087 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4090 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4092 * Description of Hpux_Stdint_Least_Fast fix
4094 tSCC zHpux_Stdint_Least_FastName[] =
4095 "hpux_stdint_least_fast";
4098 * File name selection pattern
4100 tSCC zHpux_Stdint_Least_FastList[] =
4101 "stdint-hpux11.h\0stdint.h\0";
4103 * Machine/OS name selection pattern
4105 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
4107 (const char*)NULL };
4110 * content selection pattern - do fix if pattern found
4112 tSCC zHpux_Stdint_Least_FastSelect0[] =
4113 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
4115 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
4116 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
4117 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
4120 * Fix Command Arguments for Hpux_Stdint_Least_Fast
4122 static const char* apzHpux_Stdint_Least_FastPatch[] = {
4124 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
4127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4129 * Description of Hpux_Inttype_Int8_T fix
4131 tSCC zHpux_Inttype_Int8_TName[] =
4132 "hpux_inttype_int8_t";
4135 * File name selection pattern
4137 tSCC zHpux_Inttype_Int8_TList[] =
4138 "sys/_inttypes.h\0";
4140 * Machine/OS name selection pattern
4142 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4144 (const char*)NULL };
4147 * content selection pattern - do fix if pattern found
4149 tSCC zHpux_Inttype_Int8_TSelect0[] =
4150 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4152 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
4153 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4154 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4157 * Fix Command Arguments for Hpux_Inttype_Int8_T
4159 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4161 "typedef signed char int%18_t;",
4164 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4166 * Description of Hpux_Imaginary_I fix
4168 tSCC zHpux_Imaginary_IName[] =
4172 * File name selection pattern
4174 tSCC zHpux_Imaginary_IList[] =
4177 * Machine/OS name selection pattern
4179 tSCC* apzHpux_Imaginary_IMachs[] = {
4181 (const char*)NULL };
4184 * content selection pattern - do fix if pattern found
4186 tSCC zHpux_Imaginary_ISelect0[] =
4187 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4189 #define HPUX_IMAGINARY_I_TEST_CT 1
4190 static tTestDesc aHpux_Imaginary_ITests[] = {
4191 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4194 * Fix Command Arguments for Hpux_Imaginary_I
4196 static const char* apzHpux_Imaginary_IPatch[] = {
4198 "#define _Complex_I (__extension__ 1.0iF)",
4201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4203 * Description of Huge_Val_Hex fix
4205 tSCC zHuge_Val_HexName[] =
4209 * File name selection pattern
4211 tSCC zHuge_Val_HexList[] =
4212 "bits/huge_val.h\0";
4214 * Machine/OS name selection pattern
4216 #define apzHuge_Val_HexMachs (const char**)NULL
4219 * content selection pattern - do fix if pattern found
4221 tSCC zHuge_Val_HexSelect0[] =
4222 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
4225 * content bypass pattern - skip fix if pattern found
4227 tSCC zHuge_Val_HexBypass0[] =
4228 "__builtin_huge_val";
4230 #define HUGE_VAL_HEX_TEST_CT 2
4231 static tTestDesc aHuge_Val_HexTests[] = {
4232 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
4233 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
4236 * Fix Command Arguments for Huge_Val_Hex
4238 static const char* apzHuge_Val_HexPatch[] = {
4240 "#define HUGE_VAL (__builtin_huge_val())\n",
4243 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4245 * Description of Huge_Valf_Hex fix
4247 tSCC zHuge_Valf_HexName[] =
4251 * File name selection pattern
4253 tSCC zHuge_Valf_HexList[] =
4254 "bits/huge_val.h\0";
4256 * Machine/OS name selection pattern
4258 #define apzHuge_Valf_HexMachs (const char**)NULL
4261 * content selection pattern - do fix if pattern found
4263 tSCC zHuge_Valf_HexSelect0[] =
4264 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
4267 * content bypass pattern - skip fix if pattern found
4269 tSCC zHuge_Valf_HexBypass0[] =
4270 "__builtin_huge_valf";
4272 #define HUGE_VALF_HEX_TEST_CT 2
4273 static tTestDesc aHuge_Valf_HexTests[] = {
4274 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
4275 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
4278 * Fix Command Arguments for Huge_Valf_Hex
4280 static const char* apzHuge_Valf_HexPatch[] = {
4282 "#define HUGE_VALF (__builtin_huge_valf())\n",
4285 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4287 * Description of Huge_Vall_Hex fix
4289 tSCC zHuge_Vall_HexName[] =
4293 * File name selection pattern
4295 tSCC zHuge_Vall_HexList[] =
4296 "bits/huge_val.h\0";
4298 * Machine/OS name selection pattern
4300 #define apzHuge_Vall_HexMachs (const char**)NULL
4303 * content selection pattern - do fix if pattern found
4305 tSCC zHuge_Vall_HexSelect0[] =
4306 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
4309 * content bypass pattern - skip fix if pattern found
4311 tSCC zHuge_Vall_HexBypass0[] =
4312 "__builtin_huge_vall";
4314 #define HUGE_VALL_HEX_TEST_CT 2
4315 static tTestDesc aHuge_Vall_HexTests[] = {
4316 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
4317 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
4320 * Fix Command Arguments for Huge_Vall_Hex
4322 static const char* apzHuge_Vall_HexPatch[] = {
4324 "#define HUGE_VALL (__builtin_huge_vall())\n",
4327 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4329 * Description of Int_Abort_Free_And_Exit fix
4331 tSCC zInt_Abort_Free_And_ExitName[] =
4332 "int_abort_free_and_exit";
4335 * File name selection pattern
4337 tSCC zInt_Abort_Free_And_ExitList[] =
4340 * Machine/OS name selection pattern
4342 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
4345 * content selection pattern - do fix if pattern found
4347 tSCC zInt_Abort_Free_And_ExitSelect0[] =
4348 "int[ \t]+(abort|free|exit)[ \t]*\\(";
4351 * content bypass pattern - skip fix if pattern found
4353 tSCC zInt_Abort_Free_And_ExitBypass0[] =
4354 "_CLASSIC_ANSI_TYPES";
4356 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
4357 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
4358 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
4359 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
4362 * Fix Command Arguments for Int_Abort_Free_And_Exit
4364 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
4369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4371 * Description of Io_Quotes_Def fix
4373 tSCC zIo_Quotes_DefName[] =
4377 * File name selection pattern
4379 #define zIo_Quotes_DefList (char*)NULL
4381 * Machine/OS name selection pattern
4383 #define apzIo_Quotes_DefMachs (const char**)NULL
4386 * content selection pattern - do fix if pattern found
4388 tSCC zIo_Quotes_DefSelect0[] =
4389 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
4391 #define IO_QUOTES_DEF_TEST_CT 1
4392 static tTestDesc aIo_Quotes_DefTests[] = {
4393 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
4396 * Fix Command Arguments for Io_Quotes_Def
4398 static const char* apzIo_Quotes_DefPatch[] = {
4403 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4405 * Description of Io_Quotes_Use fix
4407 tSCC zIo_Quotes_UseName[] =
4411 * File name selection pattern
4413 #define zIo_Quotes_UseList (char*)NULL
4415 * Machine/OS name selection pattern
4417 #define apzIo_Quotes_UseMachs (const char**)NULL
4420 * content selection pattern - do fix if pattern found
4422 tSCC zIo_Quotes_UseSelect0[] =
4423 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
4425 #define IO_QUOTES_USE_TEST_CT 1
4426 static tTestDesc aIo_Quotes_UseTests[] = {
4427 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
4430 * Fix Command Arguments for Io_Quotes_Use
4432 static const char* apzIo_Quotes_UsePatch[] = {
4437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4439 * Description of Ip_Missing_Semi fix
4441 tSCC zIp_Missing_SemiName[] =
4445 * File name selection pattern
4447 tSCC zIp_Missing_SemiList[] =
4450 * Machine/OS name selection pattern
4452 #define apzIp_Missing_SemiMachs (const char**)NULL
4455 * content selection pattern - do fix if pattern found
4457 tSCC zIp_Missing_SemiSelect0[] =
4460 #define IP_MISSING_SEMI_TEST_CT 1
4461 static tTestDesc aIp_Missing_SemiTests[] = {
4462 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
4465 * Fix Command Arguments for Ip_Missing_Semi
4467 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
4468 "-e", "/^struct/,/^};/s/}$/};/",
4471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4473 * Description of Irix_Limits_Const fix
4475 tSCC zIrix_Limits_ConstName[] =
4476 "irix_limits_const";
4479 * File name selection pattern
4481 tSCC zIrix_Limits_ConstList[] =
4482 "fixinc-test-limits.h\0limits.h\0";
4484 * Machine/OS name selection pattern
4486 #define apzIrix_Limits_ConstMachs (const char**)NULL
4489 * content selection pattern - do fix if pattern found
4491 tSCC zIrix_Limits_ConstSelect0[] =
4494 #define IRIX_LIMITS_CONST_TEST_CT 1
4495 static tTestDesc aIrix_Limits_ConstTests[] = {
4496 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
4499 * Fix Command Arguments for Irix_Limits_Const
4501 static const char* apzIrix_Limits_ConstPatch[] = {
4506 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4508 * Description of Irix_Stdio_Va_List fix
4510 tSCC zIrix_Stdio_Va_ListName[] =
4511 "irix_stdio_va_list";
4514 * File name selection pattern
4516 tSCC zIrix_Stdio_Va_ListList[] =
4519 * Machine/OS name selection pattern
4521 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4524 * content selection pattern - do fix if pattern found
4526 tSCC zIrix_Stdio_Va_ListSelect0[] =
4527 "/\\* va_list \\*/ char \\*";
4529 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4530 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4531 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4534 * Fix Command Arguments for Irix_Stdio_Va_List
4536 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4541 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4543 * Description of Kandr_Concat fix
4545 tSCC zKandr_ConcatName[] =
4549 * File name selection pattern
4551 tSCC zKandr_ConcatList[] =
4552 "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";
4554 * Machine/OS name selection pattern
4556 #define apzKandr_ConcatMachs (const char**)NULL
4559 * content selection pattern - do fix if pattern found
4561 tSCC zKandr_ConcatSelect0[] =
4564 #define KANDR_CONCAT_TEST_CT 1
4565 static tTestDesc aKandr_ConcatTests[] = {
4566 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4569 * Fix Command Arguments for Kandr_Concat
4571 static const char* apzKandr_ConcatPatch[] = {
4576 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4578 * Description of Linux_Ia64_Ucontext fix
4580 tSCC zLinux_Ia64_UcontextName[] =
4581 "linux_ia64_ucontext";
4584 * File name selection pattern
4586 tSCC zLinux_Ia64_UcontextList[] =
4589 * Machine/OS name selection pattern
4591 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4593 (const char*)NULL };
4596 * content selection pattern - do fix if pattern found
4598 tSCC zLinux_Ia64_UcontextSelect0[] =
4599 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4601 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4602 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4603 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4606 * Fix Command Arguments for Linux_Ia64_Ucontext
4608 static const char* apzLinux_Ia64_UcontextPatch[] = {
4610 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4615 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4617 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4618 "lynxos_no_warning_in_sys_time_h";
4621 * File name selection pattern
4623 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4626 * Machine/OS name selection pattern
4628 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4631 * content selection pattern - do fix if pattern found
4633 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4634 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4636 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4637 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4638 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4641 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4643 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4650 * Description of Lynxos_Missing_Putenv fix
4652 tSCC zLynxos_Missing_PutenvName[] =
4653 "lynxos_missing_putenv";
4656 * File name selection pattern
4658 tSCC zLynxos_Missing_PutenvList[] =
4661 * Machine/OS name selection pattern
4663 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4665 (const char*)NULL };
4668 * content selection pattern - do fix if pattern found
4670 tSCC zLynxos_Missing_PutenvSelect0[] =
4671 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4674 * content bypass pattern - skip fix if pattern found
4676 tSCC zLynxos_Missing_PutenvBypass0[] =
4679 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4680 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4681 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4682 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4685 * Fix Command Arguments for Lynxos_Missing_Putenv
4687 static const char* apzLynxos_Missing_PutenvPatch[] = {
4690 extern int putenv\t\t\t\t_AP((char *));",
4691 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4696 * Description of Machine_Ansi_H_Va_List fix
4698 tSCC zMachine_Ansi_H_Va_ListName[] =
4699 "machine_ansi_h_va_list";
4702 * File name selection pattern
4704 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4706 * Machine/OS name selection pattern
4708 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4711 * content selection pattern - do fix if pattern found
4713 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4714 "define[ \t]+_BSD_VA_LIST_[ \t]";
4717 * content bypass pattern - skip fix if pattern found
4719 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4720 "__builtin_va_list";
4722 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4723 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4724 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4725 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4728 * Fix Command Arguments for Machine_Ansi_H_Va_List
4730 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4732 "%1__builtin_va_list",
4733 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4736 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4738 * Description of Machine_Name fix
4740 tSCC zMachine_NameName[] =
4744 * File name selection pattern
4746 #define zMachine_NameList (char*)NULL
4748 * Machine/OS name selection pattern
4750 #define apzMachine_NameMachs (const char**)NULL
4753 * perform the C function call test
4755 tSCC zMachine_NameFTst0[] = "machine_name";
4757 #define MACHINE_NAME_TEST_CT 1
4758 static tTestDesc aMachine_NameTests[] = {
4759 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4762 * Fix Command Arguments for Machine_Name
4764 static const char* apzMachine_NamePatch[] = {
4768 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4770 * Description of Math_Exception fix
4772 tSCC zMath_ExceptionName[] =
4776 * File name selection pattern
4778 tSCC zMath_ExceptionList[] =
4781 * Machine/OS name selection pattern
4783 #define apzMath_ExceptionMachs (const char**)NULL
4786 * content selection pattern - do fix if pattern found
4788 tSCC zMath_ExceptionSelect0[] =
4792 * content bypass pattern - skip fix if pattern found
4794 tSCC zMath_ExceptionBypass0[] =
4795 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4797 #define MATH_EXCEPTION_TEST_CT 2
4798 static tTestDesc aMath_ExceptionTests[] = {
4799 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4800 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4803 * Fix Command Arguments for Math_Exception
4805 static const char* apzMath_ExceptionPatch[] = {
4807 "#ifdef __cplusplus\n\
4808 #define exception __math_exception\n\
4810 "#ifdef __cplusplus\n\
4815 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4817 * Description of Math_Huge_Val_From_Dbl_Max fix
4819 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4820 "math_huge_val_from_dbl_max";
4823 * File name selection pattern
4825 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4828 * Machine/OS name selection pattern
4830 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4833 * content selection pattern - do fix if pattern found
4835 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4836 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4839 * content bypass pattern - skip fix if pattern found
4841 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4842 "define[ \t]+DBL_MAX";
4844 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4845 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4846 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4847 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4850 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4852 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4853 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4854 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4855 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4860 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4862 * Description of Nested_Auth_Des fix
4864 tSCC zNested_Auth_DesName[] =
4868 * File name selection pattern
4870 tSCC zNested_Auth_DesList[] =
4873 * Machine/OS name selection pattern
4875 #define apzNested_Auth_DesMachs (const char**)NULL
4878 * content selection pattern - do fix if pattern found
4880 tSCC zNested_Auth_DesSelect0[] =
4881 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4883 #define NESTED_AUTH_DES_TEST_CT 1
4884 static tTestDesc aNested_Auth_DesTests[] = {
4885 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4888 * Fix Command Arguments for Nested_Auth_Des
4890 static const char* apzNested_Auth_DesPatch[] = {
4895 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4897 * Description of Netbsd_C99_Inline_1 fix
4899 tSCC zNetbsd_C99_Inline_1Name[] =
4900 "netbsd_c99_inline_1";
4903 * File name selection pattern
4905 tSCC zNetbsd_C99_Inline_1List[] =
4908 * Machine/OS name selection pattern
4910 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
4912 (const char*)NULL };
4915 * content selection pattern - do fix if pattern found
4917 tSCC zNetbsd_C99_Inline_1Select0[] =
4918 "extern __inline int";
4920 #define NETBSD_C99_INLINE_1_TEST_CT 1
4921 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
4922 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
4925 * Fix Command Arguments for Netbsd_C99_Inline_1
4927 static const char* apzNetbsd_C99_Inline_1Patch[] = {
4930 #ifdef __GNUC_STDC_INLINE__\n\
4931 __attribute__((__gnu_inline__))\n\
4936 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4938 * Description of Netbsd_C99_Inline_2 fix
4940 tSCC zNetbsd_C99_Inline_2Name[] =
4941 "netbsd_c99_inline_2";
4944 * File name selection pattern
4946 tSCC zNetbsd_C99_Inline_2List[] =
4949 * Machine/OS name selection pattern
4951 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
4953 (const char*)NULL };
4956 * content selection pattern - do fix if pattern found
4958 tSCC zNetbsd_C99_Inline_2Select0[] =
4959 "#define _SIGINLINE extern __inline";
4961 #define NETBSD_C99_INLINE_2_TEST_CT 1
4962 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
4963 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
4966 * Fix Command Arguments for Netbsd_C99_Inline_2
4968 static const char* apzNetbsd_C99_Inline_2Patch[] = {
4970 "#ifdef __GNUC_STDC_INLINE__\n\
4971 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
4977 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4979 * Description of Netbsd_Extra_Semicolon fix
4981 tSCC zNetbsd_Extra_SemicolonName[] =
4982 "netbsd_extra_semicolon";
4985 * File name selection pattern
4987 tSCC zNetbsd_Extra_SemicolonList[] =
4990 * Machine/OS name selection pattern
4992 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4994 (const char*)NULL };
4997 * content selection pattern - do fix if pattern found
4999 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5000 "#define[ \t]*__END_DECLS[ \t]*};";
5002 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
5003 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5004 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5007 * Fix Command Arguments for Netbsd_Extra_Semicolon
5009 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5011 "#define __END_DECLS }",
5014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5016 * Description of Newlib_Stdint_1 fix
5018 tSCC zNewlib_Stdint_1Name[] =
5022 * File name selection pattern
5024 tSCC zNewlib_Stdint_1List[] =
5025 "stdint-newlib.h\0stdint.h\0";
5027 * Machine/OS name selection pattern
5029 #define apzNewlib_Stdint_1Machs (const char**)NULL
5032 * content selection pattern - do fix if pattern found
5034 tSCC zNewlib_Stdint_1Select0[] =
5035 "@todo - Add support for wint_t types";
5037 #define NEWLIB_STDINT_1_TEST_CT 1
5038 static tTestDesc aNewlib_Stdint_1Tests[] = {
5039 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5042 * Fix Command Arguments for Newlib_Stdint_1
5044 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5045 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5046 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5047 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5048 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5049 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5050 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5051 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5052 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5053 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5054 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5055 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5056 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5057 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5058 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5061 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5063 * Description of Newlib_Stdint_2 fix
5065 tSCC zNewlib_Stdint_2Name[] =
5069 * File name selection pattern
5071 tSCC zNewlib_Stdint_2List[] =
5072 "stdint-newlib.h\0stdint.h\0";
5074 * Machine/OS name selection pattern
5076 #define apzNewlib_Stdint_2Machs (const char**)NULL
5079 * content selection pattern - do fix if pattern found
5081 tSCC zNewlib_Stdint_2Select0[] =
5082 "@todo - Add support for wint_t types";
5084 #define NEWLIB_STDINT_2_TEST_CT 1
5085 static tTestDesc aNewlib_Stdint_2Tests[] = {
5086 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5089 * Fix Command Arguments for Newlib_Stdint_2
5091 static const char* apzNewlib_Stdint_2Patch[] = {
5093 "#define INTMAX_MAX __INTMAX_MAX__\n\
5094 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5095 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5096 #define WCHAR_MAX __WCHAR_MAX__\n\
5097 #define WCHAR_MIN __WCHAR_MIN__\n\
5098 #define WINT_MAX __WINT_MAX__\n\
5099 #define WINT_MIN __WINT_MIN__\n\n\
5101 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5104 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5106 * Description of Next_Math_Prefix fix
5108 tSCC zNext_Math_PrefixName[] =
5112 * File name selection pattern
5114 tSCC zNext_Math_PrefixList[] =
5117 * Machine/OS name selection pattern
5119 #define apzNext_Math_PrefixMachs (const char**)NULL
5122 * content selection pattern - do fix if pattern found
5124 tSCC zNext_Math_PrefixSelect0[] =
5125 "^extern[ \t]+double[ \t]+__const__[ \t]";
5127 #define NEXT_MATH_PREFIX_TEST_CT 1
5128 static tTestDesc aNext_Math_PrefixTests[] = {
5129 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
5132 * Fix Command Arguments for Next_Math_Prefix
5134 static const char* apzNext_Math_PrefixPatch[] = {
5136 "extern double %1(",
5137 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
5140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5142 * Description of Next_Template fix
5144 tSCC zNext_TemplateName[] =
5148 * File name selection pattern
5150 tSCC zNext_TemplateList[] =
5153 * Machine/OS name selection pattern
5155 #define apzNext_TemplateMachs (const char**)NULL
5158 * content selection pattern - do fix if pattern found
5160 tSCC zNext_TemplateSelect0[] =
5163 #define NEXT_TEMPLATE_TEST_CT 1
5164 static tTestDesc aNext_TemplateTests[] = {
5165 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
5168 * Fix Command Arguments for Next_Template
5170 static const char* apzNext_TemplatePatch[] = {
5173 "\\(([^)]*)[ \t]template\\)",
5176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5178 * Description of Next_Volitile fix
5180 tSCC zNext_VolitileName[] =
5184 * File name selection pattern
5186 tSCC zNext_VolitileList[] =
5189 * Machine/OS name selection pattern
5191 #define apzNext_VolitileMachs (const char**)NULL
5194 * content selection pattern - do fix if pattern found
5196 tSCC zNext_VolitileSelect0[] =
5197 "^extern[ \t]+volatile[ \t]+void[ \t]";
5199 #define NEXT_VOLITILE_TEST_CT 1
5200 static tTestDesc aNext_VolitileTests[] = {
5201 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
5204 * Fix Command Arguments for Next_Volitile
5206 static const char* apzNext_VolitilePatch[] = {
5209 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5214 * Description of Next_Wait_Union fix
5216 tSCC zNext_Wait_UnionName[] =
5220 * File name selection pattern
5222 tSCC zNext_Wait_UnionList[] =
5225 * Machine/OS name selection pattern
5227 #define apzNext_Wait_UnionMachs (const char**)NULL
5230 * content selection pattern - do fix if pattern found
5232 tSCC zNext_Wait_UnionSelect0[] =
5233 "wait\\(union wait";
5235 #define NEXT_WAIT_UNION_TEST_CT 1
5236 static tTestDesc aNext_Wait_UnionTests[] = {
5237 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5240 * Fix Command Arguments for Next_Wait_Union
5242 static const char* apzNext_Wait_UnionPatch[] = {
5247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5249 * Description of Nodeent_Syntax fix
5251 tSCC zNodeent_SyntaxName[] =
5255 * File name selection pattern
5257 tSCC zNodeent_SyntaxList[] =
5258 "netdnet/dnetdb.h\0";
5260 * Machine/OS name selection pattern
5262 #define apzNodeent_SyntaxMachs (const char**)NULL
5265 * content selection pattern - do fix if pattern found
5267 tSCC zNodeent_SyntaxSelect0[] =
5268 "char[ \t]*\\*na_addr[ \t]*$";
5270 #define NODEENT_SYNTAX_TEST_CT 1
5271 static tTestDesc aNodeent_SyntaxTests[] = {
5272 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5275 * Fix Command Arguments for Nodeent_Syntax
5277 static const char* apzNodeent_SyntaxPatch[] = {
5282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5284 * Description of Openbsd_Null_Definition fix
5286 tSCC zOpenbsd_Null_DefinitionName[] =
5287 "openbsd_null_definition";
5290 * File name selection pattern
5292 tSCC zOpenbsd_Null_DefinitionList[] =
5293 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
5295 * Machine/OS name selection pattern
5297 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
5299 (const char*)NULL };
5302 * content selection pattern - do fix if pattern found
5304 tSCC zOpenbsd_Null_DefinitionSelect0[] =
5307 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
5308 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
5309 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
5312 * Fix Command Arguments for Openbsd_Null_Definition
5314 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
5317 #ifdef __cplusplus\n\
5319 #define NULL\t__null\n\
5320 #else\t /* ! __GNUG__ */\n\
5322 #endif\t /* __GNUG__ */\n\
5323 #else\t /* ! __cplusplus */\n\
5324 #define NULL\t((void *)0)\n\
5325 #endif\t /* __cplusplus */\n\
5326 #endif\t /* !NULL */",
5327 "^#ifndef[ \t]*NULL\n\
5328 ^#ifdef[ \t]*__GNUG__\n\
5329 ^#define[ \t]*NULL[ \t]*__null\n\
5331 ^#define[ \t]*NULL[ \t]*0L\n\
5336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5338 * Description of Obstack_Lvalue_Cast fix
5340 tSCC zObstack_Lvalue_CastName[] =
5341 "obstack_lvalue_cast";
5344 * File name selection pattern
5346 tSCC zObstack_Lvalue_CastList[] =
5349 * Machine/OS name selection pattern
5351 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5354 * content selection pattern - do fix if pattern found
5356 tSCC zObstack_Lvalue_CastSelect0[] =
5357 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5359 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5360 static tTestDesc aObstack_Lvalue_CastTests[] = {
5361 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5364 * Fix Command Arguments for Obstack_Lvalue_Cast
5366 static const char* apzObstack_Lvalue_CastPatch[] = {
5368 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5371 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5373 * Description of Openbsd_Va_Start fix
5375 tSCC zOpenbsd_Va_StartName[] =
5379 * File name selection pattern
5381 tSCC zOpenbsd_Va_StartList[] =
5384 * Machine/OS name selection pattern
5386 tSCC* apzOpenbsd_Va_StartMachs[] = {
5388 (const char*)NULL };
5391 * content selection pattern - do fix if pattern found
5393 tSCC zOpenbsd_Va_StartSelect0[] =
5394 "__builtin_stdarg_start";
5396 #define OPENBSD_VA_START_TEST_CT 1
5397 static tTestDesc aOpenbsd_Va_StartTests[] = {
5398 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
5401 * Fix Command Arguments for Openbsd_Va_Start
5403 static const char* apzOpenbsd_Va_StartPatch[] = {
5405 "__builtin_va_start",
5408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5410 * Description of Osf_Namespace_A fix
5412 tSCC zOsf_Namespace_AName[] =
5416 * File name selection pattern
5418 tSCC zOsf_Namespace_AList[] =
5419 "reg_types.h\0sys/lc_core.h\0";
5421 * Machine/OS name selection pattern
5423 #define apzOsf_Namespace_AMachs (const char**)NULL
5426 * perform the 'test' shell command - do fix on success
5428 tSCC zOsf_Namespace_ATest0[] =
5430 tSCC zOsf_Namespace_ATest1[] =
5431 " -r sys/lc_core.h";
5432 tSCC zOsf_Namespace_ATest2[] =
5433 " -n \"`grep '} regex_t;' reg_types.h`\"";
5434 tSCC zOsf_Namespace_ATest3[] =
5435 " -z \"`grep __regex_t regex.h`\"";
5437 #define OSF_NAMESPACE_A_TEST_CT 4
5438 static tTestDesc aOsf_Namespace_ATests[] = {
5439 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5440 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5441 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5442 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5445 * Fix Command Arguments for Osf_Namespace_A
5447 static const char* apzOsf_Namespace_APatch[] = {
5450 "reg(ex|off|match)_t",
5453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5455 * Description of Osf_Namespace_C fix
5457 tSCC zOsf_Namespace_CName[] =
5461 * File name selection pattern
5463 tSCC zOsf_Namespace_CList[] =
5466 * Machine/OS name selection pattern
5468 #define apzOsf_Namespace_CMachs (const char**)NULL
5471 * content selection pattern - do fix if pattern found
5473 tSCC zOsf_Namespace_CSelect0[] =
5474 "#include <reg_types.h>.*";
5477 * perform the 'test' shell command - do fix on success
5479 tSCC zOsf_Namespace_CTest0[] =
5481 tSCC zOsf_Namespace_CTest1[] =
5482 " -r sys/lc_core.h";
5483 tSCC zOsf_Namespace_CTest2[] =
5484 " -n \"`grep '} regex_t;' reg_types.h`\"";
5485 tSCC zOsf_Namespace_CTest3[] =
5486 " -z \"`grep __regex_t regex.h`\"";
5488 #define OSF_NAMESPACE_C_TEST_CT 5
5489 static tTestDesc aOsf_Namespace_CTests[] = {
5490 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5491 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5492 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5493 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5494 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5497 * Fix Command Arguments for Osf_Namespace_C
5499 static const char* apzOsf_Namespace_CPatch[] = {
5502 typedef __regex_t\tregex_t;\n\
5503 typedef __regoff_t\tregoff_t;\n\
5504 typedef __regmatch_t\tregmatch_t;",
5507 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5509 * Description of Pthread_Incomplete_Struct_Argument fix
5511 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5512 "pthread_incomplete_struct_argument";
5515 * File name selection pattern
5517 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5520 * Machine/OS name selection pattern
5522 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5525 * content selection pattern - do fix if pattern found
5527 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5528 "struct __jmp_buf_tag";
5530 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5531 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5532 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5535 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5537 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5540 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5543 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5545 * Description of Read_Ret_Type fix
5547 tSCC zRead_Ret_TypeName[] =
5551 * File name selection pattern
5553 tSCC zRead_Ret_TypeList[] =
5556 * Machine/OS name selection pattern
5558 #define apzRead_Ret_TypeMachs (const char**)NULL
5561 * content selection pattern - do fix if pattern found
5563 tSCC zRead_Ret_TypeSelect0[] =
5564 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5566 #define READ_RET_TYPE_TEST_CT 1
5567 static tTestDesc aRead_Ret_TypeTests[] = {
5568 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5571 * Fix Command Arguments for Read_Ret_Type
5573 static const char* apzRead_Ret_TypePatch[] = {
5575 "extern unsigned int fread(), fwrite();\n\
5577 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5580 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5582 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5584 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5585 "rpc_xdr_lvalue_cast_a";
5588 * File name selection pattern
5590 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5593 * Machine/OS name selection pattern
5595 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5598 * content selection pattern - do fix if pattern found
5600 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5601 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5604 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5605 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5606 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5609 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5611 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5613 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5616 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5618 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5620 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5621 "rpc_xdr_lvalue_cast_b";
5624 * File name selection pattern
5626 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5629 * Machine/OS name selection pattern
5631 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5634 * content selection pattern - do fix if pattern found
5636 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5637 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5640 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5641 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5642 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5645 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5647 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5649 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5652 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5654 * Description of Rs6000_Double fix
5656 tSCC zRs6000_DoubleName[] =
5660 * File name selection pattern
5662 tSCC zRs6000_DoubleList[] =
5665 * Machine/OS name selection pattern
5667 #define apzRs6000_DoubleMachs (const char**)NULL
5670 * content selection pattern - do fix if pattern found
5672 tSCC zRs6000_DoubleSelect0[] =
5673 "[^a-zA-Z_]class\\(";
5675 #define RS6000_DOUBLE_TEST_CT 1
5676 static tTestDesc aRs6000_DoubleTests[] = {
5677 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5680 * Fix Command Arguments for Rs6000_Double
5682 static const char* apzRs6000_DoublePatch[] = {
5684 "#ifndef __cplusplus\n\
5687 "^.*[^a-zA-Z_]class\\(.*",
5690 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5692 * Description of Rs6000_Fchmod fix
5694 tSCC zRs6000_FchmodName[] =
5698 * File name selection pattern
5700 tSCC zRs6000_FchmodList[] =
5703 * Machine/OS name selection pattern
5705 #define apzRs6000_FchmodMachs (const char**)NULL
5708 * content selection pattern - do fix if pattern found
5710 tSCC zRs6000_FchmodSelect0[] =
5711 "fchmod\\(char \\*";
5713 #define RS6000_FCHMOD_TEST_CT 1
5714 static tTestDesc aRs6000_FchmodTests[] = {
5715 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5718 * Fix Command Arguments for Rs6000_Fchmod
5720 static const char* apzRs6000_FchmodPatch[] = {
5725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5727 * Description of Rs6000_Param fix
5729 tSCC zRs6000_ParamName[] =
5733 * File name selection pattern
5735 tSCC zRs6000_ParamList[] =
5736 "stdio.h\0unistd.h\0";
5738 * Machine/OS name selection pattern
5740 #define apzRs6000_ParamMachs (const char**)NULL
5743 * content selection pattern - do fix if pattern found
5745 tSCC zRs6000_ParamSelect0[] =
5746 "rename\\(const char \\*old, const char \\*new\\)";
5748 #define RS6000_PARAM_TEST_CT 1
5749 static tTestDesc aRs6000_ParamTests[] = {
5750 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5753 * Fix Command Arguments for Rs6000_Param
5755 static const char* apzRs6000_ParamPatch[] = {
5757 "rename(const char *_old, const char *_new)",
5760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5762 * Description of Solaris___Restrict fix
5764 tSCC zSolaris___RestrictName[] =
5765 "solaris___restrict";
5768 * File name selection pattern
5770 tSCC zSolaris___RestrictList[] =
5771 "sys/feature_tests.h\0";
5773 * Machine/OS name selection pattern
5775 tSCC* apzSolaris___RestrictMachs[] = {
5777 (const char*)NULL };
5780 * content selection pattern - do fix if pattern found
5782 tSCC zSolaris___RestrictSelect0[] =
5783 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
5785 #define SOLARIS___RESTRICT_TEST_CT 1
5786 static tTestDesc aSolaris___RestrictTests[] = {
5787 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
5790 * Fix Command Arguments for Solaris___Restrict
5792 static const char* apzSolaris___RestrictPatch[] = {
5794 "#ifdef __cplusplus\n\
5795 #define\t_RESTRICT_KYWD\t__restrict\n\
5801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5803 * Description of Solaris_Complex fix
5805 tSCC zSolaris_ComplexName[] =
5809 * File name selection pattern
5811 tSCC zSolaris_ComplexList[] =
5814 * Machine/OS name selection pattern
5816 tSCC* apzSolaris_ComplexMachs[] = {
5818 (const char*)NULL };
5821 * content selection pattern - do fix if pattern found
5823 tSCC zSolaris_ComplexSelect0[] =
5824 "#define[ \t]_Complex_I[ \t]_Complex_I";
5826 #define SOLARIS_COMPLEX_TEST_CT 1
5827 static tTestDesc aSolaris_ComplexTests[] = {
5828 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
5831 * Fix Command Arguments for Solaris_Complex
5833 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
5834 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
5835 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
5836 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
5837 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
5840 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5842 * Description of Solaris_Complex_Cxx fix
5844 tSCC zSolaris_Complex_CxxName[] =
5845 "solaris_complex_cxx";
5848 * File name selection pattern
5850 tSCC zSolaris_Complex_CxxList[] =
5853 * Machine/OS name selection pattern
5855 tSCC* apzSolaris_Complex_CxxMachs[] = {
5857 (const char*)NULL };
5858 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
5859 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
5862 * Fix Command Arguments for Solaris_Complex_Cxx
5864 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
5865 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
5866 #ifdef\t__cplusplus\\\n\
5869 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
5870 #ifdef\t__cplusplus\\\n\
5875 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5877 * Description of Solaris_Cxx_Linkage fix
5879 tSCC zSolaris_Cxx_LinkageName[] =
5880 "solaris_cxx_linkage";
5883 * File name selection pattern
5885 tSCC zSolaris_Cxx_LinkageList[] =
5886 "iso/stdlib_iso.h\0";
5888 * Machine/OS name selection pattern
5890 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
5892 (const char*)NULL };
5895 * content selection pattern - do fix if pattern found
5897 tSCC zSolaris_Cxx_LinkageSelect0[] =
5898 "(#if __cplusplus >= 199711L)\n\
5899 (extern \"C\\+\\+\" \\{\n\
5900 )(.*(bsearch|qsort).*)";
5902 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
5903 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
5904 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
5907 * Fix Command Arguments for Solaris_Cxx_Linkage
5909 static const char* apzSolaris_Cxx_LinkagePatch[] = {
5915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5917 * Description of Solaris_Getc_Strict_Stdc fix
5919 tSCC zSolaris_Getc_Strict_StdcName[] =
5920 "solaris_getc_strict_stdc";
5923 * File name selection pattern
5925 tSCC zSolaris_Getc_Strict_StdcList[] =
5926 "iso/stdio_iso.h\0";
5928 * Machine/OS name selection pattern
5930 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
5932 (const char*)NULL };
5935 * content selection pattern - do fix if pattern found
5937 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
5938 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
5940 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
5941 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
5942 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
5945 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
5947 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
5949 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
5952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5954 * Description of Solaris_Longjmp_Noreturn fix
5956 tSCC zSolaris_Longjmp_NoreturnName[] =
5957 "solaris_longjmp_noreturn";
5960 * File name selection pattern
5962 tSCC zSolaris_Longjmp_NoreturnList[] =
5963 "iso/setjmp_iso.h\0";
5965 * Machine/OS name selection pattern
5967 tSCC* apzSolaris_Longjmp_NoreturnMachs[] = {
5969 (const char*)NULL };
5972 * content selection pattern - do fix if pattern found
5974 tSCC zSolaris_Longjmp_NoreturnSelect0[] =
5975 "(.*longjmp\\(jmp_buf.*[^)]+\\));";
5978 * content bypass pattern - skip fix if pattern found
5980 tSCC zSolaris_Longjmp_NoreturnBypass0[] =
5983 #define SOLARIS_LONGJMP_NORETURN_TEST_CT 2
5984 static tTestDesc aSolaris_Longjmp_NoreturnTests[] = {
5985 { TT_NEGREP, zSolaris_Longjmp_NoreturnBypass0, (regex_t*)NULL },
5986 { TT_EGREP, zSolaris_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
5989 * Fix Command Arguments for Solaris_Longjmp_Noreturn
5991 static const char* apzSolaris_Longjmp_NoreturnPatch[] = {
5993 "%1 __attribute__ ((__noreturn__));",
5996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5998 * Description of Solaris_Math_1 fix
6000 tSCC zSolaris_Math_1Name[] =
6004 * File name selection pattern
6006 tSCC zSolaris_Math_1List[] =
6009 * Machine/OS name selection pattern
6011 #define apzSolaris_Math_1Machs (const char**)NULL
6014 * content selection pattern - do fix if pattern found
6016 tSCC zSolaris_Math_1Select0[] =
6017 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6020 * content bypass pattern - skip fix if pattern found
6022 tSCC zSolaris_Math_1Bypass0[] =
6025 #define SOLARIS_MATH_1_TEST_CT 2
6026 static tTestDesc aSolaris_Math_1Tests[] = {
6027 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
6028 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
6031 * Fix Command Arguments for Solaris_Math_1
6033 static const char* apzSolaris_Math_1Patch[] = {
6035 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
6036 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
6039 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6041 * Description of Solaris_Math_2 fix
6043 tSCC zSolaris_Math_2Name[] =
6047 * File name selection pattern
6049 tSCC zSolaris_Math_2List[] =
6052 * Machine/OS name selection pattern
6054 #define apzSolaris_Math_2Machs (const char**)NULL
6057 * content selection pattern - do fix if pattern found
6059 tSCC zSolaris_Math_2Select0[] =
6060 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6063 * content bypass pattern - skip fix if pattern found
6065 tSCC zSolaris_Math_2Bypass0[] =
6068 #define SOLARIS_MATH_2_TEST_CT 2
6069 static tTestDesc aSolaris_Math_2Tests[] = {
6070 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
6071 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
6074 * Fix Command Arguments for Solaris_Math_2
6076 static const char* apzSolaris_Math_2Patch[] = {
6078 "#define\tINFINITY\t(__builtin_inff())",
6079 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
6082 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6084 * Description of Solaris_Math_3 fix
6086 tSCC zSolaris_Math_3Name[] =
6090 * File name selection pattern
6092 tSCC zSolaris_Math_3List[] =
6095 * Machine/OS name selection pattern
6097 #define apzSolaris_Math_3Machs (const char**)NULL
6100 * content selection pattern - do fix if pattern found
6102 tSCC zSolaris_Math_3Select0[] =
6103 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6106 * content bypass pattern - skip fix if pattern found
6108 tSCC zSolaris_Math_3Bypass0[] =
6111 #define SOLARIS_MATH_3_TEST_CT 2
6112 static tTestDesc aSolaris_Math_3Tests[] = {
6113 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
6114 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
6117 * Fix Command Arguments for Solaris_Math_3
6119 static const char* apzSolaris_Math_3Patch[] = {
6121 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
6122 "^#define[ \t]+NAN[ \t]+__builtin_nan",
6125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6127 * Description of Solaris_Math_4 fix
6129 tSCC zSolaris_Math_4Name[] =
6133 * File name selection pattern
6135 tSCC zSolaris_Math_4List[] =
6138 * Machine/OS name selection pattern
6140 #define apzSolaris_Math_4Machs (const char**)NULL
6143 * content selection pattern - do fix if pattern found
6145 tSCC zSolaris_Math_4Select0[] =
6146 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6149 * content bypass pattern - skip fix if pattern found
6151 tSCC zSolaris_Math_4Bypass0[] =
6154 #define SOLARIS_MATH_4_TEST_CT 2
6155 static tTestDesc aSolaris_Math_4Tests[] = {
6156 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
6157 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
6160 * Fix Command Arguments for Solaris_Math_4
6162 static const char* apzSolaris_Math_4Patch[] = {
6164 "#define\tfpclassify(x) \\\n\
6165 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
6166 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
6169 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6171 * Description of Solaris_Math_8 fix
6173 tSCC zSolaris_Math_8Name[] =
6177 * File name selection pattern
6179 tSCC zSolaris_Math_8List[] =
6182 * Machine/OS name selection pattern
6184 #define apzSolaris_Math_8Machs (const char**)NULL
6187 * content selection pattern - do fix if pattern found
6189 tSCC zSolaris_Math_8Select0[] =
6190 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
6193 * content bypass pattern - skip fix if pattern found
6195 tSCC zSolaris_Math_8Bypass0[] =
6198 #define SOLARIS_MATH_8_TEST_CT 2
6199 static tTestDesc aSolaris_Math_8Tests[] = {
6200 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
6201 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
6204 * Fix Command Arguments for Solaris_Math_8
6206 static const char* apzSolaris_Math_8Patch[] = {
6208 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6209 \t\t\t ? __builtin_signbitf(x) \\\n\
6210 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6211 \t\t\t ? __builtin_signbitl(x) \\\n\
6212 \t\t\t : __builtin_signbit(x))",
6213 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
6216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6218 * Description of Solaris_Math_9 fix
6220 tSCC zSolaris_Math_9Name[] =
6224 * File name selection pattern
6226 tSCC zSolaris_Math_9List[] =
6229 * Machine/OS name selection pattern
6231 #define apzSolaris_Math_9Machs (const char**)NULL
6234 * content selection pattern - do fix if pattern found
6236 tSCC zSolaris_Math_9Select0[] =
6237 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6240 * content bypass pattern - skip fix if pattern found
6242 tSCC zSolaris_Math_9Bypass0[] =
6245 #define SOLARIS_MATH_9_TEST_CT 2
6246 static tTestDesc aSolaris_Math_9Tests[] = {
6247 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
6248 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
6251 * Fix Command Arguments for Solaris_Math_9
6253 static const char* apzSolaris_Math_9Patch[] = {
6255 "#define\t%1(x, y)%2__builtin_%1(x, y)",
6256 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
6259 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6261 * Description of Solaris_Math_10 fix
6263 tSCC zSolaris_Math_10Name[] =
6267 * File name selection pattern
6269 tSCC zSolaris_Math_10List[] =
6272 * Machine/OS name selection pattern
6274 #define apzSolaris_Math_10Machs (const char**)NULL
6277 * content selection pattern - do fix if pattern found
6279 tSCC zSolaris_Math_10Select0[] =
6280 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6282 #define SOLARIS_MATH_10_TEST_CT 1
6283 static tTestDesc aSolaris_Math_10Tests[] = {
6284 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
6287 * Fix Command Arguments for Solaris_Math_10
6289 static const char* apzSolaris_Math_10Patch[] = {
6291 "#define\tisinf(x) __builtin_isinf(x)",
6292 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
6293 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6294 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
6295 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
6298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6300 * Description of Solaris_Mutex_Init_2 fix
6302 tSCC zSolaris_Mutex_Init_2Name[] =
6303 "solaris_mutex_init_2";
6306 * File name selection pattern
6308 tSCC zSolaris_Mutex_Init_2List[] =
6311 * Machine/OS name selection pattern
6313 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
6314 "*-*-solaris2.[0-9]",
6315 "*-*-solaris2.[0-9][!0-9]*",
6316 (const char*)NULL };
6319 * content selection pattern - do fix if pattern found
6321 tSCC zSolaris_Mutex_Init_2Select0[] =
6322 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6324 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
6325 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
6326 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
6329 * Fix Command Arguments for Solaris_Mutex_Init_2
6331 static const char* apzSolaris_Mutex_Init_2Patch[] = {
6333 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6338 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
6339 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
6342 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6344 * Description of Solaris_Pow_Int_Overload fix
6346 tSCC zSolaris_Pow_Int_OverloadName[] =
6347 "solaris_pow_int_overload";
6350 * File name selection pattern
6352 tSCC zSolaris_Pow_Int_OverloadList[] =
6355 * Machine/OS name selection pattern
6357 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
6359 (const char*)NULL };
6362 * content selection pattern - do fix if pattern found
6364 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
6365 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
6368 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
6369 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
6370 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
6373 * Fix Command Arguments for Solaris_Pow_Int_Overload
6375 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
6377 "#ifndef __GXX_EXPERIMENTAL_CXX0X__\n\
6382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6384 * Description of Solaris_Rwlock_Init_1 fix
6386 tSCC zSolaris_Rwlock_Init_1Name[] =
6387 "solaris_rwlock_init_1";
6390 * File name selection pattern
6392 tSCC zSolaris_Rwlock_Init_1List[] =
6395 * Machine/OS name selection pattern
6397 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
6399 (const char*)NULL };
6402 * content selection pattern - do fix if pattern found
6404 tSCC zSolaris_Rwlock_Init_1Select0[] =
6405 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6407 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
6408 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
6409 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
6412 * Fix Command Arguments for Solaris_Rwlock_Init_1
6414 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6416 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6419 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6421 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6426 * Description of Solaris_Once_Init_1 fix
6428 tSCC zSolaris_Once_Init_1Name[] =
6429 "solaris_once_init_1";
6432 * File name selection pattern
6434 tSCC zSolaris_Once_Init_1List[] =
6437 * Machine/OS name selection pattern
6439 tSCC* apzSolaris_Once_Init_1Machs[] = {
6441 (const char*)NULL };
6444 * content selection pattern - do fix if pattern found
6446 tSCC zSolaris_Once_Init_1Select0[] =
6447 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6449 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6450 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6451 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6454 * Fix Command Arguments for Solaris_Once_Init_1
6456 static const char* apzSolaris_Once_Init_1Patch[] = {
6459 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6464 * Description of Solaris_Once_Init_2 fix
6466 tSCC zSolaris_Once_Init_2Name[] =
6467 "solaris_once_init_2";
6470 * File name selection pattern
6472 tSCC zSolaris_Once_Init_2List[] =
6475 * Machine/OS name selection pattern
6477 tSCC* apzSolaris_Once_Init_2Machs[] = {
6478 "*-*-solaris2.[0-9]",
6479 "*-*-solaris2.[0-9][!0-9]*",
6480 (const char*)NULL };
6483 * content selection pattern - do fix if pattern found
6485 tSCC zSolaris_Once_Init_2Select0[] =
6486 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6488 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6489 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6490 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6493 * Fix Command Arguments for Solaris_Once_Init_2
6495 static const char* apzSolaris_Once_Init_2Patch[] = {
6497 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6500 %1{0}, {0}, {0}, {%3}%4\n\
6502 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6507 * Description of Solaris_Int_Const fix
6509 tSCC zSolaris_Int_ConstName[] =
6510 "solaris_int_const";
6513 * File name selection pattern
6515 tSCC zSolaris_Int_ConstList[] =
6516 "sys/int_const.h\0";
6518 * Machine/OS name selection pattern
6520 tSCC* apzSolaris_Int_ConstMachs[] = {
6522 (const char*)NULL };
6525 * content selection pattern - do fix if pattern found
6527 tSCC zSolaris_Int_ConstSelect0[] =
6528 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6530 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
6532 #define SOLARIS_INT_CONST_TEST_CT 1
6533 static tTestDesc aSolaris_Int_ConstTests[] = {
6534 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6537 * Fix Command Arguments for Solaris_Int_Const
6539 static const char* apzSolaris_Int_ConstPatch[] = {
6541 "#define\tUINT8_C(c)\t(c)\n\
6543 #define\tUINT16_C(c)\t(c)",
6546 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6548 * Description of Solaris_Int_Limits_1 fix
6550 tSCC zSolaris_Int_Limits_1Name[] =
6551 "solaris_int_limits_1";
6554 * File name selection pattern
6556 tSCC zSolaris_Int_Limits_1List[] =
6557 "sys/int_limits.h\0";
6559 * Machine/OS name selection pattern
6561 tSCC* apzSolaris_Int_Limits_1Machs[] = {
6563 (const char*)NULL };
6566 * content selection pattern - do fix if pattern found
6568 tSCC zSolaris_Int_Limits_1Select0[] =
6569 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6570 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
6572 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
6573 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6574 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6577 * Fix Command Arguments for Solaris_Int_Limits_1
6579 static const char* apzSolaris_Int_Limits_1Patch[] = {
6581 "#define\tUINT8_MAX\t(255)\n\
6582 #define\tUINT16_MAX\t(65535)",
6585 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6587 * Description of Solaris_Int_Limits_2 fix
6589 tSCC zSolaris_Int_Limits_2Name[] =
6590 "solaris_int_limits_2";
6593 * File name selection pattern
6595 tSCC zSolaris_Int_Limits_2List[] =
6596 "sys/int_limits.h\0";
6598 * Machine/OS name selection pattern
6600 tSCC* apzSolaris_Int_Limits_2Machs[] = {
6602 (const char*)NULL };
6605 * content selection pattern - do fix if pattern found
6607 tSCC zSolaris_Int_Limits_2Select0[] =
6608 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
6610 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
6611 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6612 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6615 * Fix Command Arguments for Solaris_Int_Limits_2
6617 static const char* apzSolaris_Int_Limits_2Patch[] = {
6619 "#define\t%1_FAST16_%2 %132_%2",
6622 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6624 * Description of Solaris_Int_Limits_3 fix
6626 tSCC zSolaris_Int_Limits_3Name[] =
6627 "solaris_int_limits_3";
6630 * File name selection pattern
6632 tSCC zSolaris_Int_Limits_3List[] =
6633 "sys/int_limits.h\0";
6635 * Machine/OS name selection pattern
6637 tSCC* apzSolaris_Int_Limits_3Machs[] = {
6639 (const char*)NULL };
6642 * content selection pattern - do fix if pattern found
6644 tSCC zSolaris_Int_Limits_3Select0[] =
6645 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
6647 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
6648 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
6649 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
6652 * Fix Command Arguments for Solaris_Int_Limits_3
6654 static const char* apzSolaris_Int_Limits_3Patch[] = {
6656 "#define\tSIZE_MAX\t4294967295U",
6659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6661 * Description of Solaris_Int_Types fix
6663 tSCC zSolaris_Int_TypesName[] =
6664 "solaris_int_types";
6667 * File name selection pattern
6669 tSCC zSolaris_Int_TypesList[] =
6670 "sys/int_types.h\0";
6672 * Machine/OS name selection pattern
6674 #define apzSolaris_Int_TypesMachs (const char**)NULL
6677 * content selection pattern - do fix if pattern found
6679 tSCC zSolaris_Int_TypesSelect0[] =
6680 "__STDC__ - 0 == 0";
6683 * content bypass pattern - skip fix if pattern found
6685 tSCC zSolaris_Int_TypesBypass0[] =
6688 #define SOLARIS_INT_TYPES_TEST_CT 2
6689 static tTestDesc aSolaris_Int_TypesTests[] = {
6690 { TT_NEGREP, zSolaris_Int_TypesBypass0, (regex_t*)NULL },
6691 { TT_EGREP, zSolaris_Int_TypesSelect0, (regex_t*)NULL }, };
6694 * Fix Command Arguments for Solaris_Int_Types
6696 static const char* apzSolaris_Int_TypesPatch[] = {
6698 "(defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__))",
6701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6703 * Description of Solaris_Posix_Spawn_Restrict fix
6705 tSCC zSolaris_Posix_Spawn_RestrictName[] =
6706 "solaris_posix_spawn_restrict";
6709 * File name selection pattern
6711 tSCC zSolaris_Posix_Spawn_RestrictList[] =
6714 * Machine/OS name selection pattern
6716 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
6718 (const char*)NULL };
6721 * content selection pattern - do fix if pattern found
6723 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
6724 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
6726 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
6727 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
6728 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
6731 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
6733 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
6735 "%1*_RESTRICT_KYWD %2%3",
6738 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6740 * Description of Solaris_Std___Filbuf fix
6742 tSCC zSolaris_Std___FilbufName[] =
6743 "solaris_std___filbuf";
6746 * File name selection pattern
6748 tSCC zSolaris_Std___FilbufList[] =
6751 * Machine/OS name selection pattern
6753 tSCC* apzSolaris_Std___FilbufMachs[] = {
6755 (const char*)NULL };
6758 * content selection pattern - do fix if pattern found
6760 tSCC zSolaris_Std___FilbufSelect0[] =
6761 "(using std::perror;\n\
6765 * content bypass pattern - skip fix if pattern found
6767 tSCC zSolaris_Std___FilbufBypass0[] =
6768 "using std::__filbuf";
6770 #define SOLARIS_STD___FILBUF_TEST_CT 2
6771 static tTestDesc aSolaris_Std___FilbufTests[] = {
6772 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
6773 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
6776 * Fix Command Arguments for Solaris_Std___Filbuf
6778 static const char* apzSolaris_Std___FilbufPatch[] = {
6781 using std::__filbuf;\n\
6782 using std::__flsbuf;\n\
6787 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6789 * Description of Solaris_Stdio_Tag fix
6791 tSCC zSolaris_Stdio_TagName[] =
6792 "solaris_stdio_tag";
6795 * File name selection pattern
6797 tSCC zSolaris_Stdio_TagList[] =
6800 * Machine/OS name selection pattern
6802 #define apzSolaris_Stdio_TagMachs (const char**)NULL
6805 * content selection pattern - do fix if pattern found
6807 tSCC zSolaris_Stdio_TagSelect0[] =
6808 "__cplusplus < 54321L";
6811 * content bypass pattern - skip fix if pattern found
6813 tSCC zSolaris_Stdio_TagBypass0[] =
6816 #define SOLARIS_STDIO_TAG_TEST_CT 2
6817 static tTestDesc aSolaris_Stdio_TagTests[] = {
6818 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6819 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6822 * Fix Command Arguments for Solaris_Stdio_Tag
6824 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
6825 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6828 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6830 * Description of Solaris_Sys_Va_List fix
6832 tSCC zSolaris_Sys_Va_ListName[] =
6833 "solaris_sys_va_list";
6836 * File name selection pattern
6838 tSCC zSolaris_Sys_Va_ListList[] =
6841 * Machine/OS name selection pattern
6843 tSCC* apzSolaris_Sys_Va_ListMachs[] = {
6845 (const char*)NULL };
6848 * content selection pattern - do fix if pattern found
6850 tSCC zSolaris_Sys_Va_ListSelect0[] =
6852 typedef void \\*__va_list;\n\
6854 typedef char \\*__va_list;\n\
6857 #define SOLARIS_SYS_VA_LIST_TEST_CT 1
6858 static tTestDesc aSolaris_Sys_Va_ListTests[] = {
6859 { TT_EGREP, zSolaris_Sys_Va_ListSelect0, (regex_t*)NULL }, };
6862 * Fix Command Arguments for Solaris_Sys_Va_List
6864 static const char* apzSolaris_Sys_Va_ListPatch[] = {
6867 typedef __builtin_va_list __va_list;\n\
6873 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6875 * Description of Statsswtch fix
6877 tSCC zStatsswtchName[] =
6881 * File name selection pattern
6883 tSCC zStatsswtchList[] =
6886 * Machine/OS name selection pattern
6888 #define apzStatsswtchMachs (const char**)NULL
6891 * content selection pattern - do fix if pattern found
6893 tSCC zStatsswtchSelect0[] =
6896 #define STATSSWTCH_TEST_CT 1
6897 static tTestDesc aStatsswtchTests[] = {
6898 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6901 * Fix Command Arguments for Statsswtch
6903 static const char* apzStatsswtchPatch[] = {
6908 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6910 * Description of Stdio_Stdarg_H fix
6912 tSCC zStdio_Stdarg_HName[] =
6916 * File name selection pattern
6918 tSCC zStdio_Stdarg_HList[] =
6921 * Machine/OS name selection pattern
6923 tSCC* apzStdio_Stdarg_HMachs[] = {
6924 "*-*-solaris2.1[0-9]*",
6925 (const char*)NULL };
6928 * content bypass pattern - skip fix if pattern found
6930 tSCC zStdio_Stdarg_HBypass0[] =
6931 "include.*(stdarg.h|machine/ansi.h)";
6933 #define STDIO_STDARG_H_TEST_CT 1
6934 static tTestDesc aStdio_Stdarg_HTests[] = {
6935 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6938 * Fix Command Arguments for Stdio_Stdarg_H
6940 static const char* apzStdio_Stdarg_HPatch[] = {
6942 "#define __need___va_list\n\
6943 #include <stdarg.h>\n",
6946 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6948 * Description of Stdio_Va_List fix
6950 tSCC zStdio_Va_ListName[] =
6954 * File name selection pattern
6956 tSCC zStdio_Va_ListList[] =
6959 * Machine/OS name selection pattern
6961 tSCC* apzStdio_Va_ListMachs[] = {
6962 "*-*-solaris2.1[0-9]*",
6963 (const char*)NULL };
6966 * content bypass pattern - skip fix if pattern found
6968 tSCC zStdio_Va_ListBypass0[] =
6969 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
6971 #define STDIO_VA_LIST_TEST_CT 1
6972 static tTestDesc aStdio_Va_ListTests[] = {
6973 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
6976 * Fix Command Arguments for Stdio_Va_List
6978 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
6979 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
6980 s@(va_list)&@(__gnuc_va_list)\\&@\n\
6981 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
6982 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
6983 s@ va_list@ __not_va_list__@\n\
6984 s@\\*va_list@*__not_va_list__@\n\
6985 s@ __va_list)@ __gnuc_va_list)@\n\
6986 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
6987 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
6988 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
6989 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
6990 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
6991 s@VA_LIST@DUMMY_VA_LIST@\n\
6992 s@_Va_LIST@_VA_LIST@",
6995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6997 * Description of Stdio_Va_List_Clients fix
6999 tSCC zStdio_Va_List_ClientsName[] =
7000 "stdio_va_list_clients";
7003 * File name selection pattern
7005 tSCC zStdio_Va_List_ClientsList[] =
7006 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7008 * Machine/OS name selection pattern
7010 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
7013 * content bypass pattern - skip fix if pattern found
7015 tSCC zStdio_Va_List_ClientsBypass0[] =
7016 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7017 tSCC zStdio_Va_List_ClientsBypass1[] =
7018 "include <stdarg\\.h>|#ifdef va_start";
7020 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
7021 static tTestDesc aStdio_Va_List_ClientsTests[] = {
7022 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
7023 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
7026 * Fix Command Arguments for Stdio_Va_List_Clients
7028 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
7029 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7030 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7031 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7032 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7033 s@ va_list@ __not_va_list__@\n\
7034 s@\\*va_list@*__not_va_list__@\n\
7035 s@ __va_list)@ __gnuc_va_list)@\n\
7036 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7037 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7038 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7039 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7040 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7041 s@VA_LIST@DUMMY_VA_LIST@\n\
7042 s@_Va_LIST@_VA_LIST@",
7045 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7047 * Description of Strict_Ansi_Not fix
7049 tSCC zStrict_Ansi_NotName[] =
7053 * File name selection pattern
7055 #define zStrict_Ansi_NotList (char*)NULL
7057 * Machine/OS name selection pattern
7059 #define apzStrict_Ansi_NotMachs (const char**)NULL
7062 * content selection pattern - do fix if pattern found
7064 tSCC zStrict_Ansi_NotSelect0[] =
7065 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
7068 * content bypass pattern - skip fix if pattern found
7070 tSCC zStrict_Ansi_NotBypass0[] =
7071 "GNU and MIPS C compilers define __STDC__ differently";
7072 tSCC zStrict_Ansi_NotBypass1[] =
7073 "__SCO_VERSION__.*__STDC__ != 1";
7076 * perform the C function call test
7078 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
7080 #define STRICT_ANSI_NOT_TEST_CT 4
7081 static tTestDesc aStrict_Ansi_NotTests[] = {
7082 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
7083 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
7084 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
7085 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
7088 * Fix Command Arguments for Strict_Ansi_Not
7090 static const char* apzStrict_Ansi_NotPatch[] = {
7092 "%1 !defined(__STRICT_ANSI__)",
7095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7097 * Description of Strict_Ansi_Not_Ctd fix
7099 tSCC zStrict_Ansi_Not_CtdName[] =
7100 "strict_ansi_not_ctd";
7103 * File name selection pattern
7105 tSCC zStrict_Ansi_Not_CtdList[] =
7106 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
7108 * Machine/OS name selection pattern
7110 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
7113 * content selection pattern - do fix if pattern found
7115 tSCC zStrict_Ansi_Not_CtdSelect0[] =
7116 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
7119 * perform the C function call test
7121 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
7123 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
7124 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
7125 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
7126 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
7129 * Fix Command Arguments for Strict_Ansi_Not_Ctd
7131 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7133 "%1 !defined(__STRICT_ANSI__)",
7136 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7138 * Description of Strict_Ansi_Only fix
7140 tSCC zStrict_Ansi_OnlyName[] =
7144 * File name selection pattern
7146 #define zStrict_Ansi_OnlyList (char*)NULL
7148 * Machine/OS name selection pattern
7150 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7153 * content selection pattern - do fix if pattern found
7155 tSCC zStrict_Ansi_OnlySelect0[] =
7156 "^([ \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)";
7159 * perform the C function call test
7161 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7163 #define STRICT_ANSI_ONLY_TEST_CT 2
7164 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7165 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
7166 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7169 * Fix Command Arguments for Strict_Ansi_Only
7171 static const char* apzStrict_Ansi_OnlyPatch[] = {
7173 "%1 defined(__STRICT_ANSI__)",
7176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7178 * Description of Struct_File fix
7180 tSCC zStruct_FileName[] =
7184 * File name selection pattern
7186 tSCC zStruct_FileList[] =
7189 * Machine/OS name selection pattern
7191 #define apzStruct_FileMachs (const char**)NULL
7194 * content selection pattern - do fix if pattern found
7196 tSCC zStruct_FileSelect0[] =
7197 "^.*xdrstdio_create.*struct __file_s";
7199 #define STRUCT_FILE_TEST_CT 1
7200 static tTestDesc aStruct_FileTests[] = {
7201 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
7204 * Fix Command Arguments for Struct_File
7206 static const char* apzStruct_FilePatch[] = {
7208 "struct __file_s;\n\
7212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7214 * Description of Struct_Sockaddr fix
7216 tSCC zStruct_SockaddrName[] =
7220 * File name selection pattern
7222 tSCC zStruct_SockaddrList[] =
7225 * Machine/OS name selection pattern
7227 #define apzStruct_SockaddrMachs (const char**)NULL
7230 * content selection pattern - do fix if pattern found
7232 tSCC zStruct_SockaddrSelect0[] =
7233 "^.*authdes_create.*struct sockaddr[^_]";
7236 * content bypass pattern - skip fix if pattern found
7238 tSCC zStruct_SockaddrBypass0[] =
7240 tSCC zStruct_SockaddrBypass1[] =
7241 "struct sockaddr;\n";
7243 #define STRUCT_SOCKADDR_TEST_CT 3
7244 static tTestDesc aStruct_SockaddrTests[] = {
7245 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
7246 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
7247 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7250 * Fix Command Arguments for Struct_Sockaddr
7252 static const char* apzStruct_SockaddrPatch[] = {
7254 "struct sockaddr;\n\
7258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7260 * Description of Sun_Auth_Proto fix
7262 tSCC zSun_Auth_ProtoName[] =
7266 * File name selection pattern
7268 tSCC zSun_Auth_ProtoList[] =
7269 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7271 * Machine/OS name selection pattern
7273 #define apzSun_Auth_ProtoMachs (const char**)NULL
7276 * content selection pattern - do fix if pattern found
7278 tSCC zSun_Auth_ProtoSelect0[] =
7279 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7282 * content bypass pattern - skip fix if pattern found
7284 tSCC zSun_Auth_ProtoBypass0[] =
7287 #define SUN_AUTH_PROTO_TEST_CT 2
7288 static tTestDesc aSun_Auth_ProtoTests[] = {
7289 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
7290 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
7293 * Fix Command Arguments for Sun_Auth_Proto
7295 static const char* apzSun_Auth_ProtoPatch[] = {
7297 "#ifdef __cplusplus\n\
7302 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
7305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7307 * Description of Sun_Bogus_Ifdef fix
7309 tSCC zSun_Bogus_IfdefName[] =
7313 * File name selection pattern
7315 tSCC zSun_Bogus_IfdefList[] =
7316 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
7318 * Machine/OS name selection pattern
7320 #define apzSun_Bogus_IfdefMachs (const char**)NULL
7323 * content selection pattern - do fix if pattern found
7325 tSCC zSun_Bogus_IfdefSelect0[] =
7326 "#ifdef(.*\\|\\|.*)";
7328 #define SUN_BOGUS_IFDEF_TEST_CT 1
7329 static tTestDesc aSun_Bogus_IfdefTests[] = {
7330 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
7333 * Fix Command Arguments for Sun_Bogus_Ifdef
7335 static const char* apzSun_Bogus_IfdefPatch[] = {
7340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7342 * Description of Sun_Catmacro fix
7344 tSCC zSun_CatmacroName[] =
7348 * File name selection pattern
7350 tSCC zSun_CatmacroList[] =
7351 "pixrect/memvar.h\0";
7353 * Machine/OS name selection pattern
7355 #define apzSun_CatmacroMachs (const char**)NULL
7358 * content selection pattern - do fix if pattern found
7360 tSCC zSun_CatmacroSelect0[] =
7361 "^#define[ \t]+CAT\\(a,b\\).*";
7363 #define SUN_CATMACRO_TEST_CT 1
7364 static tTestDesc aSun_CatmacroTests[] = {
7365 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
7368 * Fix Command Arguments for Sun_Catmacro
7370 static const char* apzSun_CatmacroPatch[] = {
7373 # define CAT(a,b) a##b\n\
7379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7381 * Description of Sun_Malloc fix
7383 tSCC zSun_MallocName[] =
7387 * File name selection pattern
7389 tSCC zSun_MallocList[] =
7392 * Machine/OS name selection pattern
7394 #define apzSun_MallocMachs (const char**)NULL
7397 * content bypass pattern - skip fix if pattern found
7399 tSCC zSun_MallocBypass0[] =
7400 "_CLASSIC_ANSI_TYPES";
7402 #define SUN_MALLOC_TEST_CT 1
7403 static tTestDesc aSun_MallocTests[] = {
7404 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
7407 * Fix Command Arguments for Sun_Malloc
7409 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
7410 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
7411 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
7412 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
7413 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
7414 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
7417 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7419 * Description of Sun_Rusers_Semi fix
7421 tSCC zSun_Rusers_SemiName[] =
7425 * File name selection pattern
7427 tSCC zSun_Rusers_SemiList[] =
7428 "rpcsvc/rusers.h\0";
7430 * Machine/OS name selection pattern
7432 #define apzSun_Rusers_SemiMachs (const char**)NULL
7435 * content selection pattern - do fix if pattern found
7437 tSCC zSun_Rusers_SemiSelect0[] =
7440 #define SUN_RUSERS_SEMI_TEST_CT 1
7441 static tTestDesc aSun_Rusers_SemiTests[] = {
7442 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
7445 * Fix Command Arguments for Sun_Rusers_Semi
7447 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
7448 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
7451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7453 * Description of Sun_Signal fix
7455 tSCC zSun_SignalName[] =
7459 * File name selection pattern
7461 tSCC zSun_SignalList[] =
7462 "sys/signal.h\0signal.h\0";
7464 * Machine/OS name selection pattern
7466 #define apzSun_SignalMachs (const char**)NULL
7469 * content selection pattern - do fix if pattern found
7471 tSCC zSun_SignalSelect0[] =
7472 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
7474 #define SUN_SIGNAL_TEST_CT 1
7475 static tTestDesc aSun_SignalTests[] = {
7476 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
7479 * Fix Command Arguments for Sun_Signal
7481 static const char* apzSun_SignalPatch[] = {
7483 "#ifdef __cplusplus\n\
7484 void\t(*signal(...))(...);\n\
7490 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7492 * Description of Sunos_Strlen fix
7494 tSCC zSunos_StrlenName[] =
7498 * File name selection pattern
7500 tSCC zSunos_StrlenList[] =
7503 * Machine/OS name selection pattern
7505 #define apzSunos_StrlenMachs (const char**)NULL
7508 * content selection pattern - do fix if pattern found
7510 tSCC zSunos_StrlenSelect0[] =
7511 "int[ \t]*strlen\\(\\);(.*)";
7513 #define SUNOS_STRLEN_TEST_CT 1
7514 static tTestDesc aSunos_StrlenTests[] = {
7515 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
7518 * Fix Command Arguments for Sunos_Strlen
7520 static const char* apzSunos_StrlenPatch[] = {
7522 "__SIZE_TYPE__ strlen();%1",
7525 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7527 * Description of Svr4_Disable_Opt fix
7529 tSCC zSvr4_Disable_OptName[] =
7533 * File name selection pattern
7535 tSCC zSvr4_Disable_OptList[] =
7538 * Machine/OS name selection pattern
7540 #define apzSvr4_Disable_OptMachs (const char**)NULL
7543 * content selection pattern - do fix if pattern found
7545 tSCC zSvr4_Disable_OptSelect0[] =
7546 "#define.*__std_hdr_";
7548 #define SVR4_DISABLE_OPT_TEST_CT 1
7549 static tTestDesc aSvr4_Disable_OptTests[] = {
7550 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
7553 * Fix Command Arguments for Svr4_Disable_Opt
7555 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
7556 "-e", "/#define.*__std_hdr_/d",
7559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7561 * Description of Svr4_Getcwd fix
7563 tSCC zSvr4_GetcwdName[] =
7567 * File name selection pattern
7569 tSCC zSvr4_GetcwdList[] =
7570 "stdlib.h\0unistd.h\0prototypes.h\0";
7572 * Machine/OS name selection pattern
7574 #define apzSvr4_GetcwdMachs (const char**)NULL
7577 * content selection pattern - do fix if pattern found
7579 tSCC zSvr4_GetcwdSelect0[] =
7580 "getcwd\\(char \\*, int\\)";
7582 #define SVR4_GETCWD_TEST_CT 1
7583 static tTestDesc aSvr4_GetcwdTests[] = {
7584 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
7587 * Fix Command Arguments for Svr4_Getcwd
7589 static const char* apzSvr4_GetcwdPatch[] = {
7591 "getcwd(char *, size_t)",
7594 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7596 * Description of Svr4_Profil fix
7598 tSCC zSvr4_ProfilName[] =
7602 * File name selection pattern
7604 tSCC zSvr4_ProfilList[] =
7605 "stdlib.h\0unistd.h\0";
7607 * Machine/OS name selection pattern
7609 #define apzSvr4_ProfilMachs (const char**)NULL
7612 * content selection pattern - do fix if pattern found
7614 tSCC zSvr4_ProfilSelect0[] =
7615 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7617 #define SVR4_PROFIL_TEST_CT 1
7618 static tTestDesc aSvr4_ProfilTests[] = {
7619 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7622 * Fix Command Arguments for Svr4_Profil
7624 static const char* apzSvr4_ProfilPatch[] = {
7626 "profil(unsigned short *, size_t, int, unsigned int)",
7629 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7631 * Description of Svr4_Sighandler_Type fix
7633 tSCC zSvr4_Sighandler_TypeName[] =
7634 "svr4_sighandler_type";
7637 * File name selection pattern
7639 tSCC zSvr4_Sighandler_TypeList[] =
7642 * Machine/OS name selection pattern
7644 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7647 * content selection pattern - do fix if pattern found
7649 tSCC zSvr4_Sighandler_TypeSelect0[] =
7650 "void *\\(\\*\\)\\(\\)";
7652 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
7653 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
7654 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
7657 * Fix Command Arguments for Svr4_Sighandler_Type
7659 static const char* apzSvr4_Sighandler_TypePatch[] = {
7664 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7666 * Description of Svr4_Undeclared_Getrnge fix
7668 tSCC zSvr4_Undeclared_GetrngeName[] =
7669 "svr4_undeclared_getrnge";
7672 * File name selection pattern
7674 tSCC zSvr4_Undeclared_GetrngeList[] =
7677 * Machine/OS name selection pattern
7679 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
7682 * content selection pattern - do fix if pattern found
7684 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
7688 * content bypass pattern - skip fix if pattern found
7690 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
7691 "static void getrnge";
7693 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
7694 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
7695 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
7696 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
7699 * Fix Command Arguments for Svr4_Undeclared_Getrnge
7701 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
7704 static int getrnge ();",
7705 "^static int[ \t]+size;",
7708 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7710 * Description of Sysv68_String fix
7712 tSCC zSysv68_StringName[] =
7716 * File name selection pattern
7718 tSCC zSysv68_StringList[] =
7719 "testing.h\0string.h\0";
7721 * Machine/OS name selection pattern
7723 #define apzSysv68_StringMachs (const char**)NULL
7726 * content bypass pattern - skip fix if pattern found
7728 tSCC zSysv68_StringBypass0[] =
7729 "_CLASSIC_ANSI_TYPES";
7731 #define SYSV68_STRING_TEST_CT 1
7732 static tTestDesc aSysv68_StringTests[] = {
7733 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7736 * Fix Command Arguments for Sysv68_String
7738 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
7739 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7740 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7741 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7742 "-e", "/^extern char$/N",
7743 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7744 "-e", "/^extern int$/N",
7745 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7746 "-e", "/^\tstrncmp(),$/N",
7747 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7748 extern unsigned int\\\n\
7752 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7754 * Description of Sysz_Stdlib_For_Sun fix
7756 tSCC zSysz_Stdlib_For_SunName[] =
7757 "sysz_stdlib_for_sun";
7760 * File name selection pattern
7762 tSCC zSysz_Stdlib_For_SunList[] =
7765 * Machine/OS name selection pattern
7767 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7770 * content selection pattern - do fix if pattern found
7772 tSCC zSysz_Stdlib_For_SunSelect0[] =
7773 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7776 * content bypass pattern - skip fix if pattern found
7778 tSCC zSysz_Stdlib_For_SunBypass0[] =
7779 "_CLASSIC_ANSI_TYPES";
7781 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7782 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7783 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7784 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7787 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7789 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7796 * Description of Thread_Keyword fix
7798 tSCC zThread_KeywordName[] =
7802 * File name selection pattern
7804 tSCC zThread_KeywordList[] =
7805 "pthread.h\0bits/sigthread.h\0";
7807 * Machine/OS name selection pattern
7809 #define apzThread_KeywordMachs (const char**)NULL
7812 * content selection pattern - do fix if pattern found
7814 tSCC zThread_KeywordSelect0[] =
7815 "([* ])__thread([,)])";
7817 #define THREAD_KEYWORD_TEST_CT 1
7818 static tTestDesc aThread_KeywordTests[] = {
7819 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7822 * Fix Command Arguments for Thread_Keyword
7824 static const char* apzThread_KeywordPatch[] = {
7829 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7831 * Description of Tinfo_Cplusplus fix
7833 tSCC zTinfo_CplusplusName[] =
7837 * File name selection pattern
7839 tSCC zTinfo_CplusplusList[] =
7842 * Machine/OS name selection pattern
7844 #define apzTinfo_CplusplusMachs (const char**)NULL
7847 * content selection pattern - do fix if pattern found
7849 tSCC zTinfo_CplusplusSelect0[] =
7852 #define TINFO_CPLUSPLUS_TEST_CT 1
7853 static tTestDesc aTinfo_CplusplusTests[] = {
7854 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7857 * Fix Command Arguments for Tinfo_Cplusplus
7859 static const char* apzTinfo_CplusplusPatch[] = {
7864 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7866 * Description of Ultrix_Const fix
7868 tSCC zUltrix_ConstName[] =
7872 * File name selection pattern
7874 tSCC zUltrix_ConstList[] =
7877 * Machine/OS name selection pattern
7879 #define apzUltrix_ConstMachs (const char**)NULL
7882 * content selection pattern - do fix if pattern found
7884 tSCC zUltrix_ConstSelect0[] =
7885 "perror\\( char \\*";
7887 #define ULTRIX_CONST_TEST_CT 1
7888 static tTestDesc aUltrix_ConstTests[] = {
7889 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7892 * Fix Command Arguments for Ultrix_Const
7894 static const char* apzUltrix_ConstPatch[] = {
7897 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7900 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7902 * Description of Ultrix_Const2 fix
7904 tSCC zUltrix_Const2Name[] =
7908 * File name selection pattern
7910 tSCC zUltrix_Const2List[] =
7913 * Machine/OS name selection pattern
7915 #define apzUltrix_Const2Machs (const char**)NULL
7918 * content selection pattern - do fix if pattern found
7920 tSCC zUltrix_Const2Select0[] =
7921 "\\*fopen\\( char \\*";
7923 #define ULTRIX_CONST2_TEST_CT 1
7924 static tTestDesc aUltrix_Const2Tests[] = {
7925 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7928 * Fix Command Arguments for Ultrix_Const2
7930 static const char* apzUltrix_Const2Patch[] = {
7932 "%1( const char *%3, const char *",
7933 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7936 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7938 * Description of Va_I960_Macro fix
7940 tSCC zVa_I960_MacroName[] =
7944 * File name selection pattern
7946 tSCC zVa_I960_MacroList[] =
7947 "arch/i960/archI960.h\0";
7949 * Machine/OS name selection pattern
7951 #define apzVa_I960_MacroMachs (const char**)NULL
7954 * content selection pattern - do fix if pattern found
7956 tSCC zVa_I960_MacroSelect0[] =
7957 "__(vsiz|vali|vpad|alignof__)";
7959 #define VA_I960_MACRO_TEST_CT 1
7960 static tTestDesc aVa_I960_MacroTests[] = {
7961 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
7964 * Fix Command Arguments for Va_I960_Macro
7966 static const char* apzVa_I960_MacroPatch[] = {
7971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7973 * Description of Vms_Define_Can_Use_Extern_Prefix fix
7975 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
7976 "vms_define_can_use_extern_prefix";
7979 * File name selection pattern
7981 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
7982 "rtldef/decc$types.h\0";
7984 * Machine/OS name selection pattern
7986 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
7988 (const char*)NULL };
7991 * content selection pattern - do fix if pattern found
7993 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
7995 #[ \t]*if defined\\(__DECCXX\\)\n\
7996 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
7998 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
7999 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
8000 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
8003 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
8005 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
8007 "%0# elif defined (__GNUC__)\n\
8008 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
8011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8013 * Description of Vms_Use_Pragma_Extern_Model fix
8015 tSCC zVms_Use_Pragma_Extern_ModelName[] =
8016 "vms_use_pragma_extern_model";
8019 * File name selection pattern
8021 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
8023 * Machine/OS name selection pattern
8025 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
8027 (const char*)NULL };
8030 * content selection pattern - do fix if pattern found
8032 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
8033 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
8034 # pragma extern_model __save\n";
8036 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
8037 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
8038 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
8041 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
8043 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
8045 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
8046 # pragma extern_model __save\n",
8049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8051 * Description of Vms_Disable_Decc_String_Builtins fix
8053 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
8054 "vms_disable_decc_string_builtins";
8057 * File name selection pattern
8059 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
8060 "rtldef/string.h\0";
8062 * Machine/OS name selection pattern
8064 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
8066 (const char*)NULL };
8069 * content selection pattern - do fix if pattern found
8071 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
8072 "#if !defined\\(__VAX\\)\n";
8074 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
8075 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
8076 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
8079 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
8081 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
8083 "#if !defined(__VAX) && !defined(__GNUC__)\n",
8086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8088 * Description of Vms_Use_Quoted_Include fix
8090 tSCC zVms_Use_Quoted_IncludeName[] =
8091 "vms_use_quoted_include";
8094 * File name selection pattern
8096 tSCC zVms_Use_Quoted_IncludeList[] =
8097 "rtldef/wait.h\0starlet_c/pthread.h\0";
8099 * Machine/OS name selection pattern
8101 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
8103 (const char*)NULL };
8106 * content selection pattern - do fix if pattern found
8108 tSCC zVms_Use_Quoted_IncludeSelect0[] =
8109 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
8111 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
8112 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
8113 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
8116 * Fix Command Arguments for Vms_Use_Quoted_Include
8118 static const char* apzVms_Use_Quoted_IncludePatch[] = {
8123 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8125 * Description of Vms_Add_Missing_Braces fix
8127 tSCC zVms_Add_Missing_BracesName[] =
8128 "vms_add_missing_braces";
8131 * File name selection pattern
8133 tSCC zVms_Add_Missing_BracesList[] =
8134 "rtldef/signal.h\0";
8136 * Machine/OS name selection pattern
8138 tSCC* apzVms_Add_Missing_BracesMachs[] = {
8140 (const char*)NULL };
8143 * content selection pattern - do fix if pattern found
8145 tSCC zVms_Add_Missing_BracesSelect0[] =
8146 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
8148 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
8149 static tTestDesc aVms_Add_Missing_BracesTests[] = {
8150 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
8153 * Fix Command Arguments for Vms_Add_Missing_Braces
8155 static const char* apzVms_Add_Missing_BracesPatch[] = {
8160 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8162 * Description of Vms_Do_Not_Redeclare_Hostalias fix
8164 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
8165 "vms_do_not_redeclare_hostalias";
8168 * File name selection pattern
8170 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
8171 "rtldef/resolv.h\0";
8173 * Machine/OS name selection pattern
8175 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
8177 (const char*)NULL };
8180 * content selection pattern - do fix if pattern found
8182 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
8183 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
8184 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
8186 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
8187 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
8188 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
8191 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
8193 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
8199 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8201 * Description of Vms_Decc_Builtin fix
8203 tSCC zVms_Decc_BuiltinName[] =
8207 * File name selection pattern
8209 tSCC zVms_Decc_BuiltinList[] =
8210 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
8212 * Machine/OS name selection pattern
8214 tSCC* apzVms_Decc_BuiltinMachs[] = {
8216 (const char*)NULL };
8219 * content selection pattern - do fix if pattern found
8221 tSCC zVms_Decc_BuiltinSelect0[] =
8222 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
8224 #define VMS_DECC_BUILTIN_TEST_CT 1
8225 static tTestDesc aVms_Decc_BuiltinTests[] = {
8226 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
8229 * Fix Command Arguments for Vms_Decc_Builtin
8231 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
8232 "-e", "s@__MEMSET@memset@",
8233 "-e", "s@__MEMMOVE@memmove@",
8234 "-e", "s@__MEMCPY@memcpy@",
8235 "-e", "s@__STRLEN@strlen@",
8236 "-e", "s@__STRCPY@strcpy@",
8239 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8241 * Description of Vms_No_64bit_Getopt fix
8243 tSCC zVms_No_64bit_GetoptName[] =
8244 "vms_no_64bit_getopt";
8247 * File name selection pattern
8249 tSCC zVms_No_64bit_GetoptList[] =
8250 "rtldef/stdio.h\0rtldef/unistd.h\0";
8252 * Machine/OS name selection pattern
8254 tSCC* apzVms_No_64bit_GetoptMachs[] = {
8256 (const char*)NULL };
8259 * content selection pattern - do fix if pattern found
8261 tSCC zVms_No_64bit_GetoptSelect0[] =
8262 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
8264 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
8265 static tTestDesc aVms_No_64bit_GetoptTests[] = {
8266 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
8269 * Fix Command Arguments for Vms_No_64bit_Getopt
8271 static const char* apzVms_No_64bit_GetoptPatch[] = {
8273 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
8277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8279 * Description of Vms_Forward_Declare_Struct fix
8281 tSCC zVms_Forward_Declare_StructName[] =
8282 "vms_forward_declare_struct";
8285 * File name selection pattern
8287 tSCC zVms_Forward_Declare_StructList[] =
8290 * Machine/OS name selection pattern
8292 tSCC* apzVms_Forward_Declare_StructMachs[] = {
8294 (const char*)NULL };
8297 * content selection pattern - do fix if pattern found
8299 tSCC zVms_Forward_Declare_StructSelect0[] =
8300 "(/\\* forward decls for C\\+\\+ \\*/\n\
8301 )#ifdef __cplusplus\n";
8303 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
8304 static tTestDesc aVms_Forward_Declare_StructTests[] = {
8305 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
8308 * Fix Command Arguments for Vms_Forward_Declare_Struct
8310 static const char* apzVms_Forward_Declare_StructPatch[] = {
8312 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
8315 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8317 * Description of Vms_Use_Fast_Setjmp fix
8319 tSCC zVms_Use_Fast_SetjmpName[] =
8320 "vms_use_fast_setjmp";
8323 * File name selection pattern
8325 tSCC zVms_Use_Fast_SetjmpList[] =
8326 "rtldef/setjmp.h\0";
8328 * Machine/OS name selection pattern
8330 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
8332 (const char*)NULL };
8335 * content selection pattern - do fix if pattern found
8337 tSCC zVms_Use_Fast_SetjmpSelect0[] =
8338 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
8340 #define VMS_USE_FAST_SETJMP_TEST_CT 1
8341 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
8342 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
8345 * Fix Command Arguments for Vms_Use_Fast_Setjmp
8347 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
8349 "%0 defined (__GNUC__) ||",
8352 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8354 * Description of Void_Null fix
8356 tSCC zVoid_NullName[] =
8360 * File name selection pattern
8362 tSCC zVoid_NullList[] =
8363 "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";
8365 * Machine/OS name selection pattern
8367 #define apzVoid_NullMachs (const char**)NULL
8370 * content selection pattern - do fix if pattern found
8372 tSCC zVoid_NullSelect0[] =
8373 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8376 * content bypass pattern - skip fix if pattern found
8378 tSCC zVoid_NullBypass0[] =
8380 tSCC zVoid_NullBypass1[] =
8383 #define VOID_NULL_TEST_CT 3
8384 static tTestDesc aVoid_NullTests[] = {
8385 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8386 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
8387 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8390 * Fix Command Arguments for Void_Null
8392 static const char* apzVoid_NullPatch[] = {
8397 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8399 * Description of Vxworks_Gcc_Problem fix
8401 tSCC zVxworks_Gcc_ProblemName[] =
8402 "vxworks_gcc_problem";
8405 * File name selection pattern
8407 tSCC zVxworks_Gcc_ProblemList[] =
8408 "types/vxTypesBase.h\0";
8410 * Machine/OS name selection pattern
8412 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8415 * content selection pattern - do fix if pattern found
8417 tSCC zVxworks_Gcc_ProblemSelect0[] =
8418 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8420 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8421 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8422 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8425 * Fix Command Arguments for Vxworks_Gcc_Problem
8427 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
8428 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8429 "-e", "/[ \t]size_t/i\\\n\
8430 #ifndef _GCC_SIZE_T\\\n\
8431 #define _GCC_SIZE_T\n",
8432 "-e", "/[ \t]size_t/a\\\n\
8434 "-e", "/[ \t]ptrdiff_t/i\\\n\
8435 #ifndef _GCC_PTRDIFF_T\\\n\
8436 #define _GCC_PTRDIFF_T\n",
8437 "-e", "/[ \t]ptrdiff_t/a\\\n\
8439 "-e", "/[ \t]wchar_t/i\\\n\
8440 #ifndef _GCC_WCHAR_T\\\n\
8441 #define _GCC_WCHAR_T\n",
8442 "-e", "/[ \t]wchar_t/a\\\n\
8446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8448 * Description of Vxworks_Needs_Vxtypes fix
8450 tSCC zVxworks_Needs_VxtypesName[] =
8451 "vxworks_needs_vxtypes";
8454 * File name selection pattern
8456 tSCC zVxworks_Needs_VxtypesList[] =
8459 * Machine/OS name selection pattern
8461 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8464 * content selection pattern - do fix if pattern found
8466 tSCC zVxworks_Needs_VxtypesSelect0[] =
8467 "uint_t([ \t]+_clocks_per_sec)";
8469 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8470 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8471 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8474 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8476 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8481 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8483 * Description of Vxworks_Needs_Vxworks fix
8485 tSCC zVxworks_Needs_VxworksName[] =
8486 "vxworks_needs_vxworks";
8489 * File name selection pattern
8491 tSCC zVxworks_Needs_VxworksList[] =
8494 * Machine/OS name selection pattern
8496 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8499 * content selection pattern - do fix if pattern found
8501 tSCC zVxworks_Needs_VxworksSelect0[] =
8502 "#[ \t]define[ \t]+__INCstath";
8505 * perform the 'test' shell command - do fix on success
8507 tSCC zVxworks_Needs_VxworksTest0[] =
8508 " -r types/vxTypesOld.h";
8509 tSCC zVxworks_Needs_VxworksTest1[] =
8510 " -n \"`egrep '#include' $file`\"";
8511 tSCC zVxworks_Needs_VxworksTest2[] =
8512 " -n \"`egrep ULONG $file`\"";
8514 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8515 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8516 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8517 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8518 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8519 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8522 * Fix Command Arguments for Vxworks_Needs_Vxworks
8524 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
8525 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8526 #include <types/vxTypesOld.h>\n",
8529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8531 * Description of Vxworks_Time fix
8533 tSCC zVxworks_TimeName[] =
8537 * File name selection pattern
8539 tSCC zVxworks_TimeList[] =
8542 * Machine/OS name selection pattern
8544 #define apzVxworks_TimeMachs (const char**)NULL
8547 * content selection pattern - do fix if pattern found
8549 tSCC zVxworks_TimeSelect0[] =
8550 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8553 * perform the 'test' shell command - do fix on success
8555 tSCC zVxworks_TimeTest0[] =
8558 #define VXWORKS_TIME_TEST_CT 2
8559 static tTestDesc aVxworks_TimeTests[] = {
8560 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8561 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8564 * Fix Command Arguments for Vxworks_Time
8566 static const char* apzVxworks_TimePatch[] = {
8568 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8569 #ifdef __cplusplus\n\
8570 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8572 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
8574 #define __gcc_VOIDFUNCPTR_defined\n\
8576 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
8579 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8581 * Description of X11_Class fix
8583 tSCC zX11_ClassName[] =
8587 * File name selection pattern
8589 tSCC zX11_ClassList[] =
8592 * Machine/OS name selection pattern
8594 #define apzX11_ClassMachs (const char**)NULL
8597 * content selection pattern - do fix if pattern found
8599 tSCC zX11_ClassSelect0[] =
8600 "^([ \t]*char \\*)class;(.*)";
8603 * content bypass pattern - skip fix if pattern found
8605 tSCC zX11_ClassBypass0[] =
8608 #define X11_CLASS_TEST_CT 2
8609 static tTestDesc aX11_ClassTests[] = {
8610 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8611 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8614 * Fix Command Arguments for X11_Class
8616 static const char* apzX11_ClassPatch[] = {
8618 "#ifdef __cplusplus\n\
8625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8627 * Description of X11_Class_Usage fix
8629 tSCC zX11_Class_UsageName[] =
8633 * File name selection pattern
8635 tSCC zX11_Class_UsageList[] =
8636 "Xm/BaseClassI.h\0";
8638 * Machine/OS name selection pattern
8640 #define apzX11_Class_UsageMachs (const char**)NULL
8643 * content selection pattern - do fix if pattern found
8645 tSCC zX11_Class_UsageSelect0[] =
8649 * content bypass pattern - skip fix if pattern found
8651 tSCC zX11_Class_UsageBypass0[] =
8654 #define X11_CLASS_USAGE_TEST_CT 2
8655 static tTestDesc aX11_Class_UsageTests[] = {
8656 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8657 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8660 * Fix Command Arguments for X11_Class_Usage
8662 static const char* apzX11_Class_UsagePatch[] = {
8667 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8669 * Description of X11_New fix
8671 tSCC zX11_NewName[] =
8675 * File name selection pattern
8677 tSCC zX11_NewList[] =
8680 * Machine/OS name selection pattern
8682 #define apzX11_NewMachs (const char**)NULL
8685 * content bypass pattern - skip fix if pattern found
8687 tSCC zX11_NewBypass0[] =
8690 #define X11_NEW_TEST_CT 1
8691 static tTestDesc aX11_NewTests[] = {
8692 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8695 * Fix Command Arguments for X11_New
8697 static const char* apzX11_NewPatch[] = { sed_cmd_z,
8698 "-e", "/Widget\told, new;/i\\\n\
8699 #ifdef __cplusplus\\\n\
8700 \\\tWidget\told, c_new;\\\n\
8702 "-e", "/Widget\told, new;/a\\\n\
8704 "-e", "s/Widget new,/Widget c_new,/g",
8707 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8709 * Description of X11_Sprintf fix
8711 tSCC zX11_SprintfName[] =
8715 * File name selection pattern
8717 tSCC zX11_SprintfList[] =
8718 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
8720 * Machine/OS name selection pattern
8722 #define apzX11_SprintfMachs (const char**)NULL
8725 * content selection pattern - do fix if pattern found
8727 tSCC zX11_SprintfSelect0[] =
8728 "^extern char \\*\tsprintf\\(\\);$";
8730 #define X11_SPRINTF_TEST_CT 1
8731 static tTestDesc aX11_SprintfTests[] = {
8732 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8735 * Fix Command Arguments for X11_Sprintf
8737 static const char* apzX11_SprintfPatch[] = {
8739 "#ifndef __STDC__\n\
8741 #endif /* !defined __STDC__ */",
8745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8749 #define REGEX_COUNT 258
8750 #define MACH_LIST_SIZE_LIMIT 181
8751 #define FIX_COUNT 215
8754 * Enumerate the fixes
8757 AAB_AIX_STDIO_FIXIDX,
8758 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8759 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8760 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8761 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8762 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8763 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8764 AAB_SUN_MEMCPY_FIXIDX,
8767 AIX_NET_IF_ARP_FIXIDX,
8768 AIX_ONCE_INIT_1_FIXIDX,
8769 AIX_ONCE_INIT_2_FIXIDX,
8770 AIX_MUTEX_INITIALIZER_1_FIXIDX,
8771 AIX_COND_INITIALIZER_1_FIXIDX,
8772 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
8774 AIX_STDINT_1_FIXIDX,
8775 AIX_STDINT_2_FIXIDX,
8776 AIX_STDINT_3_FIXIDX,
8777 AIX_STDINT_4_FIXIDX,
8778 AIX_STDINT_5_FIXIDX,
8779 AIX_SYSMACHINE_FIXIDX,
8780 AIX_SYSWAIT_2_FIXIDX,
8781 AIX_VOLATILE_FIXIDX,
8782 ALPHA___ASSERT_FIXIDX,
8783 ALPHA_ASSERT_FIXIDX,
8784 ALPHA_GETOPT_FIXIDX,
8785 ALPHA_IF_SEMICOLON_FIXIDX,
8786 ALPHA_PARENS_FIXIDX,
8788 AVOID_BOOL_DEFINE_FIXIDX,
8789 AVOID_BOOL_TYPE_FIXIDX,
8790 AVOID_WCHAR_T_TYPE_FIXIDX,
8791 BAD_STRUCT_TERM_FIXIDX,
8793 BROKEN_ASSERT_STDIO_FIXIDX,
8794 BROKEN_ASSERT_STDLIB_FIXIDX,
8797 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8798 CDEF_CPLUSPLUS_FIXIDX,
8799 CTRL_QUOTES_DEF_FIXIDX,
8800 CTRL_QUOTES_USE_FIXIDX,
8802 DARWIN_EXTERNC_FIXIDX,
8803 DARWIN_GCC4_BREAKAGE_FIXIDX,
8804 DARWIN_PRIVATE_EXTERN_FIXIDX,
8805 DARWIN_STDINT_1_FIXIDX,
8806 DARWIN_STDINT_2_FIXIDX,
8807 DARWIN_STDINT_3_FIXIDX,
8808 DARWIN_STDINT_4_FIXIDX,
8809 DARWIN_STDINT_5_FIXIDX,
8810 DARWIN_STDINT_6_FIXIDX,
8811 DARWIN_STDINT_7_FIXIDX,
8812 DEC_INTERN_ASM_FIXIDX,
8813 DJGPP_WCHAR_H_FIXIDX,
8815 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8816 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8817 GLIBC_C99_INLINE_1_FIXIDX,
8818 GLIBC_C99_INLINE_1A_FIXIDX,
8819 GLIBC_C99_INLINE_2_FIXIDX,
8820 GLIBC_C99_INLINE_3_FIXIDX,
8821 GLIBC_C99_INLINE_4_FIXIDX,
8822 GLIBC_MUTEX_INIT_FIXIDX,
8823 GLIBC_STDINT_FIXIDX,
8824 GLIBC_STRNCPY_FIXIDX,
8825 GLIBC_TGMATH_FIXIDX,
8829 HPPA_HPUX_FP_MACROS_FIXIDX,
8830 HPUX10_CPP_POW_INLINE_FIXIDX,
8831 HPUX11_CPP_POW_INLINE_FIXIDX,
8832 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8833 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8834 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8836 HPUX11_FABSF_FIXIDX,
8837 HPUX11_PTHREAD_CONST_FIXIDX,
8838 HPUX11_SIZE_T_FIXIDX,
8839 HPUX11_SNPRINTF_FIXIDX,
8840 HPUX11_VSNPRINTF_FIXIDX,
8841 HPUX8_BOGUS_INLINES_FIXIDX,
8842 HPUX_CTYPE_MACROS_FIXIDX,
8844 HPUX_LONG_DOUBLE_FIXIDX,
8845 HPUX_LONG_DOUBLE_2_FIXIDX,
8846 HPUX_SYSTIME_FIXIDX,
8847 HPUX_SPU_INFO_FIXIDX,
8848 HPUX11_EXTERN_SENDFILE_FIXIDX,
8849 HPUX11_EXTERN_SENDPATH_FIXIDX,
8850 HPUX_EXTERN_ERRNO_FIXIDX,
8851 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8852 HPUX_C99_INTPTR_FIXIDX,
8853 HPUX_C99_INTTYPES_FIXIDX,
8854 HPUX_C99_INTTYPES2_FIXIDX,
8855 HPUX_STDINT_LEAST_FAST_FIXIDX,
8856 HPUX_INTTYPE_INT8_T_FIXIDX,
8857 HPUX_IMAGINARY_I_FIXIDX,
8858 HUGE_VAL_HEX_FIXIDX,
8859 HUGE_VALF_HEX_FIXIDX,
8860 HUGE_VALL_HEX_FIXIDX,
8861 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8862 IO_QUOTES_DEF_FIXIDX,
8863 IO_QUOTES_USE_FIXIDX,
8864 IP_MISSING_SEMI_FIXIDX,
8865 IRIX_LIMITS_CONST_FIXIDX,
8866 IRIX_STDIO_VA_LIST_FIXIDX,
8867 KANDR_CONCAT_FIXIDX,
8868 LINUX_IA64_UCONTEXT_FIXIDX,
8869 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8870 LYNXOS_MISSING_PUTENV_FIXIDX,
8871 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8872 MACHINE_NAME_FIXIDX,
8873 MATH_EXCEPTION_FIXIDX,
8874 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8875 NESTED_AUTH_DES_FIXIDX,
8876 NETBSD_C99_INLINE_1_FIXIDX,
8877 NETBSD_C99_INLINE_2_FIXIDX,
8878 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8879 NEWLIB_STDINT_1_FIXIDX,
8880 NEWLIB_STDINT_2_FIXIDX,
8881 NEXT_MATH_PREFIX_FIXIDX,
8882 NEXT_TEMPLATE_FIXIDX,
8883 NEXT_VOLITILE_FIXIDX,
8884 NEXT_WAIT_UNION_FIXIDX,
8885 NODEENT_SYNTAX_FIXIDX,
8886 OPENBSD_NULL_DEFINITION_FIXIDX,
8887 OBSTACK_LVALUE_CAST_FIXIDX,
8888 OPENBSD_VA_START_FIXIDX,
8889 OSF_NAMESPACE_A_FIXIDX,
8890 OSF_NAMESPACE_C_FIXIDX,
8891 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8892 READ_RET_TYPE_FIXIDX,
8893 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8894 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8895 RS6000_DOUBLE_FIXIDX,
8896 RS6000_FCHMOD_FIXIDX,
8897 RS6000_PARAM_FIXIDX,
8898 SOLARIS___RESTRICT_FIXIDX,
8899 SOLARIS_COMPLEX_FIXIDX,
8900 SOLARIS_COMPLEX_CXX_FIXIDX,
8901 SOLARIS_CXX_LINKAGE_FIXIDX,
8902 SOLARIS_GETC_STRICT_STDC_FIXIDX,
8903 SOLARIS_LONGJMP_NORETURN_FIXIDX,
8904 SOLARIS_MATH_1_FIXIDX,
8905 SOLARIS_MATH_2_FIXIDX,
8906 SOLARIS_MATH_3_FIXIDX,
8907 SOLARIS_MATH_4_FIXIDX,
8908 SOLARIS_MATH_8_FIXIDX,
8909 SOLARIS_MATH_9_FIXIDX,
8910 SOLARIS_MATH_10_FIXIDX,
8911 SOLARIS_MUTEX_INIT_2_FIXIDX,
8912 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
8913 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8914 SOLARIS_ONCE_INIT_1_FIXIDX,
8915 SOLARIS_ONCE_INIT_2_FIXIDX,
8916 SOLARIS_INT_CONST_FIXIDX,
8917 SOLARIS_INT_LIMITS_1_FIXIDX,
8918 SOLARIS_INT_LIMITS_2_FIXIDX,
8919 SOLARIS_INT_LIMITS_3_FIXIDX,
8920 SOLARIS_INT_TYPES_FIXIDX,
8921 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
8922 SOLARIS_STD___FILBUF_FIXIDX,
8923 SOLARIS_STDIO_TAG_FIXIDX,
8924 SOLARIS_SYS_VA_LIST_FIXIDX,
8926 STDIO_STDARG_H_FIXIDX,
8927 STDIO_VA_LIST_FIXIDX,
8928 STDIO_VA_LIST_CLIENTS_FIXIDX,
8929 STRICT_ANSI_NOT_FIXIDX,
8930 STRICT_ANSI_NOT_CTD_FIXIDX,
8931 STRICT_ANSI_ONLY_FIXIDX,
8933 STRUCT_SOCKADDR_FIXIDX,
8934 SUN_AUTH_PROTO_FIXIDX,
8935 SUN_BOGUS_IFDEF_FIXIDX,
8936 SUN_CATMACRO_FIXIDX,
8938 SUN_RUSERS_SEMI_FIXIDX,
8940 SUNOS_STRLEN_FIXIDX,
8941 SVR4_DISABLE_OPT_FIXIDX,
8944 SVR4_SIGHANDLER_TYPE_FIXIDX,
8945 SVR4_UNDECLARED_GETRNGE_FIXIDX,
8946 SYSV68_STRING_FIXIDX,
8947 SYSZ_STDLIB_FOR_SUN_FIXIDX,
8948 THREAD_KEYWORD_FIXIDX,
8949 TINFO_CPLUSPLUS_FIXIDX,
8950 ULTRIX_CONST_FIXIDX,
8951 ULTRIX_CONST2_FIXIDX,
8952 VA_I960_MACRO_FIXIDX,
8953 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
8954 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
8955 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
8956 VMS_USE_QUOTED_INCLUDE_FIXIDX,
8957 VMS_ADD_MISSING_BRACES_FIXIDX,
8958 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
8959 VMS_DECC_BUILTIN_FIXIDX,
8960 VMS_NO_64BIT_GETOPT_FIXIDX,
8961 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
8962 VMS_USE_FAST_SETJMP_FIXIDX,
8964 VXWORKS_GCC_PROBLEM_FIXIDX,
8965 VXWORKS_NEEDS_VXTYPES_FIXIDX,
8966 VXWORKS_NEEDS_VXWORKS_FIXIDX,
8967 VXWORKS_TIME_FIXIDX,
8969 X11_CLASS_USAGE_FIXIDX,
8974 tFixDesc fixDescList[ FIX_COUNT ] = {
8975 { zAab_Aix_StdioName, zAab_Aix_StdioList,
8976 apzAab_Aix_StdioMachs,
8977 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8978 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
8980 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
8981 apzAab_Darwin7_9_Long_Double_FuncsMachs,
8982 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8983 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
8985 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
8986 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
8987 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8988 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
8990 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
8991 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
8992 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8993 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
8995 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
8996 apzAab_Fd_Zero_Gnu_Types_HMachs,
8997 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
8998 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
9000 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
9001 apzAab_Fd_Zero_Selectbits_HMachs,
9002 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9003 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
9005 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
9006 apzAab_Solaris_Sys_Varargs_HMachs,
9007 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9008 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
9010 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
9011 apzAab_Sun_MemcpyMachs,
9012 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9013 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
9015 { zAix_ComplexName, zAix_ComplexList,
9016 apzAix_ComplexMachs,
9017 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9018 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
9020 { zAix_MallocName, zAix_MallocList,
9022 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9023 aAix_MallocTests, apzAix_MallocPatch, 0 },
9025 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
9026 apzAix_Net_If_ArpMachs,
9027 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9028 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
9030 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
9031 apzAix_Once_Init_1Machs,
9032 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9033 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
9035 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
9036 apzAix_Once_Init_2Machs,
9037 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9038 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
9040 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
9041 apzAix_Mutex_Initializer_1Machs,
9042 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9043 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
9045 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
9046 apzAix_Cond_Initializer_1Machs,
9047 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9048 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
9050 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
9051 apzAix_Rwlock_Initializer_1Machs,
9052 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9053 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
9055 { zAix_PthreadName, zAix_PthreadList,
9056 apzAix_PthreadMachs,
9057 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9058 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
9060 { zAix_Stdint_1Name, zAix_Stdint_1List,
9061 apzAix_Stdint_1Machs,
9062 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9063 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
9065 { zAix_Stdint_2Name, zAix_Stdint_2List,
9066 apzAix_Stdint_2Machs,
9067 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9068 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
9070 { zAix_Stdint_3Name, zAix_Stdint_3List,
9071 apzAix_Stdint_3Machs,
9072 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9073 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
9075 { zAix_Stdint_4Name, zAix_Stdint_4List,
9076 apzAix_Stdint_4Machs,
9077 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9078 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
9080 { zAix_Stdint_5Name, zAix_Stdint_5List,
9081 apzAix_Stdint_5Machs,
9082 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9083 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
9085 { zAix_SysmachineName, zAix_SysmachineList,
9086 apzAix_SysmachineMachs,
9087 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9088 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
9090 { zAix_Syswait_2Name, zAix_Syswait_2List,
9091 apzAix_Syswait_2Machs,
9092 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9093 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
9095 { zAix_VolatileName, zAix_VolatileList,
9096 apzAix_VolatileMachs,
9097 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9098 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
9100 { zAlpha___AssertName, zAlpha___AssertList,
9101 apzAlpha___AssertMachs,
9102 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9103 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
9105 { zAlpha_AssertName, zAlpha_AssertList,
9106 apzAlpha_AssertMachs,
9107 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9108 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
9110 { zAlpha_GetoptName, zAlpha_GetoptList,
9111 apzAlpha_GetoptMachs,
9112 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9113 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
9115 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
9116 apzAlpha_If_SemicolonMachs,
9117 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9118 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
9120 { zAlpha_ParensName, zAlpha_ParensList,
9121 apzAlpha_ParensMachs,
9122 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9123 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
9125 { zAlpha_SbrkName, zAlpha_SbrkList,
9127 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9128 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
9130 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
9131 apzAvoid_Bool_DefineMachs,
9132 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9133 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
9135 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
9136 apzAvoid_Bool_TypeMachs,
9137 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9138 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
9140 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
9141 apzAvoid_Wchar_T_TypeMachs,
9142 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9143 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
9145 { zBad_Struct_TermName, zBad_Struct_TermList,
9146 apzBad_Struct_TermMachs,
9147 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9148 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
9150 { zBadquoteName, zBadquoteList,
9152 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9153 aBadquoteTests, apzBadquotePatch, 0 },
9155 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
9156 apzBroken_Assert_StdioMachs,
9157 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9158 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
9160 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
9161 apzBroken_Assert_StdlibMachs,
9162 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9163 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
9165 { zBroken_CabsName, zBroken_CabsList,
9166 apzBroken_CabsMachs,
9167 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
9168 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
9170 { zBroken_NanName, zBroken_NanList,
9172 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9173 aBroken_NanTests, apzBroken_NanPatch, 0 },
9175 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
9176 apzBsd_Stdio_Attrs_ConflictMachs,
9177 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9178 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
9180 { zCdef_CplusplusName, zCdef_CplusplusList,
9181 apzCdef_CplusplusMachs,
9182 CDEF_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9183 aCdef_CplusplusTests, apzCdef_CplusplusPatch, 0 },
9185 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
9186 apzCtrl_Quotes_DefMachs,
9187 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9188 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
9190 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
9191 apzCtrl_Quotes_UseMachs,
9192 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9193 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
9195 { zCxx_UnreadyName, zCxx_UnreadyList,
9196 apzCxx_UnreadyMachs,
9197 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9198 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
9200 { zDarwin_ExterncName, zDarwin_ExterncList,
9201 apzDarwin_ExterncMachs,
9202 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9203 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
9205 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
9206 apzDarwin_Gcc4_BreakageMachs,
9207 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9208 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
9210 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
9211 apzDarwin_Private_ExternMachs,
9212 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9213 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
9215 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
9216 apzDarwin_Stdint_1Machs,
9217 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9218 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
9220 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
9221 apzDarwin_Stdint_2Machs,
9222 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9223 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
9225 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
9226 apzDarwin_Stdint_3Machs,
9227 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9228 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
9230 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
9231 apzDarwin_Stdint_4Machs,
9232 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9233 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
9235 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
9236 apzDarwin_Stdint_5Machs,
9237 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9238 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
9240 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
9241 apzDarwin_Stdint_6Machs,
9242 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9243 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
9245 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
9246 apzDarwin_Stdint_7Machs,
9247 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9248 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
9250 { zDec_Intern_AsmName, zDec_Intern_AsmList,
9251 apzDec_Intern_AsmMachs,
9252 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
9253 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
9255 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
9256 apzDjgpp_Wchar_HMachs,
9257 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9258 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
9260 { zEcd_CursorName, zEcd_CursorList,
9262 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9263 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
9265 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
9266 apzFreebsd_Gcc3_BreakageMachs,
9267 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9268 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
9270 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
9271 apzFreebsd_Gcc4_BreakageMachs,
9272 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9273 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
9275 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
9276 apzGlibc_C99_Inline_1Machs,
9277 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9278 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
9280 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
9281 apzGlibc_C99_Inline_1aMachs,
9282 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9283 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
9285 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
9286 apzGlibc_C99_Inline_2Machs,
9287 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
9288 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
9290 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
9291 apzGlibc_C99_Inline_3Machs,
9292 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9293 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
9295 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
9296 apzGlibc_C99_Inline_4Machs,
9297 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9298 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
9300 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
9301 apzGlibc_Mutex_InitMachs,
9302 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
9303 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
9305 { zGlibc_StdintName, zGlibc_StdintList,
9306 apzGlibc_StdintMachs,
9307 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9308 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
9310 { zGlibc_StrncpyName, zGlibc_StrncpyList,
9311 apzGlibc_StrncpyMachs,
9312 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9313 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
9315 { zGlibc_TgmathName, zGlibc_TgmathList,
9316 apzGlibc_TgmathMachs,
9317 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9318 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
9320 { zGnu_TypesName, zGnu_TypesList,
9322 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9323 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
9325 { zHp_InlineName, zHp_InlineList,
9327 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9328 aHp_InlineTests, apzHp_InlinePatch, 0 },
9330 { zHp_SysfileName, zHp_SysfileList,
9332 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9333 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
9335 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
9336 apzHppa_Hpux_Fp_MacrosMachs,
9337 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9338 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
9340 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
9341 apzHpux10_Cpp_Pow_InlineMachs,
9342 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9343 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
9345 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
9346 apzHpux11_Cpp_Pow_InlineMachs,
9347 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9348 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
9350 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
9351 apzHpux10_Ctype_Declarations1Machs,
9352 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9353 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
9355 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
9356 apzHpux10_Ctype_Declarations2Machs,
9357 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9358 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
9360 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
9361 apzHpux10_Stdio_DeclarationsMachs,
9362 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9363 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
9365 { zHpux11_AbsName, zHpux11_AbsList,
9367 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9368 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
9370 { zHpux11_FabsfName, zHpux11_FabsfList,
9371 apzHpux11_FabsfMachs,
9372 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9373 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
9375 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
9376 apzHpux11_Pthread_ConstMachs,
9377 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9378 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
9380 { zHpux11_Size_TName, zHpux11_Size_TList,
9381 apzHpux11_Size_TMachs,
9382 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9383 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
9385 { zHpux11_SnprintfName, zHpux11_SnprintfList,
9386 apzHpux11_SnprintfMachs,
9387 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9388 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
9390 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
9391 apzHpux11_VsnprintfMachs,
9392 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9393 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
9395 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
9396 apzHpux8_Bogus_InlinesMachs,
9397 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
9398 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
9400 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
9401 apzHpux_Ctype_MacrosMachs,
9402 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9403 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
9405 { zHpux_HtonlName, zHpux_HtonlList,
9407 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9408 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
9410 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
9411 apzHpux_Long_DoubleMachs,
9412 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
9413 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
9415 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
9416 apzHpux_Long_Double_2Machs,
9417 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9418 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
9420 { zHpux_SystimeName, zHpux_SystimeList,
9421 apzHpux_SystimeMachs,
9422 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9423 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
9425 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
9426 apzHpux_Spu_InfoMachs,
9427 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9428 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
9430 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
9431 apzHpux11_Extern_SendfileMachs,
9432 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9433 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
9435 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
9436 apzHpux11_Extern_SendpathMachs,
9437 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9438 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
9440 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
9441 apzHpux_Extern_ErrnoMachs,
9442 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9443 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
9445 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
9446 apzHpux_Pthread_InitializersMachs,
9447 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
9448 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
9450 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
9451 apzHpux_C99_IntptrMachs,
9452 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
9453 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
9455 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
9456 apzHpux_C99_InttypesMachs,
9457 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
9458 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
9460 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
9461 apzHpux_C99_Inttypes2Machs,
9462 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
9463 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
9465 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
9466 apzHpux_Stdint_Least_FastMachs,
9467 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9468 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
9470 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
9471 apzHpux_Inttype_Int8_TMachs,
9472 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9473 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
9475 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
9476 apzHpux_Imaginary_IMachs,
9477 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9478 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
9480 { zHuge_Val_HexName, zHuge_Val_HexList,
9481 apzHuge_Val_HexMachs,
9482 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9483 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
9485 { zHuge_Valf_HexName, zHuge_Valf_HexList,
9486 apzHuge_Valf_HexMachs,
9487 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9488 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
9490 { zHuge_Vall_HexName, zHuge_Vall_HexList,
9491 apzHuge_Vall_HexMachs,
9492 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9493 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
9495 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
9496 apzInt_Abort_Free_And_ExitMachs,
9497 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9498 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
9500 { zIo_Quotes_DefName, zIo_Quotes_DefList,
9501 apzIo_Quotes_DefMachs,
9502 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9503 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
9505 { zIo_Quotes_UseName, zIo_Quotes_UseList,
9506 apzIo_Quotes_UseMachs,
9507 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9508 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
9510 { zIp_Missing_SemiName, zIp_Missing_SemiList,
9511 apzIp_Missing_SemiMachs,
9512 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
9513 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
9515 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
9516 apzIrix_Limits_ConstMachs,
9517 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9518 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
9520 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
9521 apzIrix_Stdio_Va_ListMachs,
9522 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9523 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
9525 { zKandr_ConcatName, zKandr_ConcatList,
9526 apzKandr_ConcatMachs,
9527 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9528 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
9530 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
9531 apzLinux_Ia64_UcontextMachs,
9532 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9533 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
9535 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
9536 apzLynxos_No_Warning_In_Sys_Time_HMachs,
9537 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9538 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
9540 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
9541 apzLynxos_Missing_PutenvMachs,
9542 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9543 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
9545 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
9546 apzMachine_Ansi_H_Va_ListMachs,
9547 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9548 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
9550 { zMachine_NameName, zMachine_NameList,
9551 apzMachine_NameMachs,
9552 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9553 aMachine_NameTests, apzMachine_NamePatch, 0 },
9555 { zMath_ExceptionName, zMath_ExceptionList,
9556 apzMath_ExceptionMachs,
9557 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9558 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
9560 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
9561 apzMath_Huge_Val_From_Dbl_MaxMachs,
9562 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
9563 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
9565 { zNested_Auth_DesName, zNested_Auth_DesList,
9566 apzNested_Auth_DesMachs,
9567 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9568 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9570 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
9571 apzNetbsd_C99_Inline_1Machs,
9572 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9573 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
9575 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
9576 apzNetbsd_C99_Inline_2Machs,
9577 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9578 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
9580 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9581 apzNetbsd_Extra_SemicolonMachs,
9582 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9583 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9585 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
9586 apzNewlib_Stdint_1Machs,
9587 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
9588 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
9590 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
9591 apzNewlib_Stdint_2Machs,
9592 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9593 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
9595 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9596 apzNext_Math_PrefixMachs,
9597 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9598 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9600 { zNext_TemplateName, zNext_TemplateList,
9601 apzNext_TemplateMachs,
9602 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9603 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9605 { zNext_VolitileName, zNext_VolitileList,
9606 apzNext_VolitileMachs,
9607 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9608 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9610 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9611 apzNext_Wait_UnionMachs,
9612 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9613 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9615 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9616 apzNodeent_SyntaxMachs,
9617 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9618 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9620 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
9621 apzOpenbsd_Null_DefinitionMachs,
9622 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9623 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
9625 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9626 apzObstack_Lvalue_CastMachs,
9627 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9628 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9630 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
9631 apzOpenbsd_Va_StartMachs,
9632 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9633 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
9635 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9636 apzOsf_Namespace_AMachs,
9637 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9638 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9640 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9641 apzOsf_Namespace_CMachs,
9642 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9643 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9645 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9646 apzPthread_Incomplete_Struct_ArgumentMachs,
9647 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9648 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9650 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9651 apzRead_Ret_TypeMachs,
9652 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9653 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9655 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9656 apzRpc_Xdr_Lvalue_Cast_AMachs,
9657 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9658 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9660 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9661 apzRpc_Xdr_Lvalue_Cast_BMachs,
9662 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9663 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9665 { zRs6000_DoubleName, zRs6000_DoubleList,
9666 apzRs6000_DoubleMachs,
9667 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9668 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9670 { zRs6000_FchmodName, zRs6000_FchmodList,
9671 apzRs6000_FchmodMachs,
9672 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9673 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9675 { zRs6000_ParamName, zRs6000_ParamList,
9676 apzRs6000_ParamMachs,
9677 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9678 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9680 { zSolaris___RestrictName, zSolaris___RestrictList,
9681 apzSolaris___RestrictMachs,
9682 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9683 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
9685 { zSolaris_ComplexName, zSolaris_ComplexList,
9686 apzSolaris_ComplexMachs,
9687 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
9688 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
9690 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
9691 apzSolaris_Complex_CxxMachs,
9692 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
9693 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
9695 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
9696 apzSolaris_Cxx_LinkageMachs,
9697 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9698 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
9700 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
9701 apzSolaris_Getc_Strict_StdcMachs,
9702 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9703 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
9705 { zSolaris_Longjmp_NoreturnName, zSolaris_Longjmp_NoreturnList,
9706 apzSolaris_Longjmp_NoreturnMachs,
9707 SOLARIS_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9708 aSolaris_Longjmp_NoreturnTests, apzSolaris_Longjmp_NoreturnPatch, 0 },
9710 { zSolaris_Math_1Name, zSolaris_Math_1List,
9711 apzSolaris_Math_1Machs,
9712 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9713 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9715 { zSolaris_Math_2Name, zSolaris_Math_2List,
9716 apzSolaris_Math_2Machs,
9717 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9718 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9720 { zSolaris_Math_3Name, zSolaris_Math_3List,
9721 apzSolaris_Math_3Machs,
9722 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9723 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9725 { zSolaris_Math_4Name, zSolaris_Math_4List,
9726 apzSolaris_Math_4Machs,
9727 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9728 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9730 { zSolaris_Math_8Name, zSolaris_Math_8List,
9731 apzSolaris_Math_8Machs,
9732 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9733 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9735 { zSolaris_Math_9Name, zSolaris_Math_9List,
9736 apzSolaris_Math_9Machs,
9737 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9738 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9740 { zSolaris_Math_10Name, zSolaris_Math_10List,
9741 apzSolaris_Math_10Machs,
9742 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9743 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
9745 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9746 apzSolaris_Mutex_Init_2Machs,
9747 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9748 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9750 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
9751 apzSolaris_Pow_Int_OverloadMachs,
9752 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9753 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
9755 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9756 apzSolaris_Rwlock_Init_1Machs,
9757 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9758 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9760 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9761 apzSolaris_Once_Init_1Machs,
9762 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9763 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9765 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9766 apzSolaris_Once_Init_2Machs,
9767 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9768 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9770 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
9771 apzSolaris_Int_ConstMachs,
9772 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9773 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
9775 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
9776 apzSolaris_Int_Limits_1Machs,
9777 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9778 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
9780 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
9781 apzSolaris_Int_Limits_2Machs,
9782 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9783 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
9785 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
9786 apzSolaris_Int_Limits_3Machs,
9787 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9788 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
9790 { zSolaris_Int_TypesName, zSolaris_Int_TypesList,
9791 apzSolaris_Int_TypesMachs,
9792 SOLARIS_INT_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9793 aSolaris_Int_TypesTests, apzSolaris_Int_TypesPatch, 0 },
9795 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
9796 apzSolaris_Posix_Spawn_RestrictMachs,
9797 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9798 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
9800 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
9801 apzSolaris_Std___FilbufMachs,
9802 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9803 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
9805 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9806 apzSolaris_Stdio_TagMachs,
9807 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9808 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9810 { zSolaris_Sys_Va_ListName, zSolaris_Sys_Va_ListList,
9811 apzSolaris_Sys_Va_ListMachs,
9812 SOLARIS_SYS_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9813 aSolaris_Sys_Va_ListTests, apzSolaris_Sys_Va_ListPatch, 0 },
9815 { zStatsswtchName, zStatsswtchList,
9817 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9818 aStatsswtchTests, apzStatsswtchPatch, 0 },
9820 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9821 apzStdio_Stdarg_HMachs,
9822 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9823 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9825 { zStdio_Va_ListName, zStdio_Va_ListList,
9826 apzStdio_Va_ListMachs,
9827 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9828 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9830 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9831 apzStdio_Va_List_ClientsMachs,
9832 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9833 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9835 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9836 apzStrict_Ansi_NotMachs,
9837 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9838 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9840 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9841 apzStrict_Ansi_Not_CtdMachs,
9842 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9843 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9845 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9846 apzStrict_Ansi_OnlyMachs,
9847 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9848 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9850 { zStruct_FileName, zStruct_FileList,
9851 apzStruct_FileMachs,
9852 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9853 aStruct_FileTests, apzStruct_FilePatch, 0 },
9855 { zStruct_SockaddrName, zStruct_SockaddrList,
9856 apzStruct_SockaddrMachs,
9857 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9858 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9860 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9861 apzSun_Auth_ProtoMachs,
9862 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9863 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9865 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9866 apzSun_Bogus_IfdefMachs,
9867 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9868 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9870 { zSun_CatmacroName, zSun_CatmacroList,
9871 apzSun_CatmacroMachs,
9872 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9873 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9875 { zSun_MallocName, zSun_MallocList,
9877 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9878 aSun_MallocTests, apzSun_MallocPatch, 0 },
9880 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9881 apzSun_Rusers_SemiMachs,
9882 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9883 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9885 { zSun_SignalName, zSun_SignalList,
9887 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9888 aSun_SignalTests, apzSun_SignalPatch, 0 },
9890 { zSunos_StrlenName, zSunos_StrlenList,
9891 apzSunos_StrlenMachs,
9892 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9893 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9895 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9896 apzSvr4_Disable_OptMachs,
9897 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9898 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9900 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9901 apzSvr4_GetcwdMachs,
9902 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9903 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9905 { zSvr4_ProfilName, zSvr4_ProfilList,
9906 apzSvr4_ProfilMachs,
9907 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9908 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9910 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9911 apzSvr4_Sighandler_TypeMachs,
9912 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9913 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9915 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9916 apzSvr4_Undeclared_GetrngeMachs,
9917 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9918 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9920 { zSysv68_StringName, zSysv68_StringList,
9921 apzSysv68_StringMachs,
9922 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9923 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9925 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9926 apzSysz_Stdlib_For_SunMachs,
9927 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9928 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9930 { zThread_KeywordName, zThread_KeywordList,
9931 apzThread_KeywordMachs,
9932 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9933 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9935 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9936 apzTinfo_CplusplusMachs,
9937 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9938 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
9940 { zUltrix_ConstName, zUltrix_ConstList,
9941 apzUltrix_ConstMachs,
9942 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9943 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
9945 { zUltrix_Const2Name, zUltrix_Const2List,
9946 apzUltrix_Const2Machs,
9947 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9948 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
9950 { zVa_I960_MacroName, zVa_I960_MacroList,
9951 apzVa_I960_MacroMachs,
9952 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9953 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
9955 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
9956 apzVms_Define_Can_Use_Extern_PrefixMachs,
9957 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9958 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
9960 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
9961 apzVms_Use_Pragma_Extern_ModelMachs,
9962 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9963 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
9965 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
9966 apzVms_Disable_Decc_String_BuiltinsMachs,
9967 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9968 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
9970 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
9971 apzVms_Use_Quoted_IncludeMachs,
9972 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9973 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
9975 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
9976 apzVms_Add_Missing_BracesMachs,
9977 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9978 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
9980 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
9981 apzVms_Do_Not_Redeclare_HostaliasMachs,
9982 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9983 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
9985 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
9986 apzVms_Decc_BuiltinMachs,
9987 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
9988 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
9990 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
9991 apzVms_No_64bit_GetoptMachs,
9992 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9993 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
9995 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
9996 apzVms_Forward_Declare_StructMachs,
9997 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9998 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
10000 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
10001 apzVms_Use_Fast_SetjmpMachs,
10002 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10003 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
10005 { zVoid_NullName, zVoid_NullList,
10007 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10008 aVoid_NullTests, apzVoid_NullPatch, 0 },
10010 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
10011 apzVxworks_Gcc_ProblemMachs,
10012 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
10013 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
10015 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
10016 apzVxworks_Needs_VxtypesMachs,
10017 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10018 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
10020 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
10021 apzVxworks_Needs_VxworksMachs,
10022 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
10023 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
10025 { zVxworks_TimeName, zVxworks_TimeList,
10026 apzVxworks_TimeMachs,
10027 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10028 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
10030 { zX11_ClassName, zX11_ClassList,
10032 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10033 aX11_ClassTests, apzX11_ClassPatch, 0 },
10035 { zX11_Class_UsageName, zX11_Class_UsageList,
10036 apzX11_Class_UsageMachs,
10037 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10038 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
10040 { zX11_NewName, zX11_NewList,
10042 X11_NEW_TEST_CT, FD_MACH_ONLY,
10043 aX11_NewTests, apzX11_NewPatch, 0 },
10045 { zX11_SprintfName, zX11_SprintfList,
10046 apzX11_SprintfMachs,
10047 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10048 aX11_SprintfTests, apzX11_SprintfPatch, 0 }