1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Sunday June 8, 2008 at 09:19:13 AM PDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sun Jun 8 09:19:13 PDT 2008
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 177 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 /* * * * * * * * * * * * * * * * * * * * * * * * * *
42 * Description of Aab_Aix_Stdio fix
44 tSCC zAab_Aix_StdioName[] =
48 * File name selection pattern
50 tSCC zAab_Aix_StdioList[] =
53 * Machine/OS name selection pattern
55 tSCC* apzAab_Aix_StdioMachs[] = {
60 * content selection pattern - do fix if pattern found
62 tSCC zAab_Aix_StdioSelect0[] =
63 "define fopen fopen64";
65 #define AAB_AIX_STDIO_TEST_CT 1
66 static tTestDesc aAab_Aix_StdioTests[] = {
67 { TT_EGREP, zAab_Aix_StdioSelect0, (regex_t*)NULL }, };
70 * Fix Command Arguments for Aab_Aix_Stdio
72 static const char* apzAab_Aix_StdioPatch[] = {
76 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
77 #define __need__aix_stdio_h_fix\n\
78 #ifdef __need__aix_stdio_h_fix\n\
85 /* Alias the symbols using asm */\n\
87 extern int fgetpos(FILE *, fpos64_t *) __asm__(\"fgetpos64\");\n\
88 extern FILE *fopen(const char *, const char *) __asm__(\"fopen64\");\n\
89 extern FILE *freopen(const char *, const char *, FILE *) __asm__(\"freopen64\");\n\
90 extern int fseeko(FILE *, off64_t, int) __asm__(\"fseeko64\");\n\
91 extern int fsetpos(FILE *, const fpos64_t *) __asm__(\"fsetpos64\");\n\
92 extern off64_t ftello(FILE *) __asm__(\"ftello64\");\n\
98 /* * * * * * * * * * * * * * * * * * * * * * * * * *
100 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
102 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
103 "AAB_darwin7_9_long_double_funcs";
106 * File name selection pattern
108 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
109 "architecture/ppc/math.h\0";
111 * Machine/OS name selection pattern
113 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
118 * content bypass pattern - skip fix if pattern found
120 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
123 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
124 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
125 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
128 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
130 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
131 "/* This file prototypes the long double functions available on Mac OS\n\
134 # undef __APPLE_CC__\n\
135 # define __APPLE_CC__ 1345\n\
136 # include_next <architecture/ppc/math.h>\n\
137 # undef __APPLE_CC__\n\
138 # define __APPLE_CC__ 1\n\
139 # ifndef __LIBMLDBL_COMPAT\n\
140 # ifdef __LONG_DOUBLE_128__\n\
141 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
143 # define __LIBMLDBL_COMPAT(sym)\n\
144 # endif /* __LONG_DOUBLE_128__ */\n\
145 # endif /* __LIBMLDBL_COMPAT */\n\
146 # ifdef __cplusplus\n\
149 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
150 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
151 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
152 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
153 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
154 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
155 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
156 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
157 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
158 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
159 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
160 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
161 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
162 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
163 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
164 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
165 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
166 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
167 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
168 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
169 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
170 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
171 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
172 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
173 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
174 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
175 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
176 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
177 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
178 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
179 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
180 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
181 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
182 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
183 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
184 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
185 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
186 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
187 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
188 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
189 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
190 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
191 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
192 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
193 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
194 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
195 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
196 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
197 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
198 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
199 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
200 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
201 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
202 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
203 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
204 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
205 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
206 # ifdef __cplusplus\n\
209 #endif /* __MATH__ */",
212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
214 * Description of Aab_Darwin7_9_Long_Double_Funcs_2 fix
216 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
217 "AAB_darwin7_9_long_double_funcs_2";
220 * File name selection pattern
222 tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
225 * Machine/OS name selection pattern
227 tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
232 * content selection pattern - do fix if pattern found
234 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
235 "#include[ \\t]+\\\"";
237 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
238 static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
239 { TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
242 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
244 static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
247 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
250 /* * * * * * * * * * * * * * * * * * * * * * * * * *
252 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
254 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
255 "AAB_fd_zero_asm_posix_types_h";
258 * File name selection pattern
260 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
261 "asm/posix_types.h\0";
263 * Machine/OS name selection pattern
265 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
266 "i[34567]86-*-linux*",
270 * content bypass pattern - skip fix if pattern found
272 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
274 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
276 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
279 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
280 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
281 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
282 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
283 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
286 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
288 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
289 "/* This file fixes a bug in the __FD_ZERO macro\n\
290 for older versions of the Linux kernel. */\n\
291 #ifndef _POSIX_TYPES_H_WRAPPER\n\
292 #include <features.h>\n\
293 #include_next <asm/posix_types.h>\n\n\
294 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
296 #define __FD_ZERO(fdsetp) \\\n\
298 int __d0, __d1; \\\n\
299 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
300 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
301 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
302 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
305 #define _POSIX_TYPES_H_WRAPPER\n\
306 #endif /* _POSIX_TYPES_H_WRAPPER */",
309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
311 * Description of Aab_Fd_Zero_Gnu_Types_H fix
313 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
314 "AAB_fd_zero_gnu_types_h";
317 * File name selection pattern
319 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
322 * Machine/OS name selection pattern
324 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
325 "i[34567]86-*-linux*",
327 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
328 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
331 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
333 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
334 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
335 #ifndef _TYPES_H_WRAPPER\n\
336 #include <features.h>\n\
337 #include_next <gnu/types.h>\n\n\
338 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
340 # define __FD_ZERO(fdsetp) \\\n\
342 int __d0, __d1; \\\n\
343 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
344 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
345 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
346 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
349 #define _TYPES_H_WRAPPER\n\
350 #endif /* _TYPES_H_WRAPPER */",
353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
355 * Description of Aab_Fd_Zero_Selectbits_H fix
357 tSCC zAab_Fd_Zero_Selectbits_HName[] =
358 "AAB_fd_zero_selectbits_h";
361 * File name selection pattern
363 tSCC zAab_Fd_Zero_Selectbits_HList[] =
366 * Machine/OS name selection pattern
368 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
369 "i[34567]86-*-linux*",
371 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
372 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
375 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
377 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
378 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
379 #ifndef _SELECTBITS_H_WRAPPER\n\
380 #include <features.h>\n\
381 #include_next <selectbits.h>\n\n\
382 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
383 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
384 && __GLIBC_MINOR__ == 0\n\
386 #define __FD_ZERO(fdsetp) \\\\\n\
388 int __d0, __d1; \\\\\n\
389 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
390 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
391 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
392 / sizeof (__fd_mask)), \\\\\n\
393 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
394 : \"memory\"); \\\\\n\
397 #define _SELECTBITS_H_WRAPPER\n\
398 #endif /* _SELECTBITS_H_WRAPPER */",
401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
403 * Description of Aab_Solaris_Sys_Varargs_H fix
405 tSCC zAab_Solaris_Sys_Varargs_HName[] =
406 "AAB_solaris_sys_varargs_h";
409 * File name selection pattern
411 tSCC zAab_Solaris_Sys_Varargs_HList[] =
414 * Machine/OS name selection pattern
416 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
419 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
420 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
423 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
425 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
427 #include <stdarg.h>\n\
429 #include <varargs.h>\n\
433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
435 * Description of Aab_Sun_Memcpy fix
437 tSCC zAab_Sun_MemcpyName[] =
441 * File name selection pattern
443 tSCC zAab_Sun_MemcpyList[] =
446 * Machine/OS name selection pattern
448 #define apzAab_Sun_MemcpyMachs (const char**)NULL
451 * content selection pattern - do fix if pattern found
453 tSCC zAab_Sun_MemcpySelect0[] =
454 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
456 #define AAB_SUN_MEMCPY_TEST_CT 1
457 static tTestDesc aAab_Sun_MemcpyTests[] = {
458 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
461 * Fix Command Arguments for Aab_Sun_Memcpy
463 static const char* apzAab_Sun_MemcpyPatch[] = {
464 "/* This file was generated by fixincludes */\n\
465 #ifndef __memory_h__\n\
466 #define __memory_h__\n\n\
468 extern void *memccpy();\n\
469 extern void *memchr();\n\
470 extern void *memcpy();\n\
471 extern void *memset();\n\
473 extern char *memccpy();\n\
474 extern char *memchr();\n\
475 extern char *memcpy();\n\
476 extern char *memset();\n\
477 #endif /* __STDC__ */\n\n\
478 extern int memcmp();\n\n\
479 #endif /* __memory_h__ */",
482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
484 * Description of Aix_Pthread fix
486 tSCC zAix_PthreadName[] =
490 * File name selection pattern
492 tSCC zAix_PthreadList[] =
495 * Machine/OS name selection pattern
497 #define apzAix_PthreadMachs (const char**)NULL
500 * content selection pattern - do fix if pattern found
502 tSCC zAix_PthreadSelect0[] =
503 "(#define [A-Za-z_0-9]+)(\\\\\n\
507 #define AIX_PTHREAD_TEST_CT 1
508 static tTestDesc aAix_PthreadTests[] = {
509 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
512 * Fix Command Arguments for Aix_Pthread
514 static const char* apzAix_PthreadPatch[] = {
519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
521 * Description of Aix_Sysmachine fix
523 tSCC zAix_SysmachineName[] =
527 * File name selection pattern
529 tSCC zAix_SysmachineList[] =
532 * Machine/OS name selection pattern
534 #define apzAix_SysmachineMachs (const char**)NULL
537 * content selection pattern - do fix if pattern found
539 tSCC zAix_SysmachineSelect0[] =
542 #define AIX_SYSMACHINE_TEST_CT 1
543 static tTestDesc aAix_SysmachineTests[] = {
544 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
547 * Fix Command Arguments for Aix_Sysmachine
549 static const char* apzAix_SysmachinePatch[] = {
554 /* * * * * * * * * * * * * * * * * * * * * * * * * *
556 * Description of Aix_Syswait fix
558 tSCC zAix_SyswaitName[] =
562 * File name selection pattern
564 tSCC zAix_SyswaitList[] =
567 * Machine/OS name selection pattern
569 #define apzAix_SyswaitMachs (const char**)NULL
572 * content selection pattern - do fix if pattern found
574 tSCC zAix_SyswaitSelect0[] =
575 "^extern pid_t wait3\\(\\);\n";
576 tSCC zAix_SyswaitSelect1[] =
579 #define AIX_SYSWAIT_TEST_CT 2
580 static tTestDesc aAix_SyswaitTests[] = {
581 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
582 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
585 * Fix Command Arguments for Aix_Syswait
587 static const char* apzAix_SyswaitPatch[] = {
593 /* * * * * * * * * * * * * * * * * * * * * * * * * *
595 * Description of Aix_Syswait_2 fix
597 tSCC zAix_Syswait_2Name[] =
601 * File name selection pattern
603 tSCC zAix_Syswait_2List[] =
606 * Machine/OS name selection pattern
608 #define apzAix_Syswait_2Machs (const char**)NULL
611 * content selection pattern - do fix if pattern found
613 tSCC zAix_Syswait_2Select0[] =
614 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
616 #define AIX_SYSWAIT_2_TEST_CT 1
617 static tTestDesc aAix_Syswait_2Tests[] = {
618 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
621 * Fix Command Arguments for Aix_Syswait_2
623 static const char* apzAix_Syswait_2Patch[] = {
628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
630 * Description of Aix_Volatile fix
632 tSCC zAix_VolatileName[] =
636 * File name selection pattern
638 tSCC zAix_VolatileList[] =
641 * Machine/OS name selection pattern
643 #define apzAix_VolatileMachs (const char**)NULL
646 * content selection pattern - do fix if pattern found
648 tSCC zAix_VolatileSelect0[] =
649 "typedef volatile int sig_atomic_t";
651 #define AIX_VOLATILE_TEST_CT 1
652 static tTestDesc aAix_VolatileTests[] = {
653 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
656 * Fix Command Arguments for Aix_Volatile
658 static const char* apzAix_VolatilePatch[] = {
660 "typedef int sig_atomic_t",
663 /* * * * * * * * * * * * * * * * * * * * * * * * * *
665 * Description of Alpha___Assert fix
667 tSCC zAlpha___AssertName[] =
671 * File name selection pattern
673 tSCC zAlpha___AssertList[] =
676 * Machine/OS name selection pattern
678 #define apzAlpha___AssertMachs (const char**)NULL
681 * content selection pattern - do fix if pattern found
683 tSCC zAlpha___AssertSelect0[] =
684 "__assert\\(char \\*, char \\*, int\\)";
686 #define ALPHA___ASSERT_TEST_CT 1
687 static tTestDesc aAlpha___AssertTests[] = {
688 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
691 * Fix Command Arguments for Alpha___Assert
693 static const char* apzAlpha___AssertPatch[] = {
695 "__assert(const char *, const char *, int)",
698 /* * * * * * * * * * * * * * * * * * * * * * * * * *
700 * Description of Alpha___Extern_Prefix fix
702 tSCC zAlpha___Extern_PrefixName[] =
703 "alpha___extern_prefix";
706 * File name selection pattern
708 #define zAlpha___Extern_PrefixList (char*)NULL
710 * Machine/OS name selection pattern
712 tSCC* apzAlpha___Extern_PrefixMachs[] = {
717 * content selection pattern - do fix if pattern found
719 tSCC zAlpha___Extern_PrefixSelect0[] =
720 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
721 (#[ \t]*pragma[ \t]*extern_prefix.*)";
723 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
724 static tTestDesc aAlpha___Extern_PrefixTests[] = {
725 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
728 * Fix Command Arguments for Alpha___Extern_Prefix
730 static const char* apzAlpha___Extern_PrefixPatch[] = {
732 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
736 /* * * * * * * * * * * * * * * * * * * * * * * * * *
738 * Description of Alpha___Extern_Prefix_Standards fix
740 tSCC zAlpha___Extern_Prefix_StandardsName[] =
741 "alpha___extern_prefix_standards";
744 * File name selection pattern
746 tSCC zAlpha___Extern_Prefix_StandardsList[] =
749 * Machine/OS name selection pattern
751 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
756 * content selection pattern - do fix if pattern found
758 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
759 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
761 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
762 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
763 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
766 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
768 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
770 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
773 /* * * * * * * * * * * * * * * * * * * * * * * * * *
775 * Description of Alpha___Extern_Prefix_Sys_Stat fix
777 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
778 "alpha___extern_prefix_sys_stat";
781 * File name selection pattern
783 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
784 "sys/stat.h\0sys/mount.h\0";
786 * Machine/OS name selection pattern
788 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
793 * content selection pattern - do fix if pattern found
795 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
796 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
798 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
799 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
800 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
803 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
805 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
807 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
812 * Description of Alpha_Assert fix
814 tSCC zAlpha_AssertName[] =
818 * File name selection pattern
820 tSCC zAlpha_AssertList[] =
823 * Machine/OS name selection pattern
825 #define apzAlpha_AssertMachs (const char**)NULL
828 * content selection pattern - do fix if pattern found
830 tSCC zAlpha_AssertSelect0[] =
831 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
833 #define ALPHA_ASSERT_TEST_CT 1
834 static tTestDesc aAlpha_AssertTests[] = {
835 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
838 * Fix Command Arguments for Alpha_Assert
840 static const char* apzAlpha_AssertPatch[] = {
845 /* * * * * * * * * * * * * * * * * * * * * * * * * *
847 * Description of Alpha_Bad_Lval fix
849 tSCC zAlpha_Bad_LvalName[] =
853 * File name selection pattern
855 #define zAlpha_Bad_LvalList (char*)NULL
857 * Machine/OS name selection pattern
859 tSCC* apzAlpha_Bad_LvalMachs[] = {
864 * content selection pattern - do fix if pattern found
866 tSCC zAlpha_Bad_LvalSelect0[] =
867 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
869 #define ALPHA_BAD_LVAL_TEST_CT 1
870 static tTestDesc aAlpha_Bad_LvalTests[] = {
871 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
874 * Fix Command Arguments for Alpha_Bad_Lval
876 static const char* apzAlpha_Bad_LvalPatch[] = { "sed",
877 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
880 /* * * * * * * * * * * * * * * * * * * * * * * * * *
882 * Description of Alpha_Getopt fix
884 tSCC zAlpha_GetoptName[] =
888 * File name selection pattern
890 tSCC zAlpha_GetoptList[] =
891 "stdio.h\0stdlib.h\0";
893 * Machine/OS name selection pattern
895 #define apzAlpha_GetoptMachs (const char**)NULL
898 * content selection pattern - do fix if pattern found
900 tSCC zAlpha_GetoptSelect0[] =
901 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
903 #define ALPHA_GETOPT_TEST_CT 1
904 static tTestDesc aAlpha_GetoptTests[] = {
905 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
908 * Fix Command Arguments for Alpha_Getopt
910 static const char* apzAlpha_GetoptPatch[] = {
912 "getopt(int, char *const[], const char *)",
915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
917 * Description of Alpha_Parens fix
919 tSCC zAlpha_ParensName[] =
923 * File name selection pattern
925 tSCC zAlpha_ParensList[] =
928 * Machine/OS name selection pattern
930 #define apzAlpha_ParensMachs (const char**)NULL
933 * content selection pattern - do fix if pattern found
935 tSCC zAlpha_ParensSelect0[] =
936 "#ifndef\\(__mips64\\)";
938 #define ALPHA_PARENS_TEST_CT 1
939 static tTestDesc aAlpha_ParensTests[] = {
940 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
943 * Fix Command Arguments for Alpha_Parens
945 static const char* apzAlpha_ParensPatch[] = {
950 /* * * * * * * * * * * * * * * * * * * * * * * * * *
952 * Description of Alpha_Pthread fix
954 tSCC zAlpha_PthreadName[] =
958 * File name selection pattern
960 tSCC zAlpha_PthreadList[] =
963 * Machine/OS name selection pattern
965 tSCC* apzAlpha_PthreadMachs[] = {
970 * content selection pattern - do fix if pattern found
972 tSCC zAlpha_PthreadSelect0[] =
973 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
974 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
976 #define ALPHA_PTHREAD_TEST_CT 1
977 static tTestDesc aAlpha_PthreadTests[] = {
978 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
981 * Fix Command Arguments for Alpha_Pthread
983 static const char* apzAlpha_PthreadPatch[] = {
985 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
991 * Description of Alpha_Pthread_Gcc fix
993 tSCC zAlpha_Pthread_GccName[] =
997 * File name selection pattern
999 tSCC zAlpha_Pthread_GccList[] =
1002 * Machine/OS name selection pattern
1004 tSCC* apzAlpha_Pthread_GccMachs[] = {
1006 (const char*)NULL };
1009 * content selection pattern - do fix if pattern found
1011 tSCC zAlpha_Pthread_GccSelect0[] =
1013 # error <pthread.h>: unrecognized compiler.";
1015 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1016 static tTestDesc aAlpha_Pthread_GccTests[] = {
1017 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1020 * Fix Command Arguments for Alpha_Pthread_Gcc
1022 static const char* apzAlpha_Pthread_GccPatch[] = {
1024 "#elif defined (__GNUC__)\n\
1025 # define _PTHREAD_ENV_GCC\n\
1029 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1031 * Description of Alpha_Pthread_Init fix
1033 tSCC zAlpha_Pthread_InitName[] =
1034 "alpha_pthread_init";
1037 * File name selection pattern
1039 tSCC zAlpha_Pthread_InitList[] =
1042 * Machine/OS name selection pattern
1044 tSCC* apzAlpha_Pthread_InitMachs[] = {
1046 (const char*)NULL };
1049 * content selection pattern - do fix if pattern found
1051 tSCC zAlpha_Pthread_InitSelect0[] =
1052 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1054 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1055 static tTestDesc aAlpha_Pthread_InitTests[] = {
1056 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1059 * Fix Command Arguments for Alpha_Pthread_Init
1061 static const char* apzAlpha_Pthread_InitPatch[] = { "sed",
1062 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1063 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1064 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1065 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1066 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1067 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1070 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1072 * Description of Alpha_Sbrk fix
1074 tSCC zAlpha_SbrkName[] =
1078 * File name selection pattern
1080 tSCC zAlpha_SbrkList[] =
1083 * Machine/OS name selection pattern
1085 #define apzAlpha_SbrkMachs (const char**)NULL
1088 * content selection pattern - do fix if pattern found
1090 tSCC zAlpha_SbrkSelect0[] =
1091 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1093 #define ALPHA_SBRK_TEST_CT 1
1094 static tTestDesc aAlpha_SbrkTests[] = {
1095 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1098 * Fix Command Arguments for Alpha_Sbrk
1100 static const char* apzAlpha_SbrkPatch[] = {
1105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1107 * Description of Alpha_Wchar fix
1109 tSCC zAlpha_WcharName[] =
1113 * File name selection pattern
1115 tSCC zAlpha_WcharList[] =
1118 * Machine/OS name selection pattern
1120 tSCC* apzAlpha_WcharMachs[] = {
1122 (const char*)NULL };
1125 * content selection pattern - do fix if pattern found
1127 tSCC zAlpha_WcharSelect0[] =
1128 "#define wcstok wcstok_r";
1130 #define ALPHA_WCHAR_TEST_CT 1
1131 static tTestDesc aAlpha_WcharTests[] = {
1132 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1135 * Fix Command Arguments for Alpha_Wchar
1137 static const char* apzAlpha_WcharPatch[] = { "sed",
1138 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1139 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1142 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1144 * Description of Avoid_Bool_Define fix
1146 tSCC zAvoid_Bool_DefineName[] =
1147 "avoid_bool_define";
1150 * File name selection pattern
1152 tSCC zAvoid_Bool_DefineList[] =
1153 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1155 * Machine/OS name selection pattern
1157 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1160 * content selection pattern - do fix if pattern found
1162 tSCC zAvoid_Bool_DefineSelect0[] =
1163 "#[ \t]*define[ \t]+bool[ \t]";
1166 * content bypass pattern - skip fix if pattern found
1168 tSCC zAvoid_Bool_DefineBypass0[] =
1171 #define AVOID_BOOL_DEFINE_TEST_CT 2
1172 static tTestDesc aAvoid_Bool_DefineTests[] = {
1173 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1174 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1177 * Fix Command Arguments for Avoid_Bool_Define
1179 static const char* apzAvoid_Bool_DefinePatch[] = {
1181 "#ifndef __cplusplus\n\
1184 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1187 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1189 * Description of Avoid_Bool_Type fix
1191 tSCC zAvoid_Bool_TypeName[] =
1195 * File name selection pattern
1197 tSCC zAvoid_Bool_TypeList[] =
1198 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1200 * Machine/OS name selection pattern
1202 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1205 * content selection pattern - do fix if pattern found
1207 tSCC zAvoid_Bool_TypeSelect0[] =
1208 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1211 * content bypass pattern - skip fix if pattern found
1213 tSCC zAvoid_Bool_TypeBypass0[] =
1216 #define AVOID_BOOL_TYPE_TEST_CT 2
1217 static tTestDesc aAvoid_Bool_TypeTests[] = {
1218 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1219 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1222 * Fix Command Arguments for Avoid_Bool_Type
1224 static const char* apzAvoid_Bool_TypePatch[] = {
1226 "#ifndef __cplusplus\n\
1231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1233 * Description of Avoid_Wchar_T_Type fix
1235 tSCC zAvoid_Wchar_T_TypeName[] =
1236 "avoid_wchar_t_type";
1239 * File name selection pattern
1241 #define zAvoid_Wchar_T_TypeList (char*)NULL
1243 * Machine/OS name selection pattern
1245 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1248 * content selection pattern - do fix if pattern found
1250 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1251 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1254 * content bypass pattern - skip fix if pattern found
1256 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1258 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1260 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1261 "XFree86: xc/lib/X11/Xlib\\.h";
1263 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1264 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1265 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1266 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1267 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1268 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1271 * Fix Command Arguments for Avoid_Wchar_T_Type
1273 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1275 "#ifndef __cplusplus\n\
1280 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1282 * Description of Bad_Struct_Term fix
1284 tSCC zBad_Struct_TermName[] =
1288 * File name selection pattern
1290 tSCC zBad_Struct_TermList[] =
1293 * Machine/OS name selection pattern
1295 #define apzBad_Struct_TermMachs (const char**)NULL
1298 * content selection pattern - do fix if pattern found
1300 tSCC zBad_Struct_TermSelect0[] =
1301 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1303 #define BAD_STRUCT_TERM_TEST_CT 1
1304 static tTestDesc aBad_Struct_TermTests[] = {
1305 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1308 * Fix Command Arguments for Bad_Struct_Term
1310 static const char* apzBad_Struct_TermPatch[] = {
1315 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1317 * Description of Badquote fix
1319 tSCC zBadquoteName[] =
1323 * File name selection pattern
1325 tSCC zBadquoteList[] =
1326 "sundev/vuid_event.h\0";
1328 * Machine/OS name selection pattern
1330 #define apzBadquoteMachs (const char**)NULL
1333 * content selection pattern - do fix if pattern found
1335 tSCC zBadquoteSelect0[] =
1338 #define BADQUOTE_TEST_CT 1
1339 static tTestDesc aBadquoteTests[] = {
1340 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1343 * Fix Command Arguments for Badquote
1345 static const char* apzBadquotePatch[] = {
1350 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1352 * Description of Broken_Assert_Stdio fix
1354 tSCC zBroken_Assert_StdioName[] =
1355 "broken_assert_stdio";
1358 * File name selection pattern
1360 tSCC zBroken_Assert_StdioList[] =
1363 * Machine/OS name selection pattern
1365 #define apzBroken_Assert_StdioMachs (const char**)NULL
1368 * content selection pattern - do fix if pattern found
1370 tSCC zBroken_Assert_StdioSelect0[] =
1374 * content bypass pattern - skip fix if pattern found
1376 tSCC zBroken_Assert_StdioBypass0[] =
1377 "include.*stdio\\.h";
1379 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1380 static tTestDesc aBroken_Assert_StdioTests[] = {
1381 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1382 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1385 * Fix Command Arguments for Broken_Assert_Stdio
1387 static const char* apzBroken_Assert_StdioPatch[] = {
1389 "#include <stdio.h>\n",
1392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1394 * Description of Broken_Assert_Stdlib fix
1396 tSCC zBroken_Assert_StdlibName[] =
1397 "broken_assert_stdlib";
1400 * File name selection pattern
1402 tSCC zBroken_Assert_StdlibList[] =
1405 * Machine/OS name selection pattern
1407 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1410 * content selection pattern - do fix if pattern found
1412 tSCC zBroken_Assert_StdlibSelect0[] =
1413 "exit *\\(|abort *\\(";
1416 * content bypass pattern - skip fix if pattern found
1418 tSCC zBroken_Assert_StdlibBypass0[] =
1419 "include.*stdlib\\.h";
1421 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1422 static tTestDesc aBroken_Assert_StdlibTests[] = {
1423 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1424 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1427 * Fix Command Arguments for Broken_Assert_Stdlib
1429 static const char* apzBroken_Assert_StdlibPatch[] = {
1431 "#ifdef __cplusplus\n\
1432 #include <stdlib.h>\n\
1436 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1438 * Description of Broken_Cabs fix
1440 tSCC zBroken_CabsName[] =
1444 * File name selection pattern
1446 tSCC zBroken_CabsList[] =
1447 "math.h\0architecture/*/math.h\0";
1449 * Machine/OS name selection pattern
1451 #define apzBroken_CabsMachs (const char**)NULL
1454 * content selection pattern - do fix if pattern found
1456 tSCC zBroken_CabsSelect0[] =
1457 "^extern[ \t]+double[ \t]+cabs";
1459 #define BROKEN_CABS_TEST_CT 1
1460 static tTestDesc aBroken_CabsTests[] = {
1461 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1464 * Fix Command Arguments for Broken_Cabs
1466 static const char* apzBroken_CabsPatch[] = { "sed",
1467 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1468 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1473 * Description of Broken_Nan fix
1475 tSCC zBroken_NanName[] =
1479 * File name selection pattern
1481 tSCC zBroken_NanList[] =
1482 "architecture/ppc/math.h\0architecture/*/math.h\0";
1484 * Machine/OS name selection pattern
1486 #define apzBroken_NanMachs (const char**)NULL
1489 * content selection pattern - do fix if pattern found
1491 tSCC zBroken_NanSelect0[] =
1492 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1495 * content bypass pattern - skip fix if pattern found
1497 tSCC zBroken_NanBypass0[] =
1500 #define BROKEN_NAN_TEST_CT 2
1501 static tTestDesc aBroken_NanTests[] = {
1502 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1503 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1506 * Fix Command Arguments for Broken_Nan
1508 static const char* apzBroken_NanPatch[] = {
1513 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1515 * Description of Bsd_Stdio_Attrs_Conflict fix
1517 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1518 "bsd_stdio_attrs_conflict";
1521 * File name selection pattern
1523 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1526 * Machine/OS name selection pattern
1528 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1531 (const char*)NULL };
1534 * content selection pattern - do fix if pattern found
1536 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1537 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1539 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1540 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1541 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1544 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1546 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1548 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1549 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1550 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1555 * Description of Ctrl_Quotes_Def fix
1557 tSCC zCtrl_Quotes_DefName[] =
1561 * File name selection pattern
1563 #define zCtrl_Quotes_DefList (char*)NULL
1565 * Machine/OS name selection pattern
1567 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1570 * content selection pattern - do fix if pattern found
1572 tSCC zCtrl_Quotes_DefSelect0[] =
1573 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1575 #define CTRL_QUOTES_DEF_TEST_CT 1
1576 static tTestDesc aCtrl_Quotes_DefTests[] = {
1577 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1580 * Fix Command Arguments for Ctrl_Quotes_Def
1582 static const char* apzCtrl_Quotes_DefPatch[] = {
1587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1589 * Description of Ctrl_Quotes_Use fix
1591 tSCC zCtrl_Quotes_UseName[] =
1595 * File name selection pattern
1597 #define zCtrl_Quotes_UseList (char*)NULL
1599 * Machine/OS name selection pattern
1601 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1604 * content selection pattern - do fix if pattern found
1606 tSCC zCtrl_Quotes_UseSelect0[] =
1607 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1609 #define CTRL_QUOTES_USE_TEST_CT 1
1610 static tTestDesc aCtrl_Quotes_UseTests[] = {
1611 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1614 * Fix Command Arguments for Ctrl_Quotes_Use
1616 static const char* apzCtrl_Quotes_UsePatch[] = {
1621 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1623 * Description of Cxx_Unready fix
1625 tSCC zCxx_UnreadyName[] =
1629 * File name selection pattern
1631 tSCC zCxx_UnreadyList[] =
1632 "sys/mman.h\0rpc/types.h\0";
1634 * Machine/OS name selection pattern
1636 #define apzCxx_UnreadyMachs (const char**)NULL
1639 * content selection pattern - do fix if pattern found
1641 tSCC zCxx_UnreadySelect0[] =
1645 * content bypass pattern - skip fix if pattern found
1647 tSCC zCxx_UnreadyBypass0[] =
1648 "\"C\"|__BEGIN_DECLS";
1650 #define CXX_UNREADY_TEST_CT 2
1651 static tTestDesc aCxx_UnreadyTests[] = {
1652 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1653 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1656 * Fix Command Arguments for Cxx_Unready
1658 static const char* apzCxx_UnreadyPatch[] = {
1660 "#ifdef __cplusplus\n\
1663 "#ifdef __cplusplus\n\
1668 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1670 * Description of Darwin_Externc fix
1672 tSCC zDarwin_ExterncName[] =
1676 * File name selection pattern
1678 tSCC zDarwin_ExterncList[] =
1679 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
1681 * Machine/OS name selection pattern
1683 tSCC* apzDarwin_ExterncMachs[] = {
1685 (const char*)NULL };
1688 * content bypass pattern - skip fix if pattern found
1690 tSCC zDarwin_ExterncBypass0[] =
1692 tSCC zDarwin_ExterncBypass1[] =
1695 #define DARWIN_EXTERNC_TEST_CT 2
1696 static tTestDesc aDarwin_ExterncTests[] = {
1697 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
1698 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
1701 * Fix Command Arguments for Darwin_Externc
1703 static const char* apzDarwin_ExterncPatch[] = {
1705 "#ifdef __cplusplus\n\
1708 "#ifdef __cplusplus\n\
1713 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1715 * Description of Darwin_Gcc4_Breakage fix
1717 tSCC zDarwin_Gcc4_BreakageName[] =
1718 "darwin_gcc4_breakage";
1721 * File name selection pattern
1723 tSCC zDarwin_Gcc4_BreakageList[] =
1724 "AvailabilityMacros.h\0";
1726 * Machine/OS name selection pattern
1728 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1730 (const char*)NULL };
1733 * content selection pattern - do fix if pattern found
1735 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1736 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1738 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1739 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1740 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1743 * Fix Command Arguments for Darwin_Gcc4_Breakage
1745 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1747 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1750 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1752 * Description of Darwin_Private_Extern fix
1754 tSCC zDarwin_Private_ExternName[] =
1755 "darwin_private_extern";
1758 * File name selection pattern
1760 tSCC zDarwin_Private_ExternList[] =
1763 * Machine/OS name selection pattern
1765 tSCC* apzDarwin_Private_ExternMachs[] = {
1767 (const char*)NULL };
1770 * content selection pattern - do fix if pattern found
1772 tSCC zDarwin_Private_ExternSelect0[] =
1773 "__private_extern__ [a-z_]+ _dyld_";
1775 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1776 static tTestDesc aDarwin_Private_ExternTests[] = {
1777 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1780 * Fix Command Arguments for Darwin_Private_Extern
1782 static const char* apzDarwin_Private_ExternPatch[] = {
1785 "__private_extern__",
1788 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1790 * Description of Dec_Intern_Asm fix
1792 tSCC zDec_Intern_AsmName[] =
1796 * File name selection pattern
1798 tSCC zDec_Intern_AsmList[] =
1801 * Machine/OS name selection pattern
1803 #define apzDec_Intern_AsmMachs (const char**)NULL
1804 #define DEC_INTERN_ASM_TEST_CT 0
1805 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1808 * Fix Command Arguments for Dec_Intern_Asm
1810 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1811 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1813 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1817 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1819 * Description of Djgpp_Wchar_H fix
1821 tSCC zDjgpp_Wchar_HName[] =
1825 * File name selection pattern
1827 #define zDjgpp_Wchar_HList (char*)NULL
1829 * Machine/OS name selection pattern
1831 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1834 * content selection pattern - do fix if pattern found
1836 tSCC zDjgpp_Wchar_HSelect0[] =
1840 * content bypass pattern - skip fix if pattern found
1842 tSCC zDjgpp_Wchar_HBypass0[] =
1845 #define DJGPP_WCHAR_H_TEST_CT 2
1846 static tTestDesc aDjgpp_Wchar_HTests[] = {
1847 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1848 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1851 * Fix Command Arguments for Djgpp_Wchar_H
1853 static const char* apzDjgpp_Wchar_HPatch[] = {
1856 #include <sys/djtypes.h>",
1857 "#include <stddef.h>",
1860 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1862 * Description of Ecd_Cursor fix
1864 tSCC zEcd_CursorName[] =
1868 * File name selection pattern
1870 tSCC zEcd_CursorList[] =
1871 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
1873 * Machine/OS name selection pattern
1875 #define apzEcd_CursorMachs (const char**)NULL
1878 * content selection pattern - do fix if pattern found
1880 tSCC zEcd_CursorSelect0[] =
1883 #define ECD_CURSOR_TEST_CT 1
1884 static tTestDesc aEcd_CursorTests[] = {
1885 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1888 * Fix Command Arguments for Ecd_Cursor
1890 static const char* apzEcd_CursorPatch[] = {
1895 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1897 * Description of Exception_Structure fix
1899 tSCC zException_StructureName[] =
1900 "exception_structure";
1903 * File name selection pattern
1905 tSCC zException_StructureList[] =
1908 * Machine/OS name selection pattern
1910 #define apzException_StructureMachs (const char**)NULL
1913 * content selection pattern - do fix if pattern found
1915 tSCC zException_StructureSelect0[] =
1919 * content bypass pattern - skip fix if pattern found
1921 tSCC zException_StructureBypass0[] =
1922 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
1924 #define EXCEPTION_STRUCTURE_TEST_CT 2
1925 static tTestDesc aException_StructureTests[] = {
1926 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
1927 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
1930 * Fix Command Arguments for Exception_Structure
1932 static const char* apzException_StructurePatch[] = {
1934 "struct exception;\n",
1937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1939 * Description of Freebsd_Gcc3_Breakage fix
1941 tSCC zFreebsd_Gcc3_BreakageName[] =
1942 "freebsd_gcc3_breakage";
1945 * File name selection pattern
1947 tSCC zFreebsd_Gcc3_BreakageList[] =
1950 * Machine/OS name selection pattern
1952 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
1954 (const char*)NULL };
1957 * content selection pattern - do fix if pattern found
1959 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
1960 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
1963 * content bypass pattern - skip fix if pattern found
1965 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
1966 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
1968 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
1969 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
1970 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
1971 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
1974 * Fix Command Arguments for Freebsd_Gcc3_Breakage
1976 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
1978 "%0 || __GNUC__ >= 3",
1981 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1983 * Description of Freebsd_Gcc4_Breakage fix
1985 tSCC zFreebsd_Gcc4_BreakageName[] =
1986 "freebsd_gcc4_breakage";
1989 * File name selection pattern
1991 tSCC zFreebsd_Gcc4_BreakageList[] =
1994 * Machine/OS name selection pattern
1996 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
1998 (const char*)NULL };
2001 * content selection pattern - do fix if pattern found
2003 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2004 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2006 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2007 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2008 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2011 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2013 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2015 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2018 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2020 * Description of Glibc_C99_Inline_1 fix
2022 tSCC zGlibc_C99_Inline_1Name[] =
2023 "glibc_c99_inline_1";
2026 * File name selection pattern
2028 tSCC zGlibc_C99_Inline_1List[] =
2029 "features.h\0*/features.h\0";
2031 * Machine/OS name selection pattern
2033 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2036 * content selection pattern - do fix if pattern found
2038 tSCC zGlibc_C99_Inline_1Select0[] =
2039 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2041 #define GLIBC_C99_INLINE_1_TEST_CT 1
2042 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2043 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2046 * Fix Command Arguments for Glibc_C99_Inline_1
2048 static const char* apzGlibc_C99_Inline_1Patch[] = {
2050 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2055 * Description of Glibc_C99_Inline_1a fix
2057 tSCC zGlibc_C99_Inline_1aName[] =
2058 "glibc_c99_inline_1a";
2061 * File name selection pattern
2063 tSCC zGlibc_C99_Inline_1aList[] =
2064 "features.h\0*/features.h\0";
2066 * Machine/OS name selection pattern
2068 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2071 * content selection pattern - do fix if pattern found
2073 tSCC zGlibc_C99_Inline_1aSelect0[] =
2074 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2075 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2077 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2078 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2079 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2082 * Fix Command Arguments for Glibc_C99_Inline_1a
2084 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2086 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2090 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2092 * Description of Glibc_C99_Inline_2 fix
2094 tSCC zGlibc_C99_Inline_2Name[] =
2095 "glibc_c99_inline_2";
2098 * File name selection pattern
2100 tSCC zGlibc_C99_Inline_2List[] =
2101 "sys/stat.h\0*/sys/stat.h\0";
2103 * Machine/OS name selection pattern
2105 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2108 * content selection pattern - do fix if pattern found
2110 tSCC zGlibc_C99_Inline_2Select0[] =
2111 "extern __inline__ int";
2113 #define GLIBC_C99_INLINE_2_TEST_CT 1
2114 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2115 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2118 * Fix Command Arguments for Glibc_C99_Inline_2
2120 static const char* apzGlibc_C99_Inline_2Patch[] = { "sed",
2121 "-e", "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2124 __inline__ int \\1/",
2125 "-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2128 __inline__ int __REDIRECT\\1 (\\2/",
2129 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
2135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2137 * Description of Glibc_C99_Inline_3 fix
2139 tSCC zGlibc_C99_Inline_3Name[] =
2140 "glibc_c99_inline_3";
2143 * File name selection pattern
2145 tSCC zGlibc_C99_Inline_3List[] =
2146 "bits/string2.h\0*/bits/string2.h\0";
2148 * Machine/OS name selection pattern
2150 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2153 * content selection pattern - do fix if pattern found
2155 tSCC zGlibc_C99_Inline_3Select0[] =
2159 * content bypass pattern - skip fix if pattern found
2161 tSCC zGlibc_C99_Inline_3Bypass0[] =
2162 "__extern_inline|__GNU_STDC_INLINE__";
2164 #define GLIBC_C99_INLINE_3_TEST_CT 2
2165 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2166 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
2167 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
2170 * Fix Command Arguments for Glibc_C99_Inline_3
2172 static const char* apzGlibc_C99_Inline_3Patch[] = {
2174 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
2175 "^# ifdef __cplusplus$",
2178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2180 * Description of Glibc_C99_Inline_4 fix
2182 tSCC zGlibc_C99_Inline_4Name[] =
2183 "glibc_c99_inline_4";
2186 * File name selection pattern
2188 tSCC zGlibc_C99_Inline_4List[] =
2189 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
2191 * Machine/OS name selection pattern
2193 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2196 * content selection pattern - do fix if pattern found
2198 tSCC zGlibc_C99_Inline_4Select0[] =
2199 "(^| )extern __inline";
2202 * content bypass pattern - skip fix if pattern found
2204 tSCC zGlibc_C99_Inline_4Bypass0[] =
2205 "__extern_inline|__gnu_inline__";
2207 #define GLIBC_C99_INLINE_4_TEST_CT 2
2208 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2209 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
2210 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
2213 * Fix Command Arguments for Glibc_C99_Inline_4
2215 static const char* apzGlibc_C99_Inline_4Patch[] = {
2217 "%0 __attribute__ ((__gnu_inline__))",
2220 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2222 * Description of Glibc_Mutex_Init fix
2224 tSCC zGlibc_Mutex_InitName[] =
2228 * File name selection pattern
2230 tSCC zGlibc_Mutex_InitList[] =
2233 * Machine/OS name selection pattern
2235 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2238 * content selection pattern - do fix if pattern found
2240 tSCC zGlibc_Mutex_InitSelect0[] =
2241 "\\{ *\\{ *0, *\\} *\\}";
2243 #define GLIBC_MUTEX_INIT_TEST_CT 1
2244 static tTestDesc aGlibc_Mutex_InitTests[] = {
2245 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2248 * Fix Command Arguments for Glibc_Mutex_Init
2250 static const char* apzGlibc_Mutex_InitPatch[] = { "sed",
2251 "-e", "/define[ \t]\\+PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/,+1s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/",
2252 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2253 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2254 "-e", "/define[ \t]\\+PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\/N;s/^[ \t]*#[ \t]*\\(define[ \t]\\+PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\\\)\\n[ \t]*{ { 0, } }/# if __WORDSIZE == 64\\n# \\1\\n { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\n# else\\n# \\1\\n { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\n# endif/",
2255 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2256 "-e", "/define[ \t]\\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2259 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2261 * Description of Gnu_Types fix
2263 tSCC zGnu_TypesName[] =
2267 * File name selection pattern
2269 tSCC zGnu_TypesList[] =
2270 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2272 * Machine/OS name selection pattern
2274 tSCC* apzGnu_TypesMachs[] = {
2275 "*-*-solaris2.1[0-9]*",
2276 (const char*)NULL };
2279 * content selection pattern - do fix if pattern found
2281 tSCC zGnu_TypesSelect0[] =
2282 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2285 * content bypass pattern - skip fix if pattern found
2287 tSCC zGnu_TypesBypass0[] =
2288 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2290 #define GNU_TYPES_TEST_CT 2
2291 static tTestDesc aGnu_TypesTests[] = {
2292 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2293 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2296 * Fix Command Arguments for Gnu_Types
2298 static const char* apzGnu_TypesPatch[] = {
2302 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2304 * Description of Hp_Inline fix
2306 tSCC zHp_InlineName[] =
2310 * File name selection pattern
2312 tSCC zHp_InlineList[] =
2313 "sys/spinlock.h\0machine/machparam.h\0";
2315 * Machine/OS name selection pattern
2317 #define apzHp_InlineMachs (const char**)NULL
2320 * content selection pattern - do fix if pattern found
2322 tSCC zHp_InlineSelect0[] =
2323 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2325 #define HP_INLINE_TEST_CT 1
2326 static tTestDesc aHp_InlineTests[] = {
2327 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2330 * Fix Command Arguments for Hp_Inline
2332 static const char* apzHp_InlinePatch[] = {
2335 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2340 * Description of Hp_Sysfile fix
2342 tSCC zHp_SysfileName[] =
2346 * File name selection pattern
2348 tSCC zHp_SysfileList[] =
2351 * Machine/OS name selection pattern
2353 #define apzHp_SysfileMachs (const char**)NULL
2356 * content selection pattern - do fix if pattern found
2358 tSCC zHp_SysfileSelect0[] =
2361 #define HP_SYSFILE_TEST_CT 1
2362 static tTestDesc aHp_SysfileTests[] = {
2363 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2366 * Fix Command Arguments for Hp_Sysfile
2368 static const char* apzHp_SysfilePatch[] = {
2370 "(struct file *, ...)",
2374 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2376 * Description of Hpux10_Cpp_Pow_Inline fix
2378 tSCC zHpux10_Cpp_Pow_InlineName[] =
2379 "hpux10_cpp_pow_inline";
2382 * File name selection pattern
2384 tSCC zHpux10_Cpp_Pow_InlineList[] =
2385 "fixinc-test-limits.h\0math.h\0";
2387 * Machine/OS name selection pattern
2389 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2392 * content selection pattern - do fix if pattern found
2394 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2395 "^# +ifdef +__cplusplus\n\
2397 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2398 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2400 +extern +\"C\" +\\{\n\
2404 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2405 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2406 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2409 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2411 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2416 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2418 * Description of Hpux11_Cpp_Pow_Inline fix
2420 tSCC zHpux11_Cpp_Pow_InlineName[] =
2421 "hpux11_cpp_pow_inline";
2424 * File name selection pattern
2426 tSCC zHpux11_Cpp_Pow_InlineList[] =
2429 * Machine/OS name selection pattern
2431 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2434 * content selection pattern - do fix if pattern found
2436 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2437 " +inline double pow\\(double d,int expon\\) \\{\n\
2438 +return pow\\(d, \\(double\\)expon\\);\n\
2441 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2442 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2443 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2446 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2448 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2455 * Description of Hppa_Hpux_Fp_Macros fix
2457 tSCC zHppa_Hpux_Fp_MacrosName[] =
2458 "hppa_hpux_fp_macros";
2461 * File name selection pattern
2463 tSCC zHppa_Hpux_Fp_MacrosList[] =
2466 * Machine/OS name selection pattern
2468 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
2470 (const char*)NULL };
2473 * content selection pattern - do fix if pattern found
2475 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
2476 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
2477 #[ \t]*define[ \t]*FP_ZERO.*\n\
2478 #[ \t]*define[ \t]*FP_INFINITE.*\n\
2479 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
2480 #[ \t]*define[ \t]*FP_NAN.*\n";
2482 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
2483 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
2484 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
2487 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
2489 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
2491 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
2492 #if defined(_INCLUDE_HPUX_SOURCE) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
2494 #ifdef _INCLUDE_HPUX_SOURCE\n",
2497 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2499 * Description of Hpux10_Ctype_Declarations1 fix
2501 tSCC zHpux10_Ctype_Declarations1Name[] =
2502 "hpux10_ctype_declarations1";
2505 * File name selection pattern
2507 tSCC zHpux10_Ctype_Declarations1List[] =
2510 * Machine/OS name selection pattern
2512 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2515 * content selection pattern - do fix if pattern found
2517 tSCC zHpux10_Ctype_Declarations1Select0[] =
2518 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2521 * content bypass pattern - skip fix if pattern found
2523 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2524 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2526 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2527 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2528 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2529 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2532 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2534 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2536 "#ifdef _PROTOTYPES\n\
2537 extern int __tolower(int);\n\
2538 extern int __toupper(int);\n\
2539 #else /* NOT _PROTOTYPES */\n\
2540 extern int __tolower();\n\
2541 extern int __toupper();\n\
2542 #endif /* _PROTOTYPES */\n\n\
2546 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2548 * Description of Hpux10_Ctype_Declarations2 fix
2550 tSCC zHpux10_Ctype_Declarations2Name[] =
2551 "hpux10_ctype_declarations2";
2554 * File name selection pattern
2556 tSCC zHpux10_Ctype_Declarations2List[] =
2559 * Machine/OS name selection pattern
2561 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2564 * content selection pattern - do fix if pattern found
2566 tSCC zHpux10_Ctype_Declarations2Select0[] =
2567 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2570 * content bypass pattern - skip fix if pattern found
2572 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2573 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2575 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2576 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2577 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2578 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2581 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2583 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2586 #ifdef _PROTOTYPES\n\
2587 extern int _isalnum(int);\n\
2588 extern int _isalpha(int);\n\
2589 extern int _iscntrl(int);\n\
2590 extern int _isdigit(int);\n\
2591 extern int _isgraph(int);\n\
2592 extern int _islower(int);\n\
2593 extern int _isprint(int);\n\
2594 extern int _ispunct(int);\n\
2595 extern int _isspace(int);\n\
2596 extern int _isupper(int);\n\
2597 extern int _isxdigit(int);\n\
2598 # else /* not _PROTOTYPES */\n\
2599 extern int _isalnum();\n\
2600 extern int _isalpha();\n\
2601 extern int _iscntrl();\n\
2602 extern int _isdigit();\n\
2603 extern int _isgraph();\n\
2604 extern int _islower();\n\
2605 extern int _isprint();\n\
2606 extern int _ispunct();\n\
2607 extern int _isspace();\n\
2608 extern int _isupper();\n\
2609 extern int _isxdigit();\n\
2610 #endif /* _PROTOTYPES */\n",
2613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2615 * Description of Hpux10_Stdio_Declarations fix
2617 tSCC zHpux10_Stdio_DeclarationsName[] =
2618 "hpux10_stdio_declarations";
2621 * File name selection pattern
2623 tSCC zHpux10_Stdio_DeclarationsList[] =
2626 * Machine/OS name selection pattern
2628 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2631 * content selection pattern - do fix if pattern found
2633 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2634 "^#[ \t]*define _iob[ \t]*__iob";
2637 * content bypass pattern - skip fix if pattern found
2639 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2640 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2642 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2643 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2644 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2645 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2648 * Fix Command Arguments for Hpux10_Stdio_Declarations
2650 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2653 # if defined(__STDC__) || defined(__cplusplus)\n\
2654 extern int snprintf(char *, size_t, const char *, ...);\n\
2655 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2656 # else /* not __STDC__) || __cplusplus */\n\
2657 extern int snprintf();\n\
2658 extern int vsnprintf();\n\
2659 # endif /* __STDC__) || __cplusplus */\n",
2662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2664 * Description of Hpux11_Abs fix
2666 tSCC zHpux11_AbsName[] =
2670 * File name selection pattern
2672 tSCC zHpux11_AbsList[] =
2675 * Machine/OS name selection pattern
2677 tSCC* apzHpux11_AbsMachs[] = {
2679 (const char*)NULL };
2682 * content selection pattern - do fix if pattern found
2684 tSCC zHpux11_AbsSelect0[] =
2685 "ifndef _MATH_INCLUDED";
2687 #define HPUX11_ABS_TEST_CT 1
2688 static tTestDesc aHpux11_AbsTests[] = {
2689 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2692 * Fix Command Arguments for Hpux11_Abs
2694 static const char* apzHpux11_AbsPatch[] = {
2696 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2701 * Description of Hpux11_Fabsf fix
2703 tSCC zHpux11_FabsfName[] =
2707 * File name selection pattern
2709 tSCC zHpux11_FabsfList[] =
2712 * Machine/OS name selection pattern
2714 #define apzHpux11_FabsfMachs (const char**)NULL
2717 * content selection pattern - do fix if pattern found
2719 tSCC zHpux11_FabsfSelect0[] =
2720 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2723 * content bypass pattern - skip fix if pattern found
2725 tSCC zHpux11_FabsfBypass0[] =
2728 #define HPUX11_FABSF_TEST_CT 2
2729 static tTestDesc aHpux11_FabsfTests[] = {
2730 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2731 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2734 * Fix Command Arguments for Hpux11_Fabsf
2736 static const char* apzHpux11_FabsfPatch[] = {
2738 "#ifndef __cplusplus\n\
2743 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2745 * Description of Hpux11_Size_T fix
2747 tSCC zHpux11_Size_TName[] =
2751 * File name selection pattern
2753 #define zHpux11_Size_TList (char*)NULL
2755 * Machine/OS name selection pattern
2757 tSCC* apzHpux11_Size_TMachs[] = {
2759 (const char*)NULL };
2762 * content selection pattern - do fix if pattern found
2764 tSCC zHpux11_Size_TSelect0[] =
2767 #define HPUX11_SIZE_T_TEST_CT 1
2768 static tTestDesc aHpux11_Size_TTests[] = {
2769 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2772 * Fix Command Arguments for Hpux11_Size_T
2774 static const char* apzHpux11_Size_TPatch[] = {
2779 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2781 * Description of Hpux11_Snprintf fix
2783 tSCC zHpux11_SnprintfName[] =
2787 * File name selection pattern
2789 tSCC zHpux11_SnprintfList[] =
2792 * Machine/OS name selection pattern
2794 #define apzHpux11_SnprintfMachs (const char**)NULL
2797 * content selection pattern - do fix if pattern found
2799 tSCC zHpux11_SnprintfSelect0[] =
2800 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2802 #define HPUX11_SNPRINTF_TEST_CT 1
2803 static tTestDesc aHpux11_SnprintfTests[] = {
2804 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2807 * Fix Command Arguments for Hpux11_Snprintf
2809 static const char* apzHpux11_SnprintfPatch[] = {
2814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2816 * Description of Hpux11_Uint32_C fix
2818 tSCC zHpux11_Uint32_CName[] =
2822 * File name selection pattern
2824 tSCC zHpux11_Uint32_CList[] =
2827 * Machine/OS name selection pattern
2829 #define apzHpux11_Uint32_CMachs (const char**)NULL
2832 * content selection pattern - do fix if pattern found
2834 tSCC zHpux11_Uint32_CSelect0[] =
2835 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2837 #define HPUX11_UINT32_C_TEST_CT 1
2838 static tTestDesc aHpux11_Uint32_CTests[] = {
2839 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2842 * Fix Command Arguments for Hpux11_Uint32_C
2844 static const char* apzHpux11_Uint32_CPatch[] = {
2846 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2851 * Description of Hpux11_Vsnprintf fix
2853 tSCC zHpux11_VsnprintfName[] =
2857 * File name selection pattern
2859 tSCC zHpux11_VsnprintfList[] =
2862 * Machine/OS name selection pattern
2864 #define apzHpux11_VsnprintfMachs (const char**)NULL
2867 * content selection pattern - do fix if pattern found
2869 tSCC zHpux11_VsnprintfSelect0[] =
2870 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2872 #define HPUX11_VSNPRINTF_TEST_CT 1
2873 static tTestDesc aHpux11_VsnprintfTests[] = {
2874 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2877 * Fix Command Arguments for Hpux11_Vsnprintf
2879 static const char* apzHpux11_VsnprintfPatch[] = {
2884 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2886 * Description of Hpux8_Bogus_Inlines fix
2888 tSCC zHpux8_Bogus_InlinesName[] =
2889 "hpux8_bogus_inlines";
2892 * File name selection pattern
2894 tSCC zHpux8_Bogus_InlinesList[] =
2897 * Machine/OS name selection pattern
2899 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2902 * content selection pattern - do fix if pattern found
2904 tSCC zHpux8_Bogus_InlinesSelect0[] =
2908 * content bypass pattern - skip fix if pattern found
2910 tSCC zHpux8_Bogus_InlinesBypass0[] =
2913 #define HPUX8_BOGUS_INLINES_TEST_CT 2
2914 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2915 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
2916 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2919 * Fix Command Arguments for Hpux8_Bogus_Inlines
2921 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2922 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2923 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2924 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2925 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2930 * Description of Hpux_Ctype_Macros fix
2932 tSCC zHpux_Ctype_MacrosName[] =
2933 "hpux_ctype_macros";
2936 * File name selection pattern
2938 tSCC zHpux_Ctype_MacrosList[] =
2941 * Machine/OS name selection pattern
2943 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
2946 * content selection pattern - do fix if pattern found
2948 tSCC zHpux_Ctype_MacrosSelect0[] =
2949 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
2951 #define HPUX_CTYPE_MACROS_TEST_CT 1
2952 static tTestDesc aHpux_Ctype_MacrosTests[] = {
2953 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
2956 * Fix Command Arguments for Hpux_Ctype_Macros
2958 static const char* apzHpux_Ctype_MacrosPatch[] = {
2963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2965 * Description of Hpux_Htonl fix
2967 tSCC zHpux_HtonlName[] =
2971 * File name selection pattern
2973 tSCC zHpux_HtonlList[] =
2976 * Machine/OS name selection pattern
2978 #define apzHpux_HtonlMachs (const char**)NULL
2981 * content selection pattern - do fix if pattern found
2983 tSCC zHpux_HtonlSelect0[] =
2984 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
2986 \\* Macros for number representation conversion\\.\n\
2990 #define HPUX_HTONL_TEST_CT 1
2991 static tTestDesc aHpux_HtonlTests[] = {
2992 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
2995 * Fix Command Arguments for Hpux_Htonl
2997 static const char* apzHpux_HtonlPatch[] = {
3003 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3005 * Description of Hpux_Long_Double fix
3007 tSCC zHpux_Long_DoubleName[] =
3011 * File name selection pattern
3013 tSCC zHpux_Long_DoubleList[] =
3016 * Machine/OS name selection pattern
3018 #define apzHpux_Long_DoubleMachs (const char**)NULL
3021 * content selection pattern - do fix if pattern found
3023 tSCC zHpux_Long_DoubleSelect0[] =
3024 "extern[ \t]long_double[ \t]strtold";
3027 * content bypass pattern - skip fix if pattern found
3029 tSCC zHpux_Long_DoubleBypass0[] =
3032 #define HPUX_LONG_DOUBLE_TEST_CT 2
3033 static tTestDesc aHpux_Long_DoubleTests[] = {
3034 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3035 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3038 * Fix Command Arguments for Hpux_Long_Double
3040 static const char* apzHpux_Long_DoublePatch[] = { "sed",
3041 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3042 "-e", "s/long_double/long double/g",
3045 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3047 * Description of Hpux_Systime fix
3049 tSCC zHpux_SystimeName[] =
3053 * File name selection pattern
3055 tSCC zHpux_SystimeList[] =
3058 * Machine/OS name selection pattern
3060 #define apzHpux_SystimeMachs (const char**)NULL
3063 * content selection pattern - do fix if pattern found
3065 tSCC zHpux_SystimeSelect0[] =
3066 "^extern struct sigevent;";
3068 #define HPUX_SYSTIME_TEST_CT 1
3069 static tTestDesc aHpux_SystimeTests[] = {
3070 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3073 * Fix Command Arguments for Hpux_Systime
3075 static const char* apzHpux_SystimePatch[] = {
3080 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3082 * Description of Hpux_Spu_Info fix
3084 tSCC zHpux_Spu_InfoName[] =
3088 * File name selection pattern
3090 tSCC zHpux_Spu_InfoList[] =
3091 "ia64/sys/getppdp.h\0";
3093 * Machine/OS name selection pattern
3095 tSCC* apzHpux_Spu_InfoMachs[] = {
3097 (const char*)NULL };
3100 * content selection pattern - do fix if pattern found
3102 tSCC zHpux_Spu_InfoSelect0[] =
3103 "^.*extern.*spu_info.*";
3105 #define HPUX_SPU_INFO_TEST_CT 1
3106 static tTestDesc aHpux_Spu_InfoTests[] = {
3107 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3110 * Fix Command Arguments for Hpux_Spu_Info
3112 static const char* apzHpux_Spu_InfoPatch[] = {
3119 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3121 * Description of Hpux11_Extern_Sendfile fix
3123 tSCC zHpux11_Extern_SendfileName[] =
3124 "hpux11_extern_sendfile";
3127 * File name selection pattern
3129 tSCC zHpux11_Extern_SendfileList[] =
3132 * Machine/OS name selection pattern
3134 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3135 "*-hp-hpux11.[12]*",
3136 (const char*)NULL };
3139 * content selection pattern - do fix if pattern found
3141 tSCC zHpux11_Extern_SendfileSelect0[] =
3142 "^[ \t]*extern sbsize_t sendfile.*\n\
3145 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3146 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3147 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3150 * Fix Command Arguments for Hpux11_Extern_Sendfile
3152 static const char* apzHpux11_Extern_SendfilePatch[] = {
3154 "#ifndef _APP32_64BIT_OFF_T\n\
3158 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3160 * Description of Hpux11_Extern_Sendpath fix
3162 tSCC zHpux11_Extern_SendpathName[] =
3163 "hpux11_extern_sendpath";
3166 * File name selection pattern
3168 tSCC zHpux11_Extern_SendpathList[] =
3171 * Machine/OS name selection pattern
3173 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3174 "*-hp-hpux11.[12]*",
3175 (const char*)NULL };
3178 * content selection pattern - do fix if pattern found
3180 tSCC zHpux11_Extern_SendpathSelect0[] =
3181 "^[ \t]*extern sbsize_t sendpath.*\n\
3184 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3185 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3186 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3189 * Fix Command Arguments for Hpux11_Extern_Sendpath
3191 static const char* apzHpux11_Extern_SendpathPatch[] = {
3193 "#ifndef _APP32_64BIT_OFF_T\n\
3197 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3199 * Description of Hpux_Extern_Errno fix
3201 tSCC zHpux_Extern_ErrnoName[] =
3202 "hpux_extern_errno";
3205 * File name selection pattern
3207 tSCC zHpux_Extern_ErrnoList[] =
3210 * Machine/OS name selection pattern
3212 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3214 "*-hp-hpux11.[0-2]*",
3215 (const char*)NULL };
3218 * content selection pattern - do fix if pattern found
3220 tSCC zHpux_Extern_ErrnoSelect0[] =
3221 "^[ \t]*extern int errno;$";
3223 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3224 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3225 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3228 * Fix Command Arguments for Hpux_Extern_Errno
3230 static const char* apzHpux_Extern_ErrnoPatch[] = {
3232 "#ifdef __cplusplus\n\
3236 #ifdef __cplusplus\n\
3241 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3243 * Description of Hpux11_Pthread_Const fix
3245 tSCC zHpux11_Pthread_ConstName[] =
3246 "hpux11_pthread_const";
3249 * File name selection pattern
3251 tSCC zHpux11_Pthread_ConstList[] =
3254 * Machine/OS name selection pattern
3256 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3257 "*-hp-hpux11.[0-3]*",
3258 (const char*)NULL };
3261 * content selection pattern - do fix if pattern found
3263 tSCC zHpux11_Pthread_ConstSelect0[] =
3264 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3266 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3267 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3268 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3271 * Fix Command Arguments for Hpux11_Pthread_Const
3273 static const char* apzHpux11_Pthread_ConstPatch[] = {
3275 "#define __POINTER_SET\t\t((void *) 1L)",
3278 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3280 * Description of Hpux_Pthread_Initializers fix
3282 tSCC zHpux_Pthread_InitializersName[] =
3283 "hpux_pthread_initializers";
3286 * File name selection pattern
3288 tSCC zHpux_Pthread_InitializersList[] =
3291 * Machine/OS name selection pattern
3293 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3294 "*-hp-hpux11.[0-3]*",
3295 (const char*)NULL };
3296 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3297 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3300 * Fix Command Arguments for Hpux_Pthread_Initializers
3302 static const char* apzHpux_Pthread_InitializersPatch[] = { "sed",
3303 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3304 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3305 "-e", "/^[ \t]*0$/d",
3306 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3307 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3308 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3309 "-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\\\\@",
3310 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3311 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3312 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3313 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3314 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3315 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3318 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3320 * Description of Huge_Val_Hex fix
3322 tSCC zHuge_Val_HexName[] =
3326 * File name selection pattern
3328 tSCC zHuge_Val_HexList[] =
3329 "bits/huge_val.h\0";
3331 * Machine/OS name selection pattern
3333 #define apzHuge_Val_HexMachs (const char**)NULL
3336 * content selection pattern - do fix if pattern found
3338 tSCC zHuge_Val_HexSelect0[] =
3339 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
3342 * content bypass pattern - skip fix if pattern found
3344 tSCC zHuge_Val_HexBypass0[] =
3345 "__builtin_huge_val";
3347 #define HUGE_VAL_HEX_TEST_CT 2
3348 static tTestDesc aHuge_Val_HexTests[] = {
3349 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
3350 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
3353 * Fix Command Arguments for Huge_Val_Hex
3355 static const char* apzHuge_Val_HexPatch[] = {
3357 "#define HUGE_VAL (__builtin_huge_val())\n",
3360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3362 * Description of Huge_Valf_Hex fix
3364 tSCC zHuge_Valf_HexName[] =
3368 * File name selection pattern
3370 tSCC zHuge_Valf_HexList[] =
3371 "bits/huge_val.h\0";
3373 * Machine/OS name selection pattern
3375 #define apzHuge_Valf_HexMachs (const char**)NULL
3378 * content selection pattern - do fix if pattern found
3380 tSCC zHuge_Valf_HexSelect0[] =
3381 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
3384 * content bypass pattern - skip fix if pattern found
3386 tSCC zHuge_Valf_HexBypass0[] =
3387 "__builtin_huge_valf";
3389 #define HUGE_VALF_HEX_TEST_CT 2
3390 static tTestDesc aHuge_Valf_HexTests[] = {
3391 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
3392 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
3395 * Fix Command Arguments for Huge_Valf_Hex
3397 static const char* apzHuge_Valf_HexPatch[] = {
3399 "#define HUGE_VALF (__builtin_huge_valf())\n",
3402 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3404 * Description of Huge_Vall_Hex fix
3406 tSCC zHuge_Vall_HexName[] =
3410 * File name selection pattern
3412 tSCC zHuge_Vall_HexList[] =
3413 "bits/huge_val.h\0";
3415 * Machine/OS name selection pattern
3417 #define apzHuge_Vall_HexMachs (const char**)NULL
3420 * content selection pattern - do fix if pattern found
3422 tSCC zHuge_Vall_HexSelect0[] =
3423 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
3426 * content bypass pattern - skip fix if pattern found
3428 tSCC zHuge_Vall_HexBypass0[] =
3429 "__builtin_huge_vall";
3431 #define HUGE_VALL_HEX_TEST_CT 2
3432 static tTestDesc aHuge_Vall_HexTests[] = {
3433 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
3434 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
3437 * Fix Command Arguments for Huge_Vall_Hex
3439 static const char* apzHuge_Vall_HexPatch[] = {
3441 "#define HUGE_VALL (__builtin_huge_vall())\n",
3444 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3446 * Description of Int_Abort_Free_And_Exit fix
3448 tSCC zInt_Abort_Free_And_ExitName[] =
3449 "int_abort_free_and_exit";
3452 * File name selection pattern
3454 tSCC zInt_Abort_Free_And_ExitList[] =
3457 * Machine/OS name selection pattern
3459 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
3462 * content selection pattern - do fix if pattern found
3464 tSCC zInt_Abort_Free_And_ExitSelect0[] =
3465 "int[ \t]+(abort|free|exit)[ \t]*\\(";
3468 * content bypass pattern - skip fix if pattern found
3470 tSCC zInt_Abort_Free_And_ExitBypass0[] =
3471 "_CLASSIC_ANSI_TYPES";
3473 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
3474 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
3475 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
3476 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
3479 * Fix Command Arguments for Int_Abort_Free_And_Exit
3481 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
3486 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3488 * Description of Io_Quotes_Def fix
3490 tSCC zIo_Quotes_DefName[] =
3494 * File name selection pattern
3496 #define zIo_Quotes_DefList (char*)NULL
3498 * Machine/OS name selection pattern
3500 #define apzIo_Quotes_DefMachs (const char**)NULL
3503 * content selection pattern - do fix if pattern found
3505 tSCC zIo_Quotes_DefSelect0[] =
3506 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
3508 #define IO_QUOTES_DEF_TEST_CT 1
3509 static tTestDesc aIo_Quotes_DefTests[] = {
3510 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
3513 * Fix Command Arguments for Io_Quotes_Def
3515 static const char* apzIo_Quotes_DefPatch[] = {
3520 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3522 * Description of Io_Quotes_Use fix
3524 tSCC zIo_Quotes_UseName[] =
3528 * File name selection pattern
3530 #define zIo_Quotes_UseList (char*)NULL
3532 * Machine/OS name selection pattern
3534 #define apzIo_Quotes_UseMachs (const char**)NULL
3537 * content selection pattern - do fix if pattern found
3539 tSCC zIo_Quotes_UseSelect0[] =
3540 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
3542 #define IO_QUOTES_USE_TEST_CT 1
3543 static tTestDesc aIo_Quotes_UseTests[] = {
3544 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
3547 * Fix Command Arguments for Io_Quotes_Use
3549 static const char* apzIo_Quotes_UsePatch[] = {
3554 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3556 * Description of Ip_Missing_Semi fix
3558 tSCC zIp_Missing_SemiName[] =
3562 * File name selection pattern
3564 tSCC zIp_Missing_SemiList[] =
3567 * Machine/OS name selection pattern
3569 #define apzIp_Missing_SemiMachs (const char**)NULL
3572 * content selection pattern - do fix if pattern found
3574 tSCC zIp_Missing_SemiSelect0[] =
3577 #define IP_MISSING_SEMI_TEST_CT 1
3578 static tTestDesc aIp_Missing_SemiTests[] = {
3579 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
3582 * Fix Command Arguments for Ip_Missing_Semi
3584 static const char* apzIp_Missing_SemiPatch[] = { "sed",
3585 "-e", "/^struct/,/^};/s/}$/};/",
3588 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3590 * Description of Irix___Restrict fix
3592 tSCC zIrix___RestrictName[] =
3596 * File name selection pattern
3598 tSCC zIrix___RestrictList[] =
3599 "internal/sgimacros.h\0";
3601 * Machine/OS name selection pattern
3603 tSCC* apzIrix___RestrictMachs[] = {
3605 (const char*)NULL };
3608 * content selection pattern - do fix if pattern found
3610 tSCC zIrix___RestrictSelect0[] =
3612 )(#[ \t]*define __restrict restrict)";
3614 #define IRIX___RESTRICT_TEST_CT 1
3615 static tTestDesc aIrix___RestrictTests[] = {
3616 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
3619 * Fix Command Arguments for Irix___Restrict
3621 static const char* apzIrix___RestrictPatch[] = {
3623 "%1# ifndef __cplusplus\n\
3628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3630 * Description of Irix___Generic1 fix
3632 tSCC zIrix___Generic1Name[] =
3636 * File name selection pattern
3638 tSCC zIrix___Generic1List[] =
3639 "internal/math_core.h\0";
3641 * Machine/OS name selection pattern
3643 tSCC* apzIrix___Generic1Machs[] = {
3645 (const char*)NULL };
3648 * content selection pattern - do fix if pattern found
3650 tSCC zIrix___Generic1Select0[] =
3651 "#define ([a-z]+)\\(x\\) *__generic.*";
3653 #define IRIX___GENERIC1_TEST_CT 1
3654 static tTestDesc aIrix___Generic1Tests[] = {
3655 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
3658 * Fix Command Arguments for Irix___Generic1
3660 static const char* apzIrix___Generic1Patch[] = {
3662 "extern int %1(double);\n\
3663 extern int %1f(float);\n\
3664 extern int %1l(long double);\n\
3665 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
3666 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
3670 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3672 * Description of Irix___Generic2 fix
3674 tSCC zIrix___Generic2Name[] =
3678 * File name selection pattern
3680 tSCC zIrix___Generic2List[] =
3681 "internal/math_core.h\0";
3683 * Machine/OS name selection pattern
3685 tSCC* apzIrix___Generic2Machs[] = {
3687 (const char*)NULL };
3690 * content selection pattern - do fix if pattern found
3692 tSCC zIrix___Generic2Select0[] =
3693 "#define ([a-z]+)\\(x,y\\) *__generic.*";
3695 #define IRIX___GENERIC2_TEST_CT 1
3696 static tTestDesc aIrix___Generic2Tests[] = {
3697 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
3700 * Fix Command Arguments for Irix___Generic2
3702 static const char* apzIrix___Generic2Patch[] = {
3704 "#define %1(x,y) \\\n\
3705 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
3706 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
3710 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3712 * Description of Irix_Asm_Apostrophe fix
3714 tSCC zIrix_Asm_ApostropheName[] =
3715 "irix_asm_apostrophe";
3718 * File name selection pattern
3720 tSCC zIrix_Asm_ApostropheList[] =
3723 * Machine/OS name selection pattern
3725 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3728 * content selection pattern - do fix if pattern found
3730 tSCC zIrix_Asm_ApostropheSelect0[] =
3731 "^[ \t]*#.*[Ww]e're";
3733 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3734 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3735 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3738 * Fix Command Arguments for Irix_Asm_Apostrophe
3740 static const char* apzIrix_Asm_ApostrophePatch[] = {
3743 "^([ \t]*#.*[Ww]e)'re",
3746 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3748 * Description of Irix_Limits_Const fix
3750 tSCC zIrix_Limits_ConstName[] =
3751 "irix_limits_const";
3754 * File name selection pattern
3756 tSCC zIrix_Limits_ConstList[] =
3757 "fixinc-test-limits.h\0limits.h\0";
3759 * Machine/OS name selection pattern
3761 #define apzIrix_Limits_ConstMachs (const char**)NULL
3764 * content selection pattern - do fix if pattern found
3766 tSCC zIrix_Limits_ConstSelect0[] =
3769 #define IRIX_LIMITS_CONST_TEST_CT 1
3770 static tTestDesc aIrix_Limits_ConstTests[] = {
3771 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3774 * Fix Command Arguments for Irix_Limits_Const
3776 static const char* apzIrix_Limits_ConstPatch[] = {
3781 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3783 * Description of Irix_Socklen_T fix
3785 tSCC zIrix_Socklen_TName[] =
3789 * File name selection pattern
3791 tSCC zIrix_Socklen_TList[] =
3794 * Machine/OS name selection pattern
3796 tSCC* apzIrix_Socklen_TMachs[] = {
3798 (const char*)NULL };
3801 * content selection pattern - do fix if pattern found
3803 tSCC zIrix_Socklen_TSelect0[] =
3804 "(#define _SOCKLEN_T\n\
3805 )(typedef u_int32_t socklen_t;)";
3807 #define IRIX_SOCKLEN_T_TEST_CT 1
3808 static tTestDesc aIrix_Socklen_TTests[] = {
3809 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3812 * Fix Command Arguments for Irix_Socklen_T
3814 static const char* apzIrix_Socklen_TPatch[] = {
3816 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3817 typedef int socklen_t;\n\
3820 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3823 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3825 * Description of Irix_Stdint_C99 fix
3827 tSCC zIrix_Stdint_C99Name[] =
3831 * File name selection pattern
3833 tSCC zIrix_Stdint_C99List[] =
3836 * Machine/OS name selection pattern
3838 tSCC* apzIrix_Stdint_C99Machs[] = {
3840 (const char*)NULL };
3843 * content selection pattern - do fix if pattern found
3845 tSCC zIrix_Stdint_C99Select0[] =
3847 )(#error This header file is to be used only for c99 mode compilations)";
3849 #define IRIX_STDINT_C99_TEST_CT 1
3850 static tTestDesc aIrix_Stdint_C99Tests[] = {
3851 { TT_EGREP, zIrix_Stdint_C99Select0, (regex_t*)NULL }, };
3854 * Fix Command Arguments for Irix_Stdint_C99
3856 static const char* apzIrix_Stdint_C99Patch[] = {
3862 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3864 * Description of Irix_Stdio_Va_List fix
3866 tSCC zIrix_Stdio_Va_ListName[] =
3867 "irix_stdio_va_list";
3870 * File name selection pattern
3872 tSCC zIrix_Stdio_Va_ListList[] =
3873 "stdio.h\0internal/stdio_core.h\0";
3875 * Machine/OS name selection pattern
3877 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3880 * content selection pattern - do fix if pattern found
3882 tSCC zIrix_Stdio_Va_ListSelect0[] =
3883 "/\\* va_list \\*/ char \\*";
3885 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3886 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3887 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3890 * Fix Command Arguments for Irix_Stdio_Va_List
3892 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3897 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3899 * Description of Irix_Wcsftime fix
3901 tSCC zIrix_WcsftimeName[] =
3905 * File name selection pattern
3907 tSCC zIrix_WcsftimeList[] =
3908 "internal/wchar_core.h\0";
3910 * Machine/OS name selection pattern
3912 tSCC* apzIrix_WcsftimeMachs[] = {
3914 (const char*)NULL };
3917 * content selection pattern - do fix if pattern found
3919 tSCC zIrix_WcsftimeSelect0[] =
3921 (extern size_t[ \t]+wcsftime.*const char *.*)";
3923 #define IRIX_WCSFTIME_TEST_CT 1
3924 static tTestDesc aIrix_WcsftimeTests[] = {
3925 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
3928 * Fix Command Arguments for Irix_Wcsftime
3930 static const char* apzIrix_WcsftimePatch[] = {
3932 "#if _NO_XOPEN5 && !defined(__c99)\n\
3936 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3938 * Description of Isc_Fmod fix
3940 tSCC zIsc_FmodName[] =
3944 * File name selection pattern
3946 tSCC zIsc_FmodList[] =
3949 * Machine/OS name selection pattern
3951 #define apzIsc_FmodMachs (const char**)NULL
3954 * content selection pattern - do fix if pattern found
3956 tSCC zIsc_FmodSelect0[] =
3959 #define ISC_FMOD_TEST_CT 1
3960 static tTestDesc aIsc_FmodTests[] = {
3961 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
3964 * Fix Command Arguments for Isc_Fmod
3966 static const char* apzIsc_FmodPatch[] = {
3968 "fmod(double, double)",
3971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3973 * Description of Isc_Omits_With_Stdc fix
3975 tSCC zIsc_Omits_With_StdcName[] =
3976 "isc_omits_with_stdc";
3979 * File name selection pattern
3981 tSCC zIsc_Omits_With_StdcList[] =
3982 "stdio.h\0math.h\0ctype.h\0sys/limits.h\0sys/fcntl.h\0sys/dirent.h\0";
3984 * Machine/OS name selection pattern
3986 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
3989 * content selection pattern - do fix if pattern found
3991 tSCC zIsc_Omits_With_StdcSelect0[] =
3992 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
3994 #define ISC_OMITS_WITH_STDC_TEST_CT 1
3995 static tTestDesc aIsc_Omits_With_StdcTests[] = {
3996 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
3999 * Fix Command Arguments for Isc_Omits_With_Stdc
4001 static const char* apzIsc_Omits_With_StdcPatch[] = {
4003 "!defined(_POSIX_SOURCE)",
4006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4008 * Description of Kandr_Concat fix
4010 tSCC zKandr_ConcatName[] =
4014 * File name selection pattern
4016 tSCC zKandr_ConcatList[] =
4017 "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";
4019 * Machine/OS name selection pattern
4021 #define apzKandr_ConcatMachs (const char**)NULL
4024 * content selection pattern - do fix if pattern found
4026 tSCC zKandr_ConcatSelect0[] =
4029 #define KANDR_CONCAT_TEST_CT 1
4030 static tTestDesc aKandr_ConcatTests[] = {
4031 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4034 * Fix Command Arguments for Kandr_Concat
4036 static const char* apzKandr_ConcatPatch[] = {
4041 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4043 * Description of Linux_Ia64_Ucontext fix
4045 tSCC zLinux_Ia64_UcontextName[] =
4046 "linux_ia64_ucontext";
4049 * File name selection pattern
4051 tSCC zLinux_Ia64_UcontextList[] =
4054 * Machine/OS name selection pattern
4056 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4058 (const char*)NULL };
4061 * content selection pattern - do fix if pattern found
4063 tSCC zLinux_Ia64_UcontextSelect0[] =
4064 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4066 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4067 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4068 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4071 * Fix Command Arguments for Linux_Ia64_Ucontext
4073 static const char* apzLinux_Ia64_UcontextPatch[] = {
4075 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4078 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4080 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4082 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4083 "lynxos_no_warning_in_sys_time_h";
4086 * File name selection pattern
4088 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4091 * Machine/OS name selection pattern
4093 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4096 * content selection pattern - do fix if pattern found
4098 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4099 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4101 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4102 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4103 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4106 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4108 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4115 * Description of Lynxos_Missing_Putenv fix
4117 tSCC zLynxos_Missing_PutenvName[] =
4118 "lynxos_missing_putenv";
4121 * File name selection pattern
4123 tSCC zLynxos_Missing_PutenvList[] =
4126 * Machine/OS name selection pattern
4128 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4130 (const char*)NULL };
4133 * content selection pattern - do fix if pattern found
4135 tSCC zLynxos_Missing_PutenvSelect0[] =
4136 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4139 * content bypass pattern - skip fix if pattern found
4141 tSCC zLynxos_Missing_PutenvBypass0[] =
4144 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4145 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4146 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4147 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4150 * Fix Command Arguments for Lynxos_Missing_Putenv
4152 static const char* apzLynxos_Missing_PutenvPatch[] = {
4155 extern int putenv\t\t\t\t_AP((char *));",
4156 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4159 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4161 * Description of Machine_Ansi_H_Va_List fix
4163 tSCC zMachine_Ansi_H_Va_ListName[] =
4164 "machine_ansi_h_va_list";
4167 * File name selection pattern
4169 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4171 * Machine/OS name selection pattern
4173 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4176 * content selection pattern - do fix if pattern found
4178 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4179 "define[ \t]+_BSD_VA_LIST_[ \t]";
4182 * content bypass pattern - skip fix if pattern found
4184 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4185 "__builtin_va_list";
4187 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4188 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4189 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4190 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4193 * Fix Command Arguments for Machine_Ansi_H_Va_List
4195 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4197 "%1__builtin_va_list",
4198 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4203 * Description of Machine_Name fix
4205 tSCC zMachine_NameName[] =
4209 * File name selection pattern
4211 #define zMachine_NameList (char*)NULL
4213 * Machine/OS name selection pattern
4215 #define apzMachine_NameMachs (const char**)NULL
4218 * perform the C function call test
4220 tSCC zMachine_NameFTst0[] = "machine_name";
4222 #define MACHINE_NAME_TEST_CT 1
4223 static tTestDesc aMachine_NameTests[] = {
4224 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4227 * Fix Command Arguments for Machine_Name
4229 static const char* apzMachine_NamePatch[] = {
4233 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4235 * Description of Math_Exception fix
4237 tSCC zMath_ExceptionName[] =
4241 * File name selection pattern
4243 tSCC zMath_ExceptionList[] =
4246 * Machine/OS name selection pattern
4248 #define apzMath_ExceptionMachs (const char**)NULL
4251 * content selection pattern - do fix if pattern found
4253 tSCC zMath_ExceptionSelect0[] =
4257 * content bypass pattern - skip fix if pattern found
4259 tSCC zMath_ExceptionBypass0[] =
4260 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4262 #define MATH_EXCEPTION_TEST_CT 2
4263 static tTestDesc aMath_ExceptionTests[] = {
4264 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4265 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4268 * Fix Command Arguments for Math_Exception
4270 static const char* apzMath_ExceptionPatch[] = {
4272 "#ifdef __cplusplus\n\
4273 #define exception __math_exception\n\
4275 "#ifdef __cplusplus\n\
4280 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4282 * Description of Math_Huge_Val_From_Dbl_Max fix
4284 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4285 "math_huge_val_from_dbl_max";
4288 * File name selection pattern
4290 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4293 * Machine/OS name selection pattern
4295 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4298 * content selection pattern - do fix if pattern found
4300 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4301 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4304 * content bypass pattern - skip fix if pattern found
4306 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4307 "define[ \t]+DBL_MAX";
4309 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4310 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4311 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4312 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4315 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4317 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4318 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4319 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4320 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4325 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4327 * Description of Nested_Auth_Des fix
4329 tSCC zNested_Auth_DesName[] =
4333 * File name selection pattern
4335 tSCC zNested_Auth_DesList[] =
4338 * Machine/OS name selection pattern
4340 #define apzNested_Auth_DesMachs (const char**)NULL
4343 * content selection pattern - do fix if pattern found
4345 tSCC zNested_Auth_DesSelect0[] =
4346 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4348 #define NESTED_AUTH_DES_TEST_CT 1
4349 static tTestDesc aNested_Auth_DesTests[] = {
4350 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4353 * Fix Command Arguments for Nested_Auth_Des
4355 static const char* apzNested_Auth_DesPatch[] = {
4360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4362 * Description of Nested_Sys_Limits fix
4364 tSCC zNested_Sys_LimitsName[] =
4365 "nested_sys_limits";
4368 * File name selection pattern
4370 tSCC zNested_Sys_LimitsList[] =
4373 * Machine/OS name selection pattern
4375 #define apzNested_Sys_LimitsMachs (const char**)NULL
4378 * content selection pattern - do fix if pattern found
4380 tSCC zNested_Sys_LimitsSelect0[] =
4383 #define NESTED_SYS_LIMITS_TEST_CT 1
4384 static tTestDesc aNested_Sys_LimitsTests[] = {
4385 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
4388 * Fix Command Arguments for Nested_Sys_Limits
4390 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
4391 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
4392 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
4395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4397 * Description of Netbsd_C99_Inline_1 fix
4399 tSCC zNetbsd_C99_Inline_1Name[] =
4400 "netbsd_c99_inline_1";
4403 * File name selection pattern
4405 tSCC zNetbsd_C99_Inline_1List[] =
4408 * Machine/OS name selection pattern
4410 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
4412 (const char*)NULL };
4415 * content selection pattern - do fix if pattern found
4417 tSCC zNetbsd_C99_Inline_1Select0[] =
4418 "extern __inline int";
4420 #define NETBSD_C99_INLINE_1_TEST_CT 1
4421 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
4422 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
4425 * Fix Command Arguments for Netbsd_C99_Inline_1
4427 static const char* apzNetbsd_C99_Inline_1Patch[] = {
4430 #ifdef __GNUC_STDC_INLINE__\n\
4431 __attribute__((__gnu_inline__))\n\
4436 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4438 * Description of Netbsd_C99_Inline_2 fix
4440 tSCC zNetbsd_C99_Inline_2Name[] =
4441 "netbsd_c99_inline_2";
4444 * File name selection pattern
4446 tSCC zNetbsd_C99_Inline_2List[] =
4449 * Machine/OS name selection pattern
4451 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
4453 (const char*)NULL };
4456 * content selection pattern - do fix if pattern found
4458 tSCC zNetbsd_C99_Inline_2Select0[] =
4459 "#define _SIGINLINE extern __inline";
4461 #define NETBSD_C99_INLINE_2_TEST_CT 1
4462 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
4463 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
4466 * Fix Command Arguments for Netbsd_C99_Inline_2
4468 static const char* apzNetbsd_C99_Inline_2Patch[] = {
4470 "#ifdef __GNUC_STDC_INLINE__\n\
4471 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
4477 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4479 * Description of Netbsd_Extra_Semicolon fix
4481 tSCC zNetbsd_Extra_SemicolonName[] =
4482 "netbsd_extra_semicolon";
4485 * File name selection pattern
4487 tSCC zNetbsd_Extra_SemicolonList[] =
4490 * Machine/OS name selection pattern
4492 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4494 (const char*)NULL };
4497 * content selection pattern - do fix if pattern found
4499 tSCC zNetbsd_Extra_SemicolonSelect0[] =
4500 "#define[ \t]*__END_DECLS[ \t]*};";
4502 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
4503 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
4504 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
4507 * Fix Command Arguments for Netbsd_Extra_Semicolon
4509 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
4511 "#define __END_DECLS }",
4514 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4516 * Description of Next_Math_Prefix fix
4518 tSCC zNext_Math_PrefixName[] =
4522 * File name selection pattern
4524 tSCC zNext_Math_PrefixList[] =
4527 * Machine/OS name selection pattern
4529 #define apzNext_Math_PrefixMachs (const char**)NULL
4532 * content selection pattern - do fix if pattern found
4534 tSCC zNext_Math_PrefixSelect0[] =
4535 "^extern[ \t]+double[ \t]+__const__[ \t]";
4537 #define NEXT_MATH_PREFIX_TEST_CT 1
4538 static tTestDesc aNext_Math_PrefixTests[] = {
4539 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
4542 * Fix Command Arguments for Next_Math_Prefix
4544 static const char* apzNext_Math_PrefixPatch[] = {
4546 "extern double %1(",
4547 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
4550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4552 * Description of Next_Template fix
4554 tSCC zNext_TemplateName[] =
4558 * File name selection pattern
4560 tSCC zNext_TemplateList[] =
4563 * Machine/OS name selection pattern
4565 #define apzNext_TemplateMachs (const char**)NULL
4568 * content selection pattern - do fix if pattern found
4570 tSCC zNext_TemplateSelect0[] =
4573 #define NEXT_TEMPLATE_TEST_CT 1
4574 static tTestDesc aNext_TemplateTests[] = {
4575 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
4578 * Fix Command Arguments for Next_Template
4580 static const char* apzNext_TemplatePatch[] = {
4583 "\\(([^)]*)[ \t]template\\)",
4586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4588 * Description of Next_Volitile fix
4590 tSCC zNext_VolitileName[] =
4594 * File name selection pattern
4596 tSCC zNext_VolitileList[] =
4599 * Machine/OS name selection pattern
4601 #define apzNext_VolitileMachs (const char**)NULL
4604 * content selection pattern - do fix if pattern found
4606 tSCC zNext_VolitileSelect0[] =
4607 "^extern[ \t]+volatile[ \t]+void[ \t]";
4609 #define NEXT_VOLITILE_TEST_CT 1
4610 static tTestDesc aNext_VolitileTests[] = {
4611 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
4614 * Fix Command Arguments for Next_Volitile
4616 static const char* apzNext_VolitilePatch[] = {
4619 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
4622 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4624 * Description of Next_Wait_Union fix
4626 tSCC zNext_Wait_UnionName[] =
4630 * File name selection pattern
4632 tSCC zNext_Wait_UnionList[] =
4635 * Machine/OS name selection pattern
4637 #define apzNext_Wait_UnionMachs (const char**)NULL
4640 * content selection pattern - do fix if pattern found
4642 tSCC zNext_Wait_UnionSelect0[] =
4643 "wait\\(union wait";
4645 #define NEXT_WAIT_UNION_TEST_CT 1
4646 static tTestDesc aNext_Wait_UnionTests[] = {
4647 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
4650 * Fix Command Arguments for Next_Wait_Union
4652 static const char* apzNext_Wait_UnionPatch[] = {
4657 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4659 * Description of Nodeent_Syntax fix
4661 tSCC zNodeent_SyntaxName[] =
4665 * File name selection pattern
4667 tSCC zNodeent_SyntaxList[] =
4668 "netdnet/dnetdb.h\0";
4670 * Machine/OS name selection pattern
4672 #define apzNodeent_SyntaxMachs (const char**)NULL
4675 * content selection pattern - do fix if pattern found
4677 tSCC zNodeent_SyntaxSelect0[] =
4678 "char[ \t]*\\*na_addr[ \t]*$";
4680 #define NODEENT_SYNTAX_TEST_CT 1
4681 static tTestDesc aNodeent_SyntaxTests[] = {
4682 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
4685 * Fix Command Arguments for Nodeent_Syntax
4687 static const char* apzNodeent_SyntaxPatch[] = {
4692 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4694 * Description of Obstack_Lvalue_Cast fix
4696 tSCC zObstack_Lvalue_CastName[] =
4697 "obstack_lvalue_cast";
4700 * File name selection pattern
4702 tSCC zObstack_Lvalue_CastList[] =
4705 * Machine/OS name selection pattern
4707 #define apzObstack_Lvalue_CastMachs (const char**)NULL
4710 * content selection pattern - do fix if pattern found
4712 tSCC zObstack_Lvalue_CastSelect0[] =
4713 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
4715 #define OBSTACK_LVALUE_CAST_TEST_CT 1
4716 static tTestDesc aObstack_Lvalue_CastTests[] = {
4717 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
4720 * Fix Command Arguments for Obstack_Lvalue_Cast
4722 static const char* apzObstack_Lvalue_CastPatch[] = {
4724 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
4727 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4729 * Description of Osf_Namespace_A fix
4731 tSCC zOsf_Namespace_AName[] =
4735 * File name selection pattern
4737 tSCC zOsf_Namespace_AList[] =
4738 "reg_types.h\0sys/lc_core.h\0";
4740 * Machine/OS name selection pattern
4742 #define apzOsf_Namespace_AMachs (const char**)NULL
4745 * perform the 'test' shell command - do fix on success
4747 tSCC zOsf_Namespace_ATest0[] =
4749 tSCC zOsf_Namespace_ATest1[] =
4750 " -r sys/lc_core.h";
4751 tSCC zOsf_Namespace_ATest2[] =
4752 " -n \"`grep '} regex_t;' reg_types.h`\"";
4753 tSCC zOsf_Namespace_ATest3[] =
4754 " -z \"`grep __regex_t regex.h`\"";
4756 #define OSF_NAMESPACE_A_TEST_CT 4
4757 static tTestDesc aOsf_Namespace_ATests[] = {
4758 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4759 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4760 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4761 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4764 * Fix Command Arguments for Osf_Namespace_A
4766 static const char* apzOsf_Namespace_APatch[] = {
4769 "reg(ex|off|match)_t",
4772 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4774 * Description of Osf_Namespace_C fix
4776 tSCC zOsf_Namespace_CName[] =
4780 * File name selection pattern
4782 tSCC zOsf_Namespace_CList[] =
4785 * Machine/OS name selection pattern
4787 #define apzOsf_Namespace_CMachs (const char**)NULL
4790 * content selection pattern - do fix if pattern found
4792 tSCC zOsf_Namespace_CSelect0[] =
4793 "#include <reg_types.h>.*";
4796 * perform the 'test' shell command - do fix on success
4798 tSCC zOsf_Namespace_CTest0[] =
4800 tSCC zOsf_Namespace_CTest1[] =
4801 " -r sys/lc_core.h";
4802 tSCC zOsf_Namespace_CTest2[] =
4803 " -n \"`grep '} regex_t;' reg_types.h`\"";
4804 tSCC zOsf_Namespace_CTest3[] =
4805 " -z \"`grep __regex_t regex.h`\"";
4807 #define OSF_NAMESPACE_C_TEST_CT 5
4808 static tTestDesc aOsf_Namespace_CTests[] = {
4809 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
4810 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
4811 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
4812 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
4813 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
4816 * Fix Command Arguments for Osf_Namespace_C
4818 static const char* apzOsf_Namespace_CPatch[] = {
4821 typedef __regex_t\tregex_t;\n\
4822 typedef __regoff_t\tregoff_t;\n\
4823 typedef __regmatch_t\tregmatch_t;",
4826 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4828 * Description of Pthread_Page_Size fix
4830 tSCC zPthread_Page_SizeName[] =
4831 "pthread_page_size";
4834 * File name selection pattern
4836 tSCC zPthread_Page_SizeList[] =
4839 * Machine/OS name selection pattern
4841 #define apzPthread_Page_SizeMachs (const char**)NULL
4844 * content selection pattern - do fix if pattern found
4846 tSCC zPthread_Page_SizeSelect0[] =
4849 #define PTHREAD_PAGE_SIZE_TEST_CT 1
4850 static tTestDesc aPthread_Page_SizeTests[] = {
4851 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
4854 * Fix Command Arguments for Pthread_Page_Size
4856 static const char* apzPthread_Page_SizePatch[] = {
4861 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4863 * Description of Pthread_Incomplete_Struct_Argument fix
4865 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
4866 "pthread_incomplete_struct_argument";
4869 * File name selection pattern
4871 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
4874 * Machine/OS name selection pattern
4876 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
4879 * content selection pattern - do fix if pattern found
4881 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
4882 "struct __jmp_buf_tag";
4884 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
4885 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
4886 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
4889 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
4891 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
4894 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
4897 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4899 * Description of Read_Ret_Type fix
4901 tSCC zRead_Ret_TypeName[] =
4905 * File name selection pattern
4907 tSCC zRead_Ret_TypeList[] =
4910 * Machine/OS name selection pattern
4912 #define apzRead_Ret_TypeMachs (const char**)NULL
4915 * content selection pattern - do fix if pattern found
4917 tSCC zRead_Ret_TypeSelect0[] =
4918 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
4920 #define READ_RET_TYPE_TEST_CT 1
4921 static tTestDesc aRead_Ret_TypeTests[] = {
4922 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
4925 * Fix Command Arguments for Read_Ret_Type
4927 static const char* apzRead_Ret_TypePatch[] = {
4929 "extern unsigned int fread(), fwrite();\n\
4931 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
4934 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4936 * Description of Rpc_Xdr_Lvalue_Cast_A fix
4938 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
4939 "rpc_xdr_lvalue_cast_a";
4942 * File name selection pattern
4944 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
4947 * Machine/OS name selection pattern
4949 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
4952 * content selection pattern - do fix if pattern found
4954 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
4955 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
4958 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
4959 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
4960 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
4963 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
4965 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
4967 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
4970 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4972 * Description of Rpc_Xdr_Lvalue_Cast_B fix
4974 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
4975 "rpc_xdr_lvalue_cast_b";
4978 * File name selection pattern
4980 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
4983 * Machine/OS name selection pattern
4985 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
4988 * content selection pattern - do fix if pattern found
4990 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
4991 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
4994 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
4995 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
4996 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
4999 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5001 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5003 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5008 * Description of Rs6000_Double fix
5010 tSCC zRs6000_DoubleName[] =
5014 * File name selection pattern
5016 tSCC zRs6000_DoubleList[] =
5019 * Machine/OS name selection pattern
5021 #define apzRs6000_DoubleMachs (const char**)NULL
5024 * content selection pattern - do fix if pattern found
5026 tSCC zRs6000_DoubleSelect0[] =
5027 "[^a-zA-Z_]class\\(";
5029 #define RS6000_DOUBLE_TEST_CT 1
5030 static tTestDesc aRs6000_DoubleTests[] = {
5031 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5034 * Fix Command Arguments for Rs6000_Double
5036 static const char* apzRs6000_DoublePatch[] = {
5038 "#ifndef __cplusplus\n\
5041 "^.*[^a-zA-Z_]class\\(.*",
5044 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5046 * Description of Rs6000_Fchmod fix
5048 tSCC zRs6000_FchmodName[] =
5052 * File name selection pattern
5054 tSCC zRs6000_FchmodList[] =
5057 * Machine/OS name selection pattern
5059 #define apzRs6000_FchmodMachs (const char**)NULL
5062 * content selection pattern - do fix if pattern found
5064 tSCC zRs6000_FchmodSelect0[] =
5065 "fchmod\\(char \\*";
5067 #define RS6000_FCHMOD_TEST_CT 1
5068 static tTestDesc aRs6000_FchmodTests[] = {
5069 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5072 * Fix Command Arguments for Rs6000_Fchmod
5074 static const char* apzRs6000_FchmodPatch[] = {
5079 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5081 * Description of Rs6000_Param fix
5083 tSCC zRs6000_ParamName[] =
5087 * File name selection pattern
5089 tSCC zRs6000_ParamList[] =
5090 "stdio.h\0unistd.h\0";
5092 * Machine/OS name selection pattern
5094 #define apzRs6000_ParamMachs (const char**)NULL
5097 * content selection pattern - do fix if pattern found
5099 tSCC zRs6000_ParamSelect0[] =
5100 "rename\\(const char \\*old, const char \\*new\\)";
5102 #define RS6000_PARAM_TEST_CT 1
5103 static tTestDesc aRs6000_ParamTests[] = {
5104 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5107 * Fix Command Arguments for Rs6000_Param
5109 static const char* apzRs6000_ParamPatch[] = {
5111 "rename(const char *_old, const char *_new)",
5114 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5116 * Description of Sco_Math fix
5118 tSCC zSco_MathName[] =
5122 * File name selection pattern
5124 tSCC zSco_MathList[] =
5125 "math.h\0*/math.h\0";
5127 * Machine/OS name selection pattern
5129 #define apzSco_MathMachs (const char**)NULL
5132 * content selection pattern - do fix if pattern found
5134 tSCC zSco_MathSelect0[] =
5135 "inline double abs";
5138 * content bypass pattern - skip fix if pattern found
5140 tSCC zSco_MathBypass0[] =
5143 #define SCO_MATH_TEST_CT 2
5144 static tTestDesc aSco_MathTests[] = {
5145 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
5146 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
5149 * Fix Command Arguments for Sco_Math
5151 static const char* apzSco_MathPatch[] = { "sed",
5152 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
5153 #ifndef __GNUC__\n",
5154 "-e", "/.*__builtin_generic/a\\\n\
5156 #define __fp_class(a) \\\\\\\n\
5157 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
5158 __fpclassifyl(a), \\\\\\\n\
5159 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
5160 __fpclassifyf(a),__fpclassify(a)))\\\n\
5162 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
5163 #ifndef __GNUC__\n",
5164 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
5165 #endif /* ! __GNUC__ */",
5168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5170 * Description of Solaris_Math_1 fix
5172 tSCC zSolaris_Math_1Name[] =
5176 * File name selection pattern
5178 tSCC zSolaris_Math_1List[] =
5181 * Machine/OS name selection pattern
5183 #define apzSolaris_Math_1Machs (const char**)NULL
5186 * content selection pattern - do fix if pattern found
5188 tSCC zSolaris_Math_1Select0[] =
5189 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5192 * content bypass pattern - skip fix if pattern found
5194 tSCC zSolaris_Math_1Bypass0[] =
5197 #define SOLARIS_MATH_1_TEST_CT 2
5198 static tTestDesc aSolaris_Math_1Tests[] = {
5199 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
5200 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
5203 * Fix Command Arguments for Solaris_Math_1
5205 static const char* apzSolaris_Math_1Patch[] = {
5207 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
5208 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
5211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5213 * Description of Solaris_Math_2 fix
5215 tSCC zSolaris_Math_2Name[] =
5219 * File name selection pattern
5221 tSCC zSolaris_Math_2List[] =
5224 * Machine/OS name selection pattern
5226 #define apzSolaris_Math_2Machs (const char**)NULL
5229 * content selection pattern - do fix if pattern found
5231 tSCC zSolaris_Math_2Select0[] =
5232 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5235 * content bypass pattern - skip fix if pattern found
5237 tSCC zSolaris_Math_2Bypass0[] =
5240 #define SOLARIS_MATH_2_TEST_CT 2
5241 static tTestDesc aSolaris_Math_2Tests[] = {
5242 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
5243 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
5246 * Fix Command Arguments for Solaris_Math_2
5248 static const char* apzSolaris_Math_2Patch[] = {
5250 "#define\tINFINITY\t(__builtin_inff())",
5251 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
5254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5256 * Description of Solaris_Math_3 fix
5258 tSCC zSolaris_Math_3Name[] =
5262 * File name selection pattern
5264 tSCC zSolaris_Math_3List[] =
5267 * Machine/OS name selection pattern
5269 #define apzSolaris_Math_3Machs (const char**)NULL
5272 * content selection pattern - do fix if pattern found
5274 tSCC zSolaris_Math_3Select0[] =
5275 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5278 * content bypass pattern - skip fix if pattern found
5280 tSCC zSolaris_Math_3Bypass0[] =
5283 #define SOLARIS_MATH_3_TEST_CT 2
5284 static tTestDesc aSolaris_Math_3Tests[] = {
5285 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
5286 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
5289 * Fix Command Arguments for Solaris_Math_3
5291 static const char* apzSolaris_Math_3Patch[] = {
5293 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
5294 "^#define[ \t]+NAN[ \t]+__builtin_nan",
5297 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5299 * Description of Solaris_Math_4 fix
5301 tSCC zSolaris_Math_4Name[] =
5305 * File name selection pattern
5307 tSCC zSolaris_Math_4List[] =
5310 * Machine/OS name selection pattern
5312 #define apzSolaris_Math_4Machs (const char**)NULL
5315 * content selection pattern - do fix if pattern found
5317 tSCC zSolaris_Math_4Select0[] =
5318 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5321 * content bypass pattern - skip fix if pattern found
5323 tSCC zSolaris_Math_4Bypass0[] =
5326 #define SOLARIS_MATH_4_TEST_CT 2
5327 static tTestDesc aSolaris_Math_4Tests[] = {
5328 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
5329 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
5332 * Fix Command Arguments for Solaris_Math_4
5334 static const char* apzSolaris_Math_4Patch[] = {
5336 "#define\tfpclassify(x) \\\n\
5337 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
5338 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
5341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5343 * Description of Solaris_Math_8 fix
5345 tSCC zSolaris_Math_8Name[] =
5349 * File name selection pattern
5351 tSCC zSolaris_Math_8List[] =
5354 * Machine/OS name selection pattern
5356 #define apzSolaris_Math_8Machs (const char**)NULL
5359 * content selection pattern - do fix if pattern found
5361 tSCC zSolaris_Math_8Select0[] =
5362 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5365 * content bypass pattern - skip fix if pattern found
5367 tSCC zSolaris_Math_8Bypass0[] =
5370 #define SOLARIS_MATH_8_TEST_CT 2
5371 static tTestDesc aSolaris_Math_8Tests[] = {
5372 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
5373 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
5376 * Fix Command Arguments for Solaris_Math_8
5378 static const char* apzSolaris_Math_8Patch[] = {
5380 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
5381 \t\t\t ? __builtin_signbitf(x) \\\n\
5382 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
5383 \t\t\t ? __builtin_signbitl(x) \\\n\
5384 \t\t\t : __builtin_signbit(x))",
5385 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
5388 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5390 * Description of Solaris_Math_9 fix
5392 tSCC zSolaris_Math_9Name[] =
5396 * File name selection pattern
5398 tSCC zSolaris_Math_9List[] =
5401 * Machine/OS name selection pattern
5403 #define apzSolaris_Math_9Machs (const char**)NULL
5406 * content selection pattern - do fix if pattern found
5408 tSCC zSolaris_Math_9Select0[] =
5409 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5412 * content bypass pattern - skip fix if pattern found
5414 tSCC zSolaris_Math_9Bypass0[] =
5417 #define SOLARIS_MATH_9_TEST_CT 2
5418 static tTestDesc aSolaris_Math_9Tests[] = {
5419 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
5420 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
5423 * Fix Command Arguments for Solaris_Math_9
5425 static const char* apzSolaris_Math_9Patch[] = {
5427 "#define\t%1(x, y)%2__builtin_%1(x, y)",
5428 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
5431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5433 * Description of Solaris_Math_10 fix
5435 tSCC zSolaris_Math_10Name[] =
5439 * File name selection pattern
5441 tSCC zSolaris_Math_10List[] =
5444 * Machine/OS name selection pattern
5446 #define apzSolaris_Math_10Machs (const char**)NULL
5449 * content selection pattern - do fix if pattern found
5451 tSCC zSolaris_Math_10Select0[] =
5452 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5454 #define SOLARIS_MATH_10_TEST_CT 1
5455 static tTestDesc aSolaris_Math_10Tests[] = {
5456 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
5459 * Fix Command Arguments for Solaris_Math_10
5461 static const char* apzSolaris_Math_10Patch[] = {
5463 "#define\tisinf(x) __builtin_isinf(x)",
5464 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
5465 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
5466 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
5467 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
5470 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5472 * Description of Solaris_Mutex_Init_2 fix
5474 tSCC zSolaris_Mutex_Init_2Name[] =
5475 "solaris_mutex_init_2";
5478 * File name selection pattern
5480 tSCC zSolaris_Mutex_Init_2List[] =
5483 * Machine/OS name selection pattern
5485 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
5486 "*-*-solaris2.[0-9]",
5487 "*-*-solaris2.[0-9][!0-9]*",
5488 (const char*)NULL };
5491 * content selection pattern - do fix if pattern found
5493 tSCC zSolaris_Mutex_Init_2Select0[] =
5494 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5496 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
5497 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
5498 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
5501 * Fix Command Arguments for Solaris_Mutex_Init_2
5503 static const char* apzSolaris_Mutex_Init_2Patch[] = {
5505 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5510 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
5511 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
5514 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5516 * Description of Solaris_Rwlock_Init_1 fix
5518 tSCC zSolaris_Rwlock_Init_1Name[] =
5519 "solaris_rwlock_init_1";
5522 * File name selection pattern
5524 tSCC zSolaris_Rwlock_Init_1List[] =
5527 * Machine/OS name selection pattern
5529 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
5531 (const char*)NULL };
5534 * content selection pattern - do fix if pattern found
5536 tSCC zSolaris_Rwlock_Init_1Select0[] =
5537 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5539 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
5540 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
5541 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
5544 * Fix Command Arguments for Solaris_Rwlock_Init_1
5546 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
5548 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5551 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
5553 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
5556 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5558 * Description of Solaris_Once_Init_1 fix
5560 tSCC zSolaris_Once_Init_1Name[] =
5561 "solaris_once_init_1";
5564 * File name selection pattern
5566 tSCC zSolaris_Once_Init_1List[] =
5569 * Machine/OS name selection pattern
5571 tSCC* apzSolaris_Once_Init_1Machs[] = {
5573 (const char*)NULL };
5576 * content selection pattern - do fix if pattern found
5578 tSCC zSolaris_Once_Init_1Select0[] =
5579 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5581 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
5582 static tTestDesc aSolaris_Once_Init_1Tests[] = {
5583 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
5586 * Fix Command Arguments for Solaris_Once_Init_1
5588 static const char* apzSolaris_Once_Init_1Patch[] = {
5591 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
5594 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5596 * Description of Solaris_Once_Init_2 fix
5598 tSCC zSolaris_Once_Init_2Name[] =
5599 "solaris_once_init_2";
5602 * File name selection pattern
5604 tSCC zSolaris_Once_Init_2List[] =
5607 * Machine/OS name selection pattern
5609 tSCC* apzSolaris_Once_Init_2Machs[] = {
5610 "*-*-solaris2.[0-9]",
5611 "*-*-solaris2.[0-9][!0-9]*",
5612 (const char*)NULL };
5615 * content selection pattern - do fix if pattern found
5617 tSCC zSolaris_Once_Init_2Select0[] =
5618 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5620 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
5621 static tTestDesc aSolaris_Once_Init_2Tests[] = {
5622 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
5625 * Fix Command Arguments for Solaris_Once_Init_2
5627 static const char* apzSolaris_Once_Init_2Patch[] = {
5629 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5632 %1{0}, {0}, {0}, {%3}%4\n\
5634 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
5637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5639 * Description of Solaris_Stdio_Tag fix
5641 tSCC zSolaris_Stdio_TagName[] =
5642 "solaris_stdio_tag";
5645 * File name selection pattern
5647 tSCC zSolaris_Stdio_TagList[] =
5650 * Machine/OS name selection pattern
5652 #define apzSolaris_Stdio_TagMachs (const char**)NULL
5655 * content selection pattern - do fix if pattern found
5657 tSCC zSolaris_Stdio_TagSelect0[] =
5658 "__cplusplus < 54321L";
5661 * content bypass pattern - skip fix if pattern found
5663 tSCC zSolaris_Stdio_TagBypass0[] =
5666 #define SOLARIS_STDIO_TAG_TEST_CT 2
5667 static tTestDesc aSolaris_Stdio_TagTests[] = {
5668 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
5669 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
5672 * Fix Command Arguments for Solaris_Stdio_Tag
5674 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
5675 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
5678 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5680 * Description of Statsswtch fix
5682 tSCC zStatsswtchName[] =
5686 * File name selection pattern
5688 tSCC zStatsswtchList[] =
5691 * Machine/OS name selection pattern
5693 #define apzStatsswtchMachs (const char**)NULL
5696 * content selection pattern - do fix if pattern found
5698 tSCC zStatsswtchSelect0[] =
5701 #define STATSSWTCH_TEST_CT 1
5702 static tTestDesc aStatsswtchTests[] = {
5703 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
5706 * Fix Command Arguments for Statsswtch
5708 static const char* apzStatsswtchPatch[] = {
5713 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5715 * Description of Stdio_Stdarg_H fix
5717 tSCC zStdio_Stdarg_HName[] =
5721 * File name selection pattern
5723 tSCC zStdio_Stdarg_HList[] =
5726 * Machine/OS name selection pattern
5728 tSCC* apzStdio_Stdarg_HMachs[] = {
5729 "*-*-solaris2.1[0-9]*",
5730 (const char*)NULL };
5733 * content bypass pattern - skip fix if pattern found
5735 tSCC zStdio_Stdarg_HBypass0[] =
5736 "include.*(stdarg.h|machine/ansi.h)";
5738 #define STDIO_STDARG_H_TEST_CT 1
5739 static tTestDesc aStdio_Stdarg_HTests[] = {
5740 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
5743 * Fix Command Arguments for Stdio_Stdarg_H
5745 static const char* apzStdio_Stdarg_HPatch[] = {
5747 "#define __need___va_list\n\
5748 #include <stdarg.h>\n",
5751 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5753 * Description of Stdio_Va_List fix
5755 tSCC zStdio_Va_ListName[] =
5759 * File name selection pattern
5761 tSCC zStdio_Va_ListList[] =
5762 "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0";
5764 * Machine/OS name selection pattern
5766 tSCC* apzStdio_Va_ListMachs[] = {
5767 "*-*-solaris2.1[0-9]*",
5768 (const char*)NULL };
5771 * content bypass pattern - skip fix if pattern found
5773 tSCC zStdio_Va_ListBypass0[] =
5774 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
5776 #define STDIO_VA_LIST_TEST_CT 1
5777 static tTestDesc aStdio_Va_ListTests[] = {
5778 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
5781 * Fix Command Arguments for Stdio_Va_List
5783 static const char* apzStdio_Va_ListPatch[] = { "sed",
5784 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
5785 s@(va_list)&@(__gnuc_va_list)\\&@\n\
5786 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
5787 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
5788 s@ va_list@ __not_va_list__@\n\
5789 s@\\*va_list@*__not_va_list__@\n\
5790 s@ __va_list)@ __gnuc_va_list)@\n\
5791 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
5792 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
5793 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
5794 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
5795 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
5796 s@VA_LIST@DUMMY_VA_LIST@\n\
5797 s@_Va_LIST@_VA_LIST@",
5800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5802 * Description of Stdio_Va_List_Clients fix
5804 tSCC zStdio_Va_List_ClientsName[] =
5805 "stdio_va_list_clients";
5808 * File name selection pattern
5810 tSCC zStdio_Va_List_ClientsList[] =
5811 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
5813 * Machine/OS name selection pattern
5815 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
5818 * content bypass pattern - skip fix if pattern found
5820 tSCC zStdio_Va_List_ClientsBypass0[] =
5821 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
5822 tSCC zStdio_Va_List_ClientsBypass1[] =
5823 "include <stdarg\\.h>|#ifdef va_start";
5825 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
5826 static tTestDesc aStdio_Va_List_ClientsTests[] = {
5827 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
5828 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
5831 * Fix Command Arguments for Stdio_Va_List_Clients
5833 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
5834 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
5835 s@(va_list)&@(__gnuc_va_list)\\&@\n\
5836 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
5837 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
5838 s@ va_list@ __not_va_list__@\n\
5839 s@\\*va_list@*__not_va_list__@\n\
5840 s@ __va_list)@ __gnuc_va_list)@\n\
5841 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
5842 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
5843 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
5844 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
5845 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
5846 s@VA_LIST@DUMMY_VA_LIST@\n\
5847 s@_Va_LIST@_VA_LIST@",
5850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5852 * Description of Strict_Ansi_Not fix
5854 tSCC zStrict_Ansi_NotName[] =
5858 * File name selection pattern
5860 #define zStrict_Ansi_NotList (char*)NULL
5862 * Machine/OS name selection pattern
5864 #define apzStrict_Ansi_NotMachs (const char**)NULL
5867 * content selection pattern - do fix if pattern found
5869 tSCC zStrict_Ansi_NotSelect0[] =
5870 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
5873 * content bypass pattern - skip fix if pattern found
5875 tSCC zStrict_Ansi_NotBypass0[] =
5876 "GNU and MIPS C compilers define __STDC__ differently";
5877 tSCC zStrict_Ansi_NotBypass1[] =
5878 "__SCO_VERSION__.*__STDC__ != 1";
5881 * perform the C function call test
5883 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
5885 #define STRICT_ANSI_NOT_TEST_CT 4
5886 static tTestDesc aStrict_Ansi_NotTests[] = {
5887 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
5888 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
5889 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
5890 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
5893 * Fix Command Arguments for Strict_Ansi_Not
5895 static const char* apzStrict_Ansi_NotPatch[] = {
5897 "%1 !defined(__STRICT_ANSI__)",
5900 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5902 * Description of Strict_Ansi_Not_Ctd fix
5904 tSCC zStrict_Ansi_Not_CtdName[] =
5905 "strict_ansi_not_ctd";
5908 * File name selection pattern
5910 tSCC zStrict_Ansi_Not_CtdList[] =
5911 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
5913 * Machine/OS name selection pattern
5915 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
5918 * content selection pattern - do fix if pattern found
5920 tSCC zStrict_Ansi_Not_CtdSelect0[] =
5921 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
5924 * perform the C function call test
5926 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
5928 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
5929 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
5930 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
5931 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
5934 * Fix Command Arguments for Strict_Ansi_Not_Ctd
5936 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
5938 "%1 !defined(__STRICT_ANSI__)",
5941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5943 * Description of Strict_Ansi_Only fix
5945 tSCC zStrict_Ansi_OnlyName[] =
5949 * File name selection pattern
5951 #define zStrict_Ansi_OnlyList (char*)NULL
5953 * Machine/OS name selection pattern
5955 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
5958 * content selection pattern - do fix if pattern found
5960 tSCC zStrict_Ansi_OnlySelect0[] =
5961 "^([ \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)";
5964 * perform the C function call test
5966 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
5968 #define STRICT_ANSI_ONLY_TEST_CT 2
5969 static tTestDesc aStrict_Ansi_OnlyTests[] = {
5970 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
5971 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
5974 * Fix Command Arguments for Strict_Ansi_Only
5976 static const char* apzStrict_Ansi_OnlyPatch[] = {
5978 "%1 defined(__STRICT_ANSI__)",
5981 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5983 * Description of Struct_File fix
5985 tSCC zStruct_FileName[] =
5989 * File name selection pattern
5991 tSCC zStruct_FileList[] =
5994 * Machine/OS name selection pattern
5996 #define apzStruct_FileMachs (const char**)NULL
5999 * content selection pattern - do fix if pattern found
6001 tSCC zStruct_FileSelect0[] =
6002 "^.*xdrstdio_create.*struct __file_s";
6004 #define STRUCT_FILE_TEST_CT 1
6005 static tTestDesc aStruct_FileTests[] = {
6006 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
6009 * Fix Command Arguments for Struct_File
6011 static const char* apzStruct_FilePatch[] = {
6013 "struct __file_s;\n\
6017 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6019 * Description of Struct_Sockaddr fix
6021 tSCC zStruct_SockaddrName[] =
6025 * File name selection pattern
6027 tSCC zStruct_SockaddrList[] =
6030 * Machine/OS name selection pattern
6032 #define apzStruct_SockaddrMachs (const char**)NULL
6035 * content selection pattern - do fix if pattern found
6037 tSCC zStruct_SockaddrSelect0[] =
6038 "^.*authdes_create.*struct sockaddr[^_]";
6041 * content bypass pattern - skip fix if pattern found
6043 tSCC zStruct_SockaddrBypass0[] =
6045 tSCC zStruct_SockaddrBypass1[] =
6046 "struct sockaddr;\n";
6048 #define STRUCT_SOCKADDR_TEST_CT 3
6049 static tTestDesc aStruct_SockaddrTests[] = {
6050 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
6051 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
6052 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
6055 * Fix Command Arguments for Struct_Sockaddr
6057 static const char* apzStruct_SockaddrPatch[] = {
6059 "struct sockaddr;\n\
6063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6065 * Description of Sun_Auth_Proto fix
6067 tSCC zSun_Auth_ProtoName[] =
6071 * File name selection pattern
6073 tSCC zSun_Auth_ProtoList[] =
6074 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
6076 * Machine/OS name selection pattern
6078 #define apzSun_Auth_ProtoMachs (const char**)NULL
6081 * content selection pattern - do fix if pattern found
6083 tSCC zSun_Auth_ProtoSelect0[] =
6084 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
6087 * content bypass pattern - skip fix if pattern found
6089 tSCC zSun_Auth_ProtoBypass0[] =
6092 #define SUN_AUTH_PROTO_TEST_CT 2
6093 static tTestDesc aSun_Auth_ProtoTests[] = {
6094 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
6095 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
6098 * Fix Command Arguments for Sun_Auth_Proto
6100 static const char* apzSun_Auth_ProtoPatch[] = {
6102 "#ifdef __cplusplus\n\
6107 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
6110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6112 * Description of Sun_Bogus_Ifdef fix
6114 tSCC zSun_Bogus_IfdefName[] =
6118 * File name selection pattern
6120 tSCC zSun_Bogus_IfdefList[] =
6121 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
6123 * Machine/OS name selection pattern
6125 #define apzSun_Bogus_IfdefMachs (const char**)NULL
6128 * content selection pattern - do fix if pattern found
6130 tSCC zSun_Bogus_IfdefSelect0[] =
6131 "#ifdef(.*\\|\\|.*)";
6133 #define SUN_BOGUS_IFDEF_TEST_CT 1
6134 static tTestDesc aSun_Bogus_IfdefTests[] = {
6135 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
6138 * Fix Command Arguments for Sun_Bogus_Ifdef
6140 static const char* apzSun_Bogus_IfdefPatch[] = {
6145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6147 * Description of Sun_Catmacro fix
6149 tSCC zSun_CatmacroName[] =
6153 * File name selection pattern
6155 tSCC zSun_CatmacroList[] =
6156 "pixrect/memvar.h\0";
6158 * Machine/OS name selection pattern
6160 #define apzSun_CatmacroMachs (const char**)NULL
6163 * content selection pattern - do fix if pattern found
6165 tSCC zSun_CatmacroSelect0[] =
6166 "^#define[ \t]+CAT\\(a,b\\).*";
6168 #define SUN_CATMACRO_TEST_CT 1
6169 static tTestDesc aSun_CatmacroTests[] = {
6170 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
6173 * Fix Command Arguments for Sun_Catmacro
6175 static const char* apzSun_CatmacroPatch[] = {
6178 # define CAT(a,b) a##b\n\
6184 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6186 * Description of Sun_Malloc fix
6188 tSCC zSun_MallocName[] =
6192 * File name selection pattern
6194 tSCC zSun_MallocList[] =
6197 * Machine/OS name selection pattern
6199 #define apzSun_MallocMachs (const char**)NULL
6202 * content bypass pattern - skip fix if pattern found
6204 tSCC zSun_MallocBypass0[] =
6205 "_CLASSIC_ANSI_TYPES";
6207 #define SUN_MALLOC_TEST_CT 1
6208 static tTestDesc aSun_MallocTests[] = {
6209 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
6212 * Fix Command Arguments for Sun_Malloc
6214 static const char* apzSun_MallocPatch[] = { "sed",
6215 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
6216 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
6217 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
6218 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
6219 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
6222 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6224 * Description of Sun_Rusers_Semi fix
6226 tSCC zSun_Rusers_SemiName[] =
6230 * File name selection pattern
6232 tSCC zSun_Rusers_SemiList[] =
6233 "rpcsvc/rusers.h\0";
6235 * Machine/OS name selection pattern
6237 #define apzSun_Rusers_SemiMachs (const char**)NULL
6240 * content selection pattern - do fix if pattern found
6242 tSCC zSun_Rusers_SemiSelect0[] =
6245 #define SUN_RUSERS_SEMI_TEST_CT 1
6246 static tTestDesc aSun_Rusers_SemiTests[] = {
6247 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
6250 * Fix Command Arguments for Sun_Rusers_Semi
6252 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
6253 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
6256 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6258 * Description of Sun_Signal fix
6260 tSCC zSun_SignalName[] =
6264 * File name selection pattern
6266 tSCC zSun_SignalList[] =
6267 "sys/signal.h\0signal.h\0";
6269 * Machine/OS name selection pattern
6271 #define apzSun_SignalMachs (const char**)NULL
6274 * content selection pattern - do fix if pattern found
6276 tSCC zSun_SignalSelect0[] =
6277 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
6279 #define SUN_SIGNAL_TEST_CT 1
6280 static tTestDesc aSun_SignalTests[] = {
6281 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
6284 * Fix Command Arguments for Sun_Signal
6286 static const char* apzSun_SignalPatch[] = {
6288 "#ifdef __cplusplus\n\
6289 void\t(*signal(...))(...);\n\
6295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6297 * Description of Sunos_Strlen fix
6299 tSCC zSunos_StrlenName[] =
6303 * File name selection pattern
6305 tSCC zSunos_StrlenList[] =
6308 * Machine/OS name selection pattern
6310 #define apzSunos_StrlenMachs (const char**)NULL
6313 * content selection pattern - do fix if pattern found
6315 tSCC zSunos_StrlenSelect0[] =
6316 "int[ \t]*strlen\\(\\);(.*)";
6318 #define SUNOS_STRLEN_TEST_CT 1
6319 static tTestDesc aSunos_StrlenTests[] = {
6320 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
6323 * Fix Command Arguments for Sunos_Strlen
6325 static const char* apzSunos_StrlenPatch[] = {
6327 "__SIZE_TYPE__ strlen();%1",
6330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6332 * Description of Svr4_Disable_Opt fix
6334 tSCC zSvr4_Disable_OptName[] =
6338 * File name selection pattern
6340 tSCC zSvr4_Disable_OptList[] =
6343 * Machine/OS name selection pattern
6345 #define apzSvr4_Disable_OptMachs (const char**)NULL
6348 * content selection pattern - do fix if pattern found
6350 tSCC zSvr4_Disable_OptSelect0[] =
6351 "#define.*__std_hdr_";
6353 #define SVR4_DISABLE_OPT_TEST_CT 1
6354 static tTestDesc aSvr4_Disable_OptTests[] = {
6355 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
6358 * Fix Command Arguments for Svr4_Disable_Opt
6360 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
6361 "-e", "/#define.*__std_hdr_/d",
6364 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6366 * Description of Svr4_Getcwd fix
6368 tSCC zSvr4_GetcwdName[] =
6372 * File name selection pattern
6374 tSCC zSvr4_GetcwdList[] =
6375 "stdlib.h\0unistd.h\0prototypes.h\0";
6377 * Machine/OS name selection pattern
6379 #define apzSvr4_GetcwdMachs (const char**)NULL
6382 * content selection pattern - do fix if pattern found
6384 tSCC zSvr4_GetcwdSelect0[] =
6385 "getcwd\\(char \\*, int\\)";
6387 #define SVR4_GETCWD_TEST_CT 1
6388 static tTestDesc aSvr4_GetcwdTests[] = {
6389 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
6392 * Fix Command Arguments for Svr4_Getcwd
6394 static const char* apzSvr4_GetcwdPatch[] = {
6396 "getcwd(char *, size_t)",
6399 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6401 * Description of Svr4_Profil fix
6403 tSCC zSvr4_ProfilName[] =
6407 * File name selection pattern
6409 tSCC zSvr4_ProfilList[] =
6410 "stdlib.h\0unistd.h\0";
6412 * Machine/OS name selection pattern
6414 #define apzSvr4_ProfilMachs (const char**)NULL
6417 * content selection pattern - do fix if pattern found
6419 tSCC zSvr4_ProfilSelect0[] =
6420 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
6423 * content bypass pattern - skip fix if pattern found
6425 tSCC zSvr4_ProfilBypass0[] =
6428 #define SVR4_PROFIL_TEST_CT 2
6429 static tTestDesc aSvr4_ProfilTests[] = {
6430 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
6431 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
6434 * Fix Command Arguments for Svr4_Profil
6436 static const char* apzSvr4_ProfilPatch[] = {
6438 "profil(unsigned short *, size_t, int, unsigned int)",
6441 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6443 * Description of Svr4_Sighandler_Type fix
6445 tSCC zSvr4_Sighandler_TypeName[] =
6446 "svr4_sighandler_type";
6449 * File name selection pattern
6451 tSCC zSvr4_Sighandler_TypeList[] =
6454 * Machine/OS name selection pattern
6456 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
6459 * content selection pattern - do fix if pattern found
6461 tSCC zSvr4_Sighandler_TypeSelect0[] =
6462 "void *\\(\\*\\)\\(\\)";
6464 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
6465 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
6466 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
6469 * Fix Command Arguments for Svr4_Sighandler_Type
6471 static const char* apzSvr4_Sighandler_TypePatch[] = {
6476 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6478 * Description of Svr4_Undeclared_Getrnge fix
6480 tSCC zSvr4_Undeclared_GetrngeName[] =
6481 "svr4_undeclared_getrnge";
6484 * File name selection pattern
6486 tSCC zSvr4_Undeclared_GetrngeList[] =
6489 * Machine/OS name selection pattern
6491 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
6494 * content selection pattern - do fix if pattern found
6496 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
6500 * content bypass pattern - skip fix if pattern found
6502 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
6503 "static void getrnge";
6505 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
6506 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
6507 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
6508 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
6511 * Fix Command Arguments for Svr4_Undeclared_Getrnge
6513 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
6516 static int getrnge ();",
6517 "^static int[ \t]+size;",
6520 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6522 * Description of Sysv68_String fix
6524 tSCC zSysv68_StringName[] =
6528 * File name selection pattern
6530 tSCC zSysv68_StringList[] =
6531 "testing.h\0string.h\0";
6533 * Machine/OS name selection pattern
6535 #define apzSysv68_StringMachs (const char**)NULL
6538 * content bypass pattern - skip fix if pattern found
6540 tSCC zSysv68_StringBypass0[] =
6541 "_CLASSIC_ANSI_TYPES";
6543 #define SYSV68_STRING_TEST_CT 1
6544 static tTestDesc aSysv68_StringTests[] = {
6545 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
6548 * Fix Command Arguments for Sysv68_String
6550 static const char* apzSysv68_StringPatch[] = { "sed",
6551 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
6552 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
6553 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
6554 "-e", "/^extern char$/N",
6555 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
6556 "-e", "/^extern int$/N",
6557 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
6558 "-e", "/^\tstrncmp(),$/N",
6559 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
6560 extern unsigned int\\\n\
6564 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6566 * Description of Sysz_Stdlib_For_Sun fix
6568 tSCC zSysz_Stdlib_For_SunName[] =
6569 "sysz_stdlib_for_sun";
6572 * File name selection pattern
6574 tSCC zSysz_Stdlib_For_SunList[] =
6577 * Machine/OS name selection pattern
6579 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
6582 * content selection pattern - do fix if pattern found
6584 tSCC zSysz_Stdlib_For_SunSelect0[] =
6585 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
6588 * content bypass pattern - skip fix if pattern found
6590 tSCC zSysz_Stdlib_For_SunBypass0[] =
6591 "_CLASSIC_ANSI_TYPES";
6593 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
6594 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
6595 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
6596 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
6599 * Fix Command Arguments for Sysz_Stdlib_For_Sun
6601 static const char* apzSysz_Stdlib_For_SunPatch[] = {
6606 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6608 * Description of Thread_Keyword fix
6610 tSCC zThread_KeywordName[] =
6614 * File name selection pattern
6616 tSCC zThread_KeywordList[] =
6617 "pthread.h\0bits/sigthread.h\0";
6619 * Machine/OS name selection pattern
6621 #define apzThread_KeywordMachs (const char**)NULL
6624 * content selection pattern - do fix if pattern found
6626 tSCC zThread_KeywordSelect0[] =
6627 "([* ])__thread([,)])";
6629 #define THREAD_KEYWORD_TEST_CT 1
6630 static tTestDesc aThread_KeywordTests[] = {
6631 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
6634 * Fix Command Arguments for Thread_Keyword
6636 static const char* apzThread_KeywordPatch[] = {
6641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6643 * Description of Tinfo_Cplusplus fix
6645 tSCC zTinfo_CplusplusName[] =
6649 * File name selection pattern
6651 tSCC zTinfo_CplusplusList[] =
6654 * Machine/OS name selection pattern
6656 #define apzTinfo_CplusplusMachs (const char**)NULL
6659 * content selection pattern - do fix if pattern found
6661 tSCC zTinfo_CplusplusSelect0[] =
6664 #define TINFO_CPLUSPLUS_TEST_CT 1
6665 static tTestDesc aTinfo_CplusplusTests[] = {
6666 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
6669 * Fix Command Arguments for Tinfo_Cplusplus
6671 static const char* apzTinfo_CplusplusPatch[] = {
6676 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6678 * Description of Ultrix_Const fix
6680 tSCC zUltrix_ConstName[] =
6684 * File name selection pattern
6686 tSCC zUltrix_ConstList[] =
6689 * Machine/OS name selection pattern
6691 #define apzUltrix_ConstMachs (const char**)NULL
6694 * content selection pattern - do fix if pattern found
6696 tSCC zUltrix_ConstSelect0[] =
6697 "perror\\( char \\*";
6699 #define ULTRIX_CONST_TEST_CT 1
6700 static tTestDesc aUltrix_ConstTests[] = {
6701 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
6704 * Fix Command Arguments for Ultrix_Const
6706 static const char* apzUltrix_ConstPatch[] = {
6709 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
6712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6714 * Description of Ultrix_Const2 fix
6716 tSCC zUltrix_Const2Name[] =
6720 * File name selection pattern
6722 tSCC zUltrix_Const2List[] =
6725 * Machine/OS name selection pattern
6727 #define apzUltrix_Const2Machs (const char**)NULL
6730 * content selection pattern - do fix if pattern found
6732 tSCC zUltrix_Const2Select0[] =
6733 "\\*fopen\\( char \\*";
6735 #define ULTRIX_CONST2_TEST_CT 1
6736 static tTestDesc aUltrix_Const2Tests[] = {
6737 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
6740 * Fix Command Arguments for Ultrix_Const2
6742 static const char* apzUltrix_Const2Patch[] = {
6744 "%1( const char *%3, const char *",
6745 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
6748 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6750 * Description of Va_I960_Macro fix
6752 tSCC zVa_I960_MacroName[] =
6756 * File name selection pattern
6758 tSCC zVa_I960_MacroList[] =
6759 "arch/i960/archI960.h\0";
6761 * Machine/OS name selection pattern
6763 #define apzVa_I960_MacroMachs (const char**)NULL
6766 * content selection pattern - do fix if pattern found
6768 tSCC zVa_I960_MacroSelect0[] =
6769 "__(vsiz|vali|vpad|alignof__)";
6771 #define VA_I960_MACRO_TEST_CT 1
6772 static tTestDesc aVa_I960_MacroTests[] = {
6773 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
6776 * Fix Command Arguments for Va_I960_Macro
6778 static const char* apzVa_I960_MacroPatch[] = {
6783 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6785 * Description of Void_Null fix
6787 tSCC zVoid_NullName[] =
6791 * File name selection pattern
6793 tSCC zVoid_NullList[] =
6794 "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";
6796 * Machine/OS name selection pattern
6798 #define apzVoid_NullMachs (const char**)NULL
6801 * content selection pattern - do fix if pattern found
6803 tSCC zVoid_NullSelect0[] =
6804 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
6807 * content bypass pattern - skip fix if pattern found
6809 tSCC zVoid_NullBypass0[] =
6812 #define VOID_NULL_TEST_CT 2
6813 static tTestDesc aVoid_NullTests[] = {
6814 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
6815 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
6818 * Fix Command Arguments for Void_Null
6820 static const char* apzVoid_NullPatch[] = {
6825 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6827 * Description of Vxworks_Gcc_Problem fix
6829 tSCC zVxworks_Gcc_ProblemName[] =
6830 "vxworks_gcc_problem";
6833 * File name selection pattern
6835 tSCC zVxworks_Gcc_ProblemList[] =
6836 "types/vxTypesBase.h\0";
6838 * Machine/OS name selection pattern
6840 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
6843 * content selection pattern - do fix if pattern found
6845 tSCC zVxworks_Gcc_ProblemSelect0[] =
6846 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
6848 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
6849 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
6850 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
6853 * Fix Command Arguments for Vxworks_Gcc_Problem
6855 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
6856 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
6857 "-e", "/[ \t]size_t/i\\\n\
6858 #ifndef _GCC_SIZE_T\\\n\
6859 #define _GCC_SIZE_T\n",
6860 "-e", "/[ \t]size_t/a\\\n\
6862 "-e", "/[ \t]ptrdiff_t/i\\\n\
6863 #ifndef _GCC_PTRDIFF_T\\\n\
6864 #define _GCC_PTRDIFF_T\n",
6865 "-e", "/[ \t]ptrdiff_t/a\\\n\
6867 "-e", "/[ \t]wchar_t/i\\\n\
6868 #ifndef _GCC_WCHAR_T\\\n\
6869 #define _GCC_WCHAR_T\n",
6870 "-e", "/[ \t]wchar_t/a\\\n\
6874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6876 * Description of Vxworks_Needs_Vxtypes fix
6878 tSCC zVxworks_Needs_VxtypesName[] =
6879 "vxworks_needs_vxtypes";
6882 * File name selection pattern
6884 tSCC zVxworks_Needs_VxtypesList[] =
6887 * Machine/OS name selection pattern
6889 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
6892 * content selection pattern - do fix if pattern found
6894 tSCC zVxworks_Needs_VxtypesSelect0[] =
6895 "uint_t([ \t]+_clocks_per_sec)";
6897 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
6898 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
6899 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
6902 * Fix Command Arguments for Vxworks_Needs_Vxtypes
6904 static const char* apzVxworks_Needs_VxtypesPatch[] = {
6909 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6911 * Description of Vxworks_Needs_Vxworks fix
6913 tSCC zVxworks_Needs_VxworksName[] =
6914 "vxworks_needs_vxworks";
6917 * File name selection pattern
6919 tSCC zVxworks_Needs_VxworksList[] =
6922 * Machine/OS name selection pattern
6924 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
6927 * content selection pattern - do fix if pattern found
6929 tSCC zVxworks_Needs_VxworksSelect0[] =
6930 "#[ \t]define[ \t]+__INCstath";
6933 * perform the 'test' shell command - do fix on success
6935 tSCC zVxworks_Needs_VxworksTest0[] =
6936 " -r types/vxTypesOld.h";
6937 tSCC zVxworks_Needs_VxworksTest1[] =
6938 " -n \"`egrep '#include' $file`\"";
6939 tSCC zVxworks_Needs_VxworksTest2[] =
6940 " -n \"`egrep ULONG $file`\"";
6942 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
6943 static tTestDesc aVxworks_Needs_VxworksTests[] = {
6944 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
6945 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
6946 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
6947 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
6950 * Fix Command Arguments for Vxworks_Needs_Vxworks
6952 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
6953 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
6954 #include <types/vxTypesOld.h>\n",
6957 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6959 * Description of Vxworks_Time fix
6961 tSCC zVxworks_TimeName[] =
6965 * File name selection pattern
6967 tSCC zVxworks_TimeList[] =
6970 * Machine/OS name selection pattern
6972 #define apzVxworks_TimeMachs (const char**)NULL
6975 * content selection pattern - do fix if pattern found
6977 tSCC zVxworks_TimeSelect0[] =
6978 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
6981 * perform the 'test' shell command - do fix on success
6983 tSCC zVxworks_TimeTest0[] =
6986 #define VXWORKS_TIME_TEST_CT 2
6987 static tTestDesc aVxworks_TimeTests[] = {
6988 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
6989 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
6992 * Fix Command Arguments for Vxworks_Time
6994 static const char* apzVxworks_TimePatch[] = {
6996 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
6997 #ifdef __cplusplus\n\
6998 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
7000 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
7002 #define __gcc_VOIDFUNCPTR_defined\n\
7004 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
7007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7009 * Description of X11_Class fix
7011 tSCC zX11_ClassName[] =
7015 * File name selection pattern
7017 tSCC zX11_ClassList[] =
7020 * Machine/OS name selection pattern
7022 #define apzX11_ClassMachs (const char**)NULL
7025 * content selection pattern - do fix if pattern found
7027 tSCC zX11_ClassSelect0[] =
7028 "^([ \t]*char \\*)class;(.*)";
7031 * content bypass pattern - skip fix if pattern found
7033 tSCC zX11_ClassBypass0[] =
7036 #define X11_CLASS_TEST_CT 2
7037 static tTestDesc aX11_ClassTests[] = {
7038 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
7039 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
7042 * Fix Command Arguments for X11_Class
7044 static const char* apzX11_ClassPatch[] = {
7046 "#ifdef __cplusplus\n\
7053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7055 * Description of X11_Class_Usage fix
7057 tSCC zX11_Class_UsageName[] =
7061 * File name selection pattern
7063 tSCC zX11_Class_UsageList[] =
7064 "Xm/BaseClassI.h\0";
7066 * Machine/OS name selection pattern
7068 #define apzX11_Class_UsageMachs (const char**)NULL
7071 * content selection pattern - do fix if pattern found
7073 tSCC zX11_Class_UsageSelect0[] =
7077 * content bypass pattern - skip fix if pattern found
7079 tSCC zX11_Class_UsageBypass0[] =
7082 #define X11_CLASS_USAGE_TEST_CT 2
7083 static tTestDesc aX11_Class_UsageTests[] = {
7084 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
7085 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
7088 * Fix Command Arguments for X11_Class_Usage
7090 static const char* apzX11_Class_UsagePatch[] = {
7095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7097 * Description of X11_New fix
7099 tSCC zX11_NewName[] =
7103 * File name selection pattern
7105 tSCC zX11_NewList[] =
7108 * Machine/OS name selection pattern
7110 #define apzX11_NewMachs (const char**)NULL
7113 * content bypass pattern - skip fix if pattern found
7115 tSCC zX11_NewBypass0[] =
7118 #define X11_NEW_TEST_CT 1
7119 static tTestDesc aX11_NewTests[] = {
7120 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
7123 * Fix Command Arguments for X11_New
7125 static const char* apzX11_NewPatch[] = { "sed",
7126 "-e", "/Widget\told, new;/i\\\n\
7127 #ifdef __cplusplus\\\n\
7128 \tWidget\told, c_new;\\\n\
7130 "-e", "/Widget\told, new;/a\\\n\
7132 "-e", "s/Widget new,/Widget c_new,/g",
7135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7137 * Description of X11_Sprintf fix
7139 tSCC zX11_SprintfName[] =
7143 * File name selection pattern
7145 tSCC zX11_SprintfList[] =
7146 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
7148 * Machine/OS name selection pattern
7150 #define apzX11_SprintfMachs (const char**)NULL
7153 * content selection pattern - do fix if pattern found
7155 tSCC zX11_SprintfSelect0[] =
7156 "^extern char \\*\tsprintf\\(\\);$";
7158 #define X11_SPRINTF_TEST_CT 1
7159 static tTestDesc aX11_SprintfTests[] = {
7160 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
7163 * Fix Command Arguments for X11_Sprintf
7165 static const char* apzX11_SprintfPatch[] = {
7167 "#ifndef __STDC__\n\
7169 #endif /* !defined __STDC__ */",
7173 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7177 #define REGEX_COUNT 223
7178 #define MACH_LIST_SIZE_LIMIT 181
7179 #define FIX_COUNT 177
7182 * Enumerate the fixes
7185 AAB_AIX_STDIO_FIXIDX,
7186 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
7187 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
7188 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
7189 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
7190 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
7191 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
7192 AAB_SUN_MEMCPY_FIXIDX,
7194 AIX_SYSMACHINE_FIXIDX,
7196 AIX_SYSWAIT_2_FIXIDX,
7197 AIX_VOLATILE_FIXIDX,
7198 ALPHA___ASSERT_FIXIDX,
7199 ALPHA___EXTERN_PREFIX_FIXIDX,
7200 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
7201 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
7202 ALPHA_ASSERT_FIXIDX,
7203 ALPHA_BAD_LVAL_FIXIDX,
7204 ALPHA_GETOPT_FIXIDX,
7205 ALPHA_PARENS_FIXIDX,
7206 ALPHA_PTHREAD_FIXIDX,
7207 ALPHA_PTHREAD_GCC_FIXIDX,
7208 ALPHA_PTHREAD_INIT_FIXIDX,
7211 AVOID_BOOL_DEFINE_FIXIDX,
7212 AVOID_BOOL_TYPE_FIXIDX,
7213 AVOID_WCHAR_T_TYPE_FIXIDX,
7214 BAD_STRUCT_TERM_FIXIDX,
7216 BROKEN_ASSERT_STDIO_FIXIDX,
7217 BROKEN_ASSERT_STDLIB_FIXIDX,
7220 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
7221 CTRL_QUOTES_DEF_FIXIDX,
7222 CTRL_QUOTES_USE_FIXIDX,
7224 DARWIN_EXTERNC_FIXIDX,
7225 DARWIN_GCC4_BREAKAGE_FIXIDX,
7226 DARWIN_PRIVATE_EXTERN_FIXIDX,
7227 DEC_INTERN_ASM_FIXIDX,
7228 DJGPP_WCHAR_H_FIXIDX,
7230 EXCEPTION_STRUCTURE_FIXIDX,
7231 FREEBSD_GCC3_BREAKAGE_FIXIDX,
7232 FREEBSD_GCC4_BREAKAGE_FIXIDX,
7233 GLIBC_C99_INLINE_1_FIXIDX,
7234 GLIBC_C99_INLINE_1A_FIXIDX,
7235 GLIBC_C99_INLINE_2_FIXIDX,
7236 GLIBC_C99_INLINE_3_FIXIDX,
7237 GLIBC_C99_INLINE_4_FIXIDX,
7238 GLIBC_MUTEX_INIT_FIXIDX,
7242 HPUX10_CPP_POW_INLINE_FIXIDX,
7243 HPUX11_CPP_POW_INLINE_FIXIDX,
7244 HPPA_HPUX_FP_MACROS_FIXIDX,
7245 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
7246 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
7247 HPUX10_STDIO_DECLARATIONS_FIXIDX,
7249 HPUX11_FABSF_FIXIDX,
7250 HPUX11_SIZE_T_FIXIDX,
7251 HPUX11_SNPRINTF_FIXIDX,
7252 HPUX11_UINT32_C_FIXIDX,
7253 HPUX11_VSNPRINTF_FIXIDX,
7254 HPUX8_BOGUS_INLINES_FIXIDX,
7255 HPUX_CTYPE_MACROS_FIXIDX,
7257 HPUX_LONG_DOUBLE_FIXIDX,
7258 HPUX_SYSTIME_FIXIDX,
7259 HPUX_SPU_INFO_FIXIDX,
7260 HPUX11_EXTERN_SENDFILE_FIXIDX,
7261 HPUX11_EXTERN_SENDPATH_FIXIDX,
7262 HPUX_EXTERN_ERRNO_FIXIDX,
7263 HPUX11_PTHREAD_CONST_FIXIDX,
7264 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
7265 HUGE_VAL_HEX_FIXIDX,
7266 HUGE_VALF_HEX_FIXIDX,
7267 HUGE_VALL_HEX_FIXIDX,
7268 INT_ABORT_FREE_AND_EXIT_FIXIDX,
7269 IO_QUOTES_DEF_FIXIDX,
7270 IO_QUOTES_USE_FIXIDX,
7271 IP_MISSING_SEMI_FIXIDX,
7272 IRIX___RESTRICT_FIXIDX,
7273 IRIX___GENERIC1_FIXIDX,
7274 IRIX___GENERIC2_FIXIDX,
7275 IRIX_ASM_APOSTROPHE_FIXIDX,
7276 IRIX_LIMITS_CONST_FIXIDX,
7277 IRIX_SOCKLEN_T_FIXIDX,
7278 IRIX_STDINT_C99_FIXIDX,
7279 IRIX_STDIO_VA_LIST_FIXIDX,
7280 IRIX_WCSFTIME_FIXIDX,
7282 ISC_OMITS_WITH_STDC_FIXIDX,
7283 KANDR_CONCAT_FIXIDX,
7284 LINUX_IA64_UCONTEXT_FIXIDX,
7285 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
7286 LYNXOS_MISSING_PUTENV_FIXIDX,
7287 MACHINE_ANSI_H_VA_LIST_FIXIDX,
7288 MACHINE_NAME_FIXIDX,
7289 MATH_EXCEPTION_FIXIDX,
7290 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
7291 NESTED_AUTH_DES_FIXIDX,
7292 NESTED_SYS_LIMITS_FIXIDX,
7293 NETBSD_C99_INLINE_1_FIXIDX,
7294 NETBSD_C99_INLINE_2_FIXIDX,
7295 NETBSD_EXTRA_SEMICOLON_FIXIDX,
7296 NEXT_MATH_PREFIX_FIXIDX,
7297 NEXT_TEMPLATE_FIXIDX,
7298 NEXT_VOLITILE_FIXIDX,
7299 NEXT_WAIT_UNION_FIXIDX,
7300 NODEENT_SYNTAX_FIXIDX,
7301 OBSTACK_LVALUE_CAST_FIXIDX,
7302 OSF_NAMESPACE_A_FIXIDX,
7303 OSF_NAMESPACE_C_FIXIDX,
7304 PTHREAD_PAGE_SIZE_FIXIDX,
7305 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
7306 READ_RET_TYPE_FIXIDX,
7307 RPC_XDR_LVALUE_CAST_A_FIXIDX,
7308 RPC_XDR_LVALUE_CAST_B_FIXIDX,
7309 RS6000_DOUBLE_FIXIDX,
7310 RS6000_FCHMOD_FIXIDX,
7311 RS6000_PARAM_FIXIDX,
7313 SOLARIS_MATH_1_FIXIDX,
7314 SOLARIS_MATH_2_FIXIDX,
7315 SOLARIS_MATH_3_FIXIDX,
7316 SOLARIS_MATH_4_FIXIDX,
7317 SOLARIS_MATH_8_FIXIDX,
7318 SOLARIS_MATH_9_FIXIDX,
7319 SOLARIS_MATH_10_FIXIDX,
7320 SOLARIS_MUTEX_INIT_2_FIXIDX,
7321 SOLARIS_RWLOCK_INIT_1_FIXIDX,
7322 SOLARIS_ONCE_INIT_1_FIXIDX,
7323 SOLARIS_ONCE_INIT_2_FIXIDX,
7324 SOLARIS_STDIO_TAG_FIXIDX,
7326 STDIO_STDARG_H_FIXIDX,
7327 STDIO_VA_LIST_FIXIDX,
7328 STDIO_VA_LIST_CLIENTS_FIXIDX,
7329 STRICT_ANSI_NOT_FIXIDX,
7330 STRICT_ANSI_NOT_CTD_FIXIDX,
7331 STRICT_ANSI_ONLY_FIXIDX,
7333 STRUCT_SOCKADDR_FIXIDX,
7334 SUN_AUTH_PROTO_FIXIDX,
7335 SUN_BOGUS_IFDEF_FIXIDX,
7336 SUN_CATMACRO_FIXIDX,
7338 SUN_RUSERS_SEMI_FIXIDX,
7340 SUNOS_STRLEN_FIXIDX,
7341 SVR4_DISABLE_OPT_FIXIDX,
7344 SVR4_SIGHANDLER_TYPE_FIXIDX,
7345 SVR4_UNDECLARED_GETRNGE_FIXIDX,
7346 SYSV68_STRING_FIXIDX,
7347 SYSZ_STDLIB_FOR_SUN_FIXIDX,
7348 THREAD_KEYWORD_FIXIDX,
7349 TINFO_CPLUSPLUS_FIXIDX,
7350 ULTRIX_CONST_FIXIDX,
7351 ULTRIX_CONST2_FIXIDX,
7352 VA_I960_MACRO_FIXIDX,
7354 VXWORKS_GCC_PROBLEM_FIXIDX,
7355 VXWORKS_NEEDS_VXTYPES_FIXIDX,
7356 VXWORKS_NEEDS_VXWORKS_FIXIDX,
7357 VXWORKS_TIME_FIXIDX,
7359 X11_CLASS_USAGE_FIXIDX,
7364 tFixDesc fixDescList[ FIX_COUNT ] = {
7365 { zAab_Aix_StdioName, zAab_Aix_StdioList,
7366 apzAab_Aix_StdioMachs,
7367 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7368 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
7370 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
7371 apzAab_Darwin7_9_Long_Double_FuncsMachs,
7372 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7373 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
7375 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
7376 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
7377 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7378 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
7380 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
7381 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
7382 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7383 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
7385 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
7386 apzAab_Fd_Zero_Gnu_Types_HMachs,
7387 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7388 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
7390 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
7391 apzAab_Fd_Zero_Selectbits_HMachs,
7392 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7393 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
7395 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
7396 apzAab_Solaris_Sys_Varargs_HMachs,
7397 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7398 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
7400 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
7401 apzAab_Sun_MemcpyMachs,
7402 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7403 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
7405 { zAix_PthreadName, zAix_PthreadList,
7406 apzAix_PthreadMachs,
7407 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7408 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
7410 { zAix_SysmachineName, zAix_SysmachineList,
7411 apzAix_SysmachineMachs,
7412 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7413 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
7415 { zAix_SyswaitName, zAix_SyswaitList,
7416 apzAix_SyswaitMachs,
7417 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7418 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
7420 { zAix_Syswait_2Name, zAix_Syswait_2List,
7421 apzAix_Syswait_2Machs,
7422 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7423 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
7425 { zAix_VolatileName, zAix_VolatileList,
7426 apzAix_VolatileMachs,
7427 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7428 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
7430 { zAlpha___AssertName, zAlpha___AssertList,
7431 apzAlpha___AssertMachs,
7432 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7433 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
7435 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
7436 apzAlpha___Extern_PrefixMachs,
7437 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7438 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
7440 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
7441 apzAlpha___Extern_Prefix_StandardsMachs,
7442 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7443 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
7445 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
7446 apzAlpha___Extern_Prefix_Sys_StatMachs,
7447 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7448 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
7450 { zAlpha_AssertName, zAlpha_AssertList,
7451 apzAlpha_AssertMachs,
7452 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7453 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
7455 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
7456 apzAlpha_Bad_LvalMachs,
7457 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
7458 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
7460 { zAlpha_GetoptName, zAlpha_GetoptList,
7461 apzAlpha_GetoptMachs,
7462 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7463 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
7465 { zAlpha_ParensName, zAlpha_ParensList,
7466 apzAlpha_ParensMachs,
7467 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7468 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
7470 { zAlpha_PthreadName, zAlpha_PthreadList,
7471 apzAlpha_PthreadMachs,
7472 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7473 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
7475 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
7476 apzAlpha_Pthread_GccMachs,
7477 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7478 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
7480 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
7481 apzAlpha_Pthread_InitMachs,
7482 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
7483 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
7485 { zAlpha_SbrkName, zAlpha_SbrkList,
7487 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7488 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
7490 { zAlpha_WcharName, zAlpha_WcharList,
7491 apzAlpha_WcharMachs,
7492 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
7493 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
7495 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
7496 apzAvoid_Bool_DefineMachs,
7497 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7498 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
7500 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
7501 apzAvoid_Bool_TypeMachs,
7502 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7503 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
7505 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
7506 apzAvoid_Wchar_T_TypeMachs,
7507 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7508 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
7510 { zBad_Struct_TermName, zBad_Struct_TermList,
7511 apzBad_Struct_TermMachs,
7512 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7513 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
7515 { zBadquoteName, zBadquoteList,
7517 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7518 aBadquoteTests, apzBadquotePatch, 0 },
7520 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
7521 apzBroken_Assert_StdioMachs,
7522 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7523 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
7525 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
7526 apzBroken_Assert_StdlibMachs,
7527 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7528 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
7530 { zBroken_CabsName, zBroken_CabsList,
7531 apzBroken_CabsMachs,
7532 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
7533 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
7535 { zBroken_NanName, zBroken_NanList,
7537 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7538 aBroken_NanTests, apzBroken_NanPatch, 0 },
7540 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
7541 apzBsd_Stdio_Attrs_ConflictMachs,
7542 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7543 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
7545 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
7546 apzCtrl_Quotes_DefMachs,
7547 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7548 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
7550 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
7551 apzCtrl_Quotes_UseMachs,
7552 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7553 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
7555 { zCxx_UnreadyName, zCxx_UnreadyList,
7556 apzCxx_UnreadyMachs,
7557 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7558 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
7560 { zDarwin_ExterncName, zDarwin_ExterncList,
7561 apzDarwin_ExterncMachs,
7562 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7563 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
7565 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
7566 apzDarwin_Gcc4_BreakageMachs,
7567 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7568 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
7570 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
7571 apzDarwin_Private_ExternMachs,
7572 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7573 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
7575 { zDec_Intern_AsmName, zDec_Intern_AsmList,
7576 apzDec_Intern_AsmMachs,
7577 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
7578 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
7580 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
7581 apzDjgpp_Wchar_HMachs,
7582 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7583 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
7585 { zEcd_CursorName, zEcd_CursorList,
7587 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7588 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
7590 { zException_StructureName, zException_StructureList,
7591 apzException_StructureMachs,
7592 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7593 aException_StructureTests, apzException_StructurePatch, 0 },
7595 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
7596 apzFreebsd_Gcc3_BreakageMachs,
7597 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7598 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
7600 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
7601 apzFreebsd_Gcc4_BreakageMachs,
7602 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7603 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
7605 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
7606 apzGlibc_C99_Inline_1Machs,
7607 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7608 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
7610 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
7611 apzGlibc_C99_Inline_1aMachs,
7612 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7613 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
7615 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
7616 apzGlibc_C99_Inline_2Machs,
7617 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
7618 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
7620 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
7621 apzGlibc_C99_Inline_3Machs,
7622 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7623 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
7625 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
7626 apzGlibc_C99_Inline_4Machs,
7627 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7628 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
7630 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
7631 apzGlibc_Mutex_InitMachs,
7632 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
7633 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
7635 { zGnu_TypesName, zGnu_TypesList,
7637 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
7638 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
7640 { zHp_InlineName, zHp_InlineList,
7642 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7643 aHp_InlineTests, apzHp_InlinePatch, 0 },
7645 { zHp_SysfileName, zHp_SysfileList,
7647 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7648 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
7650 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
7651 apzHpux10_Cpp_Pow_InlineMachs,
7652 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7653 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
7655 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
7656 apzHpux11_Cpp_Pow_InlineMachs,
7657 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7658 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
7660 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
7661 apzHppa_Hpux_Fp_MacrosMachs,
7662 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7663 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
7665 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
7666 apzHpux10_Ctype_Declarations1Machs,
7667 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7668 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
7670 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
7671 apzHpux10_Ctype_Declarations2Machs,
7672 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7673 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
7675 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
7676 apzHpux10_Stdio_DeclarationsMachs,
7677 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7678 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
7680 { zHpux11_AbsName, zHpux11_AbsList,
7682 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7683 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
7685 { zHpux11_FabsfName, zHpux11_FabsfList,
7686 apzHpux11_FabsfMachs,
7687 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7688 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
7690 { zHpux11_Size_TName, zHpux11_Size_TList,
7691 apzHpux11_Size_TMachs,
7692 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7693 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
7695 { zHpux11_SnprintfName, zHpux11_SnprintfList,
7696 apzHpux11_SnprintfMachs,
7697 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7698 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
7700 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
7701 apzHpux11_Uint32_CMachs,
7702 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7703 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
7705 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
7706 apzHpux11_VsnprintfMachs,
7707 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7708 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
7710 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
7711 apzHpux8_Bogus_InlinesMachs,
7712 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
7713 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
7715 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
7716 apzHpux_Ctype_MacrosMachs,
7717 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7718 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
7720 { zHpux_HtonlName, zHpux_HtonlList,
7722 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7723 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
7725 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
7726 apzHpux_Long_DoubleMachs,
7727 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
7728 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
7730 { zHpux_SystimeName, zHpux_SystimeList,
7731 apzHpux_SystimeMachs,
7732 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7733 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
7735 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
7736 apzHpux_Spu_InfoMachs,
7737 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7738 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
7740 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
7741 apzHpux11_Extern_SendfileMachs,
7742 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7743 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
7745 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
7746 apzHpux11_Extern_SendpathMachs,
7747 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7748 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
7750 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
7751 apzHpux_Extern_ErrnoMachs,
7752 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7753 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
7755 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
7756 apzHpux11_Pthread_ConstMachs,
7757 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7758 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
7760 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
7761 apzHpux_Pthread_InitializersMachs,
7762 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
7763 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
7765 { zHuge_Val_HexName, zHuge_Val_HexList,
7766 apzHuge_Val_HexMachs,
7767 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7768 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
7770 { zHuge_Valf_HexName, zHuge_Valf_HexList,
7771 apzHuge_Valf_HexMachs,
7772 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7773 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
7775 { zHuge_Vall_HexName, zHuge_Vall_HexList,
7776 apzHuge_Vall_HexMachs,
7777 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7778 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
7780 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
7781 apzInt_Abort_Free_And_ExitMachs,
7782 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7783 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
7785 { zIo_Quotes_DefName, zIo_Quotes_DefList,
7786 apzIo_Quotes_DefMachs,
7787 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7788 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
7790 { zIo_Quotes_UseName, zIo_Quotes_UseList,
7791 apzIo_Quotes_UseMachs,
7792 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7793 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
7795 { zIp_Missing_SemiName, zIp_Missing_SemiList,
7796 apzIp_Missing_SemiMachs,
7797 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
7798 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
7800 { zIrix___RestrictName, zIrix___RestrictList,
7801 apzIrix___RestrictMachs,
7802 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7803 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
7805 { zIrix___Generic1Name, zIrix___Generic1List,
7806 apzIrix___Generic1Machs,
7807 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7808 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
7810 { zIrix___Generic2Name, zIrix___Generic2List,
7811 apzIrix___Generic2Machs,
7812 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7813 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
7815 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
7816 apzIrix_Asm_ApostropheMachs,
7817 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7818 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
7820 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
7821 apzIrix_Limits_ConstMachs,
7822 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7823 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
7825 { zIrix_Socklen_TName, zIrix_Socklen_TList,
7826 apzIrix_Socklen_TMachs,
7827 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7828 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
7830 { zIrix_Stdint_C99Name, zIrix_Stdint_C99List,
7831 apzIrix_Stdint_C99Machs,
7832 IRIX_STDINT_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7833 aIrix_Stdint_C99Tests, apzIrix_Stdint_C99Patch, 0 },
7835 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
7836 apzIrix_Stdio_Va_ListMachs,
7837 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7838 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
7840 { zIrix_WcsftimeName, zIrix_WcsftimeList,
7841 apzIrix_WcsftimeMachs,
7842 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7843 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
7845 { zIsc_FmodName, zIsc_FmodList,
7847 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7848 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
7850 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
7851 apzIsc_Omits_With_StdcMachs,
7852 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7853 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
7855 { zKandr_ConcatName, zKandr_ConcatList,
7856 apzKandr_ConcatMachs,
7857 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7858 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
7860 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
7861 apzLinux_Ia64_UcontextMachs,
7862 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7863 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
7865 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
7866 apzLynxos_No_Warning_In_Sys_Time_HMachs,
7867 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7868 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
7870 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
7871 apzLynxos_Missing_PutenvMachs,
7872 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7873 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
7875 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
7876 apzMachine_Ansi_H_Va_ListMachs,
7877 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7878 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
7880 { zMachine_NameName, zMachine_NameList,
7881 apzMachine_NameMachs,
7882 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7883 aMachine_NameTests, apzMachine_NamePatch, 0 },
7885 { zMath_ExceptionName, zMath_ExceptionList,
7886 apzMath_ExceptionMachs,
7887 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7888 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
7890 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
7891 apzMath_Huge_Val_From_Dbl_MaxMachs,
7892 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
7893 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
7895 { zNested_Auth_DesName, zNested_Auth_DesList,
7896 apzNested_Auth_DesMachs,
7897 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7898 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
7900 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
7901 apzNested_Sys_LimitsMachs,
7902 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
7903 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
7905 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
7906 apzNetbsd_C99_Inline_1Machs,
7907 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7908 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
7910 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
7911 apzNetbsd_C99_Inline_2Machs,
7912 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7913 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
7915 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
7916 apzNetbsd_Extra_SemicolonMachs,
7917 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7918 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
7920 { zNext_Math_PrefixName, zNext_Math_PrefixList,
7921 apzNext_Math_PrefixMachs,
7922 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7923 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
7925 { zNext_TemplateName, zNext_TemplateList,
7926 apzNext_TemplateMachs,
7927 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7928 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
7930 { zNext_VolitileName, zNext_VolitileList,
7931 apzNext_VolitileMachs,
7932 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7933 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
7935 { zNext_Wait_UnionName, zNext_Wait_UnionList,
7936 apzNext_Wait_UnionMachs,
7937 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7938 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
7940 { zNodeent_SyntaxName, zNodeent_SyntaxList,
7941 apzNodeent_SyntaxMachs,
7942 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7943 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
7945 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
7946 apzObstack_Lvalue_CastMachs,
7947 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7948 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
7950 { zOsf_Namespace_AName, zOsf_Namespace_AList,
7951 apzOsf_Namespace_AMachs,
7952 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7953 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
7955 { zOsf_Namespace_CName, zOsf_Namespace_CList,
7956 apzOsf_Namespace_CMachs,
7957 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7958 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
7960 { zPthread_Page_SizeName, zPthread_Page_SizeList,
7961 apzPthread_Page_SizeMachs,
7962 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7963 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
7965 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
7966 apzPthread_Incomplete_Struct_ArgumentMachs,
7967 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7968 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
7970 { zRead_Ret_TypeName, zRead_Ret_TypeList,
7971 apzRead_Ret_TypeMachs,
7972 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7973 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
7975 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
7976 apzRpc_Xdr_Lvalue_Cast_AMachs,
7977 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7978 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
7980 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
7981 apzRpc_Xdr_Lvalue_Cast_BMachs,
7982 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7983 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
7985 { zRs6000_DoubleName, zRs6000_DoubleList,
7986 apzRs6000_DoubleMachs,
7987 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7988 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
7990 { zRs6000_FchmodName, zRs6000_FchmodList,
7991 apzRs6000_FchmodMachs,
7992 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7993 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
7995 { zRs6000_ParamName, zRs6000_ParamList,
7996 apzRs6000_ParamMachs,
7997 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7998 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
8000 { zSco_MathName, zSco_MathList,
8002 SCO_MATH_TEST_CT, FD_MACH_ONLY,
8003 aSco_MathTests, apzSco_MathPatch, 0 },
8005 { zSolaris_Math_1Name, zSolaris_Math_1List,
8006 apzSolaris_Math_1Machs,
8007 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8008 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
8010 { zSolaris_Math_2Name, zSolaris_Math_2List,
8011 apzSolaris_Math_2Machs,
8012 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8013 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
8015 { zSolaris_Math_3Name, zSolaris_Math_3List,
8016 apzSolaris_Math_3Machs,
8017 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8018 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
8020 { zSolaris_Math_4Name, zSolaris_Math_4List,
8021 apzSolaris_Math_4Machs,
8022 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8023 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
8025 { zSolaris_Math_8Name, zSolaris_Math_8List,
8026 apzSolaris_Math_8Machs,
8027 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8028 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
8030 { zSolaris_Math_9Name, zSolaris_Math_9List,
8031 apzSolaris_Math_9Machs,
8032 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8033 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
8035 { zSolaris_Math_10Name, zSolaris_Math_10List,
8036 apzSolaris_Math_10Machs,
8037 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8038 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
8040 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
8041 apzSolaris_Mutex_Init_2Machs,
8042 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8043 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
8045 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
8046 apzSolaris_Rwlock_Init_1Machs,
8047 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8048 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
8050 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
8051 apzSolaris_Once_Init_1Machs,
8052 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8053 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
8055 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
8056 apzSolaris_Once_Init_2Machs,
8057 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8058 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
8060 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
8061 apzSolaris_Stdio_TagMachs,
8062 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
8063 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
8065 { zStatsswtchName, zStatsswtchList,
8067 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8068 aStatsswtchTests, apzStatsswtchPatch, 0 },
8070 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
8071 apzStdio_Stdarg_HMachs,
8072 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8073 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
8075 { zStdio_Va_ListName, zStdio_Va_ListList,
8076 apzStdio_Va_ListMachs,
8077 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
8078 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
8080 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
8081 apzStdio_Va_List_ClientsMachs,
8082 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
8083 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
8085 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
8086 apzStrict_Ansi_NotMachs,
8087 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8088 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
8090 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
8091 apzStrict_Ansi_Not_CtdMachs,
8092 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8093 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
8095 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
8096 apzStrict_Ansi_OnlyMachs,
8097 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8098 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
8100 { zStruct_FileName, zStruct_FileList,
8101 apzStruct_FileMachs,
8102 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8103 aStruct_FileTests, apzStruct_FilePatch, 0 },
8105 { zStruct_SockaddrName, zStruct_SockaddrList,
8106 apzStruct_SockaddrMachs,
8107 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8108 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
8110 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
8111 apzSun_Auth_ProtoMachs,
8112 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8113 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
8115 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
8116 apzSun_Bogus_IfdefMachs,
8117 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8118 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
8120 { zSun_CatmacroName, zSun_CatmacroList,
8121 apzSun_CatmacroMachs,
8122 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8123 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
8125 { zSun_MallocName, zSun_MallocList,
8127 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
8128 aSun_MallocTests, apzSun_MallocPatch, 0 },
8130 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
8131 apzSun_Rusers_SemiMachs,
8132 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
8133 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
8135 { zSun_SignalName, zSun_SignalList,
8137 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8138 aSun_SignalTests, apzSun_SignalPatch, 0 },
8140 { zSunos_StrlenName, zSunos_StrlenList,
8141 apzSunos_StrlenMachs,
8142 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8143 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
8145 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
8146 apzSvr4_Disable_OptMachs,
8147 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
8148 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
8150 { zSvr4_GetcwdName, zSvr4_GetcwdList,
8151 apzSvr4_GetcwdMachs,
8152 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8153 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
8155 { zSvr4_ProfilName, zSvr4_ProfilList,
8156 apzSvr4_ProfilMachs,
8157 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8158 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
8160 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
8161 apzSvr4_Sighandler_TypeMachs,
8162 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8163 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
8165 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
8166 apzSvr4_Undeclared_GetrngeMachs,
8167 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8168 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
8170 { zSysv68_StringName, zSysv68_StringList,
8171 apzSysv68_StringMachs,
8172 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
8173 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
8175 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
8176 apzSysz_Stdlib_For_SunMachs,
8177 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8178 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
8180 { zThread_KeywordName, zThread_KeywordList,
8181 apzThread_KeywordMachs,
8182 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8183 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
8185 { zTinfo_CplusplusName, zTinfo_CplusplusList,
8186 apzTinfo_CplusplusMachs,
8187 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8188 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
8190 { zUltrix_ConstName, zUltrix_ConstList,
8191 apzUltrix_ConstMachs,
8192 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8193 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
8195 { zUltrix_Const2Name, zUltrix_Const2List,
8196 apzUltrix_Const2Machs,
8197 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8198 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
8200 { zVa_I960_MacroName, zVa_I960_MacroList,
8201 apzVa_I960_MacroMachs,
8202 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8203 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
8205 { zVoid_NullName, zVoid_NullList,
8207 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8208 aVoid_NullTests, apzVoid_NullPatch, 0 },
8210 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
8211 apzVxworks_Gcc_ProblemMachs,
8212 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
8213 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
8215 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
8216 apzVxworks_Needs_VxtypesMachs,
8217 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8218 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
8220 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
8221 apzVxworks_Needs_VxworksMachs,
8222 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
8223 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
8225 { zVxworks_TimeName, zVxworks_TimeList,
8226 apzVxworks_TimeMachs,
8227 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8228 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
8230 { zX11_ClassName, zX11_ClassList,
8232 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8233 aX11_ClassTests, apzX11_ClassPatch, 0 },
8235 { zX11_Class_UsageName, zX11_Class_UsageList,
8236 apzX11_Class_UsageMachs,
8237 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8238 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
8240 { zX11_NewName, zX11_NewList,
8242 X11_NEW_TEST_CT, FD_MACH_ONLY,
8243 aX11_NewTests, apzX11_NewPatch, 0 },
8245 { zX11_SprintfName, zX11_SprintfList,
8246 apzX11_SprintfMachs,
8247 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8248 aX11_SprintfTests, apzX11_SprintfPatch, 0 }